]> source.dussan.org Git - poi.git/log
poi.git
11 years agoRemove some @author tags, as per http://poi.apache.org/guidelines.html#CodeStyle
Nick Burch [Fri, 23 Aug 2013 18:42:57 +0000 (18:42 +0000)]
Remove some @author tags, as per http://poi.apache.org/guidelines.html#CodeStyle

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

11 years agoStart to remove @author tags, as per http://poi.apache.org/guidelines.html#CodeStyle
Nick Burch [Fri, 23 Aug 2013 18:36:41 +0000 (18:36 +0000)]
Start to remove @author tags, as per http://poi.apache.org/guidelines.html#CodeStyle

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

11 years agoInspired by github pull-6, use a StringBuilder for quicker string appending
Nick Burch [Fri, 23 Aug 2013 18:30:01 +0000 (18:30 +0000)]
Inspired by github pull-6, use a StringBuilder for quicker string appending

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

11 years agofix some Eclipse warnings, adjust some unit tests slightly
Dominik Stadler [Fri, 23 Aug 2013 10:44:39 +0000 (10:44 +0000)]
fix some Eclipse warnings, adjust some unit tests slightly

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

11 years agoFix unit test for Bug 50298 some more
Dominik Stadler [Wed, 21 Aug 2013 22:57:26 +0000 (22:57 +0000)]
Fix unit test for Bug 50298 some more

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

11 years agoAdjust test for Bug 50298 to not leave a temporary file behind and
Dominik Stadler [Wed, 21 Aug 2013 22:19:58 +0000 (22:19 +0000)]
Adjust test for Bug 50298 to not leave a temporary file behind and
enhance the test with some more cases of moving/changing/removing sheet
order/names

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

11 years agoBug 50298: Fix corruption of Workbook when setting sheet order. The
Dominik Stadler [Wed, 21 Aug 2013 22:08:20 +0000 (22:08 +0000)]
Bug 50298: Fix corruption of Workbook when setting sheet order. The
boundssheets themselves were adjusted, but not the corresponding
records.

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

11 years agoAlso fix some Eclipse warnings while hunting Bugs: Generics, unused
Dominik Stadler [Wed, 21 Aug 2013 22:06:07 +0000 (22:06 +0000)]
Also fix some Eclipse warnings while hunting Bugs: Generics, unused
variables, ...

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

11 years agoPush the fix for bug #55248 up to the Sheet interface (was XSSF only before)
Nick Burch [Wed, 21 Aug 2013 09:41:15 +0000 (09:41 +0000)]
Push the fix for bug #55248 up to the Sheet interface (was XSSF only before)

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

11 years agoBug 52233: try to fix this without breaking the format of xlsx-files.
Dominik Stadler [Tue, 20 Aug 2013 18:44:44 +0000 (18:44 +0000)]
Bug 52233: try to fix this without breaking the format of xlsx-files.
The set to null is necessary to not have an empty <cols/> element in the
xlsx, however later on stuff breaks if no colsArray is availalbe,
therefore we now re-create the empty cols array if we did remove it
before.

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

11 years agoRevert changes from rev. 1513916 as it severly broke writing valid xlsx files
Dominik Stadler [Tue, 20 Aug 2013 15:03:18 +0000 (15:03 +0000)]
Revert changes from rev. 1513916 as it severly broke writing valid xlsx files

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

11 years agoBug 55043: patch for missing function QUOTIENT
Cédric Walter [Fri, 16 Aug 2013 18:54:35 +0000 (18:54 +0000)]
Bug 55043: patch for missing function QUOTIENT

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

11 years agoBug 55082: patch for missing function ROMAN
Cédric Walter [Fri, 16 Aug 2013 18:28:18 +0000 (18:28 +0000)]
Bug 55082: patch for missing function ROMAN

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

11 years agoBug 55080: patch for missing function IMREAL
Cédric Walter [Fri, 16 Aug 2013 18:13:40 +0000 (18:13 +0000)]
Bug 55080: patch for missing function IMREAL

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

11 years agoBug 55079: patch for missing function IMAGINARY
Cédric Walter [Fri, 16 Aug 2013 17:59:01 +0000 (17:59 +0000)]
Bug 55079: patch for missing function IMAGINARY

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

11 years agoBug 54720: Support for Row/Col Area Range like 8:8 or H:H
Cédric Walter [Fri, 16 Aug 2013 17:35:16 +0000 (17:35 +0000)]
Bug 54720: Support for Row/Col Area Range like 8:8 or H:H

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

11 years agoBug 54723: Support for percentage in VALUE() function
Cédric Walter [Fri, 16 Aug 2013 17:15:47 +0000 (17:15 +0000)]
Bug 54723: Support for percentage in VALUE() function

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

11 years agoBug 54786: Fix missing quoting in date formatting, add a number of unit
Dominik Stadler [Fri, 16 Aug 2013 09:38:47 +0000 (09:38 +0000)]
Bug 54786: Fix missing quoting in date formatting, add a number of unit
tests which verify the new formatting options.

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

11 years ago55419 and refactor SimpleFraction
Tim Allison [Thu, 15 Aug 2013 01:46:25 +0000 (01:46 +0000)]
55419 and refactor SimpleFraction

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

11 years agoBug 52233: Do not make the XSSFSheet invalid during write(), I could not find out...
Dominik Stadler [Wed, 14 Aug 2013 14:57:44 +0000 (14:57 +0000)]
Bug 52233: Do not make the XSSFSheet invalid during write(), I could not find out why the ColsArray was set to null in the write() method. By removing this the writing of the sheet does not invalidate the Workbook any more and makes the test case work fine.

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

11 years agoVarious small Eclipse warning fixes,
Dominik Stadler [Wed, 14 Aug 2013 08:25:51 +0000 (08:25 +0000)]
Various small Eclipse warning fixes,
also ensure close() of stream in Ant-Task, although WorkbookFactory usually takes care of this, however in exception-cases it could be missing

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

11 years agoUpdate to JaCoCo 0.6.3 and svn-ignore the .zip file as well
Dominik Stadler [Wed, 14 Aug 2013 08:20:21 +0000 (08:20 +0000)]
Update to JaCoCo 0.6.3 and svn-ignore the .zip file as well

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

11 years agoBug 55195: use interface instead of implementation for
Dominik Stadler [Mon, 12 Aug 2013 20:27:08 +0000 (20:27 +0000)]
Bug 55195: use interface instead of implementation for
NumericValueEval and others.

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

11 years agoFix how coverage-reporting is triggered, was effectively disabled always currently...
Dominik Stadler [Mon, 12 Aug 2013 19:43:40 +0000 (19:43 +0000)]
Fix how coverage-reporting is triggered, was effectively disabled always currently because of how Ant if/unless works

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

11 years agoBug 55380: Fix endless loop in CellRangeUtil.mergeCellRanges() by not trying to merge...
Dominik Stadler [Mon, 12 Aug 2013 19:13:10 +0000 (19:13 +0000)]
Bug 55380: Fix endless loop in CellRangeUtil.mergeCellRanges() by not trying to merge overlapping regions any more, the implementation is buggy and even tagged TODO - unit test missing. The code is hard to understand and bug-free-ness is better than catching all possible merges imho.
Also add many cases to the unit tests and reformat code slightly as well
as fixing some Generics-Warnings.

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

11 years ago55347 - integrate textbox text extraction with Excel extractors
Tim Allison [Thu, 8 Aug 2013 14:04:07 +0000 (14:04 +0000)]
55347 - integrate textbox text extraction with Excel extractors

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

11 years agoPOI 55361 trigger to load CTMoveBookmark in TestXWPFParagraph
Tim Allison [Thu, 8 Aug 2013 13:42:01 +0000 (13:42 +0000)]
POI 55361 trigger to load CTMoveBookmark in TestXWPFParagraph

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

11 years agoPOI-55294 and 52186
Tim Allison [Mon, 5 Aug 2013 16:17:17 +0000 (16:17 +0000)]
POI-55294 and 52186

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

11 years agoAdjust build.xml to run JaCoCo coverage when running unit tests when
Dominik Stadler [Sun, 4 Aug 2013 16:38:01 +0000 (16:38 +0000)]
Adjust build.xml to run JaCoCo coverage when running unit tests when
flag coverage.enabled is set to true, download necessary jars, add jacoco:coverage
to junit targets and a testcoveragereport target which produces the coverage report.
Also fix a test that is affected by JaCoCo and add slightly more coverage in another test.

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

11 years agoPOI-55292 with added files
Tim Allison [Wed, 31 Jul 2013 00:21:04 +0000 (00:21 +0000)]
POI-55292 with added files

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

11 years agoPOI-55292
Tim Allison [Wed, 31 Jul 2013 00:19:07 +0000 (00:19 +0000)]
POI-55292

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

11 years agoadded ratted out Apache license to HPSFPropertiesOnlyDocument
Tim Allison [Mon, 29 Jul 2013 19:36:24 +0000 (19:36 +0000)]
added ratted out Apache license to HPSFPropertiesOnlyDocument

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

11 years agoadded key to KEYS
Tim Allison [Mon, 29 Jul 2013 18:58:26 +0000 (18:58 +0000)]
added key to KEYS

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

11 years agotesting svn commit with test doc for 55292
Tim Allison [Mon, 29 Jul 2013 18:15:20 +0000 (18:15 +0000)]
testing svn commit with test doc for 55292

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

11 years agoEnsure the interface and implementation javadocs share the same warnings, and paragra...
Nick Burch [Mon, 15 Jul 2013 21:45:21 +0000 (21:45 +0000)]
Ensure the interface and implementation javadocs share the same warnings, and paragraph-ise to look nicer

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

11 years agoBug 55248: Add methods for showInPane() using int and unit test to verify it can...
Dominik Stadler [Sat, 13 Jul 2013 05:37:41 +0000 (05:37 +0000)]
Bug 55248: Add methods for showInPane() using int and unit test to verify it can handle more than 32767 rows

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

11 years agoAdd more unit tests to cover more of HSSFWorkbook and HSSFSheet, check one more case...
Dominik Stadler [Fri, 12 Jul 2013 19:21:12 +0000 (19:21 +0000)]
Add more unit tests to cover more of HSSFWorkbook and HSSFSheet, check one more case of IndexOutOfBoundsException

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

11 years agoAdd reproducing unit tests to TestUnfixedBugs for Bug 53798 and Bug 54071
Dominik Stadler [Tue, 9 Jul 2013 13:55:54 +0000 (13:55 +0000)]
Add reproducing unit tests to TestUnfixedBugs for Bug 53798 and Bug 54071

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

11 years agoRefactor to avoid logic duplication on the property value -> string conversion
Nick Burch [Wed, 3 Jul 2013 11:36:11 +0000 (11:36 +0000)]
Refactor to avoid logic duplication on the property value -> string conversion

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

11 years agoFix bug #55191 - Avoid a ClassCastException if a HPSF string property isn't directly...
Nick Burch [Wed, 3 Jul 2013 11:24:01 +0000 (11:24 +0000)]
Fix bug #55191 - Avoid a ClassCastException if a HPSF string property isn't directly stored as a string

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

11 years agoFix build broken by previous checkin by creating a TestUnfixedBugs for ooxml as well...
Dominik Stadler [Mon, 1 Jul 2013 08:03:40 +0000 (08:03 +0000)]
Fix build broken by previous checkin by creating a TestUnfixedBugs for ooxml as well and excluding the new test-class in test-ooxml similar to the main tests.

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

11 years agoBug 54084: Add testcase which reproduces the bug, no fix available yet
Dominik Stadler [Sun, 30 Jun 2013 22:47:26 +0000 (22:47 +0000)]
Bug 54084: Add testcase which reproduces the bug, no fix available yet

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

11 years agoAdjust build.xml to update to junit 4.11
Dominik Stadler [Sun, 30 Jun 2013 20:49:51 +0000 (20:49 +0000)]
Adjust build.xml to update to junit 4.11
Also allow to specify a pattern to only run certain unit tests.

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

11 years agoAdd a test to show that bug #53150 has been fixed by the recent fraction work
Nick Burch [Wed, 26 Jun 2013 20:40:26 +0000 (20:40 +0000)]
Add a test to show that bug #53150 has been fixed by the recent fraction work

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

11 years agoHave MAPIMessage try the codepage properties to get the ascii encoding, before fallin...
Nick Burch [Wed, 26 Jun 2013 18:46:37 +0000 (18:46 +0000)]
Have MAPIMessage try the codepage properties to get the ascii encoding, before falling back to the existing logic around content type parsing

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

11 years agoHSMF generally wants Java Lang style encoding names, which HPSF has always worked...
Nick Burch [Wed, 26 Jun 2013 18:44:51 +0000 (18:44 +0000)]
HSMF generally wants Java Lang style encoding names, which HPSF has always worked with Java NIO ones, so add a flag to CodePageUtil to let you select which style to return

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

11 years agoDeprecate the old HPSF codepage Constants list, and change the code to use the new...
Nick Burch [Wed, 26 Jun 2013 18:20:37 +0000 (18:20 +0000)]
Deprecate the old HPSF codepage Constants list, and change the code to use the new CodePageUtil class instead for their codepage work

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

11 years agoBring the numeric CodePage support from HPSF (constants and converters) out to a...
Nick Burch [Wed, 26 Jun 2013 18:18:21 +0000 (18:18 +0000)]
Bring the numeric CodePage support from HPSF (constants and converters) out to a new Util class, so that HSMF can later use it

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

11 years agoMore unit tests for the HSMF fixed sized property values (a few still remain to be...
Nick Burch [Wed, 26 Jun 2013 17:45:57 +0000 (17:45 +0000)]
More unit tests for the HSMF fixed sized property values (a few still remain to be fixed though)

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

11 years agoMake the fixed sized properties parser more flexible in the face of slightly duff...
Nick Burch [Wed, 26 Jun 2013 17:03:26 +0000 (17:03 +0000)]
Make the fixed sized properties parser more flexible in the face of slightly duff data

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

11 years agoDig out the normal type for some more common properties
Nick Burch [Wed, 26 Jun 2013 16:58:11 +0000 (16:58 +0000)]
Dig out the normal type for some more common properties

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

11 years agoSupport decoding a few more property types
Nick Burch [Wed, 26 Jun 2013 16:17:00 +0000 (16:17 +0000)]
Support decoding a few more property types

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

11 years agoMore friendly output of byte arrays for property values in HSMFDump
Nick Burch [Wed, 26 Jun 2013 16:03:09 +0000 (16:03 +0000)]
More friendly output of byte arrays for property values in HSMFDump

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

11 years agoFix inconsistent whitespace in HSMF test files
Nick Burch [Wed, 26 Jun 2013 15:28:25 +0000 (15:28 +0000)]
Fix inconsistent whitespace in HSMF test files

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

11 years agoFix inconsistent whitespace in HSMF files
Nick Burch [Wed, 26 Jun 2013 15:23:29 +0000 (15:23 +0000)]
Fix inconsistent whitespace in HSMF files

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

11 years agoEnsure the indenting is consistent within the file, and then make some minor updates...
Nick Burch [Wed, 26 Jun 2013 14:57:36 +0000 (14:57 +0000)]
Ensure the indenting is consistent within the file, and then make some minor updates to the JavaDocs (language, clarity etc)

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

11 years agoFix JavaDoc warnings
Nick Burch [Wed, 26 Jun 2013 00:56:28 +0000 (00:56 +0000)]
Fix JavaDoc warnings

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

11 years agoConvert classes with a assertContains method to using the new POITestCase common...
Nick Burch [Wed, 26 Jun 2013 00:49:41 +0000 (00:49 +0000)]
Convert classes with a assertContains method to using the new POITestCase common parent class, which has it there

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

11 years agoAdd disabled unit test for bug #54916
Nick Burch [Wed, 26 Jun 2013 00:45:18 +0000 (00:45 +0000)]
Add disabled unit test for bug #54916

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

11 years agoNew parent test class, which includes the common assertContains pattern
Nick Burch [Wed, 26 Jun 2013 00:44:35 +0000 (00:44 +0000)]
New parent test class, which includes the common assertContains pattern

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

11 years agoJavaDoc fix - missing >
Nick Burch [Wed, 26 Jun 2013 00:21:40 +0000 (00:21 +0000)]
JavaDoc fix - missing >

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

11 years agoAdd a write method to HPSFPropertiesOnlyDocument, and use this to finish the unit...
Nick Burch [Wed, 26 Jun 2013 00:18:41 +0000 (00:18 +0000)]
Add a write method to HPSFPropertiesOnlyDocument, and use this to finish the unit tests for bug #54233

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

11 years agoPull the Properties-Only document type out to a superclass, so other places (eg unit...
Nick Burch [Wed, 26 Jun 2013 00:10:43 +0000 (00:10 +0000)]
Pull the Properties-Only document type out to a superclass, so other places (eg unit tests) can use it

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

11 years agoFix bug #54233 - Some HPSF documents require UnicodeStrings to be 4-byte aligned...
Nick Burch [Tue, 25 Jun 2013 23:49:24 +0000 (23:49 +0000)]
Fix bug #54233 - Some HPSF documents require UnicodeStrings to be 4-byte aligned, spot these from the otherwise invalid length

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

11 years agoFix to have consistent whitespace, and add javadoc deprecated entries
Nick Burch [Tue, 25 Jun 2013 23:34:22 +0000 (23:34 +0000)]
Fix to have consistent whitespace, and add javadoc deprecated entries

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

11 years agoFix to have consistent whitespace
Nick Burch [Tue, 25 Jun 2013 23:30:37 +0000 (23:30 +0000)]
Fix to have consistent whitespace

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

11 years agoSample file from bug #54233
Nick Burch [Tue, 25 Jun 2013 23:22:46 +0000 (23:22 +0000)]
Sample file from bug #54233

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

11 years agoUpdate trunk after 3.10-beta1 tagging in svn
Nick Burch [Tue, 25 Jun 2013 22:40:02 +0000 (22:40 +0000)]
Update trunk after 3.10-beta1 tagging in svn

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

11 years agoPrep for 3.10 beta 1
Nick Burch [Tue, 25 Jun 2013 22:38:48 +0000 (22:38 +0000)]
Prep for 3.10 beta 1

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

11 years agoRemove the executable flag from a number of files that aren't executables so shouldn...
Nick Burch [Tue, 25 Jun 2013 22:12:48 +0000 (22:12 +0000)]
Remove the executable flag from a number of files that aren't executables so shouldn't have it set

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

11 years agoAdd missing license headers, and a few javadoc tweaks while working on those files
Nick Burch [Tue, 25 Jun 2013 22:04:49 +0000 (22:04 +0000)]
Add missing license headers, and a few javadoc tweaks while working on those files

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

11 years agoSanity check the length, logging and truncating if too long, to avoid a StringIndexOu...
Nick Burch [Tue, 25 Jun 2013 15:49:45 +0000 (15:49 +0000)]
Sanity check the length, logging and truncating if too long, to avoid a StringIndexOutOfBoundsException (bug #54925)

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

11 years agoFix the indenting to be consistent throughout the file
Nick Burch [Tue, 25 Jun 2013 15:44:36 +0000 (15:44 +0000)]
Fix the indenting to be consistent throughout the file

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

11 years agoAdd another record type to the "don't warn" list, and tidy up the code a little bit...
Nick Burch [Tue, 25 Jun 2013 15:40:05 +0000 (15:40 +0000)]
Add another record type to the "don't warn" list, and tidy up the code a little bit (see bug #54925)

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

11 years agoFix from Florian Hopf from bug #54564 - Fix error message text
Nick Burch [Tue, 25 Jun 2013 15:19:56 +0000 (15:19 +0000)]
Fix from Florian Hopf from bug #54564 - Fix error message text
 for a workbook with no sheets when a sheet operation is performed

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

11 years agoFix indenting to be consistent, and correct the setIncludeCellComments javadoc to...
Nick Burch [Tue, 25 Jun 2013 15:05:27 +0000 (15:05 +0000)]
Fix indenting to be consistent, and correct the setIncludeCellComments javadoc to match the long standing default (#54871)

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

11 years agoPatch from Andrew Novikov from bug #53972 - Presence of PLV record shouldn't affect...
Nick Burch [Tue, 25 Jun 2013 14:48:16 +0000 (14:48 +0000)]
Patch from Andrew Novikov from bug #53972 - Presence of PLV record shouldn't affect HSSF Data Validation

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

11 years agoPatch from Tim Allison from bug #55142 - Not all XWPF SDT block
Nick Burch [Tue, 25 Jun 2013 13:09:08 +0000 (13:09 +0000)]
Patch from Tim Allison from bug #55142 - Not all XWPF SDT block
s need newlines

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

11 years agoBug 54920: do not set column and row separatedely, but use a reference
Dominik Stadler [Sun, 23 Jun 2013 21:31:15 +0000 (21:31 +0000)]
Bug 54920: do not set column and row separatedely, but use a reference
for newComment(), keep previous method as deprecated. Adjust all places
where newComment() is used and add unit test covering the bug.

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

11 years agoPatch and unit test from Tim Allen from bug #54686 - Improve how DataFormatter handle...
Nick Burch [Thu, 20 Jun 2013 13:37:26 +0000 (13:37 +0000)]
Patch and unit test from Tim Allen from bug #54686 - Improve how DataFormatter handles fractions

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

11 years agoPatch from Tim Allen from bug #55066 - unit test to show that we no longer load XWPF...
Nick Burch [Thu, 20 Jun 2013 12:51:30 +0000 (12:51 +0000)]
Patch from Tim Allen from bug #55066 - unit test to show that we no longer load XWPF footnotes twice

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

11 years agoAvoid a NPE if no password was given - use the default office one instead
Nick Burch [Wed, 19 Jun 2013 11:56:21 +0000 (11:56 +0000)]
Avoid a NPE if no password was given - use the default office one instead

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

11 years agoFix the footnote doubling, and then enable the rest of the SDT tests from Tim Alliso...
Nick Burch [Tue, 18 Jun 2013 23:39:31 +0000 (23:39 +0000)]
Fix the footnote doubling, and then enable the rest of the SDT tests from  Tim Allison from bug #54849

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

11 years agoRemove tab indents
Nick Burch [Tue, 18 Jun 2013 23:38:25 +0000 (23:38 +0000)]
Remove tab indents

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

11 years agoPatch from Tim Allison from bug #54849 - Controlled content/Form (Std/StdBlock) content
Nick Burch [Tue, 18 Jun 2013 23:35:11 +0000 (23:35 +0000)]
Patch from Tim Allison from bug #54849 - Controlled content/Form (Std/StdBlock) content

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

11 years agoBug 54607: Add unit test and fix NPE for getTopRow() and getLeftCol()
Dominik Stadler [Mon, 17 Jun 2013 09:06:39 +0000 (09:06 +0000)]
Bug 54607: Add unit test and fix NPE for getTopRow() and getLeftCol()

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

11 years agoBug 54982: Add a close() interface to POITextExtractor which can be used to free...
Dominik Stadler [Mon, 17 Jun 2013 07:53:59 +0000 (07:53 +0000)]
Bug 54982: Add a close() interface to POITextExtractor which can be used to free resources later.
Implement close() where necessary so resources are closed. Add close()
to tests and run existing unit tests also against the Extractor that is
built via the Factory. Also add a small test-suite to quickly execute
all extractor-related tests.

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

11 years agoPatch from Trejkaz from GitHub Pull 2 - HSSFWorkbook.getAllEmbeddedObjects() needs...
Nick Burch [Fri, 14 Jun 2013 08:53:29 +0000 (08:53 +0000)]
Patch from Trejkaz from GitHub Pull 2 - HSSFWorkbook.getAllEmbeddedObjects() needs to recurse into container Shapes (with new unit test)

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

11 years agoFix and update JavaDoc entries, and correct areas with wildy inconsistent whitespace...
Nick Burch [Thu, 13 Jun 2013 18:52:03 +0000 (18:52 +0000)]
Fix and update JavaDoc entries, and correct areas with wildy inconsistent whitespace / style to the surrounding code

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

11 years agoFix and update JavaDoc entries, and correct areas with wildy inconsistent whitespace...
Nick Burch [Thu, 13 Jun 2013 18:34:54 +0000 (18:34 +0000)]
Fix and update JavaDoc entries, and correct areas with wildy inconsistent whitespace / style to the surrounding code

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

11 years agoFix and update JavaDoc entries, and correct areas with wildy inconsistent whitespace...
Nick Burch [Thu, 13 Jun 2013 18:29:08 +0000 (18:29 +0000)]
Fix and update JavaDoc entries, and correct areas with wildy inconsistent whitespace / style to the surrounding code

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

11 years agoFix the javadoc, correct the indenting, and add the new test file from bug #54849
Nick Burch [Thu, 13 Jun 2013 18:18:19 +0000 (18:18 +0000)]
Fix the javadoc, correct the indenting, and add the new test file from bug #54849

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

11 years agoPatch from akhikhl from github pull #4 - Expose from XWPFParagraph the number level...
Nick Burch [Wed, 12 Jun 2013 18:04:16 +0000 (18:04 +0000)]
Patch from akhikhl from github pull #4 - Expose from XWPFParagraph the number level and format, if applied

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

11 years agoPatch from akhikhl from github pull #3 - Extract references from XWPF footnotes
Nick Burch [Wed, 12 Jun 2013 17:54:39 +0000 (17:54 +0000)]
Patch from akhikhl from github pull #3 - Extract references from XWPF footnotes

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

11 years agoJavaDoc fixes from #54731 from Dominik Stadler
Nick Burch [Wed, 12 Jun 2013 16:32:24 +0000 (16:32 +0000)]
JavaDoc fixes from #54731 from Dominik Stadler

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

11 years agoEMCA have re-organised their website, update links to solve #55053
Nick Burch [Wed, 12 Jun 2013 15:38:13 +0000 (15:38 +0000)]
EMCA have re-organised their website, update links to solve #55053

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

11 years agofixed compatibility issues with JDK 1.5
Yegor Kozlov [Wed, 5 Jun 2013 02:03:07 +0000 (02:03 +0000)]
fixed compatibility issues with JDK 1.5

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

11 years agoremoved @Override to keep javac on JDK 1.5 happy
Yegor Kozlov [Mon, 3 Jun 2013 01:05:28 +0000 (01:05 +0000)]
removed @Override to keep javac on JDK 1.5 happy

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

11 years agoBug 55047: REPT formula support
Yegor Kozlov [Sun, 2 Jun 2013 23:39:41 +0000 (23:39 +0000)]
Bug 55047: REPT formula support

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

11 years agomissing tests for Bug 55041 - CODE formula support
Yegor Kozlov [Sun, 2 Jun 2013 23:32:24 +0000 (23:32 +0000)]
missing tests for Bug 55041 - CODE formula support

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