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
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
Sergey Vladimirov
8e4853b55e
fix test case name for TestExcelToHtmlConverterSuite
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148039 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 20:27:11 +00:00
Sergey Vladimirov
634200d3c3
fix compilation error
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148024 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 19:51:08 +00:00
Sergey Vladimirov
c8894ce11f
very small additional speed improvement (less garbage)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148006 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 19:02:16 +00:00
Sergey Vladimirov
9f7257440b
fix Bug 51524 -- PapBinTable constructor is slow (regression)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148002 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 18:44:03 +00:00
Sergey Vladimirov
eab1e5cfdb
preserve align in case of "divved" cells
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147941 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 15:55:52 +00:00
Sergey Vladimirov
9a3f3dd94f
add tricky mode (disabled by default) to output cell's text in next cells, if they are empty (non-optimal, thought)
...
add option (enabled by default) to change leading spaces into entities
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147933 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 15:37:48 +00:00
Sergey Vladimirov
3743efebeb
fix table and table's cells css processing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147828 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 12:25:10 +00:00
Sergey Vladimirov
cacef02b5b
do not output hidden rows and columns by default (and add options to do so)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147808 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 11:07:51 +00:00
Sergey Vladimirov
7a13f32dac
made getHighlightColor() public, so convertor don't need to clone CHP info
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147454 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 16:33:13 +00:00
Sergey Vladimirov
deb0c2eb68
made getHighlightColor() public, so convertor don't need to clone CHP info
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147453 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 16:32:27 +00:00
Sergey Vladimirov
c2c9ea3589
processImage() is moved to converter, remove setImageProperties from Utils
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147451 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 16:20:45 +00:00
Sergey Vladimirov
6815f67967
introduce picture descriptor structure (internal), now Picture class extends it;
...
add test case with correctly cropped picture info
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147450 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 16:19:49 +00:00
Sergey Vladimirov
572c611187
allow to dump pictures
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147420 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 12:36:55 +00:00
Sergey Vladimirov
09e3d77cd6
a bit more comments (quotes from specifications)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147419 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 12:36:45 +00:00
Sergey Vladimirov
df3357b85e
trivial fix for ShadingDescriptor.toString()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147418 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 12:36:31 +00:00
Sergey Vladimirov
ac23837695
update CHP definition
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147411 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 11:57:40 +00:00
Sergey Vladimirov
66adcb6351
update AllHWPFTests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147400 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 10:19:13 +00:00
Sergey Vladimirov
8a5f656a67
update AllHWPFTests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147399 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 10:17:35 +00:00
Sergey Vladimirov
020c6d70c0
update PAP definition
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147398 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 10:09:57 +00:00
Sergey Vladimirov
ff7328a1d2
deprecate code working directly with PAPX / CHPX / SEPX
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147397 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 10:06:54 +00:00
Sergey Vladimirov
bef7e6c0f4
add default values to LineSpacingDescriptor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147393 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:31:57 +00:00
Sergey Vladimirov
8751c669de
remove unused method
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147391 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:26:29 +00:00
Sergey Vladimirov
f18e5fb8e2
make some section properties public to prevent access from converters using reflection
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147390 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:25:13 +00:00
Sergey Vladimirov
0dbe53416a
update SEP definition
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147387 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:12:22 +00:00
Sergey Vladimirov
b8833e78c9
update SEP definition
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147385 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:10:57 +00:00
Sergey Vladimirov
9b7c834b5a
format and sort members
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147384 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:10:38 +00:00
Sergey Vladimirov
a54fbd1ada
format and sort members
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147379 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 08:17:34 +00:00
Sergey Vladimirov
f3c63c65c1
format and sort members
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147378 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 08:16:00 +00:00
Sergey Vladimirov
f1379b2963
add get/set for _ixchFollow in listLevel
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147377 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 08:11:28 +00:00
Sergey Vladimirov
86988f78de
rename methods to make the difference between field end (exclusive) and field end mark offset (inclusive)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147134 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 12:58:14 +00:00
Sergey Vladimirov
285ee2ad58
prevent extra text in field
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147127 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 12:45:44 +00:00
Sergey Vladimirov
d3d59c2096
prevent index out of range exception
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147126 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 12:45:24 +00:00
Sergey Vladimirov
3568e18a60
fix fields processing, improve test case
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147082 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 10:52:11 +00:00
Sergey Vladimirov
aded116bd7
compactify HTML
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147007 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 08:11:43 +00:00
Sergey Vladimirov
9c988fd1cf
fix styles output;
...
add columns and rows headers (optional, on by default);
output sheet headers as h2, not as h1;
output columns widths.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1146142 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 17:10:13 +00:00
Sergey Vladimirov
f79348fee9
fix NPE
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145630 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 15:19:17 +00:00
Sergey Vladimirov
92381ae7d8
add line breaks (0xb) support
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145609 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 14:40:06 +00:00
Sergey Vladimirov
5ee8f707be
add font replacer interface and default implementation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145604 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 14:17:57 +00:00
Sergey Vladimirov
0a631075ec
update TestRangeProperties
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145542 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 11:04:43 +00:00
Sergey Vladimirov
e031e07dc9
fix Range::insert<Table>Before() method result boundaries
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145537 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 10:47:53 +00:00
Sergey Vladimirov
ce367bc274
fix TestTextPieceTable test: fix PieceDescriptor.equals() method
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145530 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 10:34:58 +00:00
Sergey Vladimirov
83c757f1cb
for test cases: do not reconstruct binary tables for read-write tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145499 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 09:09:05 +00:00
Sergey Vladimirov
920e0ee72f
convert unicode string constants to \uxxx-s
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145495 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 08:57:05 +00:00
Sergey Vladimirov
70fd79b2ec
add more detailed message about missing substring
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145494 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 08:52:12 +00:00
Sergey Vladimirov
75090630ff
add initial support for fast-saved files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145410 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 00:40:27 +00:00
Sergey Vladimirov
5fb7c13c38
add ProperyModifier (PRM) field to PieceDescriptor (PD)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145409 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 00:39:53 +00:00
Sergey Vladimirov
6d3bd4e5b4
add toString() to SprmBuffer
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145407 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 00:38:39 +00:00
Sergey Vladimirov
d7557a802b
add type constants and extends toString() for SprmOperation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145406 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 00:38:07 +00:00
Sergey Vladimirov
169018be01
NPE check
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145405 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 00:37:45 +00:00
Sergey Vladimirov
c8bb280df0
make Table elements constructors accepts char positions (as other constructors); fix SprmBuffer usage for PAPX
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145377 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 21:59:33 +00:00
Sergey Vladimirov
98c52813dd
make Section.toString() look alike other toString()s
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145375 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 21:58:21 +00:00
Sergey Vladimirov
888489c310
extend TableRow from Range, not from Paragraph
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145346 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 20:53:35 +00:00
Sergey Vladimirov
098cc9fc4f
rewrite PAPX / CHPX loading, allowing to read complex files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145342 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 20:49:41 +00:00
Sergey Vladimirov
4a0d32fa98
rename MBD001D0B89.doc to Bug48075.doc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145288 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:45:46 +00:00
Sergey Vladimirov
8430800f64
SEPX uses chars as boundaries coordinates, don't do double conversions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145286 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:41:53 +00:00
Sergey Vladimirov
df4deaf1ee
prevent NPE in rare cases
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145284 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:40:34 +00:00
Sergey Vladimirov
bcd98fc6c9
make TableCellDescriptor cloneable
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145283 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:40:21 +00:00
Sergey Vladimirov
c8dc8aa6d6
make TableAutoformatLookSpecifier cloneable
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145282 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:40:05 +00:00
Sergey Vladimirov
984c180ade
ignore PAPX references zero-length text pieces
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145281 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:39:18 +00:00
Sergey Vladimirov
8371f13c4d
sorting of PAPX is not required, it will be replaced with full rewrite later
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145280 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:39:06 +00:00
Sergey Vladimirov
4e96b040a3
refactor SprmOperation, reducing memory consumption for a bit
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145279 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:38:03 +00:00
Sergey Vladimirov
6769f34c5f
allow SprmBuffer to append byte[] (public method)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145277 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:37:28 +00:00
Sergey Vladimirov
a67574d250
SEPX uses chars as boundaries coordinates, don't do double conversions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145276 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:36:37 +00:00
Sergey Vladimirov
2ee84d720a
ignore CHPX references zero-length text pieces
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145275 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:34:26 +00:00
Sergey Vladimirov
a61064e853
deprecate BytePropertyNode
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145274 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:33:32 +00:00
Sergey Vladimirov
26c1fa750d
push boundaries checks down, removing deprecation warnings, remove (unused) cpMin (Word XP) hack
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145075 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 08:57:42 +00:00
Sergey Vladimirov
55c6850928
specify font size metric (pt)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145062 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 08:18:43 +00:00
Sergey Vladimirov
1151cd8b9e
fix CSS error in word-to-html
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145061 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 08:14:30 +00:00
Sergey Vladimirov
df9d0a036e
fox compiler warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144924 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 18:05:11 +00:00
Sergey Vladimirov
365134f1bd
remove unused parameters
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144923 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 18:04:17 +00:00
Sergey Vladimirov
b0407b8048
fix generic warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144920 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 18:00:06 +00:00
Sergey Vladimirov
ba0be2ca2d
fix Word6/95 test cases: in old format boundaries in SEPX refers to chars, not to bytes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144857 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 13:08:11 +00:00
Sergey Vladimirov
a5407bd08f
add toString() to PlexOfCps
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144856 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 13:07:41 +00:00
Sergey Vladimirov
4a0c0f2898
NP check
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144853 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 12:59:28 +00:00
Sergey Vladimirov
b3c475a8df
more WARNs in log
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144852 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 12:56:36 +00:00
Sergey Vladimirov
6b96874866
shortcut for test case to allow loading bad structure of CHP
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144691 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 16:10:57 +00:00
Sergey Vladimirov
bb9b395b69
Same workaround for CHPX / SEPX, as for PAPX. Disable SPRM processing for Word95 files.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144689 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 16:04:46 +00:00
Sergey Vladimirov
b95ff1310d
make sure at least English text is extracted
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144684 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 15:36:05 +00:00
Sergey Vladimirov
f23c8a021a
temporary(?) workaround for Bug 49933 - Word 6/95 documents with sections cause ArrayIndexOutOfBoundsException
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144683 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 15:33:41 +00:00
Sergey Vladimirov
530a209d01
add the same boundaries check to CHPX / PAPX / SEPX for Word95 as for Word97
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144681 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 14:47:19 +00:00
Sergey Vladimirov
1272107604
sort CHPX / PAPX / SEPX tables for Word95 files as well
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144680 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 14:42:37 +00:00
Sergey Vladimirov
c2d4b6babe
sort PAPX and SEPX after loading
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144679 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 14:38:42 +00:00
Sergey Vladimirov
2857dc155c
better way to check if CPHX references any part of text
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144676 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 14:25:25 +00:00
Sergey Vladimirov
de7cdb2540
add toString() and isEmpty() to ShadingDescriptor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144661 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 12:10:09 +00:00
Sergey Vladimirov
83f87437c0
output text of CHPX
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144659 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 12:09:51 +00:00
Sergey Vladimirov
829a9d18f9
make sure all complex properties are correctly initialized and cloned
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144654 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:39:02 +00:00
Sergey Vladimirov
d4e15abb05
add public clone()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144652 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:36:42 +00:00
Sergey Vladimirov
ddff2fc8ee
add public clone()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144651 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:36:11 +00:00
Sergey Vladimirov
de22f56bec
improve DropCapSpecifier, add field getters/setters, toString(), isEmpty(), hashCode(), equals()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144649 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:34:16 +00:00
Sergey Vladimirov
a5e5b26013
add isEmpty() and toString() to DateAndTime
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144645 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:26:00 +00:00
Sergey Vladimirov
2a96d74ace
add isEmpty() and toString() to LineSpacingDescriptor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144644 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:24:02 +00:00
Sergey Vladimirov
1eba38d7cf
fix the same problem with SPX and move deprecation to BytePropertyNode
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144641 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:14:53 +00:00
Sergey Vladimirov
d07d8ec7f7
fix the same problem as with PAPX -- CHPX shall be stored based on text positions, not on bytes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144638 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:08:45 +00:00
Sergey Vladimirov
3e5fd147eb
fix compilation problem on JDK 6
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144631 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 10:31:20 +00:00
Sergey Vladimirov
fce856c75c
fix comparator
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144366 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 15:51:46 +00:00
Sergey Vladimirov
6845dab8b3
organize imports
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144363 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 15:50:06 +00:00
Sergey Vladimirov
338cf7bc4d
additional check and workaround for wrong order (fix TestWordExtractorBugs.testBug50688)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144361 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 15:41:40 +00:00
Sergey Vladimirov
a496e6c0fa
one of problems linked to 47286 seems to be found -- some CHPX were not saved
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144352 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 15:08:02 +00:00
Sergey Vladimirov
026ef97694
add test case to check if email from Bug47286.doc is present in HTML
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144341 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:37:42 +00:00
Sergey Vladimirov
dcf5427b8a
simplify work with fields
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144337 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:33:01 +00:00
Sergey Vladimirov
63c571ca1f
add user-friendly way to access field properties if char is a beginning of field
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144336 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:32:20 +00:00
Sergey Vladimirov
34b6794422
sort CHPX on load (sometimes out of order)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144333 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:31:25 +00:00
Sergey Vladimirov
189f4c0a09
add toString method to GenericPropertyNode
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144283 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:18:48 +00:00
Sergey Vladimirov
5c8219c777
simplify PlexOfField by using GenericPropertyNode
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144282 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:18:36 +00:00
Sergey Vladimirov
65f24a120b
save document fields, but Bug47286 looks better, but still not the save
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144275 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 11:54:51 +00:00
Sergey Vladimirov
2abc7aa436
update TestFieldsTables
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144251 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:54:19 +00:00
Sergey Vladimirov
2d46ded6b7
more correct definition of FLD, preserving reserved bits
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144249 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:53:58 +00:00
Sergey Vladimirov
b5de84932e
fix test for 47286
...
now it will fail if bug is fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144235 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:04:03 +00:00
Sergey Vladimirov
1f37d4db1a
add documentation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144233 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:01:16 +00:00
Sergey Vladimirov
33cb2db6dd
make getSize() static
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144229 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 09:55:25 +00:00
Sergey Vladimirov
d1c0ea5578
refactor FieldDescriptor to be based on autogenerated code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144224 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 09:49:47 +00:00
Sergey Vladimirov
18b0247ee2
Test case shall not fail
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144202 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 09:06:33 +00:00
Sergey Vladimirov
11d065a01a
fix compiler warning ("unmappable character for encoding ASCII")
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144197 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 08:54:13 +00:00
Sergey Vladimirov
eb1dd34245
fix TestPAPBinTable
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144177 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 06:53:14 +00:00
Sergey Vladimirov
296583c971
dump text run properties
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143895 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 15:59:20 +00:00
Sergey Vladimirov
8f6a4fd533
CharacterSprmUncompressor extends SprmUncompressor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143894 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 15:58:17 +00:00
Sergey Vladimirov
0bf2eb9d6c
update CHP type
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143838 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 14:15:03 +00:00
Sergey Vladimirov
a69d691581
dump text runs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143837 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 14:14:37 +00:00
Sergey Vladimirov
78a951143f
support Word95 files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143822 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 13:43:29 +00:00
Sergey Vladimirov
beabf33a84
already fixed 48065 - Problems with save output of HWPF (losing formatting)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143809 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 13:13:04 +00:00
Sergey Vladimirov
dd2005da09
fix 47563 - Exception when working with table
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143802 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 12:52:57 +00:00
Sergey Vladimirov
d6d163fd96
fix 47287 - StringIndexOutOfBoundsException in CharacterRun.replaceText()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143786 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 12:11:53 +00:00
Sergey Vladimirov
f19392c371
Bug 46817 - Regression: Text from some table cells missing is fixed
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143772 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:41:53 +00:00
Sergey Vladimirov
9a5143cf4f
fail() shall throw Error, not AssertionError (which is ignored)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143771 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:39:30 +00:00
Sergey Vladimirov
3c2f15b9ff
add content of main text box to document text
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143769 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:38:59 +00:00
Sergey Vladimirov
814aed073e
uncomment lines, that were temporary commented for debug purposes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143760 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:09:47 +00:00
Sergey Vladimirov
2dc223b9e9
allow bad properties parsing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143758 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:04:59 +00:00
Sergey Vladimirov
4abb3c6e51
add / update documentation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143756 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 10:56:46 +00:00
Sergey Vladimirov
e325f0d084
fix generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143754 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 10:41:42 +00:00
Sergey Vladimirov
bbbea8860d
fix test case for 45473: calculate PAPX boundaries basing on char positions, not on previously read byte positions (they are outdated); fix boundaries checks (again)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143753 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 10:39:27 +00:00
Sergey Vladimirov
d1eb54b129
fix generics warning
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143740 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:59:51 +00:00
Sergey Vladimirov
92e9201b77
add ability to dump text pieces
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143734 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:51:42 +00:00
Sergey Vladimirov
4c9a35ee4d
add toString() methods to PieceDescriptor and TextPiece; add hashCode() to PieceDescriptor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143733 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:51:21 +00:00
Sergey Vladimirov
65787fc1b9
update test: according to file dump, last row char is 85, so end offset is 86, not 87.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143725 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:25:34 +00:00
Sergey Vladimirov
4c670a3efe
fix: too many PAPX were dropped due to too strict boundary checks
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143720 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:16:26 +00:00
Sergey Vladimirov
d7596a864f
always output overall range
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143710 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:37:03 +00:00
Sergey Vladimirov
0de832ba9d
add getOverallRange() method definition to HWPFDocumentCore
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143709 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:35:51 +00:00
Sergey Vladimirov
25f3636438
correctly detect cells of inner tables, do not include last "fake" cell in row
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143707 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:24:55 +00:00
Sergey Vladimirov
b3def16e9a
add javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143706 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:24:22 +00:00
Sergey Vladimirov
8979236b05
print paragraph number
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143704 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:14:45 +00:00