Commit Graph

4482 Commits

Author SHA1 Message Date
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