Commit Graph

1186 Commits

Author SHA1 Message Date
Nick Burch
4cb27e5095 Remove some generics warnings from the HPSF custom properties and sections parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898804 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 15:42:53 +00:00
Nick Burch
0d7ef148b5 Tweak the generics definition on workbook so that method signatures on hssf and xssf won't need to change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898769 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 14:25:31 +00:00
Nick Burch
1362cf6ba7 Fix a few generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898748 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 13:42:15 +00:00
Nick Burch
545f2e1119 Improved how HSMF handles multiple recipients
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898295 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 12:02:18 +00:00
Nick Burch
2bb376f55b Start on major HSMF refactoring. Should compile, but not quite all tests pass as a little bit of work is left
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@896914 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 16:15:20 +00:00
Nick Burch
dd6750ceb9 Skip warnings we can't avoid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@896866 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 12:50:21 +00:00
Nick Burch
62e8d43b5b Initialise the link type of HSSFHyperLink, so that getType() on it works
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@896049 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 14:08:51 +00:00
Nick Burch
e4531ab0fd More FeatRecord support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@895487 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 21:51:25 +00:00
Nick Burch
6b46bb007d Add in a few bits of Generics to avoid warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@895477 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 20:56:40 +00:00
Nick Burch
8a636423b2 Add a note on the different shared feature types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@895287 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 21:03:16 +00:00
Yegor Kozlov
19d2a9ae09 improved usermodel to prevent data corruption when setting array formulas, mimic Excel behaviour and block changing cells included in multi-cell arrays
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894469 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 19:47:38 +00:00
Nick Burch
89c140c265 Start testing the contents of FeatRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894091 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 18:22:02 +00:00
Nick Burch
f0e176bfae Add Generics types to avoid warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894089 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 18:16:12 +00:00
Nick Burch
d033cf37f8 Make InternalSheet capture the feature related records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894081 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 17:13:44 +00:00
Nick Burch
1186abb3b4 Looks like we already had Ref8U but with a different name... Switch to using CellRangeAddress instead!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894078 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 16:46:38 +00:00
Nick Burch
869fc4e5a6 More work on FeatRecord/Shared Features. More is still needed though, it's still WIP
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894018 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 19:57:09 +00:00
Nick Burch
e536251666 Finish off common Ref8U subrecord, and add tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894015 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 18:48:44 +00:00
Josh Micich
5c3fcf7a3c Fixed FormulaParser to allow negative elements in array literals.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893898 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 23:26:47 +00:00
Josh Micich
931671c3d2 Added CellRange return type for Sheet array formula methods. Renamed new test classes to make it clear that array formula evaluation is not being tested yet. Added extra test cases.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893897 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 23:04:04 +00:00
Yegor Kozlov
aba7267376 added HSSF usermodel tests for array formulas, added support for array formulas in ss interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893870 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 15:15:55 +00:00
Yegor Kozlov
b3093fc671 fixed incorrect initialization of --noheader option in BiffViewer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893869 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 15:13:26 +00:00
Yegor Kozlov
b9fab26825 added tests for XSSF usermodel for array formulas, this change is a step towards adoption of the patch submitted in Bugzilla 48292
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893625 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 20:58:01 +00:00
Josh Micich
51c3adb24f Added arg check to NumericFunction.singleOperandEvaluate().
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893403 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 04:40:14 +00:00
Josh Micich
cc648a0fc0 Simplified InterfaceHdrRecord and InterfaceEndRecord (some rework after bug 47251 / r892862).
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893402 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 04:35:37 +00:00
Josh Micich
56c40e3a0f replaced commented code with 'if (false)' block
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893395 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 03:43:33 +00:00
Yegor Kozlov
3bbde4880c improved performance of DateUtil.isCellDateFormatted(), see Bugzilla 48425
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893105 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 07:52:55 +00:00
Josh Micich
c89aeaee12 Added getRow() and getColumn() functions to TwoDEval to simplify logic in INDEX implementation.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893063 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 03:00:21 +00:00
Josh Micich
65a41cce66 Fixed SharedValueManager to create separate empty instances in anticipation of instances becoming mutable.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893057 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 01:41:16 +00:00
Josh Micich
f11c66506d Renamed model.Sheet to InternalSheet to alleviate name clash.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893051 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 01:08:33 +00:00
Josh Micich
ea80e22b2b Renamed model.Workbook to InternalWorkbook to alleviate name clash.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893050 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 00:51:29 +00:00
Josh Micich
ce3db22c12 put field initialisation in Workbook constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893045 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 00:13:56 +00:00
Josh Micich
cac5b3d60f Removed unused Model, ModelFactory. ModelFactoryListener etc.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893041 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 00:03:04 +00:00
Josh Micich
7033e79c35 renamed function implementations to avoid potential name clashes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893030 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 23:30:32 +00:00
Yegor Kozlov
7bd00361c3 fixed InterfaceEndRecord to tolerate unexpected record contents, see bug 47251
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892862 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 16:24:08 +00:00
Yegor Kozlov
fcdc6ff6e2 undo code mistakenly submitted in r892839
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892842 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 14:57:23 +00:00
Yegor Kozlov
3969ed7e8f improved javadoc on Picture.resize()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892839 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 14:51:39 +00:00
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
f57d1d8a39 added --noheader option to BiffViewer to suppress output of record headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892465 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 11:36:06 +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
Yegor Kozlov
d704d13573 fixed possible NPE in LbsDataSubRecord.toString()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892461 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 11:26:10 +00:00
Yegor Kozlov
9da4551038 changed retention policy in @Internal to RUNTIME, also added a string parameter for custom messages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892460 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 11:25:39 +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
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
Josh Micich
556622b05f changed short param to int in AreaEval.containsColumn() method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@891425 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 21:08:36 +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
adac5e854d modified MultiOperandNumericFunction to use TwoDEval
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888714 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 07:01:49 +00:00
Josh Micich
18041addf0 Created new TwoDEval interface for AreaEvals (in preparation for patch 48292)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888665 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 00:50:11 +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