Nick Burch
8cd7f1f736
58536 DataFormatter and CellFormat non-localised support for localised currency formats like [$£-809]
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710484 13f79535-47bb-0310-9956-ffa450edef68
2015-10-25 21:20:44 +00:00
Nick Burch
90db0bf451
Fix javadoc warning - @see with a URL needs wrapping in an a-href tag
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710460 13f79535-47bb-0310-9956-ffa450edef68
2015-10-25 16:19:35 +00:00
Nick Burch
dc947416d4
Mention about Locale definitions in Excel cell data format strings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710459 13f79535-47bb-0310-9956-ffa450edef68
2015-10-25 16:13:16 +00:00
Nick Burch
74f6f424ad
Update the build version, step missed from the release guide
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710408 13f79535-47bb-0310-9956-ffa450edef68
2015-10-25 00:26:43 +00:00
Nick Burch
1b019d3c76
#58532 Enable more of the padding cell format tests, but a few remain to be fixed
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710407 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 23:57:49 +00:00
Nick Burch
e966499ad2
#58532 For Excel cell formats with 3+ parts to them (eg +ve,-ve,0), which
...
DataFormatter didn't properly support, call out to the alternate CellFormat
instead for the formatting.
This also allows us to enable some disabled parts of DataFormatter unit tests
We still need to rationalise DataFormatter and CellFormatter though, so we
only have one set of cell formatting logic...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710399 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 23:34:47 +00:00
Nick Burch
e86a116d0a
Fix inconsistent whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710395 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 22:12:06 +00:00
asf-sync-process
41419d44eb
Test to check that #58532 formats are seen as valid
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710394 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 22:09:11 +00:00
Nick Burch
dc0f6c0a93
Test files for #58532
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710393 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 21:58:08 +00:00
Dominik Stadler
63cb78d416
Revert upgrade of findbugs as it requires Java 7, but we still allow to compile using Java 6.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710196 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 12:18:22 +00:00
Dominik Stadler
4ce73544a7
Update to latest findbugs version 3.0.1, reported issues go from 163 to 209 :(
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710195 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 12:16:11 +00:00
Dominik Stadler
dd48f58f95
Bug 58085: removing sheet breaks other existing sheet references
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710193 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 12:11:40 +00:00
Javen O'Neal
c22fdbbc2b
bug 58441: define equals method for CellRangeAddressBase
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710172 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 11:17:06 +00:00
Javen O'Neal
ab729cfd0e
bug 58402: make AreaReference's private SpreadsheetVersion _version variable final
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710163 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 09:54:32 +00:00
Javen O'Neal
522b6d4a15
bug 58439: rename private FormulaShifter.adjustPtgDueToShiftMove to adjustPtgDueToSheetMove
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710147 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 08:56:49 +00:00
Javen O'Neal
538b2d1377
bug 33174: Use common unit test for testNoMergedRegionsIsEmptyList
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710140 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 08:38:14 +00:00
Dominik Stadler
27d4814b80
Set newer curvesapi-version in .classpath as well and update some third-party libs for the password-protection-code to the latest versions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710032 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 15:21:25 +00:00
Dominik Stadler
97dd17c90e
Maven/Sonar build: Add dependency on curvesapi which is now required
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709559 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 09:55:17 +00:00
Dustin Spicuzza
fe771aa808
XDGF: fix the fix
...
- Use Collections.emptySet() for an iterator instead
- Bump curvesapi to 1.03, which is compiled for JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709463 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 18:36:45 +00:00
Dustin Spicuzza
9c23e12b8e
XDGF: fix jdk < 1.8 compat
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709427 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 14:55:30 +00:00
Dustin Spicuzza
f540622a05
XDGF: fix jenkins build errors
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709363 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 06:55:06 +00:00
Dustin Spicuzza
e0a5e102b8
Add Visio OOXML text extractor + tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709361 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 06:26:57 +00:00
Dustin Spicuzza
879ca64994
Add some limited XDGF documentation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709357 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 06:08:58 +00:00
Dustin Spicuzza
e3365dfaeb
poi-import: fix build dependencies
...
- Compilation + tests work now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709356 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 05:59:42 +00:00
Dustin Spicuzza
d70b8e8b88
poi-visio import: reformat code to fit project standards, remove JRE 7isms
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709355 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 05:59:37 +00:00
Dustin Spicuzza
3bd2011924
Import poi-visio codebase
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709354 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 05:52:35 +00:00
Dominik Stadler
3a8f40db7c
Bug 58499: Don't report Zip-Bomb for small files which should not cause memory issues anyway
...
Also make error message a bit more specific and list classname in Zip-Bomb-Error to make it easier for users what the
problem is and how to find out where the static methods are
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709180 13f79535-47bb-0310-9956-ffa450edef68
2015-10-17 14:40:36 +00:00
Dominik Stadler
43ab1cd35a
Use the default XmlOptions for all the invocations of the XmlBeans XML parsing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709128 13f79535-47bb-0310-9956-ffa450edef68
2015-10-17 08:45:25 +00:00
Nick Burch
14dda10c59
Update Commons jar versions in the Eclipse classpath
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708953 13f79535-47bb-0310-9956-ffa450edef68
2015-10-16 10:41:06 +00:00
David North
bb18031ac7
Remove unnecessary warning suppressions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708921 13f79535-47bb-0310-9956-ffa450edef68
2015-10-16 09:00:43 +00:00
Dominik Stadler
e9d0e9cc12
Update test to not depend on an existing build-directory
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708682 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 19:27:20 +00:00
Dominik Stadler
05c161b6cf
Delete outdated versions of ooxml-schemas jars before building
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708681 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 19:27:14 +00:00
Dominik Stadler
392591e222
Reenable test on Windows which was disabled previously but should now work after a workaround was put in place via bug 58480.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708613 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 15:00:19 +00:00
Dominik Stadler
a00240f212
Bug 58480: Work around problem where on Windows systems a Mapped Buffer can still lock a file even if the Channel was closed properly. Use reflection as DirectBuffer is in package sun.com and thus likely to go away with Java 9.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708609 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 14:53:41 +00:00
Dominik Stadler
d15ef65b8f
Bug 58341: fix some edge cases in the DStar function
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708606 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 14:31:04 +00:00
Dominik Stadler
cc576a9887
Update to latest commons-codec-1.10 and commons-logging-1.2, use the properties for these libs everywhere in build.xml
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708464 13f79535-47bb-0310-9956-ffa450edef68
2015-10-13 16:37:22 +00:00
Andreas Beeker
a0a197bc96
javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708265 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 23:10:02 +00:00
Andreas Beeker
5fd71db914
- removed deprecated and confusing methods in XSSFColor
...
- sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708236 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 20:43:42 +00:00
Dominik Stadler
7fbf591db5
Retry which measures duration a few times to see if that reduces the number of failures caused by this test sometimes when CI machines are loaded.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1707488 13f79535-47bb-0310-9956-ffa450edef68
2015-10-08 11:08:41 +00:00
Nick Burch
4ae623c699
Update the XSSF EventModel example, to show how to do it better using the SheetContentsHandler helper that does most of the work for you
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1707326 13f79535-47bb-0310-9956-ffa450edef68
2015-10-07 15:19:04 +00:00
Dustin Spicuzza
75467f7cdb
Exclude visio xsd from rat check
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1707292 13f79535-47bb-0310-9956-ffa450edef68
2015-10-07 13:13:39 +00:00
Dustin Spicuzza
bf68d5f290
Bug 58048: Add visio schemas to the OOXML jar
...
- Bumped OOXML jar version also
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1707177 13f79535-47bb-0310-9956-ffa450edef68
2015-10-07 02:41:30 +00:00
Andreas Beeker
cab7f9c2e0
fix forbidden apis issue and make non-static as decimalformat is not thread-safe
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1707166 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 22:52:05 +00:00
Dominik Stadler
bf0dcc16c9
Ant build: Use correct AntTask as reported by forbidden-apis-check, Print out which documentation directory is looked at in -check-docs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1707055 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 13:36:30 +00:00
David North
efee7bf83f
Format numbers more like Excel does
...
Thanks to Chris Boyle for the patch
https://bz.apache.org/bugzilla/show_bug.cgi?id=58471
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706971 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 09:56:26 +00:00
Andreas Beeker
62561d5f53
sonar fixes and closing resources after use
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706937 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 00:04:12 +00:00
David North
28ccb12153
Clean up a bit and move some comments into descriptions for the benefit of ant -p
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706822 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 12:23:07 +00:00
David North
2dc93d4411
Fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=58466
...
ColumnHelper now preserves information on multiple changes to the same group, hopefully while preserving the faster implementation intended by the original patch.
NB changes to TestXSSFSheet: the behaviour of column group collapsing/expanding is now closer to what Excel does than before.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706789 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 10:31:33 +00:00
David North
8bd9fbb86a
Update my key with additional sigs from Nick
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706757 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 08:07:02 +00:00
Dominik Stadler
cc1caaf658
As discussed at ApacheCon: Try to automatically find test-data in unit tests, this makes it easier to get going in Eclipse or other IDEs.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706752 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 06:45:20 +00:00