diff options
author | Nick Burch <nick@apache.org> | 2008-01-09 10:05:03 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2008-01-09 10:05:03 +0000 |
commit | f97d12c2d52203774d579fac08be27759b9ae4dd (patch) | |
tree | 48678d345d53c753dc403397e06c627882a192f7 /src | |
parent | df4c00f034d1d98eddbb83b594d462da52ff8d44 (diff) | |
download | poi-f97d12c2d52203774d579fac08be27759b9ae4dd.tar.gz poi-f97d12c2d52203774d579fac08be27759b9ae4dd.zip |
Update changelog again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610329 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/documentation/content/xdocs/changes.xml | 1 | ||||
-rw-r--r-- | src/documentation/content/xdocs/status.xml | 1 | ||||
-rw-r--r-- | src/java/org/apache/poi/hssf/record/DrawingRecord.java | 15 |
3 files changed, 16 insertions, 1 deletions
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 @@ <!-- Don't forget to update status.xml too! --> <release version="3.0.2-FINAL" date="2008-??-??"> + <action dev="POI-DEVELOPERS" type="fix">43902 - Don't consider merged regions when auto-sizing columns</action> <action dev="POI-DEVELOPERS" type="fix">42464 - Avoid "Expected ExpPtg to be converted from Shared to Non-Shared Formula" on large, formula heavy worksheets</action> <action dev="POI-DEVELOPERS" type="add">42033 - Add support for named ranges with unicode names</action> <action dev="POI-DEVELOPERS" type="add">34023 - When shifting rows, update formulas on that sheet to point to the new location of those rows</action> 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 @@ <!-- Don't forget to update changes.xml too! --> <changes> <release version="3.0.2-FINAL" date="2008-??-??"> + <action dev="POI-DEVELOPERS" type="fix">43902 - Don't consider merged regions when auto-sizing columns</action> <action dev="POI-DEVELOPERS" type="fix">42464 - Avoid "Expected ExpPtg to be converted from Shared to Non-Shared Formula" on large, formula heavy worksheets</action> <action dev="POI-DEVELOPERS" type="add">42033 - Add support for named ranges with unicode names</action> <action dev="POI-DEVELOPERS" type="add">34023 - When shifting rows, update formulas on that sheet to point to the new location of those rows</action> 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 |