Commit Graph

669 Commits

Author SHA1 Message Date
Nick Burch
5ceb0327e5 Fix bug #45784 - Support long chart titles in SeriesTextRecords
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@697562 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 17:49:20 +00:00
Nick Burch
cb4c63a2bc Fix bug #45777 - Throw an exception if HSSF Footer or Header is attemped to be set too long, rather than having it break during writing out
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@697559 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 17:38:39 +00:00
Josh Micich
0ddb062fb9 Partitioning common formula logic. Introduced FormulaParsingWorkbook and EvaluationWorkbook interfaces to make merge with ooxml branch easier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696898 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 02:19:58 +00:00
Josh Micich
c5a00d78c9 Partitioning common formula logic. Introduced FormulaRenderingWorkbook interface to make merge with ooxml branch easier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696813 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 21:22:23 +00:00
Yegor Kozlov
ad53043dcf fixed bug #45829: HSSFPicture.getImageDimension() fails when DPI of image is zero
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696622 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 10:28:24 +00:00
Josh Micich
6ff869b74b Swapped deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696111 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 00:03:07 +00:00
Josh Micich
830c19add4 Added junit for bug 45732 (fix was earlier, probably in r694631)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696109 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 23:59:17 +00:00
Josh Micich
63755a491e Reverting method name change. Taking a risk on breaking binary compatibility for method HSSFSheet. getDefaultColWidth() (follow-on from r696075 / bug 45805)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696084 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 21:56:36 +00:00
Josh Micich
fface3d680 Fix for bug 45805 - 16-bit signed/unsigned problems in HSSFSheet.getColWidth() etc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696075 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 21:38:47 +00:00
Josh Micich
4a19202aae Fix for bug 45780 - update area refs during HSSFSheet.shiftRows()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696038 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 20:17:30 +00:00
Nick Burch
c97ad3dc7b Finish exposing the name of Named Cell Styles via HSSFCellStyle (normally held on the parent style though)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@695420 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 11:02:18 +00:00
Nick Burch
3f5aedbcc8 Make a start on exposing the StyleRecord details into HSSFCellStyle, but not fully there yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@695303 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 22:19:06 +00:00
Josh Micich
ce31d8d259 Fix for bug 45978 - removed eager initialisation of SheetReferences
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@695264 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 18:55:28 +00:00
Josh Micich
0c881e7c99 Added toString methods formatAsString to CellValue. Changed deprecation on CellValue.getRichTextStringValue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694881 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 05:43:41 +00:00
Josh Micich
a0769d4082 Refactored TextFunctions. Some minor fixes - test cases added.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694877 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 05:14:26 +00:00
Josh Micich
324d79a0ba Made HSSFFormulaEvaluator no longer require initialisation with sheet or row.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694643 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 08:18:54 +00:00
Josh Micich
0799612198 Extended support for cached results of formula cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694631 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 07:43:20 +00:00
Josh Micich
64aed897ea Removed trailing comma from output of HexDump.toHex()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694619 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 06:58:52 +00:00
Josh Micich
a34edb4936 small tweak to unit test which was silently creating UnknownPtgs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694615 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 06:14:07 +00:00
Josh Micich
9ec9c9251f Fix for bug 45639 - cleaned up index logic inside ColumnInfoRecordsAggregate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694534 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 23:18:50 +00:00
Josh Micich
104b2191d4 fixed special cases of MODE function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694065 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 23:37:22 +00:00
Josh Micich
5e6211564b Refactored finance functions.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694050 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 22:43:30 +00:00
Josh Micich
4f7bef34f6 Refactored hierarchy of MultiOperandNumericFunction. Fixed error value handling. Enabled error value check in TestFormulasFromSpreadsheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693990 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 21:21:28 +00:00
Josh Micich
fdbcbf978b Fixing error value handling for numeric functions. Refactored hierarchy.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693939 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 19:23:43 +00:00
Josh Micich
27c3aeb55f Fixed special cases of INDEX function (single columns / single rows, and errors)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693658 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 23:46:46 +00:00
Josh Micich
2640d092ea removed debug code accidentally submitted with r693591
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693639 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 22:26:28 +00:00
Josh Micich
f501145768 Added support for parsing array constants in formulas. (Helping investigation for bug 45752)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693591 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 20:25:16 +00:00
Josh Micich
906bceb891 Refactored OperandResolver coerce functions to convert BlankEval to 0.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693289 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 21:34:45 +00:00
Josh Micich
f722d1e209 Fixes for DAY/MONTH/YEAR functions (junit cases added)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693250 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 20:28:05 +00:00
Josh Micich
1b916d2ceb Additional fix for 45720 - bug in HSSFWorkbook.findExistingBuiltinNameRecordIdx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693221 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 19:49:03 +00:00
Nick Burch
a7ae05977b Fix bug #45761 - Support for Very Hidden excel sheets in HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693175 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 17:43:31 +00:00
Yegor Kozlov
5bc0f55d3d fixed bug #45720: cloneSheet breaks autofilters.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@692893 13f79535-47bb-0310-9956-ffa450edef68
2008-09-07 16:30:35 +00:00
Josh Micich
acb6f6fc92 Minor fixes to YEARFRAC(). Added ISEVEN() and ISODD(). Added test cases.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@692614 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 06:04:01 +00:00
Josh Micich
3db8deb9e0 Fixes for special cases of lookup functions (test cases added)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@692612 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 05:30:31 +00:00
Josh Micich
69e25acaf8 Modified formula evaluator to handle whole column refs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@692538 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 20:38:51 +00:00
Josh Micich
d2fd5808e6 Minor fixes for numeric operators - junit added. Some refactoring.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@692506 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 18:22:30 +00:00
Josh Micich
cb11a5ccfc Fix for bug 45376 - added caching to HSSFFormulaEvaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@692300 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 23:16:15 +00:00
Josh Micich
5585490f8c Made HSSFFormulaEvaluator capable of handling simple named ranges
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@692255 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 21:32:17 +00:00
Josh Micich
7534c12898 Fixed compiler warnings, linked junit test to suite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@692243 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 21:05:50 +00:00
Josh Micich
bd997b1376 Fixed 2 small bugs in RelationalOperationEval (added junits). Refactored hierarchy.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@692239 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 20:58:37 +00:00
Josh Micich
409941a8be Initial work on bug 45720 - copy 'FilterDatabase' named record when cloning sheets. Some clean-up in NameRecord.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@691740 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 19:22:53 +00:00
Josh Micich
b987d1aa2d Fixed IF() to handle different types for the first arg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690836 13f79535-47bb-0310-9956-ffa450edef68
2008-09-01 02:26:33 +00:00
Josh Micich
43db5ea180 Converted AreEval and RefEval to be lazy (part of fix for bug 45358)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690835 13f79535-47bb-0310-9956-ffa450edef68
2008-09-01 01:48:45 +00:00
Josh Micich
f9123d1acf Improving AreaI interface and AreaPtg hierarchy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690825 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 23:59:26 +00:00
Josh Micich
38461f88a9 Partial fix for bug 45358 - parsing area refs with rows above 32767
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690772 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 19:44:11 +00:00
Josh Micich
4ca39e86fd removed AreaEval.getValues (initial work for bug 45358)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690761 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 19:08:36 +00:00
Josh Micich
2110416cbf Added junit to show bug 45717 is fixed. (Previously fixed by either of r683758, r683871)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690721 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 16:27:35 +00:00
Josh Micich
eb1489d58e Fix for bugs 26321 and 44958 - preserve position of ArrayRecords and TableRecords among cell value records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690636 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 04:45:00 +00:00
Josh Micich
13bbb3eb0c changed serialize method on Sheet to visitContainedRecords to simplify serialization logic and also allow test code to inspect generated sheet records more directly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690626 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 01:53:47 +00:00
Nick Burch
4b40a5cb0c Various bug fixes, and hpbf updates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690517 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 14:47:33 +00:00