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