Commit Graph

2394 Commits

Author SHA1 Message Date
Josh Micich f736644496 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 0d06fa008e Refactoring MultiOperandNumericFunction - removed Ref2DEval.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694153 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 07:16:20 +00:00
Josh Micich 9f121af2d0 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 4135c76ee5 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 562360b308 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 f7bfb10141 (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@693947 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 19:33:58 +00:00
Josh Micich cd0a88ea0a (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 ea1c2e1863 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 17357da8c9 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 17785ae568 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 e1a5eae19e 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 cdba99c929 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 150d887cf0 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 eae43fa85b 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 49ddf85f9b 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 72d018c392 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 bee807e5a9 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 3a47b6e89c 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 86e9f8c8d7 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 c2761bf452 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 a0cef40211 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 ba665e8b75 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 d1fa09977a 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 ff3dbad047 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 a175eadfd2 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 971a97d708 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 bae56b7be7 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 62e6778ef0 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 db7d4a4d55 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 e2138482c9 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 176250c649 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 df610f03ef 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 a1a888f7f7 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 bdd3c6d413 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 ea9f17a105 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 6caa780df5 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 dc0f66c44e 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 028dc760f7 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 d93c9c520d 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 30819e2f9b 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 020bde0d66 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 a78cd8eb0a 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 908e676d57 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 b944df7e56 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 5fb6697aee 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 ea9ed46b9a 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 9ba2ab25be 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 33f8013dd3 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 e4787b1a21 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 7039455b72 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 3d8ec0dc34 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 e12de2c3bf 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 077c07f988 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 55a6277bf2 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 a5e68f7c0c 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 434e7c2454 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
Yegor Kozlov afe84aadee utility to dump POIFS into filesystem
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690259 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 13:58:56 +00:00
Josh Micich 4897063eab Removing calls to AreaEval.getValues() from count and lookup functions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690112 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 05:29:56 +00:00
Josh Micich 76964bdcba Removing calls to AreaEval.getValues()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690094 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 03:52:51 +00:00
Josh Micich 357f3eaf7d Changed FormulaRecord.getParsedExpression to return Ptg array
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@690091 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 03:25:23 +00:00
Josh Micich 8685d30fd5 Consolidated TableRecord inside FormulaRecordAggregate. Simplifications to FormulaRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@689973 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 20:39:41 +00:00
Josh Micich ed854d99c9 Removed unused methods from CellValueRecordInterface. Converted FormulaRecordAggregate to RecordAggregate subclass
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@689721 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 05:25:24 +00:00
Josh Micich 4b226e36f5 Should have been submitted with c689716 (bug 45699)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@689719 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 05:13:31 +00:00
Josh Micich d5cbbaa1ab Fix for bug 45699 - RowRecordsAggregate needs to tolerate MergeCellsRecords between row/cell records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@689716 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 04:27:41 +00:00
Josh Micich 05e4c39b9e Fix for bug 45698 - allow LinkTable to read EXTERNSHEET records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@689704 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 02:54:47 +00:00
Josh Micich 9d343b5802 should have been submitted with c689559
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@689636 13f79535-47bb-0310-9956-ffa450edef68
2008-08-27 21:54:20 +00:00
Josh Micich 772ff6d1f4 Added names of known but uninterpreted BIFF records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@689559 13f79535-47bb-0310-9956-ffa450edef68
2008-08-27 18:51:03 +00:00
Josh Micich d7b932dee2 Fixed size of TblPtg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@689544 13f79535-47bb-0310-9956-ffa450edef68
2008-08-27 18:13:46 +00:00
Josh Micich 04dfa8d39f Replaced calls to deprecated versions of createCell(), getCell(), createRow(), and getRow(). (Changing short to int)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@688910 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 22:41:08 +00:00
Josh Micich d4b6c06f2b Fix for small bug introduced in c688655 - keep header field in sync with number of rules
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@688825 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 18:57:14 +00:00
Josh Micich 4b73edb191 Fix for bug 45682 - allow cloning of sheets with conditional formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@688655 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 08:30:54 +00:00
Josh Micich 2ea7bc5eef Initial support for evaluating external add-in functions like YEARFRAC
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@688650 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 08:09:02 +00:00
Josh Micich 3277d492dd JDK 1.4 fixes for new hpbf stuff. Some clean-up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@688642 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 07:56:37 +00:00
Josh Micich 2dd98d377e Fix for bug 45672 - prevent MissingRecordAwareHSSFListener generating multiple LastCellOfRowDummyRecords when shared formulas are present
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@688426 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 22:47:51 +00:00
Nick Burch f56ab22521 HPBF text extractor and unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@687443 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 20:13:08 +00:00
Nick Burch 4262bdd181 Quill CONTENTS bits, and tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@687429 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 19:40:05 +00:00
Nick Burch b35e6d5bf0 More HPBF stuff, and some tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@687423 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 18:50:15 +00:00
Nick Burch 6a1cf3281c Make an initial start on hpbf code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@687403 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 18:14:11 +00:00
Josh Micich f6d8c7ee47 Fix for bug 45640 - avoid creating multiple GUTS records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686977 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 07:44:57 +00:00
Yegor Kozlov 3435dd322b fixed bug #45645: Fix for HSSFSheet.autoSizeColumn() for widths exceeding Short.MAX_VALUE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686844 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 18:33:58 +00:00
Nick Burch 2118d52949 Further HPBF documentation, and some more sample files used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686640 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 20:15:51 +00:00
Nick Burch 1cbcfaed78 More work understanding hpbf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686628 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 18:21:34 +00:00
Nick Burch e9a647c3f4 More work understanding hpbf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686625 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 18:02:31 +00:00
Nick Burch caa6292337 More work understanding hpbf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686624 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 17:39:10 +00:00
Nick Burch 82ae0b3825 Few little tweaks to dev helpers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686621 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 16:36:40 +00:00
Nick Burch 6fae76f598 Start on a HPBF dumper
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686290 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 17:42:25 +00:00
Nick Burch 46b1489ed1 More sample hpbf docs, with a description
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686278 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 16:57:30 +00:00
Nick Burch d3704b79be Add sample publisher files from bug #45602 to svn
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686207 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 12:43:02 +00:00
Nick Burch 098d400bac More for bug #45623 - Support for additional HSSF header and footer fields, including bold and full file path
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686053 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 21:41:01 +00:00
Nick Burch bb270804b9 Fix bug #45623 - Support stripping HSSF header and footer fields (eg page number) out of header and footer text if required
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686046 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 21:25:16 +00:00
Nick Burch 5595a24adf Refactor header/footer stuff to remove duplication
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686036 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 20:50:06 +00:00
Nick Burch 8309a9d7e5 Update changelog
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@685284 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 19:59:35 +00:00
Nick Burch 97e8e39eb6 Add HWPF support for stripping out fields (eg macros), and make this optionally happen always for headers and footers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@685283 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 19:57:04 +00:00
Nick Burch 8ad0a4f34c Fix a typo in the file name, and add a generic method to POITextExtractor to get the appropriate metadata text extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@685267 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 19:02:41 +00:00
Nick Burch 80ea376dc0 Few documentation updates for recent new code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@685263 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 18:55:47 +00:00
Nick Burch 67de5e70b4 New HPSF based TextExtractor for document metadata, org.apache.poi.hpsf.extractor.HPFSPropertiesExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@685260 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 18:44:50 +00:00
Yegor Kozlov 13d89f642c Properly update the array of Slide's text runs in HSLF when new text shapes are added
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@685064 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 07:15:26 +00:00
Yegor Kozlov 9213d605e2 Fix bug #45590: Header/footer extraction for .ppt files saved in Office 2007
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@685054 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 06:55:10 +00:00
Nick Burch 481dcf900f Finally get all HWPF tests to pass again, by working around how evil PAPX/CHPX/SEPX byte references are
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684986 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 23:42:39 +00:00
Josh Micich 647522fef8 initial work on supporting calls to add-in functions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684971 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 22:55:38 +00:00
Nick Burch 3a1f1f4526 Get insert based HWPF tests working fine, delete ones still problematic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684959 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 22:07:37 +00:00
Nick Burch 36821ec463 CHPXs and PAPXs are apparently cp based, but are really byte based! Work around this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684939 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 21:25:17 +00:00
Josh Micich 829b2eb084 Refinements to fix for bug 45126. Excel does not produce any records like 'Excel_Name_Record_Titles_*'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684938 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 21:24:19 +00:00
Josh Micich d2b3adb3cc deleted obsolete comment (should have been done in c669809)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684884 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 19:28:58 +00:00
Nick Burch 39a6be39de Remove random un-used import that makes gump unhappy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684454 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 10:58:48 +00:00
Nick Burch 31e3b7a910 Disable a few HWPF tests that aren't working while the unicode/paragraph bug is outstanding
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684370 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 22:24:47 +00:00
Nick Burch a1f745fee3 Add header/footer support to HWPF WordExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684362 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 22:08:34 +00:00
Nick Burch 2eaf0ec59a Tests to show that header stuff all works right
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684355 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 21:46:14 +00:00
Nick Burch e00116900d Start on headers/footers support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684349 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 21:31:28 +00:00
Nick Burch 8a0c521503 Improve FIB updating on range changes, and add passing tests for non unicode paragraph properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684336 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 20:31:48 +00:00
Nick Burch 7411759977 Get most of the hwpf tests passing again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684322 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 19:56:37 +00:00
Josh Micich 0af86e924a added getRowIndex() to HSSFCell, deprecated HSSFFormulaEvaluator.setCurrentRow()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684321 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 19:47:39 +00:00
Nick Burch c71c0851d5 Big big unicode rationalisation in text piece code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684319 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 19:34:38 +00:00
Josh Micich 69a90eb5e9 Converted rows map within HSSFSheet to use Integer keys
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684318 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 19:29:23 +00:00
Nick Burch 7d80941f46 More range tests, which show that we do have a bug in the hwpf unicode support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684309 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 17:58:35 +00:00
Nick Burch e24c87e659 More header and footer files, this time with unicode in it too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684302 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 17:33:29 +00:00
Nick Burch 0ab671432d More tests to show that the range based stuff is working properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684299 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 17:23:42 +00:00
Nick Burch d3ddd6c287 Add lots more getters/setters for useful things to the FIB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684293 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 16:46:39 +00:00
Nick Burch b2f3ada6ff Start to document the whole FIB stuff better
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684287 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 16:24:20 +00:00
Nick Burch 08761481ff Prepare to change how we do ranges, to handle different kinds of text in the cp area
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684282 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 15:58:24 +00:00
Nick Burch 061f7c1e86 More HWPF/XWPF sample header footer documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684256 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 13:21:32 +00:00
Nick Burch aefbcb260b More HWPF/XWPF sample header footer documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684255 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 13:15:26 +00:00
Nick Burch be81497855 Add several test word files with headers and footers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684223 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 11:02:25 +00:00
Josh Micich c863196e3a improved error message for FormulaParser when the formula has a leading equals sign
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684075 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 20:14:24 +00:00
Josh Micich cb842b1165 Standardised toString methods on ScalarConstantPtg subclasses
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684067 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 19:49:02 +00:00
Josh Micich ad4abd484a Patch 45577 - Added implementations for Excel functions NOW and TODAY, added property getters to HSSFConditionalFormattingRule
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683901 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 08:05:07 +00:00
Josh Micich 56f2ad8eb9 Finished extracting PageSettingsBlock logic from Sheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683880 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 06:56:06 +00:00
Josh Micich ad181534cf Extracting PageSettingsBlock from Sheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683871 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 06:27:06 +00:00
Josh Micich 46a1f19dc4 Converted RowRecordsAggregate to proper RecordAggregate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683788 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 01:30:30 +00:00
Josh Micich b7ac0ea8ab Consolidating ValueRecordsAggregate within RowRecordsAggregate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683758 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 23:49:10 +00:00
Josh Micich 3889288070 Fix for bug 45582 - handle extra bytes after the EOFRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683706 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 20:32:25 +00:00
Josh Micich 5eaf4faae0 JDK 1.4 compatibility. Some exception clean-up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683699 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 20:23:26 +00:00
Josh Micich ca28a95c89 Added conditional format records to BiffViewer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683167 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 08:42:40 +00:00
Josh Micich a1f4852347 Partial fix for bug 45570 - Converted instance BitField fields to static
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683132 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 06:27:39 +00:00
Josh Micich 3d35311857 removed TODO comment and formatted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683128 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 06:20:59 +00:00
Josh Micich 382be9cb00 should have been submitted with r683081
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683093 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 03:06:18 +00:00
Josh Micich f28c5a8f21 refactoring aggregate records to a separate hierarchy. just starting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683081 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 01:39:44 +00:00
Josh Micich 1746dea8b1 Fix JDK 1.4 compilation (after r682511 /bug 45538)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683023 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 23:03:33 +00:00
Nick Burch 9d70190dab With help from Yegor, fix bug #45537 - Include headers and footers (of slides and notes) in the extracted text from HSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683020 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 22:49:24 +00:00
Nick Burch d0aeb2c0e0 More tests for bug #45365, but still not able to reproduce it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682999 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 22:29:20 +00:00
Nick Burch aec041040f Start on bug #45537 - headers and footers from ppt
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682778 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 16:33:07 +00:00
Yegor Kozlov 3e0d12d799 fixed bug #44692: HSSFPicture.resize() stretched image when there was a text next to it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682621 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 08:06:50 +00:00
Yegor Kozlov 82e71b0a1c when a new RowRecord is created, the default row height shoud be 0xFF. The DEFAULT_HEIGHT_BIT (0x8000) is optional, some clients like OpenOffice 2.3 and earlier don't understand it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682620 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 08:05:54 +00:00
Nick Burch eeb7d45566 Fix bug #45543 - Optionally extract comment text with PowerPointExtractor, and initial hslf model support for comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682533 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 22:48:39 +00:00
Nick Burch fc187db058 Fix a comment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682518 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 21:34:54 +00:00
Nick Burch 10d561380d Fix bug #45538 - Include excel headers and footers in the output of ExcelExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682511 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 21:21:16 +00:00
Josh Micich 7cd7a7b275 removed debugging code leftover from r682508 (patch 44894)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682510 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 21:14:37 +00:00
Josh Micich 34ea10b29d Patch 44894 - refactoring duplicate logic from EventRecordFactory to RecordFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682508 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 21:08:11 +00:00
Yegor Kozlov 982388db18 support for headers / footers in HSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682336 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 11:40:25 +00:00
Josh Micich ba2c1e7beb Consolidating various duplicates of CellRangeAddress
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682282 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 08:00:11 +00:00