diff options
author | Josh Micich <josh@apache.org> | 2008-10-25 01:47:25 +0000 |
---|---|---|
committer | Josh Micich <josh@apache.org> | 2008-10-25 01:47:25 +0000 |
commit | 67412a0678b028750396c27b54c937539aa3dd5d (patch) | |
tree | 6db71dff21e04636a01ba88ac3b0741595482c4e /src/scratchpad | |
parent | 968c6493a52b58d38262894a00d1cd3bdd080efb (diff) | |
download | poi-67412a0678b028750396c27b54c937539aa3dd5d.tar.gz poi-67412a0678b028750396c27b54c937539aa3dd5d.zip |
Merged revisions 703100,703197,703302,703596,703620,703645,703651,706540 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r703100 | josh | 2008-10-09 01:33:54 -0700 (Thu, 09 Oct 2008) | 1 line
Removed last occurrences of storing Ptg arrays in Stacks. Some related clean-up.
........
r703197 | josh | 2008-10-09 09:10:39 -0700 (Thu, 09 Oct 2008) | 1 line
Should have been submitted with r703100 (changes to Ptg)
........
r703302 | josh | 2008-10-09 17:40:58 -0700 (Thu, 09 Oct 2008) | 1 line
Fix for bug 45964 - support for link formulas in Text Objects
........
r703596 | josh | 2008-10-10 15:59:14 -0700 (Fri, 10 Oct 2008) | 1 line
Made RecordInputStream final (major clean-up in test cases and BiffViewer)
........
r703620 | josh | 2008-10-10 18:11:05 -0700 (Fri, 10 Oct 2008) | 2 lines
fix for bug 45866 - allowed for change of unicode compression across Continue records
........
r703645 | yegor | 2008-10-11 03:31:24 -0700 (Sat, 11 Oct 2008) | 1 line
fixed error in eval.xml: use < instead of '<'
........
r703651 | yegor | 2008-10-11 05:01:42 -0700 (Sat, 11 Oct 2008) | 1 line
set trunk version.id=3.3-alpha1
........
r706540 | yegor | 2008-10-20 23:47:35 -0700 (Mon, 20 Oct 2008) | 1 line
updated release version on the index page, started a new section in the change log
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@707807 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad')
-rw-r--r-- | src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFChart.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFChart.java b/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFChart.java index 3a7c5c20e0..3b1fd1e1e7 100644 --- a/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFChart.java +++ b/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFChart.java @@ -20,7 +20,6 @@ package org.apache.poi.hssf.usermodel; import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import java.util.Stack; import org.apache.poi.hssf.record.AreaFormatRecord; import org.apache.poi.hssf.record.AxisLineFormatRecord; @@ -68,6 +67,7 @@ import org.apache.poi.hssf.record.UnknownRecord; import org.apache.poi.hssf.record.VCenterRecord; import org.apache.poi.hssf.record.ValueRangeRecord; import org.apache.poi.hssf.record.formula.Area3DPtg; +import org.apache.poi.hssf.record.formula.Ptg; /** * Has methods for construction of a chart object. @@ -759,11 +759,9 @@ public final class HSSFChart { r.setCustomNumberFormat( false ); r.setIndexNumberFmtRecord( (short) 0 ); LinkedDataFormulaField formula = new LinkedDataFormulaField(); - Stack tokens = new Stack(); Area3DPtg p = new Area3DPtg(0, 31, 1, 1, false, false, false, false, 0); - tokens.add( p ); - formula.setFormulaTokens( tokens ); + formula.setFormulaTokens(new Ptg[] { p, }); r.setFormulaOfLink( formula ); return r; } @@ -776,11 +774,9 @@ public final class HSSFChart { r.setCustomNumberFormat( false ); r.setIndexNumberFmtRecord( (short) 0 ); LinkedDataFormulaField formula = new LinkedDataFormulaField(); - Stack tokens = new Stack(); Area3DPtg p = new Area3DPtg(0, 31, 0, 0, false, false, false, false, 0); - tokens.add( p ); - formula.setFormulaTokens( tokens ); + formula.setFormulaTokens(new Ptg[] { p, }); r.setFormulaOfLink( formula ); return r; } |