Commit Graph

1520 Commits

Author SHA1 Message Date
Yegor Kozlov
b70cf560db added HSSFFormulaEvaluator.setIgnoreMissingWorkbooks, see Bugzilla 52575
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241372 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 08:11:37 +00:00
Yegor Kozlov
2e2559d80a bugzilla 52575: added an option to ignore missing workbook references in formula evaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1240903 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 07:37:11 +00:00
Maxim Valyanskiy
32b830954e bug#52560 - ArrayIndexOutOfBoundsException: -2 on NPOIFSFileSystem.readBAT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1237629 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 12:55:29 +00:00
Yegor Kozlov
bc7f63906d Added implementation for SUMIFS(), see Bugzilla 52462
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1234305 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 11:50:49 +00:00
Yegor Kozlov
8259a18fac corrected javadoc for StandardRecord#serialize(LittleEndianOutput out) as reported in poi-dev
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1232321 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 06:53:45 +00:00
Nick Burch
6c37e2c672 Correct fraction formatting quick return logic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1231144 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 16:03:17 +00:00
Nick Burch
b82b4772f5 Fix bug #52446 - Handle files which have been truncated by a few bytes in NPropertyTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1229963 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 11:46:41 +00:00
Nick Burch
1a4bf34cb5 Patch from Steve Vysny from bug #52438 - Update CellDateFormatter to handle times without seconds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1229281 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 18:21:54 +00:00
Nick Burch
091e464ed4 Bug #52389 - Handle ?/? format fractions as well as #/# ones, and tighten the criteria for triggering fraction formatting matching
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1225093 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 05:10:24 +00:00
Yegor Kozlov
e8a75979a0 Bugzill 52378: Support for Excel's Analysis Tool Pack functions workday and networkdays
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1221682 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 11:40:48 +00:00
Nick Burch
2af707980e Inspired by bug #52349 - Merge the logic between the TEXT function and DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1221126 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 07:20:44 +00:00
Nick Burch
09f6464163 Fix bug #52349 - Correctly support excel style date format strings in the TEXT function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1221123 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 06:58:01 +00:00
Yegor Kozlov
2e67e48e71 applied patch from Bugzilla 52314: SheetUtil.getColumnWidth could be more flexible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1215079 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 10:01:02 +00:00
Yegor Kozlov
6867b3eee4 fixed javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212511 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:48:38 +00:00
Nick Burch
3400cf0d44 Patch from Marcel May from bug #51875 - More XSSF formula new-line support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1210299 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 00:52:39 +00:00
Nick Burch
991fd65ee8 Demote the HPSF CodePageString null check from an exception to a Warning, as we seem to be hitting it incorrectly (see bug #52258 for details)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207477 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 17:38:29 +00:00
Nick Burch
c3072e1efc Convert POIFS EntryUtils.copyNodes(POFS,POIFS) to use FilteringDirectoryNode, so can exclude from copying nodes not just directly under the root
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207445 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 17:00:11 +00:00
Nick Burch
9874de32e3 Add unit test for using FilteringDirectoryNode with EntryUtils.areDirectoriesIdentical
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207422 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 16:51:06 +00:00
Nick Burch
47be5cb142 Add a POIFS Helper FilteringDirectoryNode, which wraps a DirectoryEntry and allows certain parts to be ignored
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207412 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 16:44:16 +00:00
Nick Burch
a0e1b78f34 Unit tests for POIFS EntryUtils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207333 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 15:54:51 +00:00
Nick Burch
c27488ef36 Start on a new method for POIFS EntryUtils for checking to see if the two Directories have the same contents, plus stub out some tests for EntryUtils (to follow)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1206355 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 21:56:19 +00:00
Yegor Kozlov
afecad3532 keep rat-check quiet, also started writing xslf docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1198722 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 13:22:04 +00:00
Sergey Vladimirov
c3704d0eff replace exception with warning
update test case

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1195053 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 22:00:42 +00:00
Sergey Vladimirov
2c06f34413 undeprecate get*() methods with 0 offset
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187981 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 21:52:34 +00:00
Sergey Vladimirov
2ed5482fbf additional safety belts to handle broken files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187647 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 02:52:52 +00:00
Sergey Vladimirov
f428ff6a57 adding safety belts for property type 0x0100 and other unknown types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187646 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 02:40:20 +00:00
Sergey Vladimirov
24f32eec41 some files has strange property values... try to handle them.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187644 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 02:23:19 +00:00
Sergey Vladimirov
ad10ff8187 add license header; organize imports
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187641 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 02:07:18 +00:00
Sergey Vladimirov
0148cd3e20 rewrite VariantSupport to use TypedPropertyValue at max without breaking compatibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187640 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 02:02:34 +00:00
Sergey Vladimirov
f6db23f921 values in vector not padded
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187639 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 02:01:26 +00:00
Sergey Vladimirov
54525d661f replace exception with warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187638 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 02:01:14 +00:00
Sergey Vladimirov
8d5369235d accept java string
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187637 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 02:01:04 +00:00
Sergey Vladimirov
86d46b4713 replace exception with warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187636 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 02:00:34 +00:00
Sergey Vladimirov
d27da3d905 fix type definition
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187634 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 01:57:58 +00:00
Sergey Vladimirov
52457da856 fix NPE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187633 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 01:57:24 +00:00
Sergey Vladimirov
04fdfd2458 remove unused
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187596 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 23:45:22 +00:00
Sergey Vladimirov
fddd46c4e6 add classes that will replace VariantSupport class just a bit later
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187595 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 23:45:01 +00:00
Sergey Vladimirov
8654862616 it's better to always specify offset for write and reading operations
deprecate methods with default (0) offset

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187568 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 21:56:54 +00:00
Sergey Vladimirov
76f6084db4 reuse code from LittleEndian class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187550 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 21:25:03 +00:00
Sergey Vladimirov
a35cf979d2 reuse code from LittleEndian class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187549 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 21:19:39 +00:00
Sergey Vladimirov
4ef78d40fc add float read/write (put/get) support
expand cycles

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187542 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 21:13:10 +00:00
Sergey Vladimirov
b532f90b4c code format and sort members (prepare for double and float additions)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187537 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 21:01:35 +00:00
Nick Burch
cf1c5ee9e1 Add implementation of RATE from patch in bug #52050
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1186111 13f79535-47bb-0310-9956-ffa450edef68
2011-10-19 11:32:44 +00:00
Nick Burch
6c6fb5aad7 Allow Ole10Native to be created from a DirectoryNode, not only a a POIFS
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1183618 13f79535-47bb-0310-9956-ffa450edef68
2011-10-15 10:27:52 +00:00
Nick Burch
0d31a3b8b7 Fix bug #51963 - Correct AreaReference handling of references containing a sheet name which includes a comma
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179444 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 21:18:25 +00:00
Sergey Vladimirov
669c8f4362 -warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178154 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 08:58:21 +00:00
Sergey Vladimirov
b170936050 preserve entries order in dictionaries
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178153 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 08:58:11 +00:00
Sergey Vladimirov
0b92810530 fix VT_LPWSTR support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178149 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 08:44:05 +00:00
Sergey Vladimirov
03fac99902 fix VT_BOOL support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178147 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 08:36:51 +00:00
Sergey Vladimirov
99ee1edb17 always pad properties to 4 bytes
fix 51834 - Opening and Writing .doc file results in corrupt document

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178113 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 01:06:22 +00:00