Commit Graph

1504 Commits

Author SHA1 Message Date
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
Sergey Vladimirov
02f7229fa3 pad VT_BOOL to 4 bytes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178112 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 00:59:03 +00:00
Sergey Vladimirov
46e1c019cc correctly add padding to 16-bit integers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178111 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 00:55:56 +00:00
Sergey Vladimirov
04a9868e95 rollback
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178109 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 00:48:49 +00:00
Sergey Vladimirov
4e52ab109c correctly handle 2-byte properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178107 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 00:30:52 +00:00
Sergey Vladimirov
7233b20798 add generics
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178106 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 00:30:42 +00:00
Sergey Vladimirov
cbead69dda correctly save PlfLst
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178105 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 00:11:10 +00:00
Sergey Vladimirov
19e92a8e6a correctly handle LFOData structures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178083 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 20:01:23 +00:00
Sergey Vladimirov
7ecbfcfbaa picture loading completely rewritten, bugs 51902 and 51890 fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177709 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 15:49:19 +00:00
Nick Burch
b814328848 Add a method to HSSFFont to get the color, similar to the XSSF one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177410 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 19:40:47 +00:00
Sergey Vladimirov
092ff1b867 add lvlf type definition and java code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173712 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:31:36 +00:00
Sergey Vladimirov
a74095ebd3 add tabs handling and additional SPRMs; update ShadingDescription definition (in fact, replace)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173157 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 14:12:44 +00:00
Nick Burch
2cd1847dd4 Fix bug #51832 - handle XLS files where the WRITEPROTECT record preceeds the FILEPASS one, rather than following as normal
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1172575 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 11:43:09 +00:00
Nick Burch
a75bc22211 Apply patch from bug #51809 - correct GTE handling in COUNTIF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170652 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:41:03 +00:00
Maxim Valyanskiy
1fbf6e4ae8 XLS: HyperlinkRecord: remove check for value in usKeyValue field because some (correct) files has unexpected value there
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170166 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 13:08:42 +00:00
Yegor Kozlov
7b475e643d fixed bug 51670: avoid LeftoverDataException when reading .xls files with invalid LabelRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1169725 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 13:03:04 +00:00
Yegor Kozlov
effaab4dc7 avoid exceptions when using POI in Tika, see BUgs 51771 and 51770
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1169679 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 10:19:50 +00:00
Yegor Kozlov
b1dce5c2ad more progress with xssf chart api, see Bug 51196
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1167579 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 19:00:47 +00:00
Sergey Vladimirov
3e6b5ac3ff fix field updating in AbstractEscherOptRecord;
prevent from shooting into foot by updating AbstractEscherOptRecord with incorrect values

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165603 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 11:13:41 +00:00
Sergey Vladimirov
08bb6a7627 replace getInstance() / getOptions() with getShapeType for EscherSpRecord
replace getOptions() with getInstance() for other cases

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1163615 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 13:14:09 +00:00
Sergey Vladimirov
689c4f7895 split option field into version and instance
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1163609 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 12:59:31 +00:00