Commit Graph

3670 Commits

Author SHA1 Message Date
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
Nick Burch
22bf8bdef5 Tweak the error message to make it clearer how one should work with this part
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149196 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 14:37:50 +00:00
Nick Burch
f6e2b0a90d Add a disabled unit test for bug #51535
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149181 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 13:56:20 +00:00
Nick Burch
ac8a434d39 Sort the list by surname
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149168 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 13:21:28 +00:00
Yegor Kozlov
838d2d135a I'm PMC Chair of Apache POI now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149152 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 12:56:01 +00:00
Yegor Kozlov
81a8e6eb54 renamed excelant test class to avoid collision with poi-examples when all classes compiled in the same directory, also removed duplicated log4j.properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149134 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 11:55:05 +00:00
Yegor Kozlov
64bc751847 added @Beta annotation to mark code that is subject to incompatible changes in future releases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149119 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 11:09:02 +00:00
Yegor Kozlov
e0322786b1 bug 50401 - fixed EscherProperty to return property name instead of 'unknown' for complex properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149111 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 11:00:41 +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
Yegor Kozlov
77277a7acd fixed bug 51470 - avoid exception when cloning XSSF sheets with background images
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148724 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 12:29:27 +00:00
Yegor Kozlov
03fe1959f2 fixed bug 51481 - fixed autofilters in HSSF to avoid warnings in Excel 2007
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148700 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 11:04:31 +00:00
Yegor Kozlov
44521220e5 Fixed bug 51533 - Avoid exception when changing name of a sheet containing shared formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148673 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 09:42:31 +00:00
Yegor Kozlov
db284964ab more progress with support for charts in XSSF, see patch 51196
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148642 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 08:03:23 +00:00
Yegor Kozlov
59b5b941b3 Support for appending images to existing drawings in HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148637 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 07:38:01 +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
Yegor Kozlov
a1223d163e bug 46250 - Fixed cloning worksheets with images
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148295 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 12:19:48 +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
Nick Burch
2a1dc583b6 Fix a 1.6-ism - TreeMap.firstEntry
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148056 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 21:23:32 +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
Nick Burch
926573660d Add a basic FAQ entry for how to report problems when you can't share the file. For OOXML, give the normal advice of unzip + view xml. For OLE2 ones, suggest the new BFF as well as the existing dev tool eg BiffViewer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148036 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 20:18:32 +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
Nick Burch
595d545137 Add tests for bug #51514 - NPOIFS based loading
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147188 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 15:19:17 +00:00
Nick Burch
c8ee505300 Fix bug #51514 - Allow HSSFObjectData to work with both POIFS and NPOIFS, and fix some generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147183 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 15:08:51 +00:00
Nick Burch
441c444986 Fix first part of bug #51514 - HSSF copy nodes from NPOIFS
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147179 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 15:02:19 +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
Yegor Kozlov
3f4627ec37 Bug 51504 - avoid NPE when DefaultRowHeight or DefaultColumnWidth records are missing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147049 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 09:18:09 +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
Nick Burch
5aafe8b97e Fix bug #51502 - Correct the Subtotal function javadoc entry
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145790 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 21:58:29 +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
Yegor Kozlov
5d0668da8d support for hyperlinks in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145629 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 15:18:29 +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
91f3ea74b9 update status and .doc for issue 49933
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144685 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 15:37:04 +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