Commit Graph

4795 Commits

Author SHA1 Message Date
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
Sergey Vladimirov
7c78589bf7 add STD type description and java class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173545 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 09:44:24 +00:00
Sergey Vladimirov
f779c3f462 handle lists margins
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173161 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 14:14:17 +00:00
Sergey Vladimirov
3a99be3269 add tabs handling and additional SPRMs; update ShadingDescription definition (in fact, replace)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173159 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 14:13:26 +00:00
Sergey Vladimirov
085745adde add tabs handling and additional SPRMs; update ShadingDescription definition (in fact, replace)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173158 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 14:13:08 +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
Sergey Vladimirov
4d8970baca do not output empty borders (esp. with incorrect "-1" values of widths)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173045 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 09:19:09 +00:00
Sergey Vladimirov
0aa1773a25 update TCAbstractType
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173044 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 09:18:49 +00:00
Sergey Vladimirov
99e8d7d7a0 sometimes "-1" happens. It seems to be empty cell border as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173039 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 09:03:58 +00:00
Sergey Vladimirov
9b9c733a57 update TCAbstractType
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173035 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 08:52:47 +00:00
Sergey Vladimirov
be424d3a09 second field in TC is width
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173034 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 08:52:30 +00:00
Sergey Vladimirov
6a74c4a55e add test case for sprmTDefTable (opcode 0xD608)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173033 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 08:52:03 +00:00
Nick Burch
0446976e0f New PackagePart method getRelatedPart(PackageRelationship) to simplify navigation of relations between OPC Parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1172853 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 21:40:39 +00:00
Nick Burch
7d6c26cf86 Test relating to TIKA-705 - XSLF internal hyperlinks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1172670 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 15:38:59 +00:00
Maxim Valyanskiy
da5a8477e8 HSLF: support for uncompressed OLE embeddings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1172583 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 12:06:58 +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
Maxim Valyanskiy
4786ed97c9 MAPIMessage: skip UTF-8 in guess7bitEncoding because UTF-8 are never used as one-byte encoding in Outlook
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1172537 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 09:34:52 +00:00
David Fisher
57dda0b22f ooxml-schemas-1.1.jar is the current version.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1171821 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 22:09:30 +00:00
Maxim Valyanskiy
6d080eb3bf MAPIMessage: fix NPE in set7BitEncoding
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1171628 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 15:38:50 +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
Nick Burch
f716fe1822 Start on a testcase for TIKA-705 (more work needed though)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170648 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:39:20 +00:00
Sergey Vladimirov
b12828a65e HWPF Bookmarks tables are correctly updated on text updates. Add HWPF API to update range text and delete bookmarks.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170437 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 05:41:21 +00:00
Sergey Vladimirov
95d61faec0 change default page margins to 0.4 inches and allow to changes them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170227 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 16:15:47 +00:00
Sergey Vladimirov
f3ce711196 better handle (i.e. skip) empty cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170223 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 16:10:27 +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
Sergey Vladimirov
57f40b0e3f generate CSS without tag names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170116 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 11:10:23 +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
Maxim Valyanskiy
ee5162ff4b enable assertions for unit-tests (currently disabled for ooxml due to failure in TestSXSSFRow)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1169699 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 11:40:54 +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
ac144f7d82 updated status.xml to reflect changes from Bug 51196
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1167580 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 19:05:28 +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
Yegor Kozlov
cc4a1dd8f1 fixed failing xlsf test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1167541 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 15:30:43 +00:00
Yegor Kozlov
76b20bf253 initial support for table styles in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1167491 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 10:50:05 +00:00
Nick Burch
41f656b6c8 Patch from bug #51785 - Allow XSSF setForceFormulaRecalculation to work with the minimal ooxml-schemas jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1167241 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 15:11:20 +00:00
Sergey Vladimirov
5b11460c66 add sprmPDxaLeft1 0x8460 PAPX SPRM support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1166209 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 14:58:42 +00:00
Sergey Vladimirov
78a366bd0c use margin CSS properties to control indentation in HTML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1166155 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 12:55:51 +00:00
Sergey Vladimirov
d1aeec0d78 fix Bug 51772 - IllegalArgumentException Parsing MS Word 97 - 2003;
Replace byte->char translation with byte range -> char range_S_ translation for PAPX / CHPX tables

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1166144 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 12:12:17 +00:00
Sergey Vladimirov
130a5fc04b Update test cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165604 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 11:15:36 +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