Commit Graph

4028 Commits

Author SHA1 Message Date
Yegor Kozlov
adefc926c1 cleaned javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004934 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 08:55:30 +00:00
Yegor Kozlov
3a41e5d459 repackaged poi-contrib to poi-main and poi-examples, excluded contrib from build artifacts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004919 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 07:58:51 +00:00
Yegor Kozlov
70543d034e support for retrieving pictures from HSSF workbooks, see bugzilla 50022
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004233 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 13:34:17 +00:00
Yegor Kozlov
01e3d56cdd Avoid IllegalStateException when creating Data validation in sheet with macro, see Bugzilla 50020
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004143 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 08:45:51 +00:00
Yegor Kozlov
80c999025c improved rounding in MathX.mod, see Bugzilla 50033
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1003504 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 12:02:52 +00:00
Nick Burch
a018a145bf Test that shows we handle word floating and fixed pictures properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1002123 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 11:46:22 +00:00
Maxim Valyanskiy
6d03a80070 revert previous commit because it causes problems with other old .docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1001726 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 13:08:57 +00:00
Maxim Valyanskiy
286b682cdc hwpt: add more 2 bytes to OldSectionTable to solve ArrayIndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1001712 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 12:50:36 +00:00
Nick Burch
6de019f6e0 Generate SHA1 hashes as well as MD5 ones. Also, use md5sum/sha1sum in preference to openssl (if found), as the former include the filenames in the hashes which is helpful when verifying
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1000901 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 15:11:16 +00:00
Nick Burch
485c52175e Bump the version id
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1000900 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 15:05:55 +00:00
Nick Burch
eb963eee0a Update the site for 3.7 beta 3 - download page and homepage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1000898 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 15:01:07 +00:00
Nick Burch
c8feb1b478 Add unit tests for the XWPF decorator classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999859 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 10:17:49 +00:00
Nick Burch
d90a7ded96 A couple of tweaks to the release documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999366 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 12:05:12 +00:00
Nick Burch
5310553441 Prepare for building 3.7 beta 3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999350 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:55:17 +00:00
Nick Burch
881aff2e42 Fix 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999349 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:54:05 +00:00
Nick Burch
b8ac27ed99 Add a temporary workaround for bug #49934, while we wait for a proper xmlbeans fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999339 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:43:36 +00:00
Nick Burch
32b9522fd4 Apply patch+test from bug #48325 - If a HSSF header or footer lacks left/right/centre information, assume it is a centre one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999320 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:33:21 +00:00
Nick Burch
39a185e9a7 Fix bug #49966 - Correctly remove calcChain entries for XSSF cells that stop holding formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999314 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:16:12 +00:00
Nick Burch
d3d674d250 Add missing record, and fix a few indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999313 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:15:07 +00:00
Nick Burch
c1a78f0f01 Fix bug #47582 - XSSFCellStyle support for creating a style in one workbook based on a style from a different one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999096 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 20:10:14 +00:00
Nick Burch
c225333112 Fix bug #49931 - Avoid concurrency problems when re-ordering multiple HSSF header records for a PageSettingsBlock
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998967 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 16:00:50 +00:00
Nick Burch
cbe4cd8b21 Fix bug #49765 - Fix XWPFDocument.addPicture so that it correctly sets up relationships
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998960 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 15:43:07 +00:00
Nick Burch
cc419a3a85 Work inspired by bug #48018 - get HWPF lists more consistent in read vs write, and preserve order as apparently that matters. Includes a fair number of list related unit tests, but not for everything
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998943 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 14:26:49 +00:00
Nick Burch
ca0fc0ec1e Apply patch from bug #49820 - Fix HWPF paragraph levels, so that outline levels can be properly fetched
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998897 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 11:45:53 +00:00
Nick Burch
50b44decce Add test that shows that bug #45877 has already been fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998634 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 11:52:20 +00:00
Nick Burch
1e2b747f8f Hopefully fix bug #47271 - Avoid infinite loops on broken HWPF documents with a corrupt CHP style with a parent of itself
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998625 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 10:16:06 +00:00
Nick Burch
8043f38bd7 More fixes for bug #49933, workaround the fact that some word6/word95 SEPX entries are compressed differently, and we don't have the specs for how they're stored
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998621 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 09:59:10 +00:00
Nick Burch
100095bcb9 Fix bug #49936 - Handle HWPF documents with problematic HeaderStories better
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998146 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 14:14:19 +00:00
Nick Burch
c07e529c03 Fix support for sections in old word 6 / word 95 files
Improve unit testing for HWPFOldDocument
Sprm fix also improves some HWPFDocument files too!


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998131 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 13:46:11 +00:00
Nick Burch
be03b86543 Fix generics warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998128 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 13:43:07 +00:00
Nick Burch
78e6e00e2d Fix bug #49941 - Correctly handle space preservation of XSSFRichTextRuns when applying fonts to parts of the string
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997811 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 16:01:12 +00:00
Nick Burch
d791eb68a9 Add disabled, failing unit test for bug #49940
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997752 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 13:46:17 +00:00
Nick Burch
0e504bd9ca Add a few more test asserts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997751 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 13:45:54 +00:00
Nick Burch
45684ba382 Update the download site for 3.7 beta 2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997433 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:05:55 +00:00
Nick Burch
9647ab8976 Add some more paragraph property documentation and tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997413 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:38:50 +00:00
Nick Burch
58d1404684 Various XWPF picture tweaks and more unit tests
Note that XWPFRun -> XWPFPicture currently only works with the full ooxml schemas file, and not with poi-ooxml-schemas, due to some sort of missing resources around the namespace switch


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997037 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 18:50:10 +00:00
Nick Burch
3f972827af Fix up imports to remove un-used ones
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996980 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 16:39:34 +00:00
Nick Burch
52d7f084be Correct XWPFRun detection of bold/italic in a paragraph with multiple runs of different styles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996976 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 16:32:02 +00:00
Nick Burch
6c8a90d054 Link XWPFPicture to XWPFRun, so that embedded pictures can be access from where they live in the text stream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996927 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 14:52:35 +00:00
Nick Burch
7fad16fd1b XWPF paragraph improvements - Make XWPFParagraph make more use of XWPFRun, and less on internal StringBuffers. Also improve handling of Hyperlinks inside XWPFParagraph objects through XWPFHyperlinkRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996899 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 13:46:22 +00:00
Nick Burch
77f5742c75 Add a getBodyElements() method to XWPF IBody, to make access to embedded paragraphs and tables easier, and a few tidy-ups
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996849 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 11:34:33 +00:00
Nick Burch
bc37e5bf28 More XSLFRelation entries for common .pptx file parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996506 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 11:45:34 +00:00
Yegor Kozlov
8d4fe4e2f1 added a test file that belongs to r996265
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996419 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 05:07:25 +00:00
Yegor Kozlov
0528306b33 fixed evaluation of shared formulas in XSSF, see Bugzilla 49872
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996265 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 08:54:45 +00:00
Yegor Kozlov
1f6833c72d avoid corruption of XSSFWorkbook after removing all merged cells from sheet, see Bugzilla 49895
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996148 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 13:48:00 +00:00
Yegor Kozlov
442579c326 fixed inconsistent behaviour between HSSF and XSSF when creating consecutive names, see Bugzilla 49907
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996136 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 12:45:59 +00:00
Nick Burch
216bcfea03 Tweak hssf and hwpf image mime types for wmf/emf to match those used by XSSF/XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995943 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 19:15:16 +00:00
Nick Burch
96b0aea310 Improve documentation of some of the HWPF picture stuff, and add unit tests for images of embeded documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995807 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 14:37:45 +00:00
Nick Burch
2b9a63d38d Add getMimeType() method to HWPF Picture, and fix some generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995464 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 15:30:55 +00:00
Nick Burch
dac67e887e Fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995445 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 14:28:14 +00:00