]> source.dussan.org Git - poi.git/log
poi.git
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

9 years agoRemove unused local variable
Dominik Stadler [Sun, 28 Dec 2014 09:09:11 +0000 (09:09 +0000)]
Remove unused local variable

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

9 years agoEnsure that XSSFWorkbooks contain a BookView, some corrupt ones do not contain this...
Dominik Stadler [Sun, 28 Dec 2014 09:08:58 +0000 (09:08 +0000)]
Ensure that XSSFWorkbooks contain a BookView, some corrupt ones do not contain this, e.g. ones created by movescound.com

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

9 years agoStart adding some coverage of more Scratchpad-classes
Dominik Stadler [Sun, 28 Dec 2014 09:08:22 +0000 (09:08 +0000)]
Start adding some coverage of more Scratchpad-classes

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

9 years agoFix Eclipse warnings, unnecessary casts, use generics, static access...
Dominik Stadler [Sun, 28 Dec 2014 09:06:12 +0000 (09:06 +0000)]
Fix Eclipse warnings, unnecessary casts, use generics, static access...

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

9 years agoExclude javadoc-jars in findbugs run
Dominik Stadler [Sun, 28 Dec 2014 08:59:34 +0000 (08:59 +0000)]
Exclude javadoc-jars in findbugs run

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

9 years agoCharset.forName() for known encodings makes catching UnknownEncodingException obsolete
Andreas Beeker [Sat, 27 Dec 2014 01:33:28 +0000 (01:33 +0000)]
Charset.forName() for known encodings makes catching UnknownEncodingException obsolete
Unify UTF-16LE conversion to StringUtil
BugFix for RecordInputStream.readFully in combination with continuing records
BugFix for integration tests - fix pathname for handler/exclude lookup on windows

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

9 years agoOne more change in file-pattern to actually exclude .svn files
Dominik Stadler [Fri, 26 Dec 2014 07:51:46 +0000 (07:51 +0000)]
One more change in file-pattern to actually exclude .svn files

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

9 years agoExclude .svn sub-dirs as it seems Apache Jenkins still runs with Subversion <=1.6
Dominik Stadler [Fri, 26 Dec 2014 07:04:34 +0000 (07:04 +0000)]
Exclude .svn sub-dirs as it seems Apache Jenkins still runs with Subversion <=1.6

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

9 years agoAdd jars from compile-lib to findbugs target
Dominik Stadler [Fri, 26 Dec 2014 07:04:10 +0000 (07:04 +0000)]
Add jars from compile-lib to findbugs target

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

9 years agoUnified access to escher opt record
Andreas Beeker [Fri, 26 Dec 2014 00:11:23 +0000 (00:11 +0000)]
Unified access to escher opt record

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

9 years agoAdd a test-suite which performs integration/stress tests which load and handle all...
Dominik Stadler [Thu, 25 Dec 2014 09:16:44 +0000 (09:16 +0000)]
Add a test-suite which performs integration/stress tests which load and handle all stored test files in various ways.

It works by using handlers for each type of file which perform various operations on the files, e.g. loading,
iterating content, modify, ... This will trigger changes which break working with the available test-files and
thus provides another layer of regression testing which hopefully prevents some failures from making it into
releases.

It is runnable via a new ant-target 'test-integration' and also added to the jenkins-target.

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

9 years agoFix inconsistent whitespace/indents
Nick Burch [Thu, 25 Dec 2014 09:13:40 +0000 (09:13 +0000)]
Fix inconsistent whitespace/indents

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

9 years agoAdd javadoc to CellRange.getReferenceText()
Dominik Stadler [Thu, 25 Dec 2014 08:59:16 +0000 (08:59 +0000)]
Add javadoc to CellRange.getReferenceText()

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

9 years ago- Support for Office Binary Document RC4 CryptoAPI Encryption for HSLF
Andreas Beeker [Thu, 25 Dec 2014 01:56:29 +0000 (01:56 +0000)]
- Support for Office Binary Document RC4 CryptoAPI Encryption for HSLF
- Support for Office Binary Document RC4 Encryption
- use LittleEndian class in LittleEndianInputStream
- add normalize method for HSLF, to remove edit history, which is also necessary for encryption support
- update PersistDirectoryEntry handling in PersistPtrHolder to recognize groups while serializing
- deprecated PersistPtrHolder.getSlideOffsetDataLocationsLookup() - throws now UnsupportedOperationException,
  as this wasn't used outside the scope of the class and was quite internal logic of PersistPtrHolder

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

9 years agoAdd comment
Dominik Stadler [Tue, 23 Dec 2014 09:26:22 +0000 (09:26 +0000)]
Add comment

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

9 years agoFix testcases which were not executed before, use tempfile, cleanup, ...
Dominik Stadler [Tue, 23 Dec 2014 09:26:14 +0000 (09:26 +0000)]
Fix testcases which were not executed before, use tempfile, cleanup, ...

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

9 years agoFix two Eclipse warnings
Dominik Stadler [Mon, 22 Dec 2014 14:56:47 +0000 (14:56 +0000)]
Fix two Eclipse warnings

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

9 years agoBug 57373: Fix get/setFirstVisibleTab() for XSSFWorkbook
Dominik Stadler [Mon, 22 Dec 2014 14:37:37 +0000 (14:37 +0000)]
Bug 57373: Fix get/setFirstVisibleTab() for XSSFWorkbook

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

9 years agoBug 57362: Properly initialize chart axis when loading a workbook which already conta...
Dominik Stadler [Mon, 22 Dec 2014 14:16:23 +0000 (14:16 +0000)]
Bug 57362: Properly initialize chart axis when loading a workbook which already contains a chart.

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

9 years agoRemove iterating over the number of runs for certain XSSFRichTextString operations...
Dominik Stadler [Mon, 22 Dec 2014 14:09:55 +0000 (14:09 +0000)]
Remove iterating over the number of runs for certain XSSFRichTextString operations. If I didn't overlook something, they can directly access the array element anyway. Seems this was some leftover copy/paste stuff.

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

9 years agoBug 56511: Add missing sample-file
Dominik Stadler [Mon, 22 Dec 2014 13:07:48 +0000 (13:07 +0000)]
Bug 56511: Add missing sample-file

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

9 years agoBug 56511: Add a null-check to ensure that the run actually has a font to not cause...
Dominik Stadler [Mon, 22 Dec 2014 13:06:58 +0000 (13:06 +0000)]
Bug 56511: Add a null-check to ensure that the run actually has a font to not cause a NullPointerException but rather return null as documented

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

9 years agoBug 56550: Defer the initialization of the _classes to when it is actually needed...
Dominik Stadler [Mon, 22 Dec 2014 12:38:44 +0000 (12:38 +0000)]
Bug 56550: Defer the initialization of the _classes to when it is actually needed to allow IBM JDK to at least load the class

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

9 years agoBug 56595: Also switch the cache in DateUtil.isADateFormat() to ThreadLocals to not...
Dominik Stadler [Mon, 22 Dec 2014 12:08:59 +0000 (12:08 +0000)]
Bug 56595: Also switch the cache in DateUtil.isADateFormat() to ThreadLocals to not have another syncpoint here. Again only very little data is kept, so no memory bloat should happen because of this.
Also do more simple checks before actually looking at the cache

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

9 years agoAdd missing license header to newly added file
Dominik Stadler [Mon, 22 Dec 2014 11:49:43 +0000 (11:49 +0000)]
Add missing license header to newly added file

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

9 years agoBug 56644: Fix adding cells if MissingCellPolicy is set to NULL_FOR_BLANK and the...
Dominik Stadler [Mon, 22 Dec 2014 11:11:34 +0000 (11:11 +0000)]
Bug 56644: Fix adding cells if MissingCellPolicy is set to NULL_FOR_BLANK and the last column in a row is empty

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

9 years agoBug 56888: XSSFDataValidation ignores "allow blank" read from sheet, assumes true
Dominik Stadler [Mon, 22 Dec 2014 10:03:32 +0000 (10:03 +0000)]
Bug 56888: XSSFDataValidation ignores "allow blank" read from sheet, assumes true
Add TestSXSSFDataValidation to verify some parts for SXSSF as well

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

9 years agoSome Eclipse warnings
Dominik Stadler [Mon, 22 Dec 2014 09:16:16 +0000 (09:16 +0000)]
Some Eclipse warnings

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

9 years agoAdd reproducer for Bug 57165, no fix yet, though...
Dominik Stadler [Mon, 22 Dec 2014 09:10:01 +0000 (09:10 +0000)]
Add reproducer for Bug 57165, no fix yet, though...

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

9 years agoBug 57171 and 57163: Adjust the active sheet in setSheetOrder() and removeSheet(...
Dominik Stadler [Mon, 22 Dec 2014 09:00:18 +0000 (09:00 +0000)]
Bug 57171 and 57163: Adjust the active sheet in setSheetOrder() and removeSheet() for both HSSF and XSSF

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

9 years agoBug 57231: Add missing ArrayRecord.clone()
Dominik Stadler [Mon, 22 Dec 2014 08:17:56 +0000 (08:17 +0000)]
Bug 57231: Add missing ArrayRecord.clone()

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

9 years agoBug 57236: Add reproducer, although I am not sure if we should and how to fix this...
Dominik Stadler [Mon, 22 Dec 2014 07:57:03 +0000 (07:57 +0000)]
Bug 57236: Add reproducer, although I am not sure if we should and how to fix this...

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

9 years agoExpose the version information from OldExcelExtractor
Nick Burch [Mon, 22 Dec 2014 05:59:51 +0000 (05:59 +0000)]
Expose the version information from OldExcelExtractor

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

9 years agoTypo fix
Nick Burch [Mon, 22 Dec 2014 00:51:21 +0000 (00:51 +0000)]
Typo fix

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

9 years agoEclipse warnings
Dominik Stadler [Sun, 21 Dec 2014 21:07:55 +0000 (21:07 +0000)]
Eclipse warnings

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

9 years agoAdd a test for spreadsheet/49219.xls which previously failed with NullPointerExceptio...
Dominik Stadler [Sun, 21 Dec 2014 21:07:25 +0000 (21:07 +0000)]
Add a test for spreadsheet/49219.xls which previously failed with NullPointerException because we did not handle serializing ExternalNameRecords without actual data

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

9 years agoAdjust typos in Javadoc
Dominik Stadler [Sun, 21 Dec 2014 21:07:06 +0000 (21:07 +0000)]
Adjust typos in Javadoc

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

9 years agoPatch from Kamil Linek from bug #57071 - 3+ XSSF column label names for pivot tables
Nick Burch [Sun, 21 Dec 2014 06:20:06 +0000 (06:20 +0000)]
Patch from  Kamil Linek from bug #57071 - 3+ XSSF column label names for pivot tables

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

9 years agoPatch from Kamil Linek from bug #57063 - XSSF custom column label names for pivot...
Nick Burch [Sun, 21 Dec 2014 06:12:20 +0000 (06:12 +0000)]
Patch from  Kamil Linek from bug #57063 - XSSF custom column label names for pivot tables

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

9 years agoBug 57254: XWPF: Correctly build internal list of styles when styles are added
Dominik Stadler [Fri, 19 Dec 2014 14:42:25 +0000 (14:42 +0000)]
Bug 57254: XWPF: Correctly build internal list of styles when styles are added

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

9 years agoRemove unused members,
Dominik Stadler [Fri, 19 Dec 2014 14:36:41 +0000 (14:36 +0000)]
Remove unused members,
Fix an Eclipse warning

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

9 years agoBug 57312: Add check for null value of underline w:val
Dominik Stadler [Fri, 19 Dec 2014 14:29:50 +0000 (14:29 +0000)]
Bug 57312: Add check for null value of underline w:val

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

9 years agoFix warnings and inconsistent indents
Nick Burch [Wed, 17 Dec 2014 07:01:38 +0000 (07:01 +0000)]
Fix warnings and inconsistent indents

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

9 years agoBug 57355: Fix test-compilation casued by moving the code to the base-test-class
Dominik Stadler [Tue, 16 Dec 2014 11:18:21 +0000 (11:18 +0000)]
Bug 57355: Fix test-compilation casued by moving the code to the base-test-class

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

9 years agoBug 57355: Fix ArrayIndexOutOfBoundsException by removing two unnecessary lines in...
Dominik Stadler [Tue, 16 Dec 2014 10:40:02 +0000 (10:40 +0000)]
Bug 57355: Fix ArrayIndexOutOfBoundsException by removing two unnecessary lines in XSSFSheet.getColumnWidthInPixels()

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

9 years agoPrep for release
Nick Burch [Tue, 16 Dec 2014 01:54:49 +0000 (01:54 +0000)]
Prep for release

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

9 years agoPrep for release
Nick Burch [Tue, 16 Dec 2014 01:52:42 +0000 (01:52 +0000)]
Prep for release

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

9 years agoAdded link to test cases for the workarounds
Andreas Beeker [Sat, 13 Dec 2014 19:00:00 +0000 (19:00 +0000)]
Added link to test cases for the workarounds

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

9 years agoAdded workarounds to tests for JDK 6 LineBreakMeasurer bug and handle it
Andreas Beeker [Fri, 12 Dec 2014 01:43:45 +0000 (01:43 +0000)]
Added workarounds to tests for JDK 6 LineBreakMeasurer bug and handle it

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

9 years agoclose decrypted stream - test for #57296
Andreas Beeker [Fri, 12 Dec 2014 00:06:15 +0000 (00:06 +0000)]
close decrypted stream - test for #57296

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

9 years ago57250 - XMLSlideShow.setSlideOrder() produces corrupted CTSlideIdList
Andreas Beeker [Sun, 7 Dec 2014 15:28:01 +0000 (15:28 +0000)]
57250 - XMLSlideShow.setSlideOrder() produces corrupted CTSlideIdList

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

9 years ago#57272 - deadlock on corrupted PPT file
Andreas Beeker [Sun, 7 Dec 2014 14:34:19 +0000 (14:34 +0000)]
#57272 - deadlock on corrupted PPT file
+ some refactoring in HSLFSlideShow, which will be necessary for cryptoapi support

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

9 years agoXML signatures - ignore line breaks in Office 2007 .rels files
Andreas Beeker [Fri, 5 Dec 2014 20:20:23 +0000 (20:20 +0000)]
XML signatures - ignore line breaks in Office 2007 .rels files

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

9 years agoCorrect older biff detection, and add unit tests for HSSFWorkbook giving helpful...
Nick Burch [Sun, 30 Nov 2014 17:09:03 +0000 (17:09 +0000)]
Correct older biff detection, and add unit tests for HSSFWorkbook giving helpful exceptions on the older formats

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

9 years agoUpdate TODOs for what remains
Nick Burch [Sun, 30 Nov 2014 17:07:45 +0000 (17:07 +0000)]
Update TODOs for what remains

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

9 years agoMore detection for older Excel formats when opening the POIFS Stream, and a more...
Nick Burch [Sun, 30 Nov 2014 16:59:06 +0000 (16:59 +0000)]
More detection for older Excel formats when opening the POIFS Stream, and a more specific exception for non-OLE2 files

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

9 years agoOn Biff5 files, include the sheet name. (Older formats are single sheet)
Nick Burch [Sun, 30 Nov 2014 16:40:53 +0000 (16:40 +0000)]
On Biff5 files, include the sheet name. (Older formats are single sheet)

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

9 years agoTrack the codepage in old excel files, to be able to correctly decode the 8 bit strin...
Nick Burch [Sun, 30 Nov 2014 16:21:39 +0000 (16:21 +0000)]
Track the codepage in old excel files, to be able to correctly decode the 8 bit strings in them

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

9 years agoAdd some formatted numbers to the test biff5 files, and commented out tests using...
Nick Burch [Sun, 30 Nov 2014 16:01:28 +0000 (16:01 +0000)]
Add some formatted numbers to the test biff5 files, and commented out tests using them

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

9 years agoTrack what Biff version we are working on, and use that to work around Biff 2 and...
Nick Burch [Sun, 30 Nov 2014 15:54:34 +0000 (15:54 +0000)]
Track what Biff version we are working on, and use that to work around Biff 2 and 5 having the same formula record sid for different layouts

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

9 years agoSwitch to POITestCase / assertContains
Nick Burch [Sun, 30 Nov 2014 14:36:01 +0000 (14:36 +0000)]
Switch to POITestCase / assertContains

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

9 years agoBegin adding Excel 5 support to OldExcelExtractor for TIKA-1490
Nick Burch [Sun, 30 Nov 2014 14:22:06 +0000 (14:22 +0000)]
Begin adding Excel 5 support to OldExcelExtractor for TIKA-1490

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

9 years agoFormula values for Excel 4 extractor, for TIKA-1490
Nick Burch [Sun, 30 Nov 2014 01:30:43 +0000 (01:30 +0000)]
Formula values for Excel 4 extractor, for TIKA-1490

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

9 years agoLargely there with the Excel 4 extractor, for TIKA-1490
Nick Burch [Sun, 30 Nov 2014 01:20:16 +0000 (01:20 +0000)]
Largely there with the Excel 4 extractor, for TIKA-1490

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

9 years agoFurther Excel 4 text extractor support, for TIKA-1490
Nick Burch [Sun, 30 Nov 2014 01:03:24 +0000 (01:03 +0000)]
Further Excel 4 text extractor support, for TIKA-1490

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

9 years agoFurther Excel 4 text extractor support, for TIKA-1490
Nick Burch [Sun, 30 Nov 2014 00:48:17 +0000 (00:48 +0000)]
Further Excel 4 text extractor support, for TIKA-1490

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

9 years agoStart on a Text Extractor for the pre-OLE2 Excel formats like Excel 4, for TIKA-1490
Nick Burch [Sun, 30 Nov 2014 00:16:23 +0000 (00:16 +0000)]
Start on a Text Extractor for the pre-OLE2 Excel formats like Excel 4, for TIKA-1490

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

9 years agoRemove some Eclipse warnings, remove confusing FunctionID/ID renaming...
Dominik Stadler [Thu, 27 Nov 2014 07:07:29 +0000 (07:07 +0000)]
Remove some Eclipse warnings, remove confusing FunctionID/ID renaming...

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

9 years agoAdd missing license header
Dominik Stadler [Thu, 27 Nov 2014 07:05:18 +0000 (07:05 +0000)]
Add missing license header

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

9 years agoTypo and remove unnecessary casts
Dominik Stadler [Wed, 26 Nov 2014 21:11:18 +0000 (21:11 +0000)]
Typo and remove unnecessary casts

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

9 years agoInclude root-cause exception information when constructing ContentTypeManager fails
Dominik Stadler [Wed, 26 Nov 2014 21:11:02 +0000 (21:11 +0000)]
Include root-cause exception information when constructing ContentTypeManager fails

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

9 years agoAdd more output in case of unknown cipher-ids to aid in debugging bugs like 57195
Dominik Stadler [Wed, 26 Nov 2014 18:39:44 +0000 (18:39 +0000)]
Add more output in case of unknown cipher-ids to aid in debugging bugs like 57195

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