]> source.dussan.org Git - poi.git/log
poi.git
10 years agoPrint out which actual value was out of range
Dominik Stadler [Tue, 31 Dec 2013 15:11:44 +0000 (15:11 +0000)]
Print out which actual value was out of range

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

10 years agoobsoleted by TestEscherBlipRecord and EscherMetafileBlip
Andreas Beeker [Mon, 30 Dec 2013 00:00:54 +0000 (00:00 +0000)]
obsoleted by TestEscherBlipRecord and EscherMetafileBlip

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

10 years agoBug 45776 - Fix corrupt file problem using TextRun.setText
Andreas Beeker [Sun, 29 Dec 2013 22:14:05 +0000 (22:14 +0000)]
Bug 45776 - Fix corrupt file problem using TextRun.setText

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

10 years agoBug 41246 - AIOOBE with missing notes entries
Andreas Beeker [Fri, 27 Dec 2013 23:42:34 +0000 (23:42 +0000)]
Bug 41246 - AIOOBE with missing notes entries

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

10 years agoFix whitespace - reformat to consistent spaces, instead of a mix of tabs and spaces
Nick Burch [Fri, 27 Dec 2013 04:26:18 +0000 (04:26 +0000)]
Fix whitespace - reformat to consistent spaces, instead of a mix of tabs and spaces

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

10 years agoBug 48593 - [PATCH] Multiple Saves Causes Slide Corruption
Andreas Beeker [Fri, 27 Dec 2013 00:22:19 +0000 (00:22 +0000)]
Bug 48593 - [PATCH] Multiple Saves Causes Slide Corruption

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

10 years agoBug 51158: clear out Memory-based part before writing to it,
Dominik Stadler [Thu, 26 Dec 2013 17:55:36 +0000 (17:55 +0000)]
Bug 51158: clear out Memory-based part before writing to it,
except for PictureData items, which keep the original image
data in the Part-object directly.
Add reproducer-unit tests and enhance some related unit tests

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

10 years agoRemove unnecessary separate length, an array already has one
Dominik Stadler [Thu, 26 Dec 2013 17:54:49 +0000 (17:54 +0000)]
Remove unnecessary separate length, an array already has one

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

10 years agoUpdate to latest JaCoCo 0.6.4
Dominik Stadler [Thu, 26 Dec 2013 17:54:27 +0000 (17:54 +0000)]
Update to latest JaCoCo 0.6.4

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

10 years agoAdd some @Overrides suggested by Eclipse, generics and some warnings,
Dominik Stadler [Thu, 26 Dec 2013 09:38:48 +0000 (09:38 +0000)]
Add some @Overrides suggested by Eclipse, generics and some warnings,
convert some tabs to spaces.

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

10 years agoFix some Eclipse warnings in ReaderWriter
Dominik Stadler [Thu, 26 Dec 2013 09:32:08 +0000 (09:32 +0000)]
Fix some Eclipse warnings in ReaderWriter

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

10 years agoRemove unused members and make others private
Dominik Stadler [Thu, 26 Dec 2013 09:31:25 +0000 (09:31 +0000)]
Remove unused members and make others private

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

10 years agoBug 55579 - [PATCH] Patch for add/embed OLE objects into HSLF
Andreas Beeker [Thu, 26 Dec 2013 00:46:16 +0000 (00:46 +0000)]
Bug 55579 - [PATCH] Patch for add/embed OLE objects into HSLF

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

10 years agojavadoc and compiler warning house-keeping
Andreas Beeker [Wed, 25 Dec 2013 23:24:04 +0000 (23:24 +0000)]
javadoc and compiler warning house-keeping

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

10 years agojavadoc house-keeping
Andreas Beeker [Wed, 25 Dec 2013 22:18:53 +0000 (22:18 +0000)]
javadoc house-keeping

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

10 years agoFix some JavaDoc items that are reported in the build-output
Dominik Stadler [Wed, 25 Dec 2013 18:05:41 +0000 (18:05 +0000)]
Fix some JavaDoc items that are reported in the build-output

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

10 years agoJCE policy fix
Andreas Beeker [Wed, 25 Dec 2013 01:04:29 +0000 (01:04 +0000)]
JCE policy fix

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

10 years agoFix jdk-differences for encryption patch
Andreas Beeker [Tue, 24 Dec 2013 23:55:17 +0000 (23:55 +0000)]
Fix jdk-differences for encryption patch

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

10 years agoFix jdk-differences for encryption patch
Andreas Beeker [Tue, 24 Dec 2013 23:49:10 +0000 (23:49 +0000)]
Fix jdk-differences for encryption patch

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

10 years agoFix jdk-differences for encryption patch
Andreas Beeker [Tue, 24 Dec 2013 23:39:09 +0000 (23:39 +0000)]
Fix jdk-differences for encryption patch

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

10 years agoPatch for Bug/Enhancement 55818 - add encryption support
Andreas Beeker [Tue, 24 Dec 2013 23:13:21 +0000 (23:13 +0000)]
Patch for Bug/Enhancement 55818 - add encryption support

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

10 years agopatch 55731: StringBuilder logic in DataFormatter.cleanFormatForNumber
Yegor Kozlov [Tue, 24 Dec 2013 06:02:27 +0000 (06:02 +0000)]
patch 55731:  StringBuilder logic in DataFormatter.cleanFormatForNumber

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

10 years agopatch 55730: Fix org.apache.poi.ss.usermodel.BuiltinFormats.java for 0x29-0x2c
Yegor Kozlov [Tue, 24 Dec 2013 05:58:23 +0000 (05:58 +0000)]
patch 55730:  Fix org.apache.poi.ss.usermodel.BuiltinFormats.java for 0x29-0x2c

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

10 years agoremoved pictureFileZero.ppt from svn as requested by the owner, see discussion on...
Yegor Kozlov [Wed, 18 Dec 2013 05:26:49 +0000 (05:26 +0000)]
removed pictureFileZero.ppt from svn as requested by the owner, see discussion on @poi-dev from Dec 12, 2013

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

10 years agoFix bug #55901 - Avoid using RMI based
Nick Burch [Wed, 18 Dec 2013 04:08:03 +0000 (04:08 +0000)]
Fix bug #55901 - Avoid using RMI based
exception from PropertySetFactory, as it's not needed nor helpful

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

10 years agoDon't use the degree symbol in comments, as it upsets the compiler, and causes the...
Nick Burch [Thu, 12 Dec 2013 05:29:11 +0000 (05:29 +0000)]
Don't use the degree symbol in comments, as it upsets the compiler, and causes the javadoc tool to error. Use the word degrees instead, much safer

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

10 years agoMore javadocs for Cell.setCellType
Nick Burch [Thu, 12 Dec 2013 05:22:26 +0000 (05:22 +0000)]
More javadocs for Cell.setCellType

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

10 years agoAdd moreunit-settings
Dominik Stadler [Sun, 8 Dec 2013 08:39:31 +0000 (08:39 +0000)]
Add moreunit-settings

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

10 years agoRefactor XSSFExportToXml a bit, split code into more methods
Dominik Stadler [Sun, 8 Dec 2013 08:39:10 +0000 (08:39 +0000)]
Refactor XSSFExportToXml a bit, split code into more methods

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

10 years agoBug 55850: fix NullPointerException during extraction from XSSF
Dominik Stadler [Sun, 8 Dec 2013 08:35:20 +0000 (08:35 +0000)]
Bug 55850: fix NullPointerException during extraction from XSSF

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

10 years agoBug 55640, added reproducer, a fix for the Exception cases and some verify-tests...
Dominik Stadler [Mon, 2 Dec 2013 19:14:03 +0000 (19:14 +0000)]
Bug 55640, added reproducer, a fix for the Exception cases and some verify-tests to ensure future
changes are checked via unit tests. There might be more work pending to
make grouping fully work the same way as Excel does.

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

10 years agoBug 55745: fix handling of tables in XSSF if there are comments as well, add testcase...
Dominik Stadler [Thu, 28 Nov 2013 21:19:34 +0000 (21:19 +0000)]
Bug 55745: fix handling of tables in XSSF if there are comments as well, add testcase which was committed to the wrong tag

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

10 years agoBug 55745: fix handling of tables in XSSF if there are comments as well, there is...
Dominik Stadler [Thu, 28 Nov 2013 15:15:59 +0000 (15:15 +0000)]
Bug 55745: fix handling of tables in XSSF if there are comments as well, there is not much sense in leaving the loop on the first instance of comment table and skipping all the other tables.

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

11 years agoSet source of generated ooxml classes
Dominik Stadler [Fri, 22 Nov 2013 22:00:12 +0000 (22:00 +0000)]
Set source of generated ooxml classes

Conflicts:

.classpath

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

11 years agoBug 55768: added Line charts support and setting axis tick marks, title
Cédric Walter [Fri, 22 Nov 2013 18:26:11 +0000 (18:26 +0000)]
Bug 55768: added Line charts support and setting axis tick marks, title

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

11 years agoBug 54676: added new chart axis type: Category axis
Cédric Walter [Fri, 22 Nov 2013 17:45:00 +0000 (17:45 +0000)]
Bug 54676: added new chart axis type: Category axis

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

11 years agoPatch from Andreas Beeker from bug #53475 - Switch XWPF test to JUnit 4, so that...
Nick Burch [Thu, 21 Nov 2013 11:18:23 +0000 (11:18 +0000)]
Patch from Andreas Beeker from bug #53475 - Switch XWPF test to JUnit 4, so that we can skip one part of the tests if the JVM doesn't support larger keys

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

11 years agoPatch from Andreas Beeker from bug #53475 - further OOXML Encryption support, coverin...
Nick Burch [Tue, 12 Nov 2013 11:37:45 +0000 (11:37 +0000)]
Patch from Andreas Beeker from bug #53475 - further OOXML Encryption support, covering more ciphers

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

11 years agoFormatting standards are all spaces, not mixed tabs, so fix the Eclipse preferences
Nick Burch [Tue, 12 Nov 2013 11:35:40 +0000 (11:35 +0000)]
Formatting standards are all spaces, not mixed tabs, so fix the Eclipse preferences

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

11 years agoFix whitespace
Nick Burch [Tue, 12 Nov 2013 11:32:10 +0000 (11:32 +0000)]
Fix whitespace

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

11 years agoAnother test file from Andreas Beekerndreas Beeker from bug #53475
Nick Burch [Tue, 12 Nov 2013 11:18:59 +0000 (11:18 +0000)]
Another test file from Andreas Beekerndreas Beeker from bug #53475

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

11 years agoMore JavaDoc tweaks, and suppress deprecated warnings where these are expected
Nick Burch [Tue, 12 Nov 2013 09:55:46 +0000 (09:55 +0000)]
More JavaDoc tweaks, and suppress deprecated warnings where these are expected

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

11 years agoConsistent indenting, based on current POI style guide
Nick Burch [Tue, 12 Nov 2013 09:53:57 +0000 (09:53 +0000)]
Consistent indenting, based on current POI style guide

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

11 years agoFix some JavaDocs, and add a generic constructor based on ZipEntrySource
Nick Burch [Tue, 12 Nov 2013 09:51:13 +0000 (09:51 +0000)]
Fix some JavaDocs, and add a generic constructor based on ZipEntrySource

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

11 years agoReduce duplication by replacing lots of deprecated methods with calls to their replac...
Nick Burch [Mon, 11 Nov 2013 23:08:36 +0000 (23:08 +0000)]
Reduce duplication by replacing lots of deprecated methods with calls to their replacement (which is basically the same code anyway)

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

11 years agoTry to make a few OPCPackage error messages more helpful, and slightly reform the...
Nick Burch [Mon, 11 Nov 2013 23:03:00 +0000 (23:03 +0000)]
Try to make a few OPCPackage error messages more helpful, and slightly reform the configure code block to make it hopefully easier to read

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

11 years agoBugzilla 55560 : Patch for hiding slides in HSLF
Yegor Kozlov [Sat, 9 Nov 2013 11:57:21 +0000 (11:57 +0000)]
Bugzilla 55560 : Patch for hiding slides in HSLF

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

11 years agoPatch 53176 - Fixed auto shapes render problem in pptx files
Yegor Kozlov [Sat, 9 Nov 2013 11:32:55 +0000 (11:32 +0000)]
Patch 53176 - Fixed auto shapes render problem in pptx files

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

11 years agoUnit tests for Shrink To Fit cell style support (#55661)
Nick Burch [Thu, 7 Nov 2013 22:39:11 +0000 (22:39 +0000)]
Unit tests for Shrink To Fit cell style support (#55661)

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

11 years agoStart on HSSF/XSSF Shrink To Fit support, see bug #55661
Nick Burch [Thu, 7 Nov 2013 22:28:06 +0000 (22:28 +0000)]
Start on HSSF/XSSF Shrink To Fit support, see bug #55661

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

11 years agoPatch from Andreas Beeker from bug #49237 - HSSF Row Style XfIndex is 12 not 16 bits...
Nick Burch [Thu, 7 Nov 2013 21:56:49 +0000 (21:56 +0000)]
Patch from Andreas Beeker from bug #49237 - HSSF Row Style XfIndex is 12 not 16 bits of data

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

11 years agoPatch from Andreas Beeker from bug #53475 - CSPName may not always be present on...
Nick Burch [Thu, 7 Nov 2013 21:29:14 +0000 (21:29 +0000)]
Patch from  Andreas Beeker from bug #53475 - CSPName may not always be present on OOXML encrypted documents, plus test

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

11 years agoBug 55742: fixed mirr FormulaEvalTestData.xls tests
Cédric Walter [Wed, 6 Nov 2013 20:09:43 +0000 (20:09 +0000)]
Bug 55742: fixed mirr FormulaEvalTestData.xls tests

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

11 years agoBug 55742: fixed hex2dec tests
Cédric Walter [Wed, 6 Nov 2013 20:04:22 +0000 (20:04 +0000)]
Bug 55742: fixed hex2dec tests

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

11 years agoBug 55724: implementation of excel percentile function, added unit test
Cédric Walter [Wed, 6 Nov 2013 17:12:13 +0000 (17:12 +0000)]
Bug 55724: implementation of excel percentile function, added unit test

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

11 years agoBug 54696: Add overlay setting to ChartLegend
Cédric Walter [Tue, 5 Nov 2013 22:35:54 +0000 (22:35 +0000)]
Bug 54696: Add overlay setting to ChartLegend

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

11 years agoBug 55724: implementation of Excel PERCENTILE function
Cédric Walter [Tue, 5 Nov 2013 22:11:18 +0000 (22:11 +0000)]
Bug 55724: implementation of Excel PERCENTILE function

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

11 years agofixed red build, cause by invalid java 5 method isEmpty and unmappable character...
Cédric Walter [Tue, 5 Nov 2013 20:46:20 +0000 (20:46 +0000)]
fixed red build, cause by invalid java 5 method isEmpty and unmappable character for encoding ASCII

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

11 years agoBug 55024: MIRR Formula implementation review, added error handling and FormulaEvalTe...
Cédric Walter [Mon, 4 Nov 2013 22:52:06 +0000 (22:52 +0000)]
Bug 55024: MIRR Formula implementation review, added error handling and FormulaEvalTest.xls

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

11 years agoBug 54535: Bug in INTERCEPT and SLOPE, review and integration test added to FormulaEv...
Cédric Walter [Mon, 4 Nov 2013 21:27:12 +0000 (21:27 +0000)]
Bug 54535: Bug in INTERCEPT and SLOPE, review and integration test added to FormulaEvalTestData.xls

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

11 years agoBug 55742: Apply patch for Oct2Dec and refactor Hex2Dec to also use BaseNumberUtils...
Cédric Walter [Mon, 4 Nov 2013 21:09:40 +0000 (21:09 +0000)]
Bug 55742: Apply patch for Oct2Dec and refactor Hex2Dec to also use BaseNumberUtils.convertToDecimal

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

11 years agoBug 52400: fix handling some types of TNEF files, make HMEFMessage.HEADER_SIGNATURE...
Dominik Stadler [Sun, 3 Nov 2013 12:43:42 +0000 (12:43 +0000)]
Bug 52400: fix handling some types of TNEF files, make HMEFMessage.HEADER_SIGNATURE int as it is handled as int everywhere, move .dat files to HMEF sample dir, cover some border cases in HMEFMessage, add another .dat sample file

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

11 years agoAdd more output to assertion in test-case that is sometimes failing, see e.g. Jenkins...
Dominik Stadler [Sun, 3 Nov 2013 10:11:09 +0000 (10:11 +0000)]
Add more output to assertion in test-case that is sometimes failing, see e.g. Jenkins build #170...

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

11 years agoAdd slightly more coverage for ExcelAntWorkbookUtil
Dominik Stadler [Sat, 2 Nov 2013 20:58:22 +0000 (20:58 +0000)]
Add slightly more coverage for ExcelAntWorkbookUtil

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

11 years agoFix Bug 54400 by updating the index in the LinkTable whenever sheets are
Dominik Stadler [Sat, 2 Nov 2013 10:01:01 +0000 (10:01 +0000)]
Fix Bug 54400 by updating the index in the LinkTable whenever sheets are
removed.

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

11 years agoFix bug #55733 - XWPFWordExtractor need
Nick Burch [Fri, 1 Nov 2013 19:43:46 +0000 (19:43 +0000)]
Fix bug #55733 - XWPFWordExtractor need
s to handle .docx files with neither headers nor footers

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

11 years agoAllow formatting of formula error cells, giving back the error string that Excel...
Nick Burch [Thu, 31 Oct 2013 16:53:03 +0000 (16:53 +0000)]
Allow formatting of formula error cells, giving back the error string that Excel shows #55729

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

11 years agoSlightly more test-coverage in HSSFSheet/XSSFSheet/SXSSFSheet and fix some Eclipse...
Dominik Stadler [Wed, 30 Oct 2013 22:26:13 +0000 (22:26 +0000)]
Slightly more test-coverage in HSSFSheet/XSSFSheet/SXSSFSheet and fix some Eclipse warnings

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

11 years agoAdd scratchpad-resources to .classpath make TestExtractorFactory run in Eclipse
Dominik Stadler [Sun, 27 Oct 2013 08:33:59 +0000 (08:33 +0000)]
Add scratchpad-resources to .classpath make TestExtractorFactory run in Eclipse

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

11 years agoRe-use functionality from HSSFWorkbook in dev-tools to find the
Dominik Stadler [Sun, 27 Oct 2013 08:16:29 +0000 (08:16 +0000)]
Re-use functionality from HSSFWorkbook in dev-tools to find the
dir-entry-name to make special names like WORKBOOK or BOOK work, handle
a special case in ExternalNameRecord when the flag states that there is
data, but no data remains in the stream, slightly improve error-output
in DirectoryNode, adjust all dev-tools-tests to not report stack-traces
any more for expected failures and try with HSSFWorkbook to decide if it
is an expected failure or now.

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

11 years agoAdd reproducer tests for Bug 53515, disabled as we do not fix any of the
Dominik Stadler [Sat, 26 Oct 2013 10:05:24 +0000 (10:05 +0000)]
Add reproducer tests for Bug 53515, disabled as we do not fix any of the
reported issues. Also fix some Ecliipse warnings.

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

11 years agoBug 49940: Apply patch to avoid XmlValueDisconnectedException when
Dominik Stadler [Sat, 26 Oct 2013 07:31:47 +0000 (07:31 +0000)]
Bug 49940: Apply patch to avoid XmlValueDisconnectedException when
saving a file twice and enable reproducing unit test

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

11 years agoAdd a number of tests for the dev-tools. The tests iterate over all .xls
Dominik Stadler [Fri, 25 Oct 2013 21:57:48 +0000 (21:57 +0000)]
Add a number of tests for the dev-tools. The tests iterate over all .xls
files that are found under test-data, any newly added file or
code-change which breaks one of the dev-tools will cause the tests to
fail in the future. Known broken files can be excluded.

Also fixes two points where some files could cause BiffViewer to fail.

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

11 years agoPatch 55612 - Performance improvement in HSSFCellStyle.getDataFormatString()
Yegor Kozlov [Fri, 25 Oct 2013 18:41:24 +0000 (18:41 +0000)]
Patch 55612 - Performance improvement in  HSSFCellStyle.getDataFormatString()

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

11 years agoFix some Eclipse warnings, remove trailing whitespaces
Dominik Stadler [Thu, 24 Oct 2013 19:58:19 +0000 (19:58 +0000)]
Fix some Eclipse warnings, remove trailing whitespaces

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

11 years agoHave HSSFWorkbook check for an encrypted .xlsx file when opening, and give a helpful...
Nick Burch [Wed, 23 Oct 2013 09:43:28 +0000 (09:43 +0000)]
Have HSSFWorkbook check for an encrypted .xlsx file when opening, and give a helpful error if found, plus tests. Fixes #55692

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

11 years agoPatch from bug #55650 from Andrej - Avoid AIOOBE if a non-existant Xfs is requested...
Nick Burch [Tue, 22 Oct 2013 22:04:16 +0000 (22:04 +0000)]
Patch from bug #55650 from Andrej - Avoid AIOOBE if a non-existant Xfs is requested for a styleAvoid AIOOBE if a non-existant Xfs is requested for a style

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

11 years agoTry to make the eclipse classpath more general - place the output under /build/,...
Nick Burch [Tue, 22 Oct 2013 19:35:41 +0000 (19:35 +0000)]
Try to make the eclipse classpath more general - place the output under /build/, remove hard coded jar source paths, re-order entries to make it easier to see what we have, and use the default JDK not a hard coded version

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

11 years agoBug 55369: Add support for collapsing rows in SXSSF
Dominik Stadler [Sun, 20 Oct 2013 18:04:08 +0000 (18:04 +0000)]
Bug 55369: Add support for collapsing rows in SXSSF

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

11 years agoPatch 55611 - Performance improvement in DateUtil.isADateFormat(int, String)
Yegor Kozlov [Sat, 19 Oct 2013 14:12:15 +0000 (14:12 +0000)]
Patch 55611 - Performance improvement in DateUtil.isADateFormat(int, String)

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

11 years agoPatch 55611 - Performance improvement in DateUtil.isADateFormat(int, String)
Yegor Kozlov [Sat, 19 Oct 2013 13:53:19 +0000 (13:53 +0000)]
Patch 55611 - Performance improvement in DateUtil.isADateFormat(int, String)

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

11 years agoAdd Eclipse project files and settings to make it easier to start hacking on POI...
Dominik Stadler [Wed, 16 Oct 2013 19:59:29 +0000 (19:59 +0000)]
Add Eclipse project files and settings to make it easier to start hacking on POI in Eclipse

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

11 years agoBug 55658: don't fail in SXSSF if a numeric cell is overwritten with a string
Dominik Stadler [Wed, 16 Oct 2013 19:47:21 +0000 (19:47 +0000)]
Bug 55658: don't fail in SXSSF if a numeric cell is overwritten with a string

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

11 years agoChange from having actual zero bytes in java code to java-string notation for unicode...
Dominik Stadler [Mon, 14 Oct 2013 19:44:30 +0000 (19:44 +0000)]
Change from having actual zero bytes in java code to java-string notation for unicode-zero to avoid trouble with this file in Sonar when using PostgreSQL (which seems to fall over binary data in text files). The resulting test should be the same with the \u0000 notation

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

11 years agoBugzilla 55578 - Support embedding OLE1.0 packages in HSSF
Yegor Kozlov [Sun, 13 Oct 2013 07:39:40 +0000 (07:39 +0000)]
Bugzilla 55578 - Support embedding OLE1.0 packages in HSSF

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

11 years agoBugzilla 49658 - Support embedding EMF/WMF pictures in HSSF
Yegor Kozlov [Sun, 13 Oct 2013 07:20:36 +0000 (07:20 +0000)]
Bugzilla 49658 - Support embedding EMF/WMF pictures in HSSF

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

11 years agoBug 55036: fixed red build (Dec2Hex)
Cédric Walter [Sat, 12 Oct 2013 06:28:51 +0000 (06:28 +0000)]
Bug 55036: fixed red build (Dec2Hex)

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

11 years agoBug 55036: patch for missing function Dec2HEx
Cédric Walter [Fri, 11 Oct 2013 19:16:43 +0000 (19:16 +0000)]
Bug 55036: patch for missing function Dec2HEx

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

11 years agoBug 55057: patch for missing function Hex2Dec
Cédric Walter [Fri, 11 Oct 2013 19:06:33 +0000 (19:06 +0000)]
Bug 55057: patch for missing function Hex2Dec

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

11 years agoBug 55116: patch for missing function Dec2Bin
Cédric Walter [Fri, 11 Oct 2013 18:49:19 +0000 (18:49 +0000)]
Bug 55116: patch for missing function Dec2Bin

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

11 years agoBug 55055: patch for missing function Bin2Dec
Cédric Walter [Fri, 11 Oct 2013 18:39:22 +0000 (18:39 +0000)]
Bug 55055: patch for missing function Bin2Dec

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

11 years agoBug 55649: WORKDAY Function returns incorrect date when spanning a weekend, or the...
Cédric Walter [Thu, 10 Oct 2013 21:54:52 +0000 (21:54 +0000)]
Bug 55649: WORKDAY Function returns incorrect date when spanning a weekend, or the start date is a weekend

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

11 years agoFix #55647 - When creating a temp file, ensure the name isn't already taken
Nick Burch [Thu, 10 Oct 2013 16:20:07 +0000 (16:20 +0000)]
Fix #55647 - When creating a temp file, ensure the name isn't already taken

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

11 years agoBug 55058: patch for missing function FactDouble
Cédric Walter [Thu, 10 Oct 2013 10:10:54 +0000 (10:10 +0000)]
Bug 55058: patch for missing function FactDouble
Returns the double factorial of a number: FACTDOUBLE(number)

Number     is the value for which to return the double factorial. If number is not an integer, it is truncated.

Remarks
If number is nonnumeric, FACTDOUBLE returns the #VALUE! error value.
If number is negative, FACTDOUBLE returns the #NUM! error value.

Has  a cache for more speed of previously calculated factorial
Add additional sanity check/integration test FormulaEvalTestData.xls

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

11 years agoBug 55081: patch for missing function WEEKNUM
Cédric Walter [Tue, 8 Oct 2013 12:54:35 +0000 (12:54 +0000)]
Bug 55081: patch for missing function WEEKNUM
Add simple spreadsheet with Excel 2003, and another with 2013 (both fresh files)

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

11 years ago Bug 55037: patch for missing function DELTA
Cédric Walter [Mon, 7 Oct 2013 09:42:38 +0000 (09:42 +0000)]
 Bug 55037: patch for missing function DELTA
 Add missing TestDeltaFunctionsFromSpreadsheet and register Delta in AnalysisToolPak

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

11 years agoApply patch from bug 55341
Dominik Stadler [Sun, 29 Sep 2013 20:23:20 +0000 (20:23 +0000)]
Apply patch from bug 55341

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

11 years agoPotential NPE in PPExtractor; found while working on TIKA-1171
Tim Allison [Fri, 27 Sep 2013 19:35:14 +0000 (19:35 +0000)]
Potential NPE in PPExtractor; found while working on TIKA-1171

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

11 years agoincrement build beta version to 3.10-beta3; forgot to as part of last release...doh.
Tim Allison [Fri, 27 Sep 2013 15:53:53 +0000 (15:53 +0000)]
increment build beta version to 3.10-beta3; forgot to as part of last release...doh.

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

11 years agoPOI-54722 table text in ppt files
Tim Allison [Fri, 27 Sep 2013 15:45:55 +0000 (15:45 +0000)]
POI-54722 table text in ppt files

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