Commit Graph

1042 Commits

Author SHA1 Message Date
Sergey Vladimirov
8fdb655c4a simplify API to Word file's part processing, like includint page headers / footers into plain text and HTML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156823 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 20:50:42 +00:00
Sergey Vladimirov
79ecde0c88 reuse existing POIFS of hwpf document to preserve all OLE streams
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156727 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 18:49:35 +00:00
Sergey Vladimirov
3c5ee45591 dump OLE2 streams
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156682 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 17:16:07 +00:00
Sergey Vladimirov
7f72be652e fix issues related to document properties loading and saving
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156662 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 16:37:31 +00:00
Sergey Vladimirov
f7b888743f fix stylesheet saving
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156629 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 14:29:29 +00:00
Sergey Vladimirov
3cbe7923e5 fix document parts boundaries modifications on text changes (in FIB)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156616 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 13:55:35 +00:00
Yegor Kozlov
bde41cbbe6 fixed missing ASF licence headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156541 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 08:47:58 +00:00
Sergey Vladimirov
339e6e29fa simplify HTML CSS creation code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155357 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 13:25:56 +00:00
Sergey Vladimirov
73bfd88166 update test case for 41898 issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155347 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 13:04:28 +00:00
Sergey Vladimirov
0e3a966465 rename emf_2003_image.doc to Bug41898.doc and move test to TestBugs class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155339 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 12:50:15 +00:00
Sergey Vladimirov
6538ace5c6 new word-to-text converter can handle OLE2 included objects, so issue 47731 is fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155337 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 12:42:34 +00:00
Sergey Vladimirov
1d9900c184 Add Word-to-Text converter and use it as replacement for WordExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155336 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 12:38:52 +00:00
Sergey Vladimirov
b47081db42 add Word-to-Text converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155281 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 09:25:59 +00:00
Sergey Vladimirov
13068a00b2 allow to disable document rebuilding and use it in HWPF Lister
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155262 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 08:37:21 +00:00
Sergey Vladimirov
9d434a3667 main() method seems never worked neither documented. removed.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155249 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 08:14:19 +00:00
Sergey Vladimirov
1c04bacc34 restore (merge, cleanup and move to dev. package) XSLT utilities classes for model classes autogeneration.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155242 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 07:48:13 +00:00
Sergey Vladimirov
efceea044f deprecate org.apache.poi.hdf package
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155233 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 07:00:02 +00:00
Sergey Vladimirov
f121ef99a2 mak HWPFLister as (eternal) @Beta
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155218 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:54:48 +00:00
Sergey Vladimirov
9f975dbc25 mark classes from org.apache.poi.hwpf.model (and subpackages) as @Internal
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155217 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:53:28 +00:00
Sergey Vladimirov
9c46b3115a mark org.apache.poi.hwpf.converter classes as @Beta
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155216 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:45:20 +00:00
Sergey Vladimirov
0041b4dbd2 mark org.apache.poi.hwpf.sprm package classes as @Internal
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155215 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:43:57 +00:00
Sergey Vladimirov
8b6d31c903 add non-deprecated method insertTableBefore to Range
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155214 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:34:46 +00:00
Sergey Vladimirov
653bf768e8 add TestBugs to AllHWPFTests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155212 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:20:07 +00:00
Sergey Vladimirov
215b57dfcf backlink used doc's stringbuilder and singlenton TextPiece from TextPieceTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155210 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:17:35 +00:00
Sergey Vladimirov
7a333045e5 replace StringBuffer with StringBuilder in TextPiece
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155208 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:00:09 +00:00
Sergey Vladimirov
d7a0a6ee85 extract Bugzilla tests from TestProblems into TestBugs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155205 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 04:46:36 +00:00
Sergey Vladimirov
ac9e2ed234 fix javadoc encoding
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152162 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 10:59:00 +00:00
Sergey Vladimirov
d573d6f815 escherTertiaryOptRecord.lookup() added, thanks yegor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152127 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 07:02:20 +00:00
Yegor Kozlov
d7fa3d56ee fixed compilation errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152103 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 04:54:34 +00:00
Sergey Vladimirov
473c51d4ea expose additional shape properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151917 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 16:39:47 +00:00
Sergey Vladimirov
493aa8c30d add simpliest "escher" pictures support in Word-to-HTML and Word-to-FO converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151888 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 15:08:06 +00:00
Sergey Vladimirov
e3682b766f fix compilation error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151879 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 14:43:18 +00:00
Sergey Vladimirov
4120b5eb9e fix escher info dump
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151862 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 14:21:40 +00:00
Sergey Vladimirov
33fa99951b add initial code for office drawings (and pictures saved as such drawings)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151845 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 13:46:57 +00:00
Sergey Vladimirov
45b4dc4a88 rename fileManager variable of type PicturesManager to picturesManager
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151770 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 09:06:56 +00:00
Sergey Vladimirov
aeeed4ee06 fix picture matching procedure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151766 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 08:49:38 +00:00
Sergey Vladimirov
b958f6fb8c Bug 47286 were fixed, update test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151761 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 08:32:13 +00:00
Sergey Vladimirov
5895434e97 simplify image processing interface for WordConverters, add PictureManager interface
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151760 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 08:26:59 +00:00
Sergey Vladimirov
0f1c11c113 output language in (Word) XSL FO
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151511 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 15:57:45 +00:00
Sergey Vladimirov
c831bc24f8 fix 47286 - Word documents saves in wrong format if source contains form elements
correctly translate char=>byte on saving CHPX and PAPX tables

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150704 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 13:58:05 +00:00
Sergey Vladimirov
c10da4c31a replace ComplexFileTable with single-element-one right after load; replace text piece table as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150675 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 12:58:09 +00:00
Sergey Vladimirov
1cebb31e23 autoformat, sort members and cleanup code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150637 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 11:33:42 +00:00
Sergey Vladimirov
689ef50fbf move rebuild actions to new methods (in future - to new classes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150635 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 11:31:16 +00:00
Sergey Vladimirov
efdd335f77 fix array index out of bound exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150631 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 11:19:50 +00:00
Sergey Vladimirov
e209244316 update assertion in PAPBinTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150628 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 11:02:03 +00:00
Sergey Vladimirov
b247763259 fix: sort bookmarks start indices
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150624 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 10:40:47 +00:00
Sergey Vladimirov
89012851da correctly hangle out-of-boundaries cases for bookmarks and fields in Word-to-* converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150622 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 10:40:02 +00:00
Sergey Vladimirov
201a782435 support text colors in Word-to-HTML and Word-to-FO converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150612 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:57:53 +00:00
Sergey Vladimirov
676c39dad0 add Colorref structure and use it to store color information in CHP(X)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150606 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:39:07 +00:00
Sergey Vladimirov
4d8a410fbe correctly handle overlapping fields and bookmarks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150601 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:08:00 +00:00