Return-Path: Mailing-List: contact poi-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list poi-dev@jakarta.apache.org Received: (qmail 37237 invoked from network); 23 Jun 2003 19:52:51 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 23 Jun 2003 19:52:51 -0000 Received: (qmail 13812 invoked by uid 50); 23 Jun 2003 19:55:17 -0000 Date: 23 Jun 2003 19:55:17 -0000 Message-ID: <20030623195517.13811.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: poi-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 21027] New: - Cloning Sheets: Formula Problems X-Spam-Rating: daedalus.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://nagoya.apache.org/bugzilla/show_bug.cgi?id=21027 Cloning Sheets: Formula Problems Summary: Cloning Sheets: Formula Problems Product: POI Version: 2.0-dev Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: HSSF AssignedTo: poi-dev@jakarta.apache.org ReportedBy: niall.pemberton@blueyonder.co.uk I've had a couple of problems trying to use HSSFSheet.cloneSheet(int) I'll attach a patch if I can work out how to. 1) Some of the formula Ptg records can have one of three different id's - this is done by setting the ptgClass. The clone() methods of the relevant classes do not copy the ptgClass when cloning the object. I had problems with ReferencePtg and FuncVarPtg.