Commit Graph

967 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
1b99ca6b52 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
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
afad417d66 added names of known but uniterpreted 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
32388d3d2d 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
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
Yegor Kozlov
86513f0dbe 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
78907b6420 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
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
074a69b42a 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
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
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
334bc3f42e 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
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
2c344b6cd9 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
7a0994abca 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
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