Commit Graph

6155 Commits

Author SHA1 Message Date
Nick Burch
1c693babb8 Fix inconsistent whitespace/indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678188 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 13:08:15 +00:00
Nick Burch
9fd1832753 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
2015-05-07 13:07:00 +00:00
Nick Burch
9a755850e9 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
2015-05-07 12:37:43 +00:00
Andreas Beeker
9c558ab293 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
2015-05-06 23:17:18 +00:00
Andreas Beeker
5b211bff3e unpin documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678106 13f79535-47bb-0310-9956-ffa450edef68
2015-05-06 22:33:34 +00:00
Andreas Beeker
1f4bc30b92 tag 1678083 as 3.12-final
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678087 13f79535-47bb-0310-9956-ffa450edef68
2015-05-06 20:25:29 +00:00
Dominik Stadler
ea27ddf601 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
2015-05-06 08:42:28 +00:00
Andreas Beeker
02bbe3b566 OOM fix for gump run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677913 13f79535-47bb-0310-9956-ffa450edef68
2015-05-05 23:51:10 +00:00
Tim Allison
8bfc6056c8 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
2015-05-05 01:39:16 +00:00
Andreas Beeker
5f92db369f removed because of late TIKA-1315 fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677684 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 20:55:40 +00:00
Andreas Beeker
cff2d1dcb6 Release preparation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677676 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 20:31:18 +00:00
Andreas Beeker
125ef5707f Release preparation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677675 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 20:28:30 +00:00
Andreas Beeker
cdc2ab7f9b 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
2015-05-04 19:34:48 +00:00
Nick Burch
c5f9a72dd1 Fix inconsistent whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677565 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 09:17:14 +00:00
Nick Burch
e9340cc1ba 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
2015-05-04 09:15:48 +00:00
Nick Burch
f911f58441 New EmptyFileException, and fix serial warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677561 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 09:14:48 +00:00
Nick Burch
c8f8cde62d 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
2015-05-03 08:47:50 +00:00
Nick Burch
3543d1a553 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
2015-05-03 08:10:07 +00:00
Nick Burch
16d2e7881a 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
2015-05-03 07:59:18 +00:00
Nick Burch
c76db74929 Fix inconsistent indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677369 13f79535-47bb-0310-9956-ffa450edef68
2015-05-03 07:56:40 +00:00
Nick Burch
602832bda6 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
2015-05-03 07:53:09 +00:00
Dominik Stadler
31adc2f269 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
2015-04-30 11:54:13 +00:00
Dominik Stadler
3275263c2b Remove Eclipse warnings in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676903 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 05:58:15 +00:00
Dominik Stadler
dcfe4f77b7 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
2015-04-30 05:50:49 +00:00
Nick Burch
157c994ee8 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
2015-04-29 22:07:43 +00:00
Nick Burch
925d32e2c1 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
2015-04-29 20:36:13 +00:00
Nick Burch
9f196708d4 #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
2015-04-29 20:19:38 +00:00
Nick Burch
73aa2c9ee3 Fix inconsistent indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676845 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 20:13:42 +00:00
Nick Burch
2889cabaed #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
2015-04-29 20:12:18 +00:00
Nick Burch
ef8cb7fdb4 Sample password protected xlsx file from Tika
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676840 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 20:07:51 +00:00
Nick Burch
fb4bf25259 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
2015-04-29 19:47:35 +00:00
Nick Burch
b3bd87d3c2 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
2015-04-29 19:28:26 +00:00
Nick Burch
b2a1862f19 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
2015-04-29 19:21:37 +00:00
Nick Burch
c029154424 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
2015-04-29 18:31:12 +00:00
Tim Allison
13dc67c73a 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
2015-04-28 15:17:51 +00:00
Dominik Stadler
4c96affb9a 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
2015-04-27 14:29:59 +00:00
Nick Burch
7998e373d3 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
2015-04-25 02:18:06 +00:00
Nick Burch
5fc4bd3f48 #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
2015-04-25 01:53:30 +00:00
Nick Burch
d46e76b8a1 Add missing license header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675750 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 02:24:36 +00:00
Nick Burch
3c1d9756ba Fix some inconsistent whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675748 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 02:20:57 +00:00
Nick Burch
b681f4fb3a #57642 Fix setSheetName with ISERROR on XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675745 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 02:13:07 +00:00
Nick Burch
1cbac547a0 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
2015-04-24 02:07:01 +00:00
Nick Burch
5516228367 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
2015-04-24 01:47:20 +00:00
Nick Burch
2be2a7cbfc Whitespace and comment updates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675740 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 01:42:21 +00:00
Nick Burch
a5846f0f66 #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
2015-04-24 01:29:10 +00:00
Nick Burch
b68dcd9df5 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
2015-04-23 21:09:42 +00:00
Nick Burch
20fa446f40 #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
2015-04-23 18:35:15 +00:00
Nick Burch
22fa817fcc Make the opening code generic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675700 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 18:26:01 +00:00
Nick Burch
d540ba43cc 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
2015-04-23 18:20:27 +00:00
Nick Burch
f8977f76d0 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
2015-04-23 18:16:37 +00:00