Commit Graph

4761 Commits

Author SHA1 Message Date
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
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