]> source.dussan.org Git - poi.git/log
poi.git
9 years agoCorrect zero byte entry support in NPOIFS
Nick Burch [Mon, 11 May 2015 17:53:59 +0000 (17:53 +0000)]
Correct zero byte entry support in NPOIFS

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

9 years agoDisabled NPOIFS unit test - problem with 0 length entries discovered working on ...
Nick Burch [Mon, 11 May 2015 15:27:59 +0000 (15:27 +0000)]
Disabled NPOIFS unit test - problem with 0 length entries discovered working on #56791

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

9 years agoMore NPOIFS ministore tests
Nick Burch [Mon, 11 May 2015 15:20:42 +0000 (15:20 +0000)]
More NPOIFS ministore tests

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

9 years agoAdd a (disabled) failing unit test on heavily nested NPOIFS copies, found working...
Nick Burch [Mon, 11 May 2015 14:58:43 +0000 (14:58 +0000)]
Add a (disabled) failing unit test on heavily nested NPOIFS copies, found working on #56791

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

9 years ago#56791 Remove long-deprecated OPOIFS related methods
Nick Burch [Mon, 11 May 2015 14:26:39 +0000 (14:26 +0000)]
#56791 Remove long-deprecated OPOIFS related methods

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

9 years ago#56791 Default to NPOIFS
Nick Burch [Mon, 11 May 2015 14:26:01 +0000 (14:26 +0000)]
#56791 Default to NPOIFS

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

9 years agoBegin making NPOIFS the default #56791
Nick Burch [Mon, 11 May 2015 06:29:17 +0000 (06:29 +0000)]
Begin making NPOIFS the default #56791

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

9 years agoexternal unpinning
Andreas Beeker [Sat, 9 May 2015 17:35:52 +0000 (17:35 +0000)]
external unpinning

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

9 years agoexternal pinning for 3.12 (RC3)
Andreas Beeker [Sat, 9 May 2015 15:42:39 +0000 (15:42 +0000)]
external pinning for 3.12 (RC3)

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

9 years ago#57907 Fix DOAP syntax, and add missing final releases
Nick Burch [Fri, 8 May 2015 18:46:28 +0000 (18:46 +0000)]
#57907 Fix DOAP syntax, and add missing final releases

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

9 years agoMake source-build from a fresh repository work, compile-lib was not created.
Dominik Stadler [Fri, 8 May 2015 10:32:26 +0000 (10:32 +0000)]
Make source-build from a fresh repository work, compile-lib was not created.

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

9 years agoRefactor common default styles code to use the new helpers
Nick Burch [Thu, 7 May 2015 13:34:03 +0000 (13:34 +0000)]
Refactor common default styles code to use the new helpers

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

9 years agoStart exposing the default paragraph and run styles from XWPFStyles
Nick Burch [Thu, 7 May 2015 13:25:47 +0000 (13:25 +0000)]
Start exposing the default paragraph and run styles from XWPFStyles

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

9 years agoFix inconsistent whitespace/indents
Nick Burch [Thu, 7 May 2015 13:08:15 +0000 (13:08 +0000)]
Fix inconsistent whitespace/indents

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

9 years agoStart on XWPFStyles support for document default styles
Nick Burch [Thu, 7 May 2015 13:07:00 +0000 (13:07 +0000)]
Start on XWPFStyles support for document default styles

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

9 years agoBegin on test for going from xwpf text to style
Nick Burch [Thu, 7 May 2015 12:37:43 +0000 (12:37 +0000)]
Begin on test for going from xwpf text to style

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

9 years agoUse en-locale for javadoc otherwise apidocs contains <html lang="de"> attributes
Andreas Beeker [Wed, 6 May 2015 23:17:18 +0000 (23:17 +0000)]
Use en-locale for javadoc otherwise apidocs contains <html lang="de"> attributes

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

9 years agounpin documentation
Andreas Beeker [Wed, 6 May 2015 22:33:34 +0000 (22:33 +0000)]
unpin documentation

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

9 years agotag 1678083 as 3.12-final
Andreas Beeker [Wed, 6 May 2015 20:25:29 +0000 (20:25 +0000)]
tag 1678083 as 3.12-final

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

9 years agoTry to fix flaky test by waiting for a switch of the second to ensure that we have...
Dominik Stadler [Wed, 6 May 2015 08:42:28 +0000 (08:42 +0000)]
Try to fix flaky test by waiting for a switch of the second to ensure that we have the same timestamps in the two workbooks that we compare byte-wise in this test.

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

9 years agoOOM fix for gump run
Andreas Beeker [Tue, 5 May 2015 23:51:10 +0000 (23:51 +0000)]
OOM fix for gump run

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

9 years agoPOI-57889 prevent NPE with on some documents with XWPFParagraph's getNumFmt() and...
Tim Allison [Tue, 5 May 2015 01:39:16 +0000 (01:39 +0000)]
POI-57889 prevent NPE with on some documents with XWPFParagraph's getNumFmt() and add some other classes to enable calculation of paragraph numbers

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

9 years agoremoved because of late TIKA-1315 fix
Andreas Beeker [Mon, 4 May 2015 20:55:40 +0000 (20:55 +0000)]
removed because of late TIKA-1315 fix

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

9 years agoRelease preparation
Andreas Beeker [Mon, 4 May 2015 20:31:18 +0000 (20:31 +0000)]
Release preparation

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

9 years agoRelease preparation
Andreas Beeker [Mon, 4 May 2015 20:28:30 +0000 (20:28 +0000)]
Release preparation

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

9 years agojavadoc fix ... trying to get rid of the "Error fetching URL" warning
Andreas Beeker [Mon, 4 May 2015 19:34:48 +0000 (19:34 +0000)]
javadoc fix ... trying to get rid of the "Error fetching URL" warning

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

9 years agoFix inconsistent whitespace
Nick Burch [Mon, 4 May 2015 09:17:14 +0000 (09:17 +0000)]
Fix inconsistent whitespace

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

9 years agoIf an empty stream or file is given to WorkbookFactory.create, give a more informativ...
Nick Burch [Mon, 4 May 2015 09:15:48 +0000 (09:15 +0000)]
If an empty stream or file is given to WorkbookFactory.create, give a more informative exception - EmptyFileException

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

9 years agoNew EmptyFileException, and fix serial warning
Nick Burch [Mon, 4 May 2015 09:14:48 +0000 (09:14 +0000)]
New EmptyFileException, and fix serial warning

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

9 years agoPatch from Mark Olesen from bug #57552: Sort PackagePart returns from OPCPackage...
Nick Burch [Sun, 3 May 2015 08:47:50 +0000 (08:47 +0000)]
Patch from Mark Olesen from bug #57552: Sort PackagePart returns from OPCPackage by name considering numbers in filenames, so Image10.png comes after Image9.png, fixing problems with XSLF adding 10+ images to a slide

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

9 years agoAvoid short wrapping on cell styles and formats > 32,767 in XSSF - format supports...
Nick Burch [Sun, 3 May 2015 08:10:07 +0000 (08:10 +0000)]
Avoid short wrapping on cell styles and formats > 32,767 in XSSF - format supports up to 64,000 of them #57880

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

9 years agoEnsure consistent ordering when writing out formats following changes in r1677368
Nick Burch [Sun, 3 May 2015 07:59:18 +0000 (07:59 +0000)]
Ensure consistent ordering when writing out formats following changes in r1677368

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

9 years agoFix inconsistent indents
Nick Burch [Sun, 3 May 2015 07:56:40 +0000 (07:56 +0000)]
Fix inconsistent indents

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

9 years agoSomewhat speed up creating data formats with large counts, and add maximum format...
Nick Burch [Sun, 3 May 2015 07:53:09 +0000 (07:53 +0000)]
Somewhat speed up creating data formats with large counts, and add maximum format/style count checking. #57884

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

9 years agoAdd verifying testcase for Bug 57423 and Bug 55752, both are still not solved, though.
Dominik Stadler [Thu, 30 Apr 2015 11:54:13 +0000 (11:54 +0000)]
Add verifying testcase for Bug 57423 and Bug 55752, both are still not solved, though.

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

9 years agoRemove Eclipse warnings in tests
Dominik Stadler [Thu, 30 Apr 2015 05:58:15 +0000 (05:58 +0000)]
Remove Eclipse warnings in tests

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

9 years agoAdjust test to handle a file correctly which works for normal handling but fails...
Dominik Stadler [Thu, 30 Apr 2015 05:50:49 +0000 (05:50 +0000)]
Adjust test to handle a file correctly which works for normal handling but fails expectedly in text-extraction testing.

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

9 years agoSkip the new password protected file, and re-org a little bit some other failures
Nick Burch [Wed, 29 Apr 2015 22:07:43 +0000 (22:07 +0000)]
Skip the new password protected file, and re-org a little bit some other failures

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

9 years agoAllow WorkbookFactory.create to open xlsx files protected with the default password
Nick Burch [Wed, 29 Apr 2015 20:36:13 +0000 (20:36 +0000)]
Allow WorkbookFactory.create to open xlsx files protected with the default password

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

9 years ago#57593 Complete create overloading in WorkbookFactory to take passwords
Nick Burch [Wed, 29 Apr 2015 20:19:38 +0000 (20:19 +0000)]
#57593 Complete create overloading in WorkbookFactory to take passwords

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

9 years agoFix inconsistent indents
Nick Burch [Wed, 29 Apr 2015 20:13:42 +0000 (20:13 +0000)]
Fix inconsistent indents

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

9 years ago#57593 Begin adding overloaded WorkbookFactory.create methods which take the spreadsh...
Nick Burch [Wed, 29 Apr 2015 20:12:18 +0000 (20:12 +0000)]
#57593 Begin adding overloaded WorkbookFactory.create methods which take the spreadsheet password

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

9 years agoSample password protected xlsx file from Tika
Nick Burch [Wed, 29 Apr 2015 20:07:51 +0000 (20:07 +0000)]
Sample password protected xlsx file from Tika

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

9 years agoUse a constant for the name of the OOXML encrypted package node
Nick Burch [Wed, 29 Apr 2015 19:47:35 +0000 (19:47 +0000)]
Use a constant for the name of the OOXML encrypted package node

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

9 years agoWhen removing a SXSSF sheet, ensure temp files associated with it are disposed of...
Nick Burch [Wed, 29 Apr 2015 19:28:26 +0000 (19:28 +0000)]
When removing a SXSSF sheet, ensure temp files associated with it are disposed of #57666

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

9 years agoPatch from Jon Scharff from bug #57826 - If a XSSF shape has a buFont but no bullet...
Nick Burch [Wed, 29 Apr 2015 19:21:37 +0000 (19:21 +0000)]
Patch from Jon Scharff from bug #57826 - If a XSSF shape has a buFont but no bullet character, mirror Excel and treat as un-bulleted

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

9 years agoAdd a (disabled) unit test showing the incorrect ordering problem of parts - bug...
Nick Burch [Wed, 29 Apr 2015 18:31:12 +0000 (18:31 +0000)]
Add a (disabled) unit test showing the incorrect ordering problem of parts - bug #57552

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

9 years agoPOI-56998 add some getters to help with list numbering in hwpf
Tim Allison [Tue, 28 Apr 2015 15:17:51 +0000 (15:17 +0000)]
POI-56998 add some getters to help with list numbering in hwpf

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

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