Commit Graph

731 Commits

Author SHA1 Message Date
Yegor Kozlov 13e963bc8c fixed PageSettingsBlock to allow multiple HeaderFooterRecord records, see Bugzilla 48026
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892467 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 11:37:45 +00:00
Yegor Kozlov e945a10ade fixed CellRangeUtil.mergeCellRanges to work for adjacent cell regions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892462 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 11:27:01 +00:00
Josh Micich 4a5154b3f3 removed obsolete work-around code from test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@891887 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 20:45:47 +00:00
Josh Micich b589ee7482 Fixed INDEX function to return reference results properly.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@891516 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 01:35:57 +00:00
Josh Micich 6e96d5be74 Minor improvements to error reporting in TestIndexFunctionFromSpreadsheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@891512 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 01:31:29 +00:00
Josh Micich 5d9b7a3ee4 fixed special cases of dereferenceResult method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@891468 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 23:16:30 +00:00
Yegor Kozlov 7ae214c7c7 fixed ExternalNameRecord to properly distinguish DDE data from OLE data in the record body, see Bugzilla 48339
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@890871 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 16:25:14 +00:00
Yegor Kozlov 2468b7a1e4 preserve POIFS StorageClsid when re-writing existing workbooks, this property is important for embedded objects, see Bugzilla 47920
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@890714 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 09:30:30 +00:00
David Fisher db0bd14a2c Added missing license headers to 5 files. Removed dist target from howtobuild.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@890089 13f79535-47bb-0310-9956-ffa450edef68
2009-12-13 18:32:47 +00:00
Josh Micich 2ddd88ed0d Removed unused imports under src/java and src/testcases. Other minor fixes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888653 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 00:12:32 +00:00
Josh Micich 0c3c85a152 Renamed AreaEval method from getValueAt() to getAbsoluteValue()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888582 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 21:48:54 +00:00
Josh Micich 37790e51e4 Some more clean up of array formula support in preparation for patch 48292
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888577 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 21:30:35 +00:00
Josh Micich f26db72b4b Refactored some code in OFFSET implementation. Added test cases showing comparisons with BoolEval.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888555 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 20:08:59 +00:00
Josh Micich 72eaea0704 Bugzilla 48343 - added implementation of SUBTOTAL function (patch from Paul Tomlin)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888490 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 17:19:09 +00:00
Josh Micich e55e9044aa Made POI follow the rules for encoding unary +/- operators more closely.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@887028 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 01:25:34 +00:00
Josh Micich 484dc9fe5a Refactoring/simplification of TestFormulaParser
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@887012 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 00:20:24 +00:00
Josh Micich 7eea9324d8 More fixes for Cell.setCellType() when converting from CELL_TYPE_FORMULA to CELL_TYPE_STRING. Similar to issues fixed with bugzilla 46479.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886951 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 22:18:12 +00:00
Josh Micich 5c57aa3cba Bugzilla 48332 - fixed ColumnInfoRecord to tolerate missing reserved field
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886311 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 21:29:44 +00:00
Josh Micich 1a9770c3dc Added junits for existing functionality of ColumnInfoRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886299 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 20:56:59 +00:00
Yegor Kozlov 9c515122aa fixed RecordFormatException when reading LbsDataSubRecord, see bugzilla 47701
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886113 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 10:56:01 +00:00
Josh Micich baa4640ec9 Made BlankEval instance consistent with other Eval singletons.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885061 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 02:50:47 +00:00
Josh Micich 5c7dbb2730 Patch 48284 - raise visibility of FormulaParseException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885007 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 21:01:59 +00:00
Yegor Kozlov 11b696550c improved work with cell comments in XSSF, also added support for cell comments to SS interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884918 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 17:39:17 +00:00
Josh Micich 9bf6c8f8dc Added test to confirm proper handling of MissingArgEval when returned from IF() or CHOOSE()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884374 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 02:43:47 +00:00
Nick Burch 6602faf140 Add support for creating SummaryInformation and DocumentSummaryInformation properties on POIDocuments that don't have them, via POIDocument.createInformationProperties()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884072 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 12:37:48 +00:00
Nick Burch 4bcde19ada Fix bug #48180 - short chart records skipping some unused fields
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884065 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 12:11:04 +00:00
Nick Burch 83504367e3 Patch from Jeremy Michelson (with slight tweaks) - bug #48274 - fix erronious wrapping of byte colours in HSSFPalette.findSimilarColor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884061 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 11:45:37 +00:00
Josh Micich b6a98299a3 Removed Ptg[] parameter from method IEvaluationListener.onStartEvaluate()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883208 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 01:22:56 +00:00
Josh Micich 24717007c8 small tweaks to junit code - enabled one test case for AVERAGE() and improved diagnostics in TestDate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883167 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 22:39:00 +00:00
Josh Micich 18f9851823 minor fix to T() function, junit added
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883039 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 05:49:51 +00:00
Josh Micich e09f868473 Fixed small bug in SUMIF() added junits. Also added test cases for DAYS360, some initially disabled.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883037 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 05:30:53 +00:00
Josh Micich 623a4c1e5b Clean-up of copy/clone methods in Ptg hierarchy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@836343 13f79535-47bb-0310-9956-ffa450edef68
2009-11-15 09:01:35 +00:00
Josh Micich f633a0e646 made ArrayPtg immutable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@836332 13f79535-47bb-0310-9956-ffa450edef68
2009-11-15 06:04:03 +00:00
Josh Micich d8f3c6de71 fixed bug in LittleEndianByteArrayInputStream.readFully()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@836298 13f79535-47bb-0310-9956-ffa450edef68
2009-11-15 00:27:59 +00:00
Josh Micich 00e64461a9 Made AbstractFunctionPtg immutable, other minor improvements
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@836101 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 02:41:24 +00:00
Josh Micich 861e2bae01 Bugzilla 48195 - short-circuit evaluation of IF() and CHOOSE()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@835994 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 21:21:23 +00:00
Josh Micich a76bd88d9b Cleaned up AttrPtg - made immutable, fixed property accessors.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@835982 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 20:46:02 +00:00
Yegor Kozlov a8da0c422e renamed HSSFSheet.setArabic to HSSFSheet.setRightToLeft
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@835846 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 13:33:52 +00:00
Yegor Kozlov b592beedaa added a method to set arabic mode in HSSFSheet, see Bugzilla 47970
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833537 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 19:40:07 +00:00
Nick Burch 87b83797e0 Hopefully fix #45672 properly - improve handling by MissingRecordAwareHSSFListener of records that cover multiple cells (MulBlankRecord and MulRKRecord)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832584 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 22:45:39 +00:00
Josh Micich 047c900ced Bugzilla 48096 - relaxed validation check in RecalcIdRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832536 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 20:23:21 +00:00
Josh Micich f286580c44 Bugzilla 48085 - improved error checking in BlockAllocationTableReader to trap unreasonable field values
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832505 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 18:48:20 +00:00
Yegor Kozlov ef37deea55 fixed logic for matching cells and comments in HSSFCell.getCellComment()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@831025 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 16:43:24 +00:00
Josh Micich 74624c0cdd Bugzilla 48044 - added implementation for CountBlank function (patch from Mads Mohr Christensen)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@829293 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 00:41:30 +00:00
Josh Micich c856343fc0 Bugzilla 48036 - added IntersectionEval to allow evaluation of the intersection formula operator.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@828244 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 23:00:09 +00:00
Josh Micich ed1b4794a0 Bugzilla 47962 - Fixed some potential NPEs. Avoided unnecessary creation of box instances. Applied patch with mods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@823348 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 22:29:41 +00:00
Josh Micich a6ced5bc25 Minor improvements to error handling in ForkedEvaluator. Added junits.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@820479 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 22:25:53 +00:00
Josh Micich c098ef803e Bugzilla 47747 - fixed logic for locating shared formula records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@816417 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 00:33:18 +00:00
Josh Micich cae73922a6 Improvements to patch 47809 (support for UDFs)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@816016 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 00:00:57 +00:00
Yegor Kozlov 141dc22e84 improved work with user-defined functions, see Bugzilla 47809
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@815928 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 19:16:39 +00:00