Commit Graph

4783 Commits

Author SHA1 Message Date
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
c91b9c072d correctly save PlfLst
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178104 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 00:11:05 +00:00
Sergey Vladimirov
5041b7b215 handle bullets lists correctly (i hope)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178103 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 23:28:37 +00:00
Sergey Vladimirov
69e7860bcc update LVLF definition
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178098 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 22:23:31 +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
3607c2fc74 correctly handle last part of FIB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178063 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 18:18:51 +00:00
Sergey Vladimirov
0bb5ea6078 update docs basing on prev. version of doc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178049 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 17:42:11 +00:00
Sergey Vladimirov
847b8fe81d move cbRgFcLcb from FIBFieldHandler to FIB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178045 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 16:56:05 +00:00
Sergey Vladimirov
23a44c7c6d replcae FIBLongHandler with FibRgLw97 and remove CPSplitCalculator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178038 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 16:16:17 +00:00
Sergey Vladimirov
2dc849577d replace FIBShortHandler with FibRgW97
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178030 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 15:46:26 +00:00
Sergey Vladimirov
a4ec172b7a extract FibBase from FIB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178019 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 15:32:32 +00:00
Nick Burch
c96302efc7 Add a HSSF/XSSF example relating to cell styles and colours
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177793 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 19:30:15 +00:00
Sergey Vladimirov
c1d65f3c7e picture loading completely rewritten, bugs 51902 and 51890 fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177710 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 15:49:45 +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
Sergey Vladimirov
f0a96deeb0 disable wraps in "extended" cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177644 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 13:19:09 +00:00
Sergey Vladimirov
ef2876e71f rewrite Sttb utils to handle complex cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177643 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 13:16:50 +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
Nick Burch
ba88670e3e Allow the passing of a File object to WorkbookFactory.create, which permits lower memory processing than the InputStream version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177409 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 19:39:51 +00:00
Maxim Valyanskiy
a186e69c78 bug#51901: StringChunk.parseAs7BitData - Encoding not found - US-ASCII; format=flowed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1176780 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 08:18:57 +00:00
Nick Burch
9e1ca2caea XLSF text extraction improvements relating to TIKA-712
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1175887 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 14:37:50 +00:00
Nick Burch
8de1ce7c6a Tweak the HSLF and XSLF tests for master slide text to cover more (some of which is disabled for now)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1175870 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 13:48:59 +00:00
Nick Burch
40d19a5fa3 Fix bug #51873 - update HSMF to ignore Outlook 2002 Olk10SideProp entries, which don't behave like normal chunks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1174868 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 16:24:56 +00:00
Sergey Vladimirov
e5b4f1b58d remove incorrect method to lookup "upper" table cell. In fact, we don't need it at all.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1174386 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 20:57:10 +00:00
Nick Burch
837c5a90f1 Fix bug #51850 - support creating comments in XSSF on an earlier slide when later ones already have them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1174048 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 10:37:54 +00:00
Nick Burch
7b211912e2 Add a disabled test for bug #51850, and tweak the OPC package exceptions to make it easier to spot when a part name is already used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1174045 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 10:26:33 +00:00
Sergey Vladimirov
b78ac79324 styles shall be applied after lists as well [as PAPX]
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173866 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 21:16:53 +00:00
Sergey Vladimirov
7ceb576145 output styles information in more compact (and precise) format
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173865 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 21:16:35 +00:00
Sergey Vladimirov
e2377a8942 insert space instead of tab in lists
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173864 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 21:16:12 +00:00
Sergey Vladimirov
52e5eb21e1 be aware of PAP properties from lists, but don't forget that PAPX has priority over them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173841 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 20:42:04 +00:00
Nick Burch
766b2256cf Update the XSLF slide master text extraction to be optional, as HSLF already is, plus fix some indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173756 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 16:54:22 +00:00
Nick Burch
59204cbc38 Tidy up HSLF extractor tests, and add a bit more for bug #51803
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173753 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 16:46:43 +00:00
Nick Burch
2c9a15dc3b Fix bug #51804 - Include Master Slide text in XSLF text extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173749 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 16:32:52 +00:00
Nick Burch
36da306131 Add test files from bugs 51803/51804
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173742 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 16:13:16 +00:00
Sergey Vladimirov
c9140e56e5 use LVLF to hold internal lists data
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173731 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:47:12 +00:00
Sergey Vladimirov
fb88976657 fix default values for byte[] fields in autogenerated files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173719 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:33:29 +00:00
Sergey Vladimirov
56d27d0315 wanr more if some PAPX sprms were ignored
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173717 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:33:02 +00:00
Sergey Vladimirov
6f68b64151 output warning if some CHPX SPRMs were ignored
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173716 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:32:43 +00:00
Sergey Vladimirov
12af4909f3 add toString() to UPX
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173715 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:32:21 +00:00
Sergey Vladimirov
d13ee3399d add StdfPost2000 to StyleDefinition
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173714 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:32:11 +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
367e27a7e6 dump style number
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173662 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 14:16:45 +00:00
Sergey Vladimirov
2bc90c8151 split stylesheet into additional structures according to latest specification
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173622 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 13:24:46 +00:00
Sergey Vladimirov
140593d8c6 use StdfBase structure in StyleDescription
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173550 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 10:00:43 +00:00
Sergey Vladimirov
bc7869a957 rename STD to StdfBase
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173548 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 09:48:16 +00:00