Dominik Stadler
51fdb9434d
Add testcase which verifies that bug 56820 was solved by some other fix already
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665957 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 18:24:32 +00:00
Dominik Stadler
c1a77cab75
Remove unused import
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665956 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 18:23:47 +00:00
Nick Burch
c5ea89b2bc
Fix inconsistent indents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665933 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 16:30:02 +00:00
Nick Burch
555e42f4de
Give a more helpful exception if a Visio VSDX ooxml file is passed to ExtractorFactory
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665929 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 16:17:41 +00:00
Nick Burch
aff5642202
Patch from tntim96 from bug #56799 - Include CTTblGrid in the smaller poi-ooxml-schemas jar
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1664236 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 06:31:18 +00:00
Dominik Stadler
9ede62441a
Bug 57165: also verify that createSheet() had the same problem and is also fixed now
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1663154 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 20:01:43 +00:00
Dominik Stadler
e13374683a
Bug 57165: Avoid PartAlreadyExistsException when removing/cloning sheets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1663153 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 19:56:56 +00:00
Dominik Stadler
54bbd99ce4
Add missing close and handle theme-pptx in ExtractorFactory. Add creating slide-bitmaps to PPTX integration test.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1663137 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 17:50:16 +00:00
Nick Burch
d9b5b0239e
Link to the replacement constructions for the deprecated ones, and a few extra bits of JavaDoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662979 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 17:49:18 +00:00
Nick Burch
2ccd6db57e
More missing core properties unit tests, covering read-write without checks, and encryption
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662972 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 17:37:11 +00:00
Nick Burch
3ba7b59afc
Ensure that the core properties are there before saving them, in case they have not yet been lazy-created
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662971 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 17:36:19 +00:00
Dominik Stadler
0e16d14349
Move test-case to location where the scratchpad-classes are available
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662712 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 15:01:46 +00:00
Dominik Stadler
f043c44017
* Verify some more Text-Extraction features as part of integration tests, fix some NullPointerExceptions that showed up now because the event-based extraction does not have a Document available
...
* Also handle a XLSX which does not have row-numbers in the sheet-xml. Excel can read it so it makes sense to also allow to read it in the XSSFSheetXMLHandler
* Remove some Eclipse warnings in test-code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662691 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 14:58:41 +00:00
Dominik Stadler
80d0d3b5bd
Add missing javadoc-header
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662661 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 11:33:36 +00:00
Dominik Stadler
e86ed72c2b
* Add text-extraction verification to integration-tests via a new abstract base FileHandler
...
* Fix NullPointerException found in some documents when running against the test-data
* Add support for extracting text from Dir-Entries WORKBOOK and BOOK to support some old/strangely formatted XLS files.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662652 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 09:59:14 +00:00
Dominik Stadler
7dfcd6c684
Adjust tests and fix small typo
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662650 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 09:52:57 +00:00
Dominik Stadler
b57a4f04e3
Adjust to provide full exception information for cases where we catch unexpected exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662447 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 13:43:10 +00:00
Nick Burch
66afa6d09b
Update Javadocs to refer to the fact that WorkbookFactory.create will throw a EncryptedDocumentException if the file is password protected
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662074 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 18:20:02 +00:00
Nick Burch
7ee6e41e59
Fix inconsistent indents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661912 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 12:11:34 +00:00
Nick Burch
b6a88f09c8
Patch from rojotek from github-18 - Handle documents with a picture-only header
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661908 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 12:09:30 +00:00
Nick Burch
d5065b1742
Change from XMLEventFactory.newFactory to XMLEventFactory.newInstance, for IBM JDK Compatibility, fixes #57622
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661903 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 12:03:53 +00:00
Dominik Stadler
1bbbd985d4
Bug 57612: Fix checking for proxy/accessible website in TestSignatureInfo
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661774 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 20:45:21 +00:00
Nick Burch
327df5cf76
Unit tests for OPC handling of files without a Core Properties part
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661663 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 13:21:23 +00:00
Nick Burch
8d19e8b741
Fix typo - remove duplicate characters
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661662 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 13:21:06 +00:00
Andreas Beeker
0864168c23
update to next beta and docu fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661349 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 12:55:03 +00:00
Andreas Beeker
90b4cb5248
unpin documentation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661348 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 12:49:38 +00:00
Andreas Beeker
e282d7f997
pin documentation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661343 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 12:36:17 +00:00
Andreas Beeker
4023b1eae0
Updated POI copyright to 2015
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661336 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 12:16:37 +00:00
Dominik Stadler
04ae3247eb
Revert organize imports
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661327 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 11:58:45 +00:00
Dominik Stadler
fa85c4bbef
Use assertArrayEquals() to try to better show why this test fails in some rare cases currently
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1660697 13f79535-47bb-0310-9956-ffa450edef68
2015-02-18 18:47:22 +00:00
Dominik Stadler
ce007f05ee
Bug 57459: Add method in SXSSFSheet to directly set row OutLineLevel
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1659785 13f79535-47bb-0310-9956-ffa450edef68
2015-02-14 12:46:16 +00:00
Dominik Stadler
e450b8d5e1
Adjust TestSignatureInfo so junit provides more information if an unexpected exception happens
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1659784 13f79535-47bb-0310-9956-ffa450edef68
2015-02-14 12:46:04 +00:00
Dominik Stadler
e7615fdd34
Bug 57456: Fix reading XLS with empty SSTRecord where Excel puts some random number in unique-strings-count-field
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1659650 13f79535-47bb-0310-9956-ffa450edef68
2015-02-13 19:14:14 +00:00
Dominik Stadler
8d8c3eeae1
Bug 57479: Typo in HSSFWorkbook javaDocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658596 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 22:43:56 +00:00
Dominik Stadler
6f4b4816a8
Bug 57480: Fix some unnecessary casts, generics, Eclipse warnings, ...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658594 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 22:33:24 +00:00
Dominik Stadler
a27718e373
Add ooxml-sources-jar files to up-to-date check to still recompile if only they are missing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658593 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 22:32:43 +00:00
Nick Burch
702f8b9ee7
Finish converting ErrorEval to only use the FormulaError constants, and then finish unit test for 57535
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658190 13f79535-47bb-0310-9956-ffa450edef68
2015-02-08 15:37:14 +00:00
Nick Burch
d566e3948d
Prepare FormulaError for both long and short codes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658187 13f79535-47bb-0310-9956-ffa450edef68
2015-02-08 15:22:01 +00:00
Nick Burch
b1a6afc36a
Add a unit test (disabled) for bug #57535 - "Unknown error type: -60" fetching formula error value
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658186 13f79535-47bb-0310-9956-ffa450edef68
2015-02-08 15:17:47 +00:00
Nick Burch
557eade297
Reduce duplication between FormulaError and ErrorConstants
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658185 13f79535-47bb-0310-9956-ffa450edef68
2015-02-08 15:17:20 +00:00
Nick Burch
25385edc38
XWPF implementation of some common Paragraph methods
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1657717 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 23:31:59 +00:00
Nick Burch
483982caad
Stub a common WP paragraph class, needs uncommenting as XWPF implements/emulates
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1657712 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 23:20:43 +00:00
Nick Burch
c526206e0d
More common HWPF/XWPF interfaces
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1657634 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 17:35:09 +00:00
Nick Burch
1f2fc6c08b
More common XWPF/HWPF character run methods
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1657631 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 17:25:02 +00:00
Nick Burch
a351b66fde
XWPF double strikethrough, and start on a common interface for HWPF and XWPF character runs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1657624 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 17:00:08 +00:00
Andreas Beeker
70dbed4513
The default for standard encryption cipher algorithm was wrongly set to rc4
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1654716 13f79535-47bb-0310-9956-ffa450edef68
2015-01-26 00:02:20 +00:00
Nick Burch
b25e4ca87d
57482 Handle XSLX files with no shared strings table in read-only mode
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1653825 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 12:15:59 +00:00
Nick Burch
ca33983388
Unit test from Isao Kadowaki from bug #57482
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1653814 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 11:45:40 +00:00
Dominik Stadler
eab2c0d20d
Add a developer-tool to pretty-print the XMLs in an OOXML file. This makes it easier to compare OOXML files produced by different applications with differeing XML formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1653777 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 07:24:01 +00:00
Dominik Stadler
24478a96dd
Bug 57468: Avoid possible build-error if lib-directory is not created
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1653643 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 20:39:30 +00:00