poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32032] New: - DrawingRecord.clone()
Date Tue, 02 Nov 2004 22:30:43 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32032>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32032

DrawingRecord.clone()

           Summary: DrawingRecord.clone()
           Product: POI
           Version: 2.5
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: klavergne@comcast.net


When attempting to clone a sheet that had an image on it, I got an Exception 
saying that DrawingRecord must implement a clone() method.  I added this clone() 
method and the image was copied onto the cloned sheets without any problems.

public Object clone()
{
    DrawingRecord rec = new DrawingRecord();
    rec.recordData = recordData;
    return rec;
}

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Mime
View raw message