You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2004/11/02 23:30:43 UTC
DO NOT REPLY [Bug 32032] New: -
DrawingRecord.clone()
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