]> source.dussan.org Git - poi.git/log
poi.git
9 years agoFix some Eclipse warnings
Dominik Stadler [Mon, 20 Apr 2015 19:17:24 +0000 (19:17 +0000)]
Fix some Eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674965 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix usage of Generics in some classes
Dominik Stadler [Mon, 20 Apr 2015 19:15:21 +0000 (19:15 +0000)]
Fix usage of Generics in some classes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674964 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAvoid possible NullPointerException seen with some powerpoint files
Dominik Stadler [Mon, 20 Apr 2015 18:26:39 +0000 (18:26 +0000)]
Avoid possible NullPointerException seen with some powerpoint files

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674958 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix possible ArrayIndexOutOfBoundsException seen with some word documents
Dominik Stadler [Mon, 20 Apr 2015 18:16:30 +0000 (18:16 +0000)]
Fix possible ArrayIndexOutOfBoundsException seen with some word documents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674954 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAvoid NullPointerException if an image cannot be read
Dominik Stadler [Mon, 20 Apr 2015 18:10:43 +0000 (18:10 +0000)]
Avoid NullPointerException if an image cannot be read

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674952 13f79535-47bb-0310-9956-ffa450edef68

9 years agoDetect if a file is actually PDF instead of .doc similar to how it is already done...
Dominik Stadler [Mon, 20 Apr 2015 18:08:24 +0000 (18:08 +0000)]
Detect if a file is actually PDF instead of .doc similar to how it is already done for RTF

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674951 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd missing nested Exception in thrown Exception
Dominik Stadler [Sun, 19 Apr 2015 12:35:19 +0000 (12:35 +0000)]
Add missing nested Exception in thrown Exception

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674618 13f79535-47bb-0310-9956-ffa450edef68

9 years agoPatch from Jon Scharff from bug #57820 - Avoid NPE on HSLF Tables with a top positio...
Nick Burch [Sat, 18 Apr 2015 04:16:28 +0000 (04:16 +0000)]
Patch from  Jon Scharff from bug #57820 - Avoid NPE on HSLF Tables with a top position of -1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674441 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdjust Eclipse project settings to ensure that files are read as UTF-8 on Windows...
Dominik Stadler [Thu, 16 Apr 2015 09:07:50 +0000 (09:07 +0000)]
Adjust Eclipse project settings to ensure that files are read as UTF-8 on Windows or systems with different character encoding settings.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674025 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 57163: Fix possible NullPointerException when a spreadsheet has no LinkTable...
Dominik Stadler [Mon, 13 Apr 2015 12:19:11 +0000 (12:19 +0000)]
Bug 57163: Fix possible NullPointerException when a spreadsheet has no LinkTable and we try to adjust it during sheet removal.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1673168 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 56579: Throw exception if max string length of 32767 chars is exceeded in XSSF...
Dominik Stadler [Fri, 3 Apr 2015 15:55:21 +0000 (15:55 +0000)]
Bug 56579: Throw exception if max string length of 32767 chars is exceeded in XSSF and SXSSF.
Add verification testcase for bug 57008.
Move some unit tests to the Bsae-Test-Class to verify things for all SS-implementations.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1671096 13f79535-47bb-0310-9956-ffa450edef68

9 years agoXMLPrettyPrint: Don't try to pretty-print non-XML files and print out which file...
Dominik Stadler [Fri, 3 Apr 2015 15:54:59 +0000 (15:54 +0000)]
XMLPrettyPrint: Don't try to pretty-print non-XML files and print out which file from the ooxml-file fails to parse

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1671095 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 55386: Fix handling of bold formatting in example application 'ToHtml'
Dominik Stadler [Sun, 22 Mar 2015 21:48:48 +0000 (21:48 +0000)]
Bug 55386: Fix handling of bold formatting in example application 'ToHtml'

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668486 13f79535-47bb-0310-9956-ffa450edef68

9 years agoIntegration test: Do a few more things with the MapiMessage
Dominik Stadler [Sun, 22 Mar 2015 21:48:27 +0000 (21:48 +0000)]
Integration test: Do a few more things with the MapiMessage

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668485 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd test-document from bug 53379 to verify in integration tests that text extraction...
Dominik Stadler [Sun, 22 Mar 2015 21:48:07 +0000 (21:48 +0000)]
Add test-document from bug 53379 to verify in integration tests that text extraction does not fail any more

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668484 13f79535-47bb-0310-9956-ffa450edef68

9 years agoIntegration tests: Expect exception for old word documents and still run the text...
Dominik Stadler [Sun, 22 Mar 2015 21:47:44 +0000 (21:47 +0000)]
Integration tests: Expect exception for old word documents and still run the text extraction for them. Also add executing HPSFPropertiesExtractor where possible

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668483 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd test-document to verify that bug 51921 is fixed already
Dominik Stadler [Sun, 22 Mar 2015 21:47:19 +0000 (21:47 +0000)]
Add test-document to verify that bug 51921 is fixed already

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668482 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd test from bug 49423 to verify that the problem was fixed in the meantime
Dominik Stadler [Sun, 22 Mar 2015 21:45:56 +0000 (21:45 +0000)]
Add test from bug 49423 to verify that the problem was fixed in the meantime

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668481 13f79535-47bb-0310-9956-ffa450edef68

9 years agoEclipse warnings, Generics, unused members in some exapmles and scratchpad classes.
Dominik Stadler [Sun, 22 Mar 2015 21:45:03 +0000 (21:45 +0000)]
Eclipse warnings, Generics, unused members in some exapmles and scratchpad classes.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668480 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd more test-files from bug 44501, all seem to work fine now
Dominik Stadler [Sun, 22 Mar 2015 13:42:06 +0000 (13:42 +0000)]
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

9 years agoBug 47304: use fixed encoding when extracting text in WordDocument
Dominik Stadler [Sun, 22 Mar 2015 13:33:43 +0000 (13:33 +0000)]
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

9 years agoBug 56017: fix shifting comments with shifted rows and move some more tests into...
Dominik Stadler [Sun, 15 Mar 2015 20:52:55 +0000 (20:52 +0000)]
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

9 years agoRemove Javadoc/Eclipse warnings
Dominik Stadler [Sat, 14 Mar 2015 19:33:09 +0000 (19:33 +0000)]
Remove Javadoc/Eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666737 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 56295: Fix cloning of styles across workbooks and handling of default value of...
Dominik Stadler [Sat, 14 Mar 2015 19:32:28 +0000 (19:32 +0000)]
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

9 years agoAdd second verification of bug 56325 to ensure it is really fixed
Dominik Stadler [Sat, 14 Mar 2015 17:50:55 +0000 (17:50 +0000)]
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

9 years agoRemove some findbugs warnings about missing close of streams, use existing IOUtils...
Dominik Stadler [Sat, 14 Mar 2015 13:18:43 +0000 (13:18 +0000)]
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

9 years agoAlso write findbugs.xml file for reading the results in ^Cnkins builds
Dominik Stadler [Sat, 14 Mar 2015 11:52:59 +0000 (11:52 +0000)]
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

9 years agoDetect OOXML-strict, and give more helpful exceptions for them
Nick Burch [Fri, 13 Mar 2015 17:39:47 +0000 (17:39 +0000)]
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

9 years agoFix inconsistent indents
Nick Burch [Fri, 13 Mar 2015 17:17:47 +0000 (17:17 +0000)]
Fix inconsistent indents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666518 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMore relation types
Nick Burch [Fri, 13 Mar 2015 17:17:27 +0000 (17:17 +0000)]
More relation types

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666517 13f79535-47bb-0310-9956-ffa450edef68

9 years agoStub unit tests for #57699
Nick Burch [Fri, 13 Mar 2015 16:46:15 +0000 (16:46 +0000)]
Stub unit tests for #57699

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666510 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 56380: Remove limitation of 1024 comments per Workbook
Dominik Stadler [Fri, 13 Mar 2015 16:26:41 +0000 (16:26 +0000)]
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

9 years agoExclude the OOXML strict files for now, not yet supported, see bug #57699
Nick Burch [Fri, 13 Mar 2015 13:03:53 +0000 (13:03 +0000)]
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

9 years agoAdd some sample Strict ooxml files, from Excel 2013
Nick Burch [Fri, 13 Mar 2015 11:42:15 +0000 (11:42 +0000)]
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

9 years agoVerify that document from bug 56392 works
Dominik Stadler [Wed, 11 Mar 2015 20:39:18 +0000 (20:39 +0000)]
Verify that document from bug 56392 works

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666003 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd helper test to verify that vsdx cannot even be loaded by POIXMLDocument curently.
Dominik Stadler [Wed, 11 Mar 2015 19:53:26 +0000 (19:53 +0000)]
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

9 years agoNo support as yet for the OOXML visio files, so have these ignored
Nick Burch [Wed, 11 Mar 2015 19:08:59 +0000 (19:08 +0000)]
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

9 years agoFix inconsistent indents
Nick Burch [Wed, 11 Mar 2015 19:07:13 +0000 (19:07 +0000)]
Fix inconsistent indents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665970 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 56467: Fix cloning of sheets with pictures
Dominik Stadler [Wed, 11 Mar 2015 18:24:49 +0000 (18:24 +0000)]
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

9 years agoAdd testcase which verifies that bug 56820 was solved by some other fix already
Dominik Stadler [Wed, 11 Mar 2015 18:24:32 +0000 (18:24 +0000)]
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

9 years agoRemove unused import
Dominik Stadler [Wed, 11 Mar 2015 18:23:47 +0000 (18:23 +0000)]
Remove unused import

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665956 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix inconsistent indents
Nick Burch [Wed, 11 Mar 2015 16:30:02 +0000 (16:30 +0000)]
Fix inconsistent indents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665933 13f79535-47bb-0310-9956-ffa450edef68

9 years agoGive a more helpful exception if a Visio VSDX ooxml file is passed to ExtractorFactory
Nick Burch [Wed, 11 Mar 2015 16:17:41 +0000 (16:17 +0000)]
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

9 years agoPatch from tntim96 from bug #56799 - Include CTTblGrid in the smaller poi-ooxml-schem...
Nick Burch [Thu, 5 Mar 2015 06:31:18 +0000 (06:31 +0000)]
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

9 years agoBug 57165: also verify that createSheet() had the same problem and is also fixed now
Dominik Stadler [Sun, 1 Mar 2015 20:01:43 +0000 (20:01 +0000)]
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

9 years agoBug 57165: Avoid PartAlreadyExistsException when removing/cloning sheets
Dominik Stadler [Sun, 1 Mar 2015 19:56:56 +0000 (19:56 +0000)]
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

9 years agoAdd missing close and handle theme-pptx in ExtractorFactory. Add creating slide-bitma...
Dominik Stadler [Sun, 1 Mar 2015 17:50:16 +0000 (17:50 +0000)]
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

9 years agoLink to the replacement constructions for the deprecated ones, and a few extra bits...
Nick Burch [Sat, 28 Feb 2015 17:49:18 +0000 (17:49 +0000)]
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

9 years agoMore missing core properties unit tests, covering read-write without checks, and...
Nick Burch [Sat, 28 Feb 2015 17:37:11 +0000 (17:37 +0000)]
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

9 years agoEnsure that the core properties are there before saving them, in case they have not...
Nick Burch [Sat, 28 Feb 2015 17:36:19 +0000 (17:36 +0000)]
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

9 years agoMove test-case to location where the scratchpad-classes are available
Dominik Stadler [Fri, 27 Feb 2015 15:01:46 +0000 (15:01 +0000)]
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

9 years ago* Verify some more Text-Extraction features as part of integration tests, fix some...
Dominik Stadler [Fri, 27 Feb 2015 14:58:41 +0000 (14:58 +0000)]
* 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

9 years agoAdd missing javadoc-header
Dominik Stadler [Fri, 27 Feb 2015 11:33:36 +0000 (11:33 +0000)]
Add missing javadoc-header

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662661 13f79535-47bb-0310-9956-ffa450edef68

9 years ago* Add text-extraction verification to integration-tests via a new abstract base FileH...
Dominik Stadler [Fri, 27 Feb 2015 09:59:14 +0000 (09:59 +0000)]
* 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

9 years agoAdjust tests and fix small typo
Dominik Stadler [Fri, 27 Feb 2015 09:52:57 +0000 (09:52 +0000)]
Adjust tests and fix small typo

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662650 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdjust to provide full exception information for cases where we catch unexpected...
Dominik Stadler [Thu, 26 Feb 2015 13:43:10 +0000 (13:43 +0000)]
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

9 years agoUpdate Javadocs to refer to the fact that WorkbookFactory.create will throw a Encrypt...
Nick Burch [Tue, 24 Feb 2015 18:20:02 +0000 (18:20 +0000)]
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

9 years agoFix inconsistent indents
Nick Burch [Tue, 24 Feb 2015 12:11:34 +0000 (12:11 +0000)]
Fix inconsistent indents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661912 13f79535-47bb-0310-9956-ffa450edef68

9 years agoPatch from rojotek from github-18 - Handle documents with a picture-only header
Nick Burch [Tue, 24 Feb 2015 12:09:30 +0000 (12:09 +0000)]
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

9 years agoChange from XMLEventFactory.newFactory to XMLEventFactory.newInstance, for IBM JDK...
Nick Burch [Tue, 24 Feb 2015 12:03:53 +0000 (12:03 +0000)]
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

9 years agoBug 57612: Fix checking for proxy/accessible website in TestSignatureInfo
Dominik Stadler [Mon, 23 Feb 2015 20:45:21 +0000 (20:45 +0000)]
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

9 years agoUnit tests for OPC handling of files without a Core Properties part
Nick Burch [Mon, 23 Feb 2015 13:21:23 +0000 (13:21 +0000)]
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

9 years agoFix typo - remove duplicate characters
Nick Burch [Mon, 23 Feb 2015 13:21:06 +0000 (13:21 +0000)]
Fix typo - remove duplicate characters

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661662 13f79535-47bb-0310-9956-ffa450edef68

9 years agoupdate to next beta and docu fix
Andreas Beeker [Sat, 21 Feb 2015 12:55:03 +0000 (12:55 +0000)]
update to next beta and docu fix

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661349 13f79535-47bb-0310-9956-ffa450edef68

9 years agounpin documentation
Andreas Beeker [Sat, 21 Feb 2015 12:49:38 +0000 (12:49 +0000)]
unpin documentation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661348 13f79535-47bb-0310-9956-ffa450edef68

9 years agopin documentation
Andreas Beeker [Sat, 21 Feb 2015 12:36:17 +0000 (12:36 +0000)]
pin documentation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661343 13f79535-47bb-0310-9956-ffa450edef68

9 years agoUpdated POI copyright to 2015
Andreas Beeker [Sat, 21 Feb 2015 12:16:37 +0000 (12:16 +0000)]
Updated POI copyright to 2015

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661336 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRevert organize imports
Dominik Stadler [Sat, 21 Feb 2015 11:58:45 +0000 (11:58 +0000)]
Revert organize imports

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661327 13f79535-47bb-0310-9956-ffa450edef68

9 years agoUse assertArrayEquals() to try to better show why this test fails in some rare cases...
Dominik Stadler [Wed, 18 Feb 2015 18:47:22 +0000 (18:47 +0000)]
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

9 years agoBug 57459: Add method in SXSSFSheet to directly set row OutLineLevel
Dominik Stadler [Sat, 14 Feb 2015 12:46:16 +0000 (12:46 +0000)]
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

9 years agoAdjust TestSignatureInfo so junit provides more information if an unexpected exceptio...
Dominik Stadler [Sat, 14 Feb 2015 12:46:04 +0000 (12:46 +0000)]
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

9 years agoBug 57456: Fix reading XLS with empty SSTRecord where Excel puts some random number...
Dominik Stadler [Fri, 13 Feb 2015 19:14:14 +0000 (19:14 +0000)]
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

9 years agoBug 57479: Typo in HSSFWorkbook javaDocs
Dominik Stadler [Mon, 9 Feb 2015 22:43:56 +0000 (22:43 +0000)]
Bug 57479: Typo in HSSFWorkbook javaDocs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658596 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 57480: Fix some unnecessary casts, generics, Eclipse warnings, ...
Dominik Stadler [Mon, 9 Feb 2015 22:33:24 +0000 (22:33 +0000)]
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

9 years agoAdd ooxml-sources-jar files to up-to-date check to still recompile if only they are...
Dominik Stadler [Mon, 9 Feb 2015 22:32:43 +0000 (22:32 +0000)]
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

9 years agoFinish converting ErrorEval to only use the FormulaError constants, and then finish...
Nick Burch [Sun, 8 Feb 2015 15:37:14 +0000 (15:37 +0000)]
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

9 years agoPrepare FormulaError for both long and short codes
Nick Burch [Sun, 8 Feb 2015 15:22:01 +0000 (15:22 +0000)]
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

9 years agoAdd a unit test (disabled) for bug #57535 - "Unknown error type: -60" fetching formul...
Nick Burch [Sun, 8 Feb 2015 15:17:47 +0000 (15:17 +0000)]
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

9 years agoReduce duplication between FormulaError and ErrorConstants
Nick Burch [Sun, 8 Feb 2015 15:17:20 +0000 (15:17 +0000)]
Reduce duplication between FormulaError and ErrorConstants

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658185 13f79535-47bb-0310-9956-ffa450edef68

9 years agoXWPF implementation of some common Paragraph methods
Nick Burch [Thu, 5 Feb 2015 23:31:59 +0000 (23:31 +0000)]
XWPF implementation of some common Paragraph methods

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1657717 13f79535-47bb-0310-9956-ffa450edef68

9 years agoStub a common WP paragraph class, needs uncommenting as XWPF implements/emulates
Nick Burch [Thu, 5 Feb 2015 23:20:43 +0000 (23:20 +0000)]
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

9 years agoMore common HWPF/XWPF interfaces
Nick Burch [Thu, 5 Feb 2015 17:35:09 +0000 (17:35 +0000)]
More common HWPF/XWPF interfaces

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1657634 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMore common XWPF/HWPF character run methods
Nick Burch [Thu, 5 Feb 2015 17:25:02 +0000 (17:25 +0000)]
More common XWPF/HWPF character run methods

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1657631 13f79535-47bb-0310-9956-ffa450edef68

9 years agoXWPF double strikethrough, and start on a common interface for HWPF and XWPF characte...
Nick Burch [Thu, 5 Feb 2015 17:00:08 +0000 (17:00 +0000)]
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

9 years agoThe default for standard encryption cipher algorithm was wrongly set to rc4
Andreas Beeker [Mon, 26 Jan 2015 00:02:20 +0000 (00:02 +0000)]
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

9 years ago57482 Handle XSLX files with no shared strings table in read-only mode
Nick Burch [Thu, 22 Jan 2015 12:15:59 +0000 (12:15 +0000)]
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

9 years agoUnit test from Isao Kadowaki from bug #57482
Nick Burch [Thu, 22 Jan 2015 11:45:40 +0000 (11:45 +0000)]
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

9 years agoAdd a developer-tool to pretty-print the XMLs in an OOXML file. This makes it easier...
Dominik Stadler [Thu, 22 Jan 2015 07:24:01 +0000 (07:24 +0000)]
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

9 years agoBug 57468: Avoid possible build-error if lib-directory is not created
Dominik Stadler [Wed, 21 Jan 2015 20:39:30 +0000 (20:39 +0000)]
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

9 years agoHave ExtractorFactory open OPCPackages from files in read-only mode by default, since...
Nick Burch [Sun, 18 Jan 2015 23:46:29 +0000 (23:46 +0000)]
Have ExtractorFactory open OPCPackages from files in read-only mode by default, since writing should never be needed when extracting text

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1652877 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFor XSSFSheet, add a getDrawingPatriarch() method alongside the existing createDrawin...
Nick Burch [Sun, 18 Jan 2015 23:45:04 +0000 (23:45 +0000)]
For XSSFSheet, add a getDrawingPatriarch() method alongside the existing createDrawingPatriarch() one

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1652876 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix TIKA-1515 - Handle Excel 3 files with a 0x8001 codepage
Nick Burch [Tue, 13 Jan 2015 22:13:24 +0000 (22:13 +0000)]
Fix TIKA-1515 - Handle Excel 3 files with a 0x8001 codepage

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1651517 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAnother exclude
Nick Burch [Tue, 13 Jan 2015 21:48:43 +0000 (21:48 +0000)]
Another exclude

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1651512 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd a sample Excel 3 file from TIKA-1515, and a disabled unit test for it
Nick Burch [Tue, 13 Jan 2015 19:32:50 +0000 (19:32 +0000)]
Add a sample Excel 3 file from TIKA-1515, and a disabled unit test for it

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1651451 13f79535-47bb-0310-9956-ffa450edef68

9 years agoTest to show that bug #57430 works fine already
Nick Burch [Tue, 13 Jan 2015 09:57:46 +0000 (09:57 +0000)]
Test to show that bug #57430 works fine already

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1651314 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdjust Bin2Dec similar to what we did for Hex2Dec in Bug 57196 and fix some smaller...
Dominik Stadler [Fri, 9 Jan 2015 20:37:11 +0000 (20:37 +0000)]
Adjust Bin2Dec similar to what we did for Hex2Dec in Bug 57196 and fix some smaller problems in the implementation found while adding full unit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1650654 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix Eclipse warnings, provide better error message and adjust javadoc slightly
Dominik Stadler [Fri, 9 Jan 2015 16:52:23 +0000 (16:52 +0000)]
Fix Eclipse warnings, provide better error message and adjust javadoc slightly

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1650598 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 57196: Resolve RefEval to it's inner ValueEval in Hex2Dec
Dominik Stadler [Fri, 9 Jan 2015 16:51:02 +0000 (16:51 +0000)]
Bug 57196: Resolve RefEval to it's inner ValueEval in Hex2Dec

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1650597 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSwap Exception for Throwable, to skip a wider range of problems (eg GAE) when attempt...
Nick Burch [Thu, 8 Jan 2015 13:22:50 +0000 (13:22 +0000)]
Swap Exception for Throwable, to skip a wider range of problems (eg GAE) when attempting to set an xml security manager as best we can

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1650290 13f79535-47bb-0310-9956-ffa450edef68

9 years ago* Add missing close() on streams in ImageUtils.getImageDimension()
Dominik Stadler [Wed, 7 Jan 2015 14:36:39 +0000 (14:36 +0000)]
* Add missing close() on streams in ImageUtils.getImageDimension()
* Add some unit tests for CellReference

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1650070 13f79535-47bb-0310-9956-ffa450edef68