Commit Graph

993 Commits

Author SHA1 Message Date
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
Sergey Vladimirov
59a35f3b22 add test case of processing of Bug47286.doc by Word-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150600 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:02:53 +00:00
Sergey Vladimirov
0edc7c2579 correctly handle overlapping fields and bookmarks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150598 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:02:30 +00:00
Sergey Vladimirov
c7f970420a do not use block-inline property compactization in FO (result is a target to automate processing anyway)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150596 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:02:01 +00:00
Sergey Vladimirov
e8b148eaef compact similar CHPX after restoring bin table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150595 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:01:10 +00:00
Sergey Vladimirov
aa6a387c8f add bookmarks dump feature to HWPFLister
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150593 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:00:31 +00:00
Sergey Vladimirov
dce04f66d4 use autogenerated LFO type definition
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150475 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 19:23:20 +00:00
Sergey Vladimirov
a661f497d0 new test case for 47731 issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150463 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 18:55:57 +00:00
Sergey Vladimirov
a8e015ab9f Bug 44431 - HWPFDocument.write destroys fields - seems to be fixed some time ago, but other bugs prevented to see it.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150461 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 18:40:42 +00:00
Sergey Vladimirov
01036a1f1e use new table streams and data streams after write()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150458 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 18:35:48 +00:00
Sergey Vladimirov
5fa76e4209 store unknown structures offsets and sizes in FIB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150457 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 18:35:31 +00:00
Sergey Vladimirov
cbd29dbda3 arrays shall be compared using Arrays.toString()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150455 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 18:35:03 +00:00
Sergey Vladimirov
6e3df0ad59 remove debug output code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150066 13f79535-47bb-0310-9956-ffa450edef68
2011-07-23 08:37:53 +00:00
Sergey Vladimirov
18c247b0d3 move Field interface to usermodel and create Fields interface as user-friendly replace for FieldsTables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149704 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 19:38:14 +00:00
Sergey Vladimirov
584897b99e fix notes numbering and update test cases for Word-to-FO converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149703 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 19:36:46 +00:00
Sergey Vladimirov
23c635aa24 fix ArrayIndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149617 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 14:28:54 +00:00
Sergey Vladimirov
e9b2bef3e8 do not allow two elements to have same IDs in result of Word-to-FO converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149610 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 14:06:01 +00:00
Sergey Vladimirov
8271fd2f73 fix missing spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149609 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 14:05:39 +00:00
Sergey Vladimirov
7cbdf296fb Fix table processing. Spanned columns / different width / spanned rows are correcly rendered in HTML and FO now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149593 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 12:49:29 +00:00
Sergey Vladimirov
e86ef4f8bf fix: allow text breaks in table cells after Word-to-FO converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149592 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 12:48:15 +00:00
Sergey Vladimirov
e956fa6fbf better processing of word tables in cases different rows have different cell widths
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149528 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 09:42:32 +00:00
Sergey Vladimirov
4bb6a792f8 better error message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149527 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 09:41:38 +00:00
Sergey Vladimirov
09653df7bc compact fo:inline's in FO output of Word-to-FO converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149087 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 09:18:38 +00:00
Sergey Vladimirov
fcac718bfd update TestWordToHtmlConverter tests (expected results)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149037 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 04:30:08 +00:00
Sergey Vladimirov
8aed736589 nicer HTML for endnotes in Word-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149036 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 04:26:38 +00:00
Sergey Vladimirov
77f0cf4b83 more compact HTML in Word-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149035 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 04:25:39 +00:00
Sergey Vladimirov
50b74657bc fix missing table borders in HTML in Word-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149034 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 04:06:36 +00:00
Sergey Vladimirov
a110ea84ae nicer HTML in Word-to-HTML converter for one-section document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149033 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 04:06:12 +00:00
Sergey Vladimirov
a38b32750b better default css for endnotes in Word-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149031 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 03:55:24 +00:00
Sergey Vladimirov
ee1624ad5b fix CSS for subscript/superscript in Word-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149030 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 03:54:46 +00:00
Sergey Vladimirov
5561ba40b3 fix missing css in Word-to-HTML converter if getDocument() not called
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149026 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 03:38:52 +00:00
Sergey Vladimirov
b4ae01ff14 fix loosed formatting to endnotes and footnotes in Word-to-HTML and Word-to-FO converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149022 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 03:34:56 +00:00
Sergey Vladimirov
3f0760921f add processing of hyphen chars in Word-to-HTML and Word-to-FO converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149020 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 03:33:29 +00:00
Sergey Vladimirov
d7e5c4681e fix XLS:FO footnotes and endnotes processing fo Word-to-FO converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149011 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 02:47:04 +00:00
Sergey Vladimirov
d3b9fa47e6 add autonumbered endnotes and footnotes support in Word-to-HTML and Word-to-FO converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148974 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 23:24:16 +00:00
Sergey Vladimirov
583802a735 initial support for endnotes and footnotes in HWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148959 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 22:31:59 +00:00
Sergey Vladimirov
b71c78c384 simplify some HWPFDocument.get*Range() methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148860 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 17:29:10 +00:00
Sergey Vladimirov
6d8949ef0c add bookmarks support for Word-to-HTML and Word-to-FO converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148824 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 16:01:19 +00:00
Sergey Vladimirov
2113215046 split BookmarksTables to internal and user-friendly API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148810 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 15:03:43 +00:00
Sergey Vladimirov
48c26bf223 added initial support for bookmark
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148428 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 16:18:27 +00:00
Sergey Vladimirov
acc635adee introduce SubdocumentPart and simplify CP start/end FIB API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148303 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 12:51:11 +00:00
Sergey Vladimirov
05c7df2042 introduce DocumentPart enum and simplify fields access API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148280 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 11:49:48 +00:00
Sergey Vladimirov
88a00c69c5 add dump fields feature
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148270 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 11:03:09 +00:00
Sergey Vladimirov
92e5199a95 compact HTML output of WordToHtmlConverter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148269 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 10:51:23 +00:00
Sergey Vladimirov
1ba8c3e781 speed improvement for rebuilding CHPX
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148115 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 00:50:17 +00:00
Sergey Vladimirov
2e6aa3d153 simplify internal API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148095 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 23:21:46 +00:00
Sergey Vladimirov
9d40d7022d add support for merged cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148089 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 23:09:11 +00:00
Sergey Vladimirov
ce0a61f8e6 fix compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148046 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 20:49:27 +00:00
Sergey Vladimirov
7312a39a5e fix compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148045 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 20:46:10 +00:00
Sergey Vladimirov
29e9f487d5 compact result HTML in Excel-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148040 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 20:27:35 +00:00