Dominik Stadler
dad8d1547c
Add more test-files from bug 44501, all seem to work fine now
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668369 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 13:42:06 +00:00
Dominik Stadler
f9961331ff
Bug 47304: use fixed encoding when extracting text in WordDocument
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668367 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 13:33:43 +00:00
Dominik Stadler
0216a881f7
Bug 56017: fix shifting comments with shifted rows and move some more tests into the base classes to run them against XSSF, SXSSF and HSSF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666843 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 20:52:55 +00:00
Dominik Stadler
666aa6f42a
Remove Javadoc/Eclipse warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666737 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 19:33:09 +00:00
Dominik Stadler
30d20582af
Bug 56295: Fix cloning of styles across workbooks and handling of default value of attribute applyFill
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666736 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 19:32:28 +00:00
Dominik Stadler
1849741d43
Add second verification of bug 56325 to ensure it is really fixed
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666718 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 17:50:55 +00:00
Dominik Stadler
7bf9b90fb2
Remove some findbugs warnings about missing close of streams, use existing IOUtils.copy() to copy from one stream to another
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666683 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 13:18:43 +00:00
Dominik Stadler
5d4a5c2bb4
Also write findbugs.xml file for reading the results in ^Cnkins builds
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666657 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 11:52:59 +00:00
Nick Burch
ff737c5df4
Detect OOXML-strict, and give more helpful exceptions for them
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666525 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 17:39:47 +00:00
Nick Burch
48e3a2e56a
Fix inconsistent indents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666518 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 17:17:47 +00:00
Nick Burch
a62be1da0c
More relation types
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666517 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 17:17:27 +00:00
Nick Burch
ace2354d6c
Stub unit tests for #57699
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666510 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 16:46:15 +00:00
Dominik Stadler
e369d1c121
Bug 56380: Remove limitation of 1024 comments per Workbook
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666505 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 16:26:41 +00:00
Nick Burch
a181f03b9a
Exclude the OOXML strict files for now, not yet supported, see bug #57699
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666433 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 13:03:53 +00:00
Nick Burch
cbb9c9356f
Add some sample Strict ooxml files, from Excel 2013
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666410 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 11:42:15 +00:00
Dominik Stadler
97ce24a440
Verify that document from bug 56392 works
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666003 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 20:39:18 +00:00
Dominik Stadler
091f06330e
Add helper test to verify that vsdx cannot even be loaded by POIXMLDocument curently.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665984 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 19:53:26 +00:00
Nick Burch
2879bc1b16
No support as yet for the OOXML visio files, so have these ignored
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665971 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 19:08:59 +00:00
Nick Burch
d78a14b232
Fix inconsistent indents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665970 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 19:07:13 +00:00
Dominik Stadler
b7c14b3a8f
Bug 56467: Fix cloning of sheets with pictures
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665959 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 18:24:49 +00:00
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