From: Nick Burch Date: Wed, 9 Jan 2008 10:05:03 +0000 (+0000) Subject: Update changelog again X-Git-Tag: REL_3_0_3_BETA1~205 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f97d12c2d52203774d579fac08be27759b9ae4dd;p=poi.git Update changelog again git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610329 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/changes.xml b/src/documentation/content/xdocs/changes.xml index c691408478..7a955b303a 100644 --- a/src/documentation/content/xdocs/changes.xml +++ b/src/documentation/content/xdocs/changes.xml @@ -36,6 +36,7 @@ + 43902 - Don't consider merged regions when auto-sizing columns 42464 - Avoid "Expected ExpPtg to be converted from Shared to Non-Shared Formula" on large, formula heavy worksheets 42033 - Add support for named ranges with unicode names 34023 - When shifting rows, update formulas on that sheet to point to the new location of those rows diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index 6cac38bf52..6c8b47b46f 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -33,6 +33,7 @@ + 43902 - Don't consider merged regions when auto-sizing columns 42464 - Avoid "Expected ExpPtg to be converted from Shared to Non-Shared Formula" on large, formula heavy worksheets 42033 - Add support for named ranges with unicode names 34023 - When shifting rows, update formulas on that sheet to point to the new location of those rows diff --git a/src/java/org/apache/poi/hssf/record/DrawingRecord.java b/src/java/org/apache/poi/hssf/record/DrawingRecord.java index d73702b6a2..d6b34b6be3 100644 --- a/src/java/org/apache/poi/hssf/record/DrawingRecord.java +++ b/src/java/org/apache/poi/hssf/record/DrawingRecord.java @@ -106,4 +106,17 @@ public class DrawingRecord extends Record this.recordData = thedata; } -} + public Object clone() { + if (recordData == null) { + recordData = new byte[ 0 ]; + } + + DrawingRecord rec = new DrawingRecord(); + rec.recordData = new byte[ recordData.length ]; + rec.contd = new byte[ contd.length ]; + System.arraycopy(recordData, 0, rec.recordData, 0, recordData.length); + System.arraycopy(contd, 0, rec.contd, 0, contd.length); + + return rec; + } +} \ No newline at end of file