Commit Graph

2621 Commits

Author SHA1 Message Date
Josh Micich 2dac9df840 (Should have been submitted with 693939) Fixing error value handling for numeric functions. Refactored hierarchy.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693941 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 19:27:24 +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
Yegor Kozlov 78101afee8 don't increment the number of shapes when cloning a sheet with drawings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693383 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 06:58:35 +00:00
Josh Micich bcaf3fdcd4 Common refactoring for one arg numeric functions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693309 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 22:46:41 +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
Josh Micich 5eae1cd49c cosmetic fix for Area3DPtg.toString()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693203 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 19:13:09 +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 770dfcf4a4 always call Workbook.cloneDrawings when cloning sheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693085 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 13:02:21 +00:00
Nick Burch 57625c349f Patch from bug #45738 - Initial HWPF support for Office Art Shapes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@692918 13f79535-47bb-0310-9956-ffa450edef68
2008-09-07 18:32:51 +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 3676e8d3c8 reverted changes accidentally submitted with r692538
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@692541 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 20:43:37 +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 66c02fc59b Fix unused import (correction to r692239)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@692241 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 21:01:48 +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 50852e25ee Fixed ArrayPtg.toString to not crash when partially initialised
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@691687 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 17:03:02 +00:00
Yegor Kozlov 1d65e27522 fixed bug #45728: SlideShow.reorderSlide didn't work properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@691533 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 08:04:07 +00:00
Yegor Kozlov 2e0b0fa446 continue making progress with hslf hyperlinks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@691182 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 10:03:11 +00:00
Yegor Kozlov 7c1b5604d9 improved handling of StyleTextPropAtom bit masks, added more read-write roundtrip tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@691180 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 09:59:53 +00:00
Nick Burch d3f7cc38ef DV related fixes from Pierre Lavignotte
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@691017 13f79535-47bb-0310-9956-ffa450edef68
2008-09-01 16:51:09 +00:00
Josh Micich d0c3bad76b Update status for bug 45358 (fixed with r690772, r690835 and r690836)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690837 13f79535-47bb-0310-9956-ffa450edef68
2008-09-01 02:34:05 +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
Nick Burch bbe5c8d867 HPBF docs update
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690739 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 17:24:10 +00:00
Nick Burch 7ba82ba657 Add HPBF hyperlinks support to the extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690729 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 16:58:29 +00:00
Nick Burch e786480817 Start to support HPBF hyperlinks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690726 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 16:37:39 +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 2c2fce0bab Further HPBF plc tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690536 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 17:12:42 +00:00
Nick Burch 0a81ea69b2 Start to support HPBF PLC parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690534 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 16:59:55 +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
Josh Micich 988b6c869f Fixed decoding of operand class for ArrayPtg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690461 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 04:34:01 +00:00
Josh Micich 1c3cefbfdd Added ArrayRecord and CellRangeAddress8Bit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690411 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 22:21:10 +00:00
Josh Micich 5cb7d5e0d1 Clean-up toString() and inner class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690404 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 22:08:42 +00:00
Yegor Kozlov e2b7f90cd7 initial support for embedded movies and controls.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690262 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 14:01:04 +00:00