Commit Graph

623 Commits

Author SHA1 Message Date
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
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
065456ed74 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
adc8469ebc 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
adff0508bb 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
43a8618659 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
f17e56b30e 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
ef03dbb315 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
7000eed3a9 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
12e76ef706 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
e32412de65 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
9233a6ef22 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
57765829b9 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
02608ba18d 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
9156cf6c55 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
Josh Micich
fb80e82009 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
Nick Burch
c4a69b0b45 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
f4b314c1fe 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
d60c98c37b 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
0f5af26377 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
Josh Micich
5067bab579 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
Josh Micich
f90a5d380c 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
71de59ad5c 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
Josh Micich
3ce7ac40ac 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
Josh Micich
4bf2be6ac0 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
3262629faa 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
7b9f5ba600 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
91b083a919 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
ea84181642 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
7f985ab0aa 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
3c755ee68c 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
7a2ec724d6 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
1d478f3af7 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
Yegor Kozlov
9a1077fd1d 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
b9a01ec165 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
04d5f9c316 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
Josh Micich
b73865910f 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
Josh Micich
beb9838b48 Small tweaks for data validation (bug 44953)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682230 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 23:13:17 +00:00
Josh Micich
3150399136 should have been submitted with c682225 - Extensive fixes for data validation (bug 44953)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682227 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 22:15:46 +00:00
Josh Micich
8f5b968caf Extensive fixes for data validation (bug 44953)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682225 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 22:11:26 +00:00
Josh Micich
29af743583 Small update for c681530 bug 45519
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@681572 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 01:04:28 +00:00
Josh Micich
9ec8702c99 Fix for bug 45519 - keep data validation records together
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@681530 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 22:44:48 +00:00
Nick Burch
7fd95e217f Some work on bug #45466 - Partial support for removing excel comments (won't work for all excel versions yet)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@680530 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 22:10:07 +00:00
Josh Micich
bc0461c5ed More tweaks for bug 45404. Fixes for JDK 1.4, improved member scoping and formatting.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@680470 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 20:08:15 +00:00
Nick Burch
d4655fe1bb Apply, with some tweaks, the patch from bug #45404 - New class, hssf.usermodel.HSSFDataFormatter, for formatting numbers and dates in the same way that Excel does
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@678287 13f79535-47bb-0310-9956-ffa450edef68
2008-07-20 17:18:07 +00:00
Nick Burch
dc5fc2e99c Patch from bug #45414 - Don't add too many UncalcedRecords to sheets with charts in them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677995 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 18:40:11 +00:00