Return-Path: Delivered-To: apmail-jakarta-poi-dev-archive@www.apache.org Received: (qmail 34058 invoked from network); 2 Nov 2004 22:30:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Nov 2004 22:30:57 -0000 Received: (qmail 20923 invoked by uid 500); 2 Nov 2004 22:30:49 -0000 Delivered-To: apmail-jakarta-poi-dev-archive@jakarta.apache.org Received: (qmail 20815 invoked by uid 500); 2 Nov 2004 22:30:48 -0000 Mailing-List: contact poi-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "POI Developers List" Reply-To: "POI Developers List" Delivered-To: mailing list poi-dev@jakarta.apache.org Received: (qmail 20692 invoked by uid 99); 2 Nov 2004 22:30:47 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 02 Nov 2004 14:30:46 -0800 Received: (qmail 29069 invoked by uid 50); 2 Nov 2004 22:30:43 -0000 Date: 2 Nov 2004 22:30:43 -0000 Message-ID: <20041102223043.29068.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: poi-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 32032] New: - DrawingRecord.clone() X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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