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
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
Nick Burch
ee866292d9
Fix bug #51469 - XSSF support for row styles, to match existing HSSF functionality
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144348 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:58:08 +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
Nick Burch
fa1e0a0b1d
Apply patch from bug #51476 - Correct XSSF cell formatting in HTML export
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144331 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:27:21 +00:00
Nick Burch
7f5bd44d98
Patch from bug #51486 from Mike McEuen (with a few whitespace tweaks) - XWPF support for adding footnotes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144308 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 13:25:00 +00:00
Nick Burch
361fe3eb42
XWPF Numbering tests from bug #51134
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144303 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 13:12:53 +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
6a8223f0de
update status
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143774 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:46:41 +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
Nick Burch
ad4cef7557
More elapsed time unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143737 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:53:36 +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
5aaeaeb6b3
update status
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143716 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:51:10 +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
Sergey Vladimirov
e465a37e16
update PAPAbstractType, adding field descriptions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143701 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:05:38 +00:00
Sergey Vladimirov
dde8c709a7
initialize more TAPAbstractType fields to prevent NPE
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143694 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 07:39:53 +00:00
Sergey Vladimirov
f0c8d0520c
fix package: org.apache.poi.hssf.usermodel.converter -> org.apache.poi.hssf.converter
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143689 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 07:33:20 +00:00
Sergey Vladimirov
755cea3d76
add empty rdf:about to rdf:Description
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143331 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 10:36:30 +00:00
Sergey Vladimirov
67ff6e3513
output document properties to html and pdf
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143314 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 09:37:32 +00:00
Sergey Vladimirov
fc3c8fcf10
fix lost cell properties (and row shift)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143079 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 14:35:54 +00:00
Sergey Vladimirov
afa392e8c8
add test case for lost cell properties
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143077 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 14:35:36 +00:00
Sergey Vladimirov
8ac3172759
rewrite table bounds detection for Word 97, including inner table support
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143070 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 14:13:27 +00:00
Sergey Vladimirov
fa46737e44
ignore PAPX if they references non-existing text parts
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143069 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 14:12:16 +00:00
Nick Burch
a9dbb3be09
Fix bug #51474 - SXSSF handling for null strings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143059 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 13:42:08 +00:00
Sergey Vladimirov
320a3ab737
fix range detection for documents with section across document parts.
...
Bug46817.doc is the example of document where section contains all document parts - including main part and additional from textbox. Previous implemenetation didn't correctly calculate last paragraph for Section (intersection of SEPX and main document range). Test case is added.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143014 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 12:02:02 +00:00
Sergey Vladimirov
d24bfcea93
handle empty strings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143012 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 11:58:50 +00:00
Sergey Vladimirov
34436d6ec7
add Section.toString() for debug purposes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143011 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 11:58:24 +00:00
Sergey Vladimirov
e1e99605de
add SEPX.toString() for debug purposes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142979 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 11:02:30 +00:00
Sergey Vladimirov
8bbbf6996f
correct range calculation for non-complex file
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142977 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 10:58:04 +00:00
Sergey Vladimirov
0e6e9f649c
manually test Bug33519.doc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142882 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 03:04:18 +00:00
Sergey Vladimirov
2cbeb04781
sometimes there is a lag between text pieces; for example
...
[0; 2), [2; 4), [6,8)
previous implementation correctly calculates next(2)=>2, but incorrectly next(4)=>4 (need to be 6).
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142881 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 03:03:53 +00:00
Sergey Vladimirov
9b69954212
add additional sanity checks
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142880 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 03:02:12 +00:00
Sergey Vladimirov
efd149c834
fix inner tables handling by Range.getTable() method
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142877 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 02:17:54 +00:00
Sergey Vladimirov
65881d12ea
fix test suite name (for better IDEs compatibility)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142875 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:53:06 +00:00
Sergey Vladimirov
efb7a720aa
add isEmpty() method to TALS and handle it by SPRM 0x740a compressor to preserve old behavior:
...
do not add 0x740a SPRM if TALS is empty
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142874 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:51:15 +00:00
Sergey Vladimirov
02672056d8
simplify table converting; fix bug that prevents table from AIOOB-Tap.doc to be converted
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142872 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:44:29 +00:00
Sergey Vladimirov
d2e2970e07
allow user to check table level from Table class (not only from Paragraph), so table processing code is simplified
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142871 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:40:39 +00:00
Sergey Vladimirov
9538734d31
Test correct processing of "sprmPItap" (0x6649) and "sprmPFInTable" (0x2416)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142867 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:19:31 +00:00
Sergey Vladimirov
6abfa5742a
rename PAP structure fields according to specification
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142864 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:11:42 +00:00
Sergey Vladimirov
f5c03d6194
add additional options and features to HWPFLister, enabling PAPX and paragraphs (including SPRMs) information dump
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142861 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 00:48:53 +00:00
Sergey Vladimirov
68aef63742
add or improve toString() methods of several classes for debug purposes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142860 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 00:48:00 +00:00
Sergey Vladimirov
b8ff8ac945
add SprmOperation.toString() for debug purposes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142859 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 00:46:42 +00:00
Sergey Vladimirov
e41354dcd5
fix warning about cast
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142836 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 22:36:52 +00:00
Sergey Vladimirov
fbbc482d44
fix warning about generics
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142835 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 22:36:27 +00:00
Sergey Vladimirov
bc0abec2c4
add additional TableProperties; implement TableAutoformatLookSpecifier
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142827 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 22:21:10 +00:00
Sergey Vladimirov
27cec2b36b
update TAP definition according to specification
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142808 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 21:15:19 +00:00
Sergey Vladimirov
326db9a72e
add closeQuietly() method
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142781 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:50:01 +00:00
Sergey Vladimirov
ffee3c2c50
add Excel-to-HTML converter (with test suite)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142780 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:49:13 +00:00
Sergey Vladimirov
679c2b403e
remove unused method
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142771 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:20:20 +00:00
Sergey Vladimirov
70d42bbd9e
rename extractor -> converter and move to converter package
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142767 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:14:44 +00:00
Sergey Vladimirov
4fbd693851
add Word-to-HTML extractor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142765 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:08:06 +00:00
Sergey Vladimirov
2b97a034fe
warn and skip wrong type SPRM
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142764 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:06:20 +00:00
Sergey Vladimirov
89a5e4c11c
extract private getCharacterRun method with CHPX as parameter (used with reflection in workaround in AbstractWordUtils)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142763 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:05:40 +00:00
Sergey Vladimirov
1c0d6a5d09
workaround for NPE caused by old Word format
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142762 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:04:26 +00:00
Sergey Vladimirov
ed7c3eeb07
add toString() to BorderCode
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142761 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:04:08 +00:00
Sergey Vladimirov
a57c397517
workaround for NPE caused by old Word format
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142760 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:03:45 +00:00
Sergey Vladimirov
f26b6efa29
update who.xml as first test commit
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142489 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 19:54:19 +00:00
Yegor Kozlov
fa7b5c9318
bug 48294 - Fixed HSSFWorkbook.setSheetOrder() to respect inter-sheet references
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142219 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 13:25:25 +00:00
Yegor Kozlov
37f153c03a
Bug 51448 - Avoid exception when evaluating workbooks with more than 256 sheets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142181 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 09:05:35 +00:00
Nick Burch
ecd2511317
Apply patch from bug #51458 - Correct BitField wrapping when setting large values
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141977 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 16:29:04 +00:00
Nick Burch
e11c26c29b
Apply patch from bug #51460 (with some related generics tweaks) - Improve HSSF performance when loading very long rows, by switching the CellValue array to an iterator
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141970 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 16:16:55 +00:00
Nick Burch
1970d1156a
Add unit test that seems to show bug #51461 working just fine
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141961 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 15:16:09 +00:00
Maxim Valyanskiy
12356f3d9d
XSLFCommonSlideData: Workaround for XmlBeans bug#49934
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141915 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 12:21:05 +00:00
Yegor Kozlov
fcb9fce801
misc fixes in site docs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141906 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 11:43:06 +00:00
Yegor Kozlov
9930e7099f
added Workbook.getForceFormulaRecalculation as requested in Bug 51422
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141585 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:54:04 +00:00
Yegor Kozlov
793d119eed
Bug 51444 - Prevent corrupted output when saving files created by LibreOffice 3.3
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141576 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:39:47 +00:00
Maxim Valyanskiy
e1b483d6ac
hwpf: ignore ArrayIndexOutOfBoundsException in TableSprmUncompressor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141490 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 11:46:27 +00:00
Jon Svede
7550f6e5fe
Added myself to the list of committers.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1140429 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 04:17:17 +00:00
Yegor Kozlov
19a6ad2abd
Bug 51422 - Support using RecalcIdRecord to trigger a full formula recalculation on load
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1140210 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 15:40:48 +00:00
Nick Burch
5f6257eb5d
List another exception caused by old+new POI jars in production
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139923 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 19:22:13 +00:00
Yegor Kozlov
edd0d3847f
Bug 50474 - Example demonstrating how to update workbook embedded in a WordprocessingML document
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139541 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 13:46:00 +00:00
Yegor Kozlov
af650e26a0
Bug 51431 - Avoid IndexOutOfBoundException when removing freeze panes in XSSF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139533 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 12:19:49 +00:00
Yegor Kozlov
e4cd5a5b00
cleanup sxxsf temp files after tests, remove non-ascii characters from source code, polished test output
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139518 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 10:56:46 +00:00
Yegor Kozlov
f51b59e51e
Bug 48877 - Fixed XSSFRichTextString to respect leading and trailing line breaks
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139505 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 08:45:49 +00:00
Yegor Kozlov
14d4f183aa
Bug 49564 - Fixed default behaviour of XSSFCellStyle.getLocked()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139288 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 13:06:04 +00:00
Yegor Kozlov
55fc57347a
Bug 48314 - Fixed setting column and row breaks in XSSF, also updated javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139266 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 12:15:16 +00:00
Nick Burch
23077dfb49
Add a unit test to show that bug #49648 no longer occurs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139245 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 11:18:49 +00:00
Yegor Kozlov
bc467bb8c1
resolved old bugzilla issues, added unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139204 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 08:46:37 +00:00
Yegor Kozlov
aac4cf50a9
Bug 51351 - more progress with WordToFoExtractor: fix ListEntryNoListTable and MBD001D0B89 tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138836 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 11:28:31 +00:00
Yegor Kozlov
d45f22ad8d
Bug 51424 - Ignore exceptions in ParagraphSprmUncompressor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138834 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 11:21:05 +00:00
Yegor Kozlov
abe5618b5d
Bug 51415 - Fixed Workbook.createSheet(sheetName) to truncate names longer than 31 characters
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138819 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 10:49:11 +00:00
Nick Burch
1d686ca4ce
Add a note about RecalcId record with a value of zero
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138637 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 21:16:04 +00:00
Yegor Kozlov
3e5e4ee2a3
Bug 51332 - Fixed internal IDs of shapes generated by HSSFPatriarch when there are more than 1023 drawing objects
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138465 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 13:48:43 +00:00
Yegor Kozlov
b97e745739
misc fixed in site's quick guide
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138464 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 13:48:17 +00:00
Maxim Valyanskiy
1a2aa76ff6
Test for parsing document with drawings to prevent NoClassDefFoundError for CTAnchor in XWPFRun
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138440 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 12:46:42 +00:00
Yegor Kozlov
6e90e3bc06
bug 51351: more progress with WordToFoExtractor: support for hyperlinks, common fields and code cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137673 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 15:56:28 +00:00
Yegor Kozlov
02c3df2e5f
Bug 48408: Improved documentation for Sheet.setColumnWidth
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137656 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 15:16:46 +00:00
Yegor Kozlov
2761d5a900
junit test for sprm, added missing line from r1137143
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137538 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 08:01:23 +00:00
Yegor Kozlov
545cde3374
Support for sprmPJc paragraph SPRM and handling of additional properties in ParagraphSprmCompressor, see Bugzilla 51389 and 51390
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137143 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 08:57:10 +00:00
Yegor Kozlov
8bca63ee94
updated web site docs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137139 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 08:39:39 +00:00
Yegor Kozlov
8a61200434
improved autosizing columns in SXSSF, see Bug 51356
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137138 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 08:39:03 +00:00
Yegor Kozlov
f9bbd32caf
Bug 50681 - Avoid exception in HSSFDataFormat.getDataFormatString()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1136352 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 10:13:16 +00:00
Yegor Kozlov
67206e5450
Bug 50681 - Fixed autosizing columns beyond 255 character limit
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1136330 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 08:57:55 +00:00
Yegor Kozlov
cbb3176c72
more progress with WordToFoExtractor, see Bugzilla 51351
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1136001 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:41:22 +00:00
Yegor Kozlov
ffc5d68b12
Bug 51374 - Fixed incorrect setting of lastPrinted OOXML core property
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135997 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:15:40 +00:00
Yegor Kozlov
7e73b04df6
added an example on conditional formatting in the site's quick guide
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135656 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 15:49:17 +00:00
Yegor Kozlov
3c34797e0a
Bugzilla 51351: Word to XSL-FO converter
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135414 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:53:00 +00:00
Nick Burch
6f3f1a479e
Fix deprecated warning
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135118 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 14:46:21 +00:00
Yegor Kozlov
48a5868947
Bug 50458: Fixed missing shapeId in XSSF drawings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135103 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 11:56:21 +00:00
Yegor Kozlov
8b2603f7f6
Bug 51339 - Fixed arithmetic rounding in formula evaluation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135079 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 10:34:43 +00:00