]> source.dussan.org Git - poi.git/log
poi.git
9 years agoStub unit tests for #57699
Nick Burch [Fri, 13 Mar 2015 16:46:15 +0000 (16:46 +0000)]
Stub unit tests for #57699

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

9 years agoBug 56380: Remove limitation of 1024 comments per Workbook
Dominik Stadler [Fri, 13 Mar 2015 16:26:41 +0000 (16:26 +0000)]
Bug 56380: Remove limitation of 1024 comments per Workbook

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

9 years agoExclude the OOXML strict files for now, not yet supported, see bug #57699
Nick Burch [Fri, 13 Mar 2015 13:03:53 +0000 (13:03 +0000)]
Exclude the OOXML strict files for now, not yet supported, see bug #57699

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

9 years agoAdd some sample Strict ooxml files, from Excel 2013
Nick Burch [Fri, 13 Mar 2015 11:42:15 +0000 (11:42 +0000)]
Add some sample Strict ooxml files, from Excel 2013

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

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

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

9 years agoAdd helper test to verify that vsdx cannot even be loaded by POIXMLDocument curently.
Dominik Stadler [Wed, 11 Mar 2015 19:53:26 +0000 (19:53 +0000)]
Add helper test to verify that vsdx cannot even be loaded by POIXMLDocument curently.

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

9 years agoNo support as yet for the OOXML visio files, so have these ignored
Nick Burch [Wed, 11 Mar 2015 19:08:59 +0000 (19:08 +0000)]
No support as yet for the OOXML visio files, so have these ignored

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

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

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

9 years agoBug 56467: Fix cloning of sheets with pictures
Dominik Stadler [Wed, 11 Mar 2015 18:24:49 +0000 (18:24 +0000)]
Bug 56467: Fix cloning of sheets with pictures

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

9 years agoAdd testcase which verifies that bug 56820 was solved by some other fix already
Dominik Stadler [Wed, 11 Mar 2015 18:24:32 +0000 (18:24 +0000)]
Add testcase which verifies that bug 56820 was solved by some other fix already

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

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

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

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

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

9 years agoGive a more helpful exception if a Visio VSDX ooxml file is passed to ExtractorFactory
Nick Burch [Wed, 11 Mar 2015 16:17:41 +0000 (16:17 +0000)]
Give a more helpful exception if a Visio VSDX ooxml file is passed to ExtractorFactory

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

9 years agoPatch from tntim96 from bug #56799 - Include CTTblGrid in the smaller poi-ooxml-schem...
Nick Burch [Thu, 5 Mar 2015 06:31:18 +0000 (06:31 +0000)]
Patch from tntim96 from bug #56799 - Include CTTblGrid in the smaller poi-ooxml-schemas jar

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

9 years agoBug 57165: also verify that createSheet() had the same problem and is also fixed now
Dominik Stadler [Sun, 1 Mar 2015 20:01:43 +0000 (20:01 +0000)]
Bug 57165: also verify that createSheet() had the same problem and is also fixed now

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

9 years agoBug 57165: Avoid PartAlreadyExistsException when removing/cloning sheets
Dominik Stadler [Sun, 1 Mar 2015 19:56:56 +0000 (19:56 +0000)]
Bug 57165: Avoid PartAlreadyExistsException when removing/cloning sheets

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

9 years agoAdd missing close and handle theme-pptx in ExtractorFactory. Add creating slide-bitma...
Dominik Stadler [Sun, 1 Mar 2015 17:50:16 +0000 (17:50 +0000)]
Add missing close and handle theme-pptx in ExtractorFactory. Add creating slide-bitmaps to PPTX integration test.

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

9 years agoLink to the replacement constructions for the deprecated ones, and a few extra bits...
Nick Burch [Sat, 28 Feb 2015 17:49:18 +0000 (17:49 +0000)]
Link to the replacement constructions for the deprecated ones, and a few extra bits of JavaDoc

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

9 years agoMore missing core properties unit tests, covering read-write without checks, and...
Nick Burch [Sat, 28 Feb 2015 17:37:11 +0000 (17:37 +0000)]
More missing core properties unit tests, covering read-write without checks, and encryption

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

9 years agoEnsure that the core properties are there before saving them, in case they have not...
Nick Burch [Sat, 28 Feb 2015 17:36:19 +0000 (17:36 +0000)]
Ensure that the core properties are there before saving them, in case they have not yet been lazy-created

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

9 years agoMove test-case to location where the scratchpad-classes are available
Dominik Stadler [Fri, 27 Feb 2015 15:01:46 +0000 (15:01 +0000)]
Move test-case to location where the scratchpad-classes are available

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

9 years ago* Verify some more Text-Extraction features as part of integration tests, fix some...
Dominik Stadler [Fri, 27 Feb 2015 14:58:41 +0000 (14:58 +0000)]
* Verify some more Text-Extraction features as part of integration tests, fix some NullPointerExceptions that showed up now because the event-based extraction does not have a Document available
* Also handle a XLSX which does not have row-numbers in the sheet-xml. Excel can read it so it makes sense to also allow to read it in the XSSFSheetXMLHandler
* Remove some Eclipse warnings in test-code

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

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

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

9 years ago* Add text-extraction verification to integration-tests via a new abstract base FileH...
Dominik Stadler [Fri, 27 Feb 2015 09:59:14 +0000 (09:59 +0000)]
* Add text-extraction verification to integration-tests via a new abstract base FileHandler
* Fix NullPointerException found in some documents when running against the test-data
* Add support for extracting text from Dir-Entries WORKBOOK and BOOK to support some old/strangely formatted XLS files.

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

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

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

9 years agoAdjust to provide full exception information for cases where we catch unexpected...
Dominik Stadler [Thu, 26 Feb 2015 13:43:10 +0000 (13:43 +0000)]
Adjust to provide full exception information for cases where we catch unexpected exceptions

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

9 years agoUpdate Javadocs to refer to the fact that WorkbookFactory.create will throw a Encrypt...
Nick Burch [Tue, 24 Feb 2015 18:20:02 +0000 (18:20 +0000)]
Update Javadocs to refer to the fact that WorkbookFactory.create will throw a EncryptedDocumentException if the file is password protected

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

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

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

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

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

9 years agoChange from XMLEventFactory.newFactory to XMLEventFactory.newInstance, for IBM JDK...
Nick Burch [Tue, 24 Feb 2015 12:03:53 +0000 (12:03 +0000)]
Change from XMLEventFactory.newFactory to XMLEventFactory.newInstance, for IBM JDK Compatibility, fixes #57622

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

9 years agoBug 57612: Fix checking for proxy/accessible website in TestSignatureInfo
Dominik Stadler [Mon, 23 Feb 2015 20:45:21 +0000 (20:45 +0000)]
Bug 57612: Fix checking for proxy/accessible website in TestSignatureInfo

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

9 years agoUnit tests for OPC handling of files without a Core Properties part
Nick Burch [Mon, 23 Feb 2015 13:21:23 +0000 (13:21 +0000)]
Unit tests for OPC handling of files without a Core Properties part

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

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

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

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

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

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

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

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

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

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

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

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

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

9 years agoUse assertArrayEquals() to try to better show why this test fails in some rare cases...
Dominik Stadler [Wed, 18 Feb 2015 18:47:22 +0000 (18:47 +0000)]
Use assertArrayEquals() to try to better show why this test fails in some rare cases currently

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

9 years agoBug 57459: Add method in SXSSFSheet to directly set row OutLineLevel
Dominik Stadler [Sat, 14 Feb 2015 12:46:16 +0000 (12:46 +0000)]
Bug 57459: Add method in SXSSFSheet to directly set row OutLineLevel

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

9 years agoAdjust TestSignatureInfo so junit provides more information if an unexpected exceptio...
Dominik Stadler [Sat, 14 Feb 2015 12:46:04 +0000 (12:46 +0000)]
Adjust TestSignatureInfo so junit provides more information if an unexpected exception happens

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

9 years agoBug 57456: Fix reading XLS with empty SSTRecord where Excel puts some random number...
Dominik Stadler [Fri, 13 Feb 2015 19:14:14 +0000 (19:14 +0000)]
Bug 57456: Fix reading XLS with empty SSTRecord where Excel puts some random number in unique-strings-count-field

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

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

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

9 years agoBug 57480: Fix some unnecessary casts, generics, Eclipse warnings, ...
Dominik Stadler [Mon, 9 Feb 2015 22:33:24 +0000 (22:33 +0000)]
Bug 57480: Fix some unnecessary casts, generics, Eclipse warnings, ...

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

9 years agoAdd ooxml-sources-jar files to up-to-date check to still recompile if only they are...
Dominik Stadler [Mon, 9 Feb 2015 22:32:43 +0000 (22:32 +0000)]
Add ooxml-sources-jar files to up-to-date check to still recompile if only they are missing

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

9 years agoFinish converting ErrorEval to only use the FormulaError constants, and then finish...
Nick Burch [Sun, 8 Feb 2015 15:37:14 +0000 (15:37 +0000)]
Finish converting ErrorEval to only use the FormulaError constants, and then finish unit test for 57535

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

9 years agoPrepare FormulaError for both long and short codes
Nick Burch [Sun, 8 Feb 2015 15:22:01 +0000 (15:22 +0000)]
Prepare FormulaError for both long and short codes

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

9 years agoAdd a unit test (disabled) for bug #57535 - "Unknown error type: -60" fetching formul...
Nick Burch [Sun, 8 Feb 2015 15:17:47 +0000 (15:17 +0000)]
Add a unit test (disabled) for bug #57535 - "Unknown error type: -60" fetching formula error value

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

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

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

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

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

9 years agoStub a common WP paragraph class, needs uncommenting as XWPF implements/emulates
Nick Burch [Thu, 5 Feb 2015 23:20:43 +0000 (23:20 +0000)]
Stub a common WP paragraph class, needs uncommenting as XWPF implements/emulates

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

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

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

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

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

9 years agoXWPF double strikethrough, and start on a common interface for HWPF and XWPF characte...
Nick Burch [Thu, 5 Feb 2015 17:00:08 +0000 (17:00 +0000)]
XWPF double strikethrough, and start on a common interface for HWPF and XWPF character runs

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

9 years agoThe default for standard encryption cipher algorithm was wrongly set to rc4
Andreas Beeker [Mon, 26 Jan 2015 00:02:20 +0000 (00:02 +0000)]
The default for standard encryption cipher algorithm was wrongly set to rc4

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

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

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

9 years agoUnit test from Isao Kadowaki from bug #57482
Nick Burch [Thu, 22 Jan 2015 11:45:40 +0000 (11:45 +0000)]
Unit test from Isao Kadowaki from bug #57482

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

9 years agoAdd a developer-tool to pretty-print the XMLs in an OOXML file. This makes it easier...
Dominik Stadler [Thu, 22 Jan 2015 07:24:01 +0000 (07:24 +0000)]
Add a developer-tool to pretty-print the XMLs in an OOXML file. This makes it easier to compare OOXML files produced by different applications with differeing XML formatting.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

9 years agoAdd reproducer for bug 56655
Dominik Stadler [Wed, 7 Jan 2015 14:34:13 +0000 (14:34 +0000)]
Add reproducer for bug 56655

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

9 years agoAdd reproducer for bug 57074
Dominik Stadler [Wed, 7 Jan 2015 14:13:34 +0000 (14:13 +0000)]
Add reproducer for bug 57074

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

9 years agoAdd reproducing testcase for Bug 57294
Dominik Stadler [Mon, 5 Jan 2015 14:39:51 +0000 (14:39 +0000)]
Add reproducing testcase for Bug 57294

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

9 years agoMove some tests to the base test class where applicapple
Dominik Stadler [Mon, 5 Jan 2015 14:03:37 +0000 (14:03 +0000)]
Move some tests to the base test class where applicapple
Introduce class BaseTestXCell to collect tests for XSSFCell and SXSSFCell that do not work for HSSFCell

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

9 years agoUpdate disabled test for bug 54071 to show the root-cause better
Dominik Stadler [Mon, 5 Jan 2015 13:48:41 +0000 (13:48 +0000)]
Update disabled test for bug 54071 to show the root-cause better

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

9 years agoUpdate tests for ExcelAntWorkbookUtil, remove some unnecessary null-checks that can...
Dominik Stadler [Sun, 4 Jan 2015 10:23:45 +0000 (10:23 +0000)]
Update tests for ExcelAntWorkbookUtil, remove some unnecessary null-checks that can never happen, fix setting failed state on error in evaluation

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

9 years agoRemove unnecessary casts
Dominik Stadler [Sun, 4 Jan 2015 10:23:24 +0000 (10:23 +0000)]
Remove unnecessary casts

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

9 years agoAdd unit tests for XSSFTextRun and TextPainter, slightly more tests for XSSFSheet...
Dominik Stadler [Sun, 4 Jan 2015 10:23:01 +0000 (10:23 +0000)]
Add unit tests for XSSFTextRun and TextPainter, slightly more tests for XSSFSheet and enhance unit tests for XWPFParagraph and ExcelAntTest

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

9 years agoImprove information in exceptions thrown by XSSFRichTextString and improve unit tests
Dominik Stadler [Sat, 3 Jan 2015 19:30:56 +0000 (19:30 +0000)]
Improve information in exceptions thrown by XSSFRichTextString and improve unit tests

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

9 years agoFix copy/paste errors in XSSFSimpleShape, allow unset of insets multiple times and...
Dominik Stadler [Sat, 3 Jan 2015 19:30:36 +0000 (19:30 +0000)]
Fix copy/paste errors in XSSFSimpleShape, allow unset of insets multiple times and add unit tests

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

9 years agoFix copy/paste error in XSSFTextParagraph and add unit tests
Dominik Stadler [Sat, 3 Jan 2015 19:29:51 +0000 (19:29 +0000)]
Fix copy/paste error in XSSFTextParagraph and add unit tests

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

9 years agoAdjust .classpath sources and add missing dependencies to run ooxml-lite tests standalone
Dominik Stadler [Sat, 3 Jan 2015 09:35:34 +0000 (09:35 +0000)]
Adjust .classpath sources and add missing dependencies to run ooxml-lite tests standalone

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

9 years agoUpdate to junit-4.12, the jar file is downloaded, so not required on classpath anymor...
Dominik Stadler [Sat, 3 Jan 2015 09:35:21 +0000 (09:35 +0000)]
Update to junit-4.12, the jar file is downloaded, so not required on classpath anymore. Also adjust version in pom.xml for Sonar.

Conflicts:
.classpath

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

9 years agoUpdate to latest JaCoCo 0.7.2 and adjust coverage report to exclude third-party code...
Dominik Stadler [Sat, 3 Jan 2015 09:34:25 +0000 (09:34 +0000)]
Update to latest JaCoCo 0.7.2 and adjust coverage report to exclude third-party code that is not relevant for coverage measurement

Conflicts:
build.xml

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

9 years agoBug 53453: Apply patch to add methods to set margins in sections of HWPF documents
Dominik Stadler [Sat, 3 Jan 2015 09:34:07 +0000 (09:34 +0000)]
Bug 53453: Apply patch to add methods to set margins in sections of HWPF documents

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

9 years agoTest and fix for bug #46441
Andreas Beeker [Fri, 2 Jan 2015 22:57:05 +0000 (22:57 +0000)]
Test and fix for bug #46441
Use generics on Shape.getEscherChild() and SimpleShape.getClientDataRecord() to minimize casting
Unify access to Shape.getEscherOptRecord()

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

9 years agoAdd missing license header
Dominik Stadler [Fri, 2 Jan 2015 22:49:37 +0000 (22:49 +0000)]
Add missing license header

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

9 years agoAdd verifying test-case for bug 52420
Dominik Stadler [Fri, 2 Jan 2015 22:38:52 +0000 (22:38 +0000)]
Add verifying test-case for bug 52420

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

9 years agoInclude seen invalid index in thrown Exception
Dominik Stadler [Fri, 2 Jan 2015 21:07:25 +0000 (21:07 +0000)]
Include seen invalid index in thrown Exception

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

9 years agoExtract ROOT_DIR into constant, ignore .csv files
Dominik Stadler [Fri, 2 Jan 2015 21:07:14 +0000 (21:07 +0000)]
Extract ROOT_DIR into constant, ignore .csv files

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

9 years agoFix some Eclipse warnings
Dominik Stadler [Fri, 2 Jan 2015 21:06:51 +0000 (21:06 +0000)]
Fix some Eclipse warnings

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

9 years agoBug 46898: Convert unit tests for circular references to also run for XSSF
Dominik Stadler [Fri, 2 Jan 2015 21:04:50 +0000 (21:04 +0000)]
Bug 46898: Convert unit tests for circular references to also run for XSSF

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

9 years agoBug 46192: Add methods to query outline level for HSSF and XSSF
Dominik Stadler [Fri, 2 Jan 2015 20:03:28 +0000 (20:03 +0000)]
Bug 46192: Add methods to query outline level for HSSF and XSSF

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

9 years agoBug 56240 - Handle PP97_DUALSTORAGE streams
Andreas Beeker [Tue, 30 Dec 2014 02:20:57 +0000 (02:20 +0000)]
Bug 56240 - Handle PP97_DUALSTORAGE streams

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

9 years agoBug 47261 - SlideShow.removeSlide makes PPT corrupted
Andreas Beeker [Tue, 30 Dec 2014 01:05:41 +0000 (01:05 +0000)]
Bug 47261 - SlideShow.removeSlide makes PPT corrupted

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

9 years agoBug 49541 - Mapping of symbol characters to unicode equivalent
Andreas Beeker [Mon, 29 Dec 2014 19:43:35 +0000 (19:43 +0000)]
Bug 49541 - Mapping of symbol characters to unicode equivalent

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

9 years agoBug 54541 - Add support for cropped images in Slide.draw()
Andreas Beeker [Mon, 29 Dec 2014 13:35:57 +0000 (13:35 +0000)]
Bug 54541 - Add support for cropped images in Slide.draw()

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

9 years agoAdd missing license header for new file
Dominik Stadler [Sun, 28 Dec 2014 21:25:42 +0000 (21:25 +0000)]
Add missing license header for new file

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

9 years agoBug 57007: Add initial implementations of DMIN and DGET functions
Dominik Stadler [Sun, 28 Dec 2014 10:47:41 +0000 (10:47 +0000)]
Bug 57007: Add initial implementations of DMIN and DGET functions

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

9 years agoAdd missing close() of resources in both production code and tests
Dominik Stadler [Sun, 28 Dec 2014 09:16:57 +0000 (09:16 +0000)]
Add missing close() of resources in both production code and tests
Use revert() instead of close() on OCPPackage in some places to not re-write the file unnecessarily.
This should now run tests without leftover file handles when checked with file leak detector and
allows to find newly introduced cases more easily.

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