Commit Graph

2798 Commits

Author SHA1 Message Date
Nick Burch
b88672b637 Add a command line wrapper around ExtractorFactory, mostly aimed at when debugging rather than production
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898810 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 15:52:53 +00:00
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
b5ccd57cd6 Tweak the iterator section to avoid casts as we have generics, and then ditch the hssf duplicate bit (everyone should be pointed at the ss.usermodel version)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898750 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 13:46:36 +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
Maxim Valyanskiy
a85c56df35 add more powerpoint xml mime types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898292 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 11:53:35 +00:00
Nick Burch
6e97a360a3 Add PublisherTextExtractor support to ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897887 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 14:55:43 +00:00
Nick Burch
55ae8cd33d Add status message for recent change from maxcom
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897886 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 14:54:16 +00:00
Maxim Valyanskiy
f1a1f4a6ff XSLF: text extraction from tables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897875 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 14:27:54 +00:00
Nick Burch
5621bb0800 Make it possible to return null on missing chunks, rather than the exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897847 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 12:19:42 +00:00
Nick Burch
e605489dc0 Do a manual sync, as per the common skins README, to avoid a build warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897830 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 10:39:35 +00:00
Nick Burch
5ad8301c2a Add embeded (attachment) support to the outlook text extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897258 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 16:44:08 +00:00
Nick Burch
98cea49eb5 Rename the outlook extractor to be more consistent with other extractors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897249 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 16:18:52 +00:00
Nick Burch
cefe4e1d28 Wire up the new HSMFTextExtactor to the ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897246 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 16:14:27 +00:00
Nick Burch
bd2f63c721 Add a text extractor to HSMF for simpler extraction of text from .msg files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897242 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 16:04:15 +00:00
Nick Burch
a6e7575999 Fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897239 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 16:02:35 +00:00
Nick Burch
7ae86fab09 More work on the recipient related chunks, including a helper method to do best-effort finding of the recipients email address
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897213 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 14:26:27 +00:00
Nick Burch
52695c1811 Quick bit of refactoring to save parsing the type and id twice
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897205 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 13:49:09 +00:00
Nick Burch
ff94e5c61b Support fetching the message date from the submission id
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897201 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 13:42:53 +00:00
Nick Burch
1ae7d3f871 Docs tweaks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897200 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 13:42:17 +00:00
Nick Burch
58806414fc Tweak a few tests, and add in a few more chunk types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897185 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 12:08:35 +00:00
Nick Burch
795ed3ce55 Complete chunk parser tests, and make more chunk groups available
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897172 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 11:37:37 +00:00
Nick Burch
0e368a23da Fix some chunk types, fix the directory descent, fix the Msg2txt example, and start on fixing core tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897167 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 11:14:58 +00:00
Nick Burch
6afb781730 Shuffle where some of the HSMF tests live to better match package names, and stub out a few more tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@896923 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 16:47:09 +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
e5884f2f66 Add a couple more HSMF chunk types, and use Generics in a few places
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@896868 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 12:56:39 +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
Yegor Kozlov
a64917fe88 removed svn:eol-style=native from binary files, uncommented related tests; see Bugzilla 48427
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894173 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 13:45:10 +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
88dbbbf1c6 Replaced getInstance methods with field for instances of ITestDataProvider. Some simplification in hierarchy of related tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893929 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 02:17:34 +00:00
Josh Micich
a1f9d0827c Clean-up in BaseTestSheetShiftRows and subclasses.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893909 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 00:25:59 +00:00
Josh Micich
e493c8dd01 Made public instance fields for ITestDataProvider singletons.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893900 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 23:51:32 +00:00
Josh Micich
a74769efcd Minor clean-up in TestXSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893899 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 23:43:55 +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
cf6b1118b4 removed mistakenly submitted test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893802 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 18:38:27 +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
804c3e9d4f another test for Bugzilla 48026
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892468 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 11:41: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
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
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
Yegor Kozlov
d20d9bab07 updated the Downloads page to reflect the latest release of POI-3.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@890708 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 09:27:44 +00:00
Yegor Kozlov
94b22e266a added a template of RELEASE-NOTES
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@890685 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 08:28:01 +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
David Fisher
edcf941fde Documentation changes for poi-ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@890085 13f79535-47bb-0310-9956-ffa450edef68
2009-12-13 18:04:02 +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
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
Yegor Kozlov
7dd36f3db7 updated current version on status.xml, also some misc post-release improvements in mvn-deploy.sh and build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@887930 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 14:20:10 +00:00
Josh Micich
1992068d14 Controlled instantiation of BoolPtg (made consistent with ErrPtg)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@887477 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 01:04:44 +00:00
Josh Micich
9fb5841de3 Removed generic type parameter from OperandPtg because it was not worth the extra syntax.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@887432 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 23:05:06 +00:00
Yegor Kozlov
436965d98b fixed XSSFSheet autoSizeColumn() to tolerate empty RichTextString, see Bugzilla 48332
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@887160 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 11:24:02 +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
513534c852 Converted line endings from CRLF to LF in Internal.java
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886942 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 22:04:26 +00:00
Yegor Kozlov
4a45b78277 added an annotation '@Internal' to mark program elements intended for POI internal use only, marked all public accessors to OOXML xmlbeans as @Internal
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886846 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 16:50:34 +00:00
Yegor Kozlov
ddefe3144d added a test covering bookmarks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886733 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 10:41:00 +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
712ac9f8ee Made ScalarConstantPtg public and MissingArgEval.instance final
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885661 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 03:09:55 +00:00
Yegor Kozlov
6216c511a9 memory usage optimization in XSSF - avoid creating parentless xml beans
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885429 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 14:09:03 +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
f81973441b Added constants for IF() and CHOOSE() function indexes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885043 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 22:53:42 +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
Josh Micich
c73dd9d324 minor changes - initial work on bugzilla 48292 (support for array formulas)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885006 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 20:54:03 +00:00
Josh Micich
97a5bf3d61 small tweak to fix compiler error after r884918 (differences in @Override rules from java 5 to 6)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885000 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 20:47:39 +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
823c6c6424 Moved handling of MissingArgEval into IF() or CHOOSE() for non-optimised (eager argument evaluation) case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884389 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 02:57:24 +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
Nick Burch
fda29835b2 Fix from Petr for bug #24601 - fix fetching of error codes from XSSF formula cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884058 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 11:33:21 +00:00
Yegor Kozlov
d67f4e3f88 more cleanup of build.xml, improved release procedure, added a script to create .md5 and .asc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883629 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 09:10:49 +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
1f22e9c945 updated remaining evaluator functions to implement fixed args interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883197 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 00:19:11 +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
6be8ae88fc added fixed arg function interfaces, converted some functions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883045 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 07:29:40 +00:00
Josh Micich
f56c779723 refactored functions taking optionally 2 or 3 parameters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883041 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 06:27:55 +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
Yegor Kozlov
52274f2a3f fixed javadoc for HSSFSheet.setColumnWidth and XSSFSheet setColumnWidth
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@882931 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 15:49:16 +00:00
Yegor Kozlov
0b9ab8930e included poi-ooxml-schemas and poi-examples in the release cycle, also misc improvements in build.xml: merged scratchpad and main examples, improved cross-module classpath dependencies, removed obsolete targets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@882927 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 15:30:54 +00:00
Josh Micich
cf7f47fbe1 moved lazy ref creation methods to OperationEvaluationContext
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@882375 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 01:13:17 +00:00
David Fisher
f2b76afe66 Many documentation changes. See https://issues.apache.org/bugzilla/show_bug.cgi?id=48242
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@882301 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 21:22:21 +00:00
Josh Micich
89c17f1ef7 changed short to int in Function.evaluate() method signature
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@881704 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 09:21:12 +00:00
Josh Micich
96c5649208 added method format2DRefAsString() to interface ExternSheetReferenceToken to help with refactoring 3D ref code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@881698 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 08:39:17 +00:00
Yegor Kozlov
909c13b8b1 fixed XLSX2CSV to avoid exception when processing cells with multiple "t" elements, see Bugzilla 47757
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@880864 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 17:31:16 +00:00
Yegor Kozlov
a584c030ff removed log4j calls from ooxml tests, also fixed misc bugs discovered when imlementing OOXMLLite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@880799 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 15:33:45 +00:00
Yegor Kozlov
aead99342f org.apache.poi.util.OOXMLLite - an utility to build a 'lite' version of the ooxml-schemas.jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@880798 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 15:32:05 +00:00
Josh Micich
518ae59f07 Removed OperationEval and rearranged function/operator evaluation.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@880593 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 05:41:57 +00:00
Josh Micich
5630df07a4 Updated diagnostic code in HSSFEvaluationWorkbook - regarding changed status of IntersectionPtg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@836344 13f79535-47bb-0310-9956-ffa450edef68
2009-11-15 09:12:30 +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
e8e2b1ff49 support for text extraction from PPT master slides, see Bugzilla 48161
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@835271 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 07:07:41 +00:00
Nick Burch
4a57314dcc Make a start on feature related records. Not finished yet, so not enabled in the recordfactory until complete+tested
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@835183 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 01:10:19 +00:00
Yegor Kozlov
0108892c64 cleanup of build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833603 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 23:40:53 +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
Yegor Kozlov
477347c3ec release system resources when calling javax.imageio.ImageIO in Picture.resize()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833527 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 19:08:41 +00:00
David Fisher
5d2e2f2263 documentation changes - css adjust
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833284 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 02:48:37 +00:00
David Fisher
488e8f2159 more documentation changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833283 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 02:43:52 +00:00
David Fisher
308d893190 documentation changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833281 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 02:29:17 +00:00
Yegor Kozlov
982819c470 reorganized TOC, removed obsolete pages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833248 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 00:00:35 +00:00