]> source.dussan.org Git - poi.git/log
poi.git
9 years agoAdd unit-test which verifies that fill and alignment styles are applied and read...
Dominik Stadler [Mon, 27 Apr 2015 14:29:59 +0000 (14:29 +0000)]
Add unit-test which verifies that fill and alignment styles are applied and read back in correctly.

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

9 years agoLittle bit more OSGi, not yet working #57857
Nick Burch [Sat, 25 Apr 2015 02:18:06 +0000 (02:18 +0000)]
Little bit more OSGi, not yet working #57857

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

9 years ago#57857 Based on the Apache Tika OSGi bundle and tests, start on a maven-powered build...
Nick Burch [Sat, 25 Apr 2015 01:53:30 +0000 (01:53 +0000)]
#57857 Based on the Apache Tika OSGi bundle and tests, start on a maven-powered build and test for a POI bundle

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

9 years agoAdd missing license header
Nick Burch [Fri, 24 Apr 2015 02:24:36 +0000 (02:24 +0000)]
Add missing license header

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

9 years agoFix some inconsistent whitespace
Nick Burch [Fri, 24 Apr 2015 02:20:57 +0000 (02:20 +0000)]
Fix some inconsistent whitespace

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

9 years ago#57642 Fix setSheetName with ISERROR on XSSF
Nick Burch [Fri, 24 Apr 2015 02:13:07 +0000 (02:13 +0000)]
#57642 Fix setSheetName with ISERROR on XSSF

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

9 years agoAdd a common interface for 3D Pxg's
Nick Burch [Fri, 24 Apr 2015 02:07:01 +0000 (02:07 +0000)]
Add a common interface for 3D Pxg's

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

9 years agoPatch from Conor from bug #57747 - Add ISERR() function
Nick Burch [Fri, 24 Apr 2015 01:47:20 +0000 (01:47 +0000)]
Patch from Conor from bug #57747 - Add ISERR() function

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

9 years agoWhitespace and comment updates
Nick Burch [Fri, 24 Apr 2015 01:42:21 +0000 (01:42 +0000)]
Whitespace and comment updates

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

9 years ago#57829 Avoid XmlValueDisconnectedException when removing a XWPFRun from a XWPFParagra...
Nick Burch [Fri, 24 Apr 2015 01:29:10 +0000 (01:29 +0000)]
#57829 Avoid XmlValueDisconnectedException when removing a XWPFRun from a XWPFParagraph by removing from IRuns as well

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

9 years agoAdd another file exclude, and hae the test print out which fails failed to make it...
Nick Burch [Thu, 23 Apr 2015 21:09:42 +0000 (21:09 +0000)]
Add another file exclude, and hae the test print out which fails failed to make it quicker to spot in the jenkins failure email

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

9 years ago#57851 - Skip null properties in PropertyTableBase, which is how PropertyFactory...
Nick Burch [Thu, 23 Apr 2015 18:35:15 +0000 (18:35 +0000)]
#57851 - Skip null properties in PropertyTableBase, which is how PropertyFactory reports unsupported POIFS properties

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

9 years agoMake the opening code generic
Nick Burch [Thu, 23 Apr 2015 18:26:01 +0000 (18:26 +0000)]
Make the opening code generic

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

9 years agoMake the test generic across POIFS and NPOIFS
Nick Burch [Thu, 23 Apr 2015 18:20:27 +0000 (18:20 +0000)]
Make the test generic across POIFS and NPOIFS

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

9 years agoPull out a common NPOIFS/POIFS test to a decidated bugs test class
Nick Burch [Thu, 23 Apr 2015 18:16:37 +0000 (18:16 +0000)]
Pull out a common NPOIFS/POIFS test to a decidated bugs test class

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

9 years agoTest file from Marcin Łoś from bug #57851
Nick Burch [Thu, 23 Apr 2015 18:10:24 +0000 (18:10 +0000)]
Test file from Marcin Łoś from bug #57851

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

9 years agoFix inconsistent indents
Nick Burch [Thu, 23 Apr 2015 18:02:38 +0000 (18:02 +0000)]
Fix inconsistent indents

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

9 years agoAdd unit test for Eventmodel processing of password protected excel files
Nick Burch [Thu, 23 Apr 2015 18:01:51 +0000 (18:01 +0000)]
Add unit test for Eventmodel processing of password protected excel files

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

9 years agoPrint out slightly more on test-failure for a unit tests which fails intermittently
Dominik Stadler [Wed, 22 Apr 2015 06:49:38 +0000 (06:49 +0000)]
Print out slightly more on test-failure for a unit tests which fails intermittently

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

9 years agoFix bug 57828, shifting more than one commit per row did not work.
Dominik Stadler [Mon, 20 Apr 2015 20:13:33 +0000 (20:13 +0000)]
Fix bug 57828, shifting more than one commit per row did not work.

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

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