]>
source.dussan.org Git - poi.git/log
Andreas Beeker [Sat, 24 Jun 2017 09:27:11 +0000 (09:27 +0000)]
tag r1799745 as 3.17-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/tags/REL_3_17_BETA1@
1799746 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 24 Jun 2017 09:20:02 +0000 (09:20 +0000)]
rollback invalid commit - r1799740
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799742 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 24 Jun 2017 09:03:22 +0000 (09:03 +0000)]
tag r1799740 as 3.17-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/tags/REL_3_17_BETA1@
1799741 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 24 Jun 2017 09:03:00 +0000 (09:03 +0000)]
release prepare for 3.17-beta1 - pin documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799740 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Sat, 24 Jun 2017 07:30:07 +0000 (07:30 +0000)]
Add StaxHelper to ensure that StAX parsers have sensible defaults, including settings to avoid XML Entity Expansion issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799734 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Sat, 24 Jun 2017 05:55:45 +0000 (05:55 +0000)]
Add file that failed regression tests as a unit test.
Adjust table style processing to allow for AlternateContent wrappers for table element style definitions.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799733 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Sat, 24 Jun 2017 00:37:03 +0000 (00:37 +0000)]
[Bug 60422] Fix forbidden-api build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799723 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Sat, 24 Jun 2017 00:15:20 +0000 (00:15 +0000)]
[Bug 60422] Tidy up test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799722 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Fri, 23 Jun 2017 23:42:25 +0000 (23:42 +0000)]
Bug 60422 add testtestcase with current LocaleUtil workaround
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799721 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Fri, 23 Jun 2017 15:43:48 +0000 (15:43 +0000)]
Move my new unit conversions to the Units class, move and deprecate duplicate and scattered unit constants, update constant references to standardize on the ones in the Units class.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799683 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Fri, 23 Jun 2017 06:17:09 +0000 (06:17 +0000)]
Bug 61203
one of these days I'll add the copyright to my project templates.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799645 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Fri, 23 Jun 2017 05:16:38 +0000 (05:16 +0000)]
Bug 61203 - XSSFDrawing.getAnchorFromParent handles CTOneCellAnchor incorrectly, ignores CTAbsoluteAnchor
This is likely incomplete, but closer to where things should be. It is backward compatible with previous uses of XSSFClientAnchor.
This fixes a bug in XSSFGraphicFrame that was hiding the parent class anchor property (which is a protected field set directly from XSSFDrawing). This is a peril of using direct property access - the hiding wasn't obvious because there was no setter being overridden.
XSSFGraphicFrame now notices when it relates to a chart, and setts the frame property of the XSSFChart. That was not being set on parse previously, only when creating charts from scratch. That didn't seem right.
XSSFClientAnchor now calculates size and position correctly based on initial inputs from the different types of anchors. It DOES NOT update those initial inputs, however. It does properly adjust if the size or initial position are absolute and the corresponding row/column values are requested.
Added new class EMUUtils to centralize the measurement constants and conversions since there are so many units in play in the OOXML spec and POI APIs:
* EMUs (English Metric Units)
* Inches
* Centimeters
* Points
* Pixels
* Twips (1/20th of a point)
I'm sure there are more conversions that could be done there, I just started with what I needed.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799643 13f79535 -47bb-0310-9956-
ffa450edef68
Tim Allison [Tue, 20 Jun 2017 18:11:34 +0000 (18:11 +0000)]
bug 61045 -- allow for (and log!) extra bytes in FormatRecord.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799360 13f79535 -47bb-0310-9956-
ffa450edef68
Tim Allison [Tue, 20 Jun 2017 12:59:33 +0000 (12:59 +0000)]
bug 61053 -- not a fix, but this aligns XSSFBSheetHandler's behavior with streaming and non-streaming extractors for xlsx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799345 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 09:52:43 +0000 (09:52 +0000)]
javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799332 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 09:16:05 +0000 (09:16 +0000)]
@Ignore("requires an internet connection to a 3rd party site"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799326 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 09:13:18 +0000 (09:13 +0000)]
unit test that is not written yet should fail
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799324 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 09:12:42 +0000 (09:12 +0000)]
simplify unit test code with IOUtils.write to a NullOutputStream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799323 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 20 Jun 2017 09:04:02 +0000 (09:04 +0000)]
Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799320 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 08:13:58 +0000 (08:13 +0000)]
bug 57919: close opened resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799316 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 07:28:14 +0000 (07:28 +0000)]
bug 57919: add functions to write and close a POIDocument, guaranteeing closure of the output stream and document.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799308 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 07:05:08 +0000 (07:05 +0000)]
rename createXls and createXlsx helper functions: these are specifically for testing text rotation.
Made the file creation compatible on Windows and Mac/Linux using POI TempFile instead of a hard-coded filename.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799307 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 07:03:13 +0000 (07:03 +0000)]
bug 58113: this passes with SXSSF now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799306 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 06:08:38 +0000 (06:08 +0000)]
bug 56557: open test-data/spreadsheet/56557.xlsx such that the unit test test56557() does not leave a modified file on disk after running.
I verified that
> Workbook wb = XSSFTestDataSamples.openSampleWorkbook("56557.xlsx")
and
> Workbook wb = WorkbookFactory.create(XSSFTestDataSamples.getSampleFile("56557.xlsx"), password=null, readOnly=false);
both fail when the fix from r1798913 for SXSSFWorkbook is not applied and both pass when the fix is applied.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799304 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 05:51:48 +0000 (05:51 +0000)]
whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799303 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 05:47:56 +0000 (05:47 +0000)]
bug 52063: support 2-argument LOOKUP(lookup_value, array) function in Excel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799302 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Mon, 19 Jun 2017 11:05:20 +0000 (11:05 +0000)]
Improve error message if we encounter invalid/unexpected files in integration tests
Adjust some tests slightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799178 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Sun, 18 Jun 2017 05:59:31 +0000 (05:59 +0000)]
Need to do the casting differently to make the code compile with Java 6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799038 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Sun, 18 Jun 2017 05:59:25 +0000 (05:59 +0000)]
Don't try to clone a chart, this makes integration-tests work for a few more documents, also the one added via bug 56557
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799037 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Sun, 18 Jun 2017 05:59:16 +0000 (05:59 +0000)]
Update forbidden-apis to version 2.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799036 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Sun, 18 Jun 2017 05:59:11 +0000 (05:59 +0000)]
Fix some IntelliJ warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799035 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 17 Jun 2017 00:00:49 +0000 (00:00 +0000)]
#61169 - Text with Japanese characters overflows textbox
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798986 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Fri, 16 Jun 2017 13:26:50 +0000 (13:26 +0000)]
Add missing file for test for bug 56557
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798926 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Fri, 16 Jun 2017 11:35:31 +0000 (11:35 +0000)]
Bug 56557: Fix handling chart sheets,
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798913 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Thu, 15 Jun 2017 05:08:24 +0000 (05:08 +0000)]
bug 61170: add comment why we should catch exceptions in SAXHelper
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798793 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Thu, 15 Jun 2017 05:00:25 +0000 (05:00 +0000)]
bug 61170: add extra logging to SaxHelper.
Thanks to PJ Fanning for the patch!
This closes #58 on github.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798792 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Wed, 14 Jun 2017 17:21:50 +0000 (17:21 +0000)]
#61162 - En-/decryption support for HWPF
- encryption support for HWPF
- refactor/unify EncryptionInfo handling in H**F classes
- remove Iterable interface from WorkbookRecordList - use getRecords() instead, to prevent modifications over the Iterator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798722 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Mon, 12 Jun 2017 05:38:41 +0000 (05:38 +0000)]
Standardize some more common chart axis properties.
Implement the ChartAxis ss interface for date axes, which are pretty much a category axis with one extra property, a date granularity (not currently passed through, get it still from the CT* class). Created the class and test from the category axis versions.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798414 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 10 Jun 2017 15:01:14 +0000 (15:01 +0000)]
Javadoc has some references to unit test classes, so put the junit jars on the javadoc classpath
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798324 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Sat, 10 Jun 2017 01:04:40 +0000 (01:04 +0000)]
Don't report data table master cells as formula cells, since POI doesn't evaluate data table formulas.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798289 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Fri, 9 Jun 2017 12:49:58 +0000 (12:49 +0000)]
Forbidden-APIs needs junit-jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798204 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Fri, 9 Jun 2017 12:49:01 +0000 (12:49 +0000)]
Move one testcase with incorrect source location
remove some junit dependencies in example-code
build: do not pass junit-jar to normal compile targets to avoid introducing it as dependency again
Reformat code, fix warnings, ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798202 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Fri, 9 Jun 2017 12:47:03 +0000 (12:47 +0000)]
Bug 60374: Add test for ArrayIndexOutOfBounds on old Word Documents due to Non-Unicode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798200 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 7 Jun 2017 13:35:20 +0000 (13:35 +0000)]
Update the CreateTable example to reduce the use of the raw CT classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797923 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 7 Jun 2017 13:33:58 +0000 (13:33 +0000)]
Permit table style modifications, needed for CreateTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797922 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 7 Jun 2017 13:06:38 +0000 (13:06 +0000)]
Make it possible to create simple XSSF sheet tables without needing CT classes directly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797919 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 7 Jun 2017 12:39:41 +0000 (12:39 +0000)]
XSSFTable should format numeric/date cells when used as Column Header names as Excel does, see https://stackoverflow.com/questions/
44407111 /apache-poi-cant-format-filled-cells-as-numeric
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797914 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Wed, 7 Jun 2017 06:25:56 +0000 (06:25 +0000)]
Ignore JCE restriction errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797856 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Tue, 6 Jun 2017 22:21:46 +0000 (22:21 +0000)]
Handle encrypted files with known password in integration tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797839 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Tue, 6 Jun 2017 22:21:40 +0000 (22:21 +0000)]
Replace HWPFOutputStream with ByteArrayOutputStream - it doesn't add any new features
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797838 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Tue, 6 Jun 2017 22:21:11 +0000 (22:21 +0000)]
#61162 - En-/decryption support for HWPF
Decryption for Binary RC4 and CryptoAPI (... XOR is missing)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797837 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Sun, 4 Jun 2017 19:01:51 +0000 (19:01 +0000)]
bug 58325, github-57: Set svn props. This closes #57 on github.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797602 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Sun, 4 Jun 2017 18:59:18 +0000 (18:59 +0000)]
bug 58325: enable TestXSSFShape unit tests. Thanks to Dominik Stadler for the initial unit test. Thanks to PJ Fanning for discovering that the bug was fixed at some point in the past and enabling the unit tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797600 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Wed, 31 May 2017 14:10:18 +0000 (14:10 +0000)]
fix eclipse resource leak warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797043 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Wed, 31 May 2017 02:46:24 +0000 (02:46 +0000)]
javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1796966 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Wed, 31 May 2017 00:31:53 +0000 (00:31 +0000)]
SonarQube fixes - close resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1796962 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Wed, 31 May 2017 00:22:58 +0000 (00:22 +0000)]
#61085 support table styles
Needed a bit more, to support table/range only border properties for "internal" vertical and horizontal borders.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1796961 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Tue, 30 May 2017 13:57:42 +0000 (13:57 +0000)]
increase heap size for ooxml compilation again, because of failing (gradle?) builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1796868 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Tue, 30 May 2017 13:33:07 +0000 (13:33 +0000)]
Add logging for gradle->ant->javac OOM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1796862 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Tue, 30 May 2017 09:52:10 +0000 (09:52 +0000)]
ignore <project root>/tmp directory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1796825 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Tue, 30 May 2017 09:33:28 +0000 (09:33 +0000)]
Bug 61119 - Fix preset shape rendering and shading
- Fixed conversion of ooxml to awt angle
- replace subclasses and reflection calls with enums
- implemented tinting/shading of preset shapes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1796823 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Sun, 28 May 2017 01:17:16 +0000 (01:17 +0000)]
bug 61059: fix NamePtg to read unsigned shorts instead of signed shorts, avoiding a AIOOBE when a workbook contains more than 32k Names. Thanks to Travis Burtrum for the patch.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1796466 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Fri, 26 May 2017 23:37:04 +0000 (23:37 +0000)]
Bug 60898 - XSSFColor's getARGB() method returns a wrong color value when a workbook has a custom indexed color
Missed this test. As part of the work I noticed the Enum was missing some values defined in the OOXML spec, so I added them.
I've updated the test to reflect that those values are no longer invalid.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1796360 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Fri, 26 May 2017 23:14:48 +0000 (23:14 +0000)]
Bug 60898 - XSSFColor's getARGB() method returns a wrong color value when a workbook has a custom indexed color
teach XSSFColor and most things that create instances about indexed colors.
Null is a valid value for IndexedColorMap instances - the existing built-in default colors are used.
Whenever a workbook style is accessible in the call hierarchy its color mappings are passed down now.
Thanks for the unit test in the issue, it now passes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1796359 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Wed, 24 May 2017 10:07:32 +0000 (10:07 +0000)]
Add jmh to Sonar-Maven build as well, add comment why we need to stick to 1.15 for now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1796035 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Tue, 23 May 2017 21:13:02 +0000 (21:13 +0000)]
Bug 61063: Add a RefListEval to handle UnionPtg and implement it for Rank(), may be missing for other functions where ArrayEval is currently handled
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795963 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Tue, 23 May 2017 21:12:50 +0000 (21:12 +0000)]
Reformat code somewhat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795962 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Sat, 20 May 2017 21:04:14 +0000 (21:04 +0000)]
github-55: document that CellReference#isRowWithinRange(String rowNum, SpreadsheetVersion ss) expects rowNum to be parseable as an integer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795681 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Sat, 20 May 2017 20:22:24 +0000 (20:22 +0000)]
bug 61110: remove deprecated, misspelled CellReference#isRowWithnRange and #isColumnWithnRange methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795680 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 20 May 2017 15:11:58 +0000 (15:11 +0000)]
Increase memory for xmlbean generation, because of failing gump builds.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795661 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Sat, 20 May 2017 04:05:32 +0000 (04:05 +0000)]
#61085 support table styles
Added more features - this allows a client app to fully display table styling without resorting to CT* classes, and has some helper logic for the additional processing needed for things like regional/area borders.
As far as I can tell I only added stuff, didn't change any existing behavior.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795648 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Sat, 20 May 2017 04:01:52 +0000 (04:01 +0000)]
add the new test dependency so tests can run from Eclipse (required for running local builds in Eclipse)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795647 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Fri, 19 May 2017 08:26:41 +0000 (08:26 +0000)]
github-55: NumberFormatException if XSSFName.setNameName is set with a long name that looks similar to a cell address. Thanks to Thomas S @Millie4Ever
This closes #55 on github.
https://github.com/apache/poi/pull/55
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795595 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 16 May 2017 10:53:15 +0000 (10:53 +0000)]
replace "String.indexOf(String) >= 1" with "String.contains(String)"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795296 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 16 May 2017 08:38:58 +0000 (08:38 +0000)]
github-25: add enable locking and tab color in SXSSFSheet. Thanks to Danilo Rangel. This closes #25.
https://github.com/apache/poi/pull/25
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795277 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 16 May 2017 03:18:17 +0000 (03:18 +0000)]
github-32: speed up Irr() Excel formula computation by replacing Math.pow() with multiplication. Thanks to Daniel Kuan! This closes #32.
https://github.com/apache/poi/pull/32
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795266 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 16 May 2017 03:04:12 +0000 (03:04 +0000)]
github-43: add disabled unit test showing a problem with ROUNDUP(3987*0.2, 2). Thanks to @FishMeat.
https://github.com/apache/poi/pull/43
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795265 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 16 May 2017 02:50:35 +0000 (02:50 +0000)]
Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795261 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 16 May 2017 00:58:01 +0000 (00:58 +0000)]
github-52: add ExcelToHtmlConverter method that works on InputStreams. Thanks to Tony Zeng! This closes #52.
https://github.com/apache/poi/pull/52
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795256 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 16 May 2017 00:41:25 +0000 (00:41 +0000)]
github-53: fix NPE when iterating over paragraphs in certain *.docx files. Thanks to Praful Kumar Vaishnav! This closes #53.
https://github.com/apache/poi/pull/53
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795254 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Mon, 15 May 2017 23:27:21 +0000 (23:27 +0000)]
github-54: when adding a picture to an XSSFWorkbook, reduce memory consumption by 100x and increase speed by 10x based on OpenJDK JMH benchmarking. Thanks to Tim Helmstedt! This closes #54.
https://github.com/apache/poi/pull/54
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795252 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Mon, 15 May 2017 06:30:06 +0000 (06:30 +0000)]
Add ASL header and exclude table preset from rat-check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795137 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sun, 14 May 2017 22:25:33 +0000 (22:25 +0000)]
#52117 - Invalid "last printed" summary field value - added helper method to identify undefined dates
HPSF: fixed uid listing in Section.toString()
HPSF: moved timestamp based "utility" methods to Filetime class
HPSF: preserve original datastream for unchanged property sets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795123 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sun, 14 May 2017 22:24:07 +0000 (22:24 +0000)]
removed invalid test file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795122 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Fri, 12 May 2017 22:13:30 +0000 (22:13 +0000)]
tweak to use platform line separator so tests can pass on Windows as well as Linux.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795026 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Fri, 12 May 2017 18:01:32 +0000 (18:01 +0000)]
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1795002 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Fri, 12 May 2017 11:38:05 +0000 (11:38 +0000)]
Simplify the ValueEval.toString() implementations and include more information on unexpected types of ValueEval
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1794956 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Sun, 7 May 2017 21:03:46 +0000 (21:03 +0000)]
Bug 60352: Text extraction: Don't include the text "null" for empty cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1794260 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Fri, 5 May 2017 21:50:59 +0000 (21:50 +0000)]
60184 - invalid OOXML produced when XSSFFont.getFamily() called with no families defined
Fix to stop creating an empty family when none exist, just use the existing logic to return NOT_APPLICABLE. Creating the empty element produces XML that doesn't comply with the XSD.
Alternative would have been to set the family int value for the new family, but this way checking the value doesn't change the output, which is my preferred behavior. No quantum effects!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1794111 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Fri, 5 May 2017 18:33:49 +0000 (18:33 +0000)]
forgot license (as always)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1794093 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Fri, 5 May 2017 17:44:58 +0000 (17:44 +0000)]
61060 - teach DataFormatter about conditional formatting rules with number formats
Currently only implemented for XSSF, as there is no API available for HSSF conditional formatting rule number formats (if it is even in the files).
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1794084 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Thu, 4 May 2017 09:25:40 +0000 (09:25 +0000)]
Update link to POI-view on the Jenkins CI server
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1793760 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Thu, 4 May 2017 08:52:44 +0000 (08:52 +0000)]
Revert creating a view as part of the Jenkins DSL as it did not allow to create the view as part of a folder/sub-view
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1793754 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Thu, 4 May 2017 08:40:12 +0000 (08:40 +0000)]
Try to define the view as part of the Jenkins DSL, also try to move the view into sub-folder, see also INFRA-14002
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1793752 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Thu, 4 May 2017 01:13:48 +0000 (01:13 +0000)]
test integration fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1793733 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Wed, 3 May 2017 22:16:26 +0000 (22:16 +0000)]
SonarQube fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1793727 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Wed, 3 May 2017 19:18:45 +0000 (19:18 +0000)]
HPSF: Change CustomProperties to delegate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1793699 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Wed, 3 May 2017 14:08:04 +0000 (14:08 +0000)]
Remove Unicode chars in comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1793647 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Wed, 3 May 2017 00:14:55 +0000 (00:14 +0000)]
fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1793604 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Tue, 2 May 2017 23:32:13 +0000 (23:32 +0000)]
#52372 - OutOfMemoryError parsing a word file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1793602 13f79535 -47bb-0310-9956-
ffa450edef68