Commit Graph

1943 Commits

Author SHA1 Message Date
Nick Burch 0e5300538f Ensure our package html files have consistent line endings, and the right svn properties set on them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1557156 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 15:39:39 +00:00
Dominik Stadler d714d0da65 Bug 55723: Make HSSFSheet.setAutoFilter() behave equal to XSSF, also make XSSF work when setAutoFilter is called multiple times
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1554688 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 22:15:44 +00:00
Dominik Stadler 5e77641784 remove some unused imports and some useless TODOs, slightly more
coverage, @Overrides, more info on failing test, fix some Eclipse
warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1554535 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 15:12:30 +00:00
Dominik Stadler dcc34ec845 Don't unnecessarily convert from ArrayList to array, use the ArrayList directly instead, this speeds up BiffViewer and related unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1554534 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 15:11:59 +00:00
Dominik Stadler d83461c3fb 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
2013-12-31 15:11:44 +00:00
Andreas Beeker f32e87957c obsoleted by TestEscherBlipRecord and EscherMetafileBlip
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1554104 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 00:00:54 +00:00
Nick Burch e961fe6e94 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
2013-12-27 04:26:18 +00:00
Dominik Stadler 60ca1a5de4 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
2013-12-26 09:38:48 +00:00
Andreas Beeker e34a1f9620 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
2013-12-26 00:46:16 +00:00
Andreas Beeker 3ccd728544 javadoc house-keeping
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553422 13f79535-47bb-0310-9956-ffa450edef68
2013-12-25 22:18:53 +00:00
Dominik Stadler bc7b658ea9 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
2013-12-25 18:05:41 +00:00
kiwiwings 3a36da330a JCE policy fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553342 13f79535-47bb-0310-9956-ffa450edef68
2013-12-25 01:04:29 +00:00
kiwiwings c72965c8b2 Fix jdk-differences for encryption patch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553339 13f79535-47bb-0310-9956-ffa450edef68
2013-12-24 23:49:10 +00:00
kiwiwings abac580a6e Fix jdk-differences for encryption patch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553338 13f79535-47bb-0310-9956-ffa450edef68
2013-12-24 23:39:09 +00:00
kiwiwings ad9cecae59 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
2013-12-24 23:13:21 +00:00
Yegor Kozlov ff79d73725 patch 55731: StringBuilder logic in DataFormatter.cleanFormatForNumber
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553248 13f79535-47bb-0310-9956-ffa450edef68
2013-12-24 06:02:27 +00:00
Yegor Kozlov ed5942640f 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
2013-12-24 05:58:23 +00:00
Nick Burch 87375a5b46 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
2013-12-18 04:08:03 +00:00
Nick Burch 43383ec1f4 More javadocs for Cell.setCellType
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1550349 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 05:22:26 +00:00
Cédric Walter 73ee268e56 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
2013-11-22 18:26:11 +00:00
Cédric Walter e9b8faa748 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
2013-11-22 17:45:00 +00:00
Nick Burch 44c9f41cc9 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
2013-11-21 11:18:23 +00:00
Nick Burch d1118ce0d5 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
2013-11-12 11:37:45 +00:00
Nick Burch c6177274af 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
2013-11-07 22:28:06 +00:00
Nick Burch d45b6acef3 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
2013-11-07 21:56:49 +00:00
Nick Burch f7b44f5e9f 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
2013-11-07 21:29:14 +00:00
Cédric Walter 224b66e8d4 Bug 55742: fixed mirr FormulaEvalTestData.xls tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1539451 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 20:09:43 +00:00
Cédric Walter 28b14db09a Bug 55742: fixed hex2dec tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1539447 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 20:04:22 +00:00
Cédric Walter 3976993fda Bug 54696: Add overlay setting to ChartLegend
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1539169 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 22:35:54 +00:00
Cédric Walter fc086aba47 Bug 55724: implementation of Excel PERCENTILE function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1539154 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 22:11:18 +00:00
Cédric Walter fac5f0ea50 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
2013-11-05 20:46:20 +00:00
Cédric Walter d8c54be1aa 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
2013-11-04 22:52:06 +00:00
Cédric Walter eab0adda8b 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
2013-11-04 21:27:12 +00:00
Cédric Walter 6cb3b01753 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
2013-11-04 21:09:40 +00:00
Dominik Stadler 8d345b13d0 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
2013-11-02 10:01:01 +00:00
Nick Burch 01b276b2f3 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
2013-10-31 16:53:03 +00:00
Dominik Stadler d08ab9dc0d 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
2013-10-30 22:26:13 +00:00
Dominik Stadler f82527ecb1 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
2013-10-27 08:16:29 +00:00
Dominik Stadler 780aec8ad2 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
2013-10-25 21:57:48 +00:00
Yegor Kozlov 616238f8e2 Patch 55612 - Performance improvement in HSSFCellStyle.getDataFormatString()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1535810 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 18:41:24 +00:00
Dominik Stadler 5ad89d96b6 Fix some Eclipse warnings, remove trailing whitespaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1535517 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 19:58:19 +00:00
Nick Burch b646166b6c 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
2013-10-23 09:43:28 +00:00
Yegor Kozlov 689f027749 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
2013-10-19 14:12:15 +00:00
Yegor Kozlov 4243b72fc2 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
2013-10-19 13:53:19 +00:00
Yegor Kozlov cf7a4c117a 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
2013-10-13 07:39:40 +00:00
Yegor Kozlov 489b0b5bdb 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
2013-10-13 07:20:36 +00:00
Cédric Walter b43a685b6c Bug 55036: patch for missing function Dec2HEx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1531395 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 19:16:43 +00:00
Cédric Walter 1d8a31724a Bug 55057: patch for missing function Hex2Dec
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1531393 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 19:06:33 +00:00
Cédric Walter c70043f1d5 Bug 55116: patch for missing function Dec2Bin
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1531390 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 18:49:19 +00:00
Cédric Walter be144a48fd Bug 55055: patch for missing function Bin2Dec
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1531386 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 18:39:22 +00:00
Cédric Walter 61f1130e38 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
2013-10-10 21:54:52 +00:00
Nick Burch f15a35ec45 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
2013-10-10 16:20:07 +00:00
Cédric Walter ed1fc84a38 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
2013-10-10 10:10:54 +00:00
Cédric Walter 8c2e38892e 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
2013-10-08 12:54:35 +00:00
Cédric Walter f49f20daec 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
2013-10-07 09:42:38 +00:00
Dominik Stadler 43b74b0253 Apply patch from bug 55341
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1527397 13f79535-47bb-0310-9956-ffa450edef68
2013-09-29 20:23:20 +00:00
Nick Burch ad8b09095e Support more hashing formats for OOXML protected documents, for bug #55544
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1522074 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 22:22:30 +00:00
Dominik Stadler 4a3c974e3b Remove Eclipse warnings, remove duplicate test, rename tests to also run tests in base class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1521015 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 09:41:31 +00:00
Dominik Stadler 17e8880dcd Bug 54524: Fix border case in FormulaShifter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1517676 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 20:09:19 +00:00
Dominik Stadler 84ef8c5970 Fix regression introduced by r1516969
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1517180 13f79535-47bb-0310-9956-ffa450edef68
2013-08-24 18:33:00 +00:00
Nick Burch 673864cdc5 More unit tests for column conversion, and avoid the use of Math.pow based on the suggestion from github-6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516983 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 19:00:01 +00:00
Dominik Stadler f8f998b80b Some Eclipse warnings removed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516980 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 18:54:05 +00:00
Nick Burch 8b0334c701 Remove some @author tags, as per http://poi.apache.org/guidelines.html#CodeStyle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516975 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 18:42:57 +00:00
Nick Burch f04c20ce5d Start to remove @author tags, as per http://poi.apache.org/guidelines.html#CodeStyle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516973 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 18:36:41 +00:00
Nick Burch 95fb311279 Inspired by github pull-6, use a StringBuilder for quicker string appending
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516969 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 18:30:01 +00:00
Dominik Stadler bff0813e48 fix some Eclipse warnings, adjust some unit tests slightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516818 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 10:44:39 +00:00
Dominik Stadler 1249614bc8 Bug 50298: Fix corruption of Workbook when setting sheet order. The
boundssheets themselves were adjusted, but not the corresponding
records.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516313 13f79535-47bb-0310-9956-ffa450edef68
2013-08-21 22:08:20 +00:00
Dominik Stadler 134195c86c Also fix some Eclipse warnings while hunting Bugs: Generics, unused
variables, ...

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516312 13f79535-47bb-0310-9956-ffa450edef68
2013-08-21 22:06:07 +00:00
Nick Burch 75a56dcf22 Push the fix for bug #55248 up to the Sheet interface (was XSSF only before)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516124 13f79535-47bb-0310-9956-ffa450edef68
2013-08-21 09:41:15 +00:00
Cédric Walter 72d3a7d2a3 Bug 55043: patch for missing function QUOTIENT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1514847 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 18:54:35 +00:00
Cédric Walter 67f198e752 Bug 55082: patch for missing function ROMAN
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1514834 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 18:28:18 +00:00
Cédric Walter 7962fc2a9e Bug 55080: patch for missing function IMREAL
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1514830 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 18:13:40 +00:00
Cédric Walter aba46897dc Bug 55079: patch for missing function IMAGINARY
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1514824 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:59:01 +00:00
Cédric Walter a727830c61 Bug 54720: Support for Row/Col Area Range like 8:8 or H:H
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1514812 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:35:16 +00:00
Cédric Walter baee918c5a Bug 54723: Support for percentage in VALUE() function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1514799 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:15:47 +00:00
Dominik Stadler ed2e2a28bc Bug 54786: Fix missing quoting in date formatting, add a number of unit
tests which verify the new formatting options.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1514632 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 09:38:47 +00:00
Tim Allison a62fcb2fbf 55419 and refactor SimpleFraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1514123 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 01:46:25 +00:00
Dominik Stadler 2834048155 Various small Eclipse warning fixes,
also ensure close() of stream in Ant-Task, although WorkbookFactory usually takes care of this, however in exception-cases it could be missing

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1513764 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 08:25:51 +00:00
Dominik Stadler 5ce961a826 Bug 55195: use interface instead of implementation for
NumericValueEval and others.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1513247 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 20:27:08 +00:00
Dominik Stadler 4a3138f575 Bug 55380: Fix endless loop in CellRangeUtil.mergeCellRanges() by not trying to merge overlapping regions any more, the implementation is buggy and even tagged TODO - unit test missing. The code is hard to understand and bug-free-ness is better than catching all possible merges imho.
Also add many cases to the unit tests and reformat code slightly as well
as fixing some Generics-Warnings.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1513225 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 19:13:10 +00:00
Tim Allison b21ad9dbd2 added ratted out Apache license to HPSFPropertiesOnlyDocument
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1508190 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 19:36:24 +00:00
Nick Burch 8e9c0a1cc0 Ensure the interface and implementation javadocs share the same warnings, and paragraph-ise to look nicer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1503491 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 21:45:21 +00:00
Dominik Stadler d5528af80c Add more unit tests to cover more of HSSFWorkbook and HSSFSheet, check one more case of IndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1502661 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 19:21:12 +00:00
Nick Burch 7cc22dd3c1 Refactor to avoid logic duplication on the property value -> string conversion
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1499329 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 11:36:11 +00:00
Nick Burch fb8d0c1076 Fix bug #55191 - Avoid a ClassCastException if a HPSF string property isn't directly stored as a string
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1499326 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 11:24:01 +00:00
Nick Burch e82421ef02 HSMF generally wants Java Lang style encoding names, which HPSF has always worked with Java NIO ones, so add a flag to CodePageUtil to let you select which style to return
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1497037 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 18:44:51 +00:00
Nick Burch 8aca6fde15 Deprecate the old HPSF codepage Constants list, and change the code to use the new CodePageUtil class instead for their codepage work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1497035 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 18:20:37 +00:00
Nick Burch f073151b1a Bring the numeric CodePage support from HPSF (constants and converters) out to a new Util class, so that HSMF can later use it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1497032 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 18:18:21 +00:00
Nick Burch 1ae9e8eba6 Fix JavaDoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496701 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 00:56:28 +00:00
Nick Burch 43355883c8 JavaDoc fix - missing >
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496685 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 00:21:40 +00:00
Nick Burch 82df889469 Add a write method to HPSFPropertiesOnlyDocument, and use this to finish the unit tests for bug #54233
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496683 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 00:18:41 +00:00
Nick Burch 90b74675d5 Pull the Properties-Only document type out to a superclass, so other places (eg unit tests) can use it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496680 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 00:10:43 +00:00
Nick Burch 40d49a54d2 Fix bug #54233 - Some HPSF documents require UnicodeStrings to be 4-byte aligned, spot these from the otherwise invalid length
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496675 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 23:49:24 +00:00
Nick Burch bd92cbc8b5 Fix to have consistent whitespace, and add javadoc deprecated entries
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496673 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 23:34:22 +00:00
Nick Burch 9d87fb9caa Fix to have consistent whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496671 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 23:30:37 +00:00
Nick Burch f7a7eeec22 Add missing license headers, and a few javadoc tweaks while working on those files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496652 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 22:04:49 +00:00
Nick Burch a7bfec9271 Fix from Florian Hopf from bug #54564 - Fix error message text
for a workbook with no sheets when a sheet operation is performed

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496516 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 15:19:56 +00:00
Nick Burch dbd1a59416 Patch from Andrew Novikov from bug #53972 - Presence of PLV record shouldn't affect HSSF Data Validation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496499 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 14:48:16 +00:00
Nick Burch cb4dfced34 Patch and unit test from Tim Allen from bug #54686 - Improve how DataFormatter handles fractions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1494986 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 13:37:26 +00:00
Nick Burch d80ec206c6 Avoid a NPE if no password was given - use the default office one instead
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1494571 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 11:56:21 +00:00
Dominik Stadler eee1b1af23 Bug 54982: Add a close() interface to POITextExtractor which can be used to free resources later.
Implement close() where necessary so resources are closed. Add close()
to tests and run existing unit tests also against the Extractor that is
built via the Factory. Also add a small test-suite to quickly execute
all extractor-related tests.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1493669 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 07:53:59 +00:00
Nick Burch bd1214db1e Patch from Trejkaz from GitHub Pull 2 - HSSFWorkbook.getAllEmbeddedObjects() needs to recurse into container Shapes (with new unit test)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1493001 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 08:53:29 +00:00
Nick Burch b80a40bc13 JavaDoc fixes from #54731 from Dominik Stadler
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492267 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 16:32:24 +00:00
Yegor Kozlov 09c79ffed4 fixed compatibility issues with JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1489685 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 02:03:07 +00:00
Yegor Kozlov e3bbd87918 removed @Override to keep javac on JDK 1.5 happy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1488823 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 01:05:28 +00:00
Yegor Kozlov 2135b0741c Bug 55047: REPT formula support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1488811 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 23:39:41 +00:00
Yegor Kozlov abd5fcd939 missing tests for Bug 55041 - CODE formula support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1488810 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 23:32:24 +00:00
Yegor Kozlov ecb8b8240c added missing tests for Bug 55042: patch for missing function COMPLEX
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1488808 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 23:25:07 +00:00
Yegor Kozlov 4d81d34d5d Bugzilla 55043 and 55042: initial support for Complex and Quotient functions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1488734 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 16:08:17 +00:00
Yegor Kozlov 0dfb528355 Bugzilla 55041: CODE function support, also removed @Override from interfaces to stay compatible with JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1488733 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 15:58:41 +00:00
Yegor Kozlov c119f35388 Bugzilla 55037: DELTA function support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1488730 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 15:30:58 +00:00
Yegor Kozlov e5cfade841 Bugzilla 55036 - Dec2HEx formula support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1488729 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 15:13:47 +00:00
Nick Burch 808c01e365 Fix #54891 - correct javadoc on HSSF + SS (XSSF was correct) for Row.createCell(int,int)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1479639 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 16:53:04 +00:00
Yegor Kozlov 76fac97865 Bug 54673 - [PATCH] Simple wildcard support in HLOOKUP, VOOLKUP, MATCH, COUNTIF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1457243 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 12:33:08 +00:00
Yegor Kozlov 651e622176 Bugzilla 54625 - Register user-defined functions in instance scope instead of static
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1452060 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 16:16:12 +00:00
Yegor Kozlov decfde00ff Bugzilla 54469 - Support for financial functions IPMT and PPMT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1451886 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 13:17:53 +00:00
Nick Burch 522168dda4 Fix bug #54579 - Handle milliseconds in date formats eg ss.000
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1447798 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 16:28:40 +00:00
Nick Burch 9f23a59eaa Fix bug #54557 - Don't mis-detect format patterns like .000 as dates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1445725 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 16:45:03 +00:00
Nick Burch 8d7d3f54c0 Fix bug #54506 - Add "BOOK" to the list of unusual-but-largely-ok Workbook directory entry names list, alongside WORKBOOK, plus tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1443745 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 21:53:07 +00:00
Nick Burch 887af17af3 Fix 1.6ism from original patch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1442521 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 10:00:43 +00:00
Nick Burch 37c76d9b28 EDate function implementation from Detlef Brendle from bug #54508
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1442392 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 22:01:55 +00:00
Nick Burch dd21676086 An XBAT may not be fully used, and remaining entries may be 0 not POIFSConstants.UNUSED_BLOCK, so avoid trying to process any that we know aren't used. Fixes bug #53810
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1442095 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 12:52:12 +00:00
Evgeniy Berlog 5801aa36b2 set isHidden flag 'true' for invisible comment and 'false' for visible comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1441829 13f79535-47bb-0310-9956-ffa450edef68
2013-02-02 23:10:34 +00:00
Yegor Kozlov 0d3e7886ea keep javac on JDK 1.5 happy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1436888 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 13:02:39 +00:00
Yegor Kozlov c5e81c11e7 keep javac on JDK 1.5 happy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1436819 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 09:35:39 +00:00
Yegor Kozlov 3680179e47 Bugzilla 54356 - Support of statistical function SLOPE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1435633 13f79535-47bb-0310-9956-ffa450edef68
2013-01-19 18:33:34 +00:00
Nick Burch b7c061f07a Patch from Johan from bug #54402 - fix IfError with indirect references
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1431403 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 15:08:22 +00:00
Yegor Kozlov 0023138765 Bugzilla 54356: Support of statistical function INTERCEPT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1426485 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 12:50:15 +00:00
Nick Burch 876fea8596 Patch from Johan Karlsteen for bug #53966 - Implement IfError AP function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1426382 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 03:34:18 +00:00
Nick Burch 21abfa9536 Make the exception a bit more explicit about what is wrong
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1424281 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 03:54:42 +00:00
Yegor Kozlov 7d6b730202 Bug 54206: ValueRecordsAggregate.updateFormulasAfterRowShift doesn't update shared formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1416917 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 12:44:33 +00:00
Yegor Kozlov baa610fa5e removed svn:executable from test files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1413341 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 12:19:05 +00:00
Yegor Kozlov c7c321b0f1 avoid warning: check if property node exists instead of throw/catch exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1410324 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 12:58:45 +00:00
Yegor Kozlov 133c0d7c0b Bug 52628 - Replace System.err info messages with a POILogger
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1410318 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 12:21:49 +00:00
Yegor Kozlov 87073d28da fixed javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1410315 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 12:00:02 +00:00
Yegor Kozlov 2365cae199 bugzilla 54137 - improved performance of DataFormatter with Fractions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1410269 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 09:46:28 +00:00
Yegor Kozlov 27355c84b1 clear unused import warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1408236 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 09:54:37 +00:00
Yegor Kozlov 395b0af2e4 Bugzilla 54070: Patch for typos in comments, javadoc and documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1404642 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 15:26:27 +00:00
Yegor Kozlov 7ba0f8af84 Bug #54016 - Avoid exception when parsing workbooks with DConRefRecord in row aggregate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1402482 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 12:21:33 +00:00
Yegor Kozlov 7b196a13fa Bug #53404 - Fixed compatibility issue with modifying xls files created by POI-3.6 and earlier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1402186 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 15:13:53 +00:00
Yegor Kozlov 6000b0e528 Bugzilla 53763: avoid style mess when using HSSFOptimiser
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1397548 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 12:55:45 +00:00
Yegor Kozlov 299ca1472b Bugzilla >53974 - Avoid exception when constructing HSSFWorbook on Google App Engine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1396543 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 11:09:48 +00:00
Nick Burch e57875865e Have HSSFOptimiser also remove un-used cell styles, in addition to duplicates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1391891 13f79535-47bb-0310-9956-ffa450edef68
2012-09-29 21:36:27 +00:00
Nick Burch aa358ace11 Fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1391885 13f79535-47bb-0310-9956-ffa450edef68
2012-09-29 21:25:44 +00:00
Sergey Vladimirov 9f666b8aee refactor list format override structures (was marked with @Internal annotation)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1389037 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 12:56:09 +00:00
Evgeniy Berlog c7c1fd596a fixed bug 46250
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1382494 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 13:21:38 +00:00
Evgeniy Berlog 881e7df713 fixed bug 53588
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1382339 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 18:35:04 +00:00
Evgeniy Berlog ddbbd7ba32 bugzilla ticket 53642: added detailed logging for formula evaluation in both HSSF and XSSF modules
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1381249 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 17:03:55 +00:00
Evgeniy Berlog e0db6f31a0 resolved bugzilla ticket 53642
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1380882 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 21:00:41 +00:00
Evgeniy Berlog 107c23505b fixed bug 53434
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1378016 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 08:24:07 +00:00
Evgeniy Berlog c3f9a6e682 fixed bug 53432
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1373110 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 21:11:53 +00:00
Evgeniy Berlog 98f64db1c7 fixed bug 53028, added check before serialization if any cell contains 2 or more comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1373005 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 18:22:31 +00:00
Evgeniy Berlog a2b21484ae complete refactoring in EscherAggregate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1372065 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 10:18:43 +00:00
Yegor Kozlov b200e0b4c2 Bugzilla 53699 - Patch to correct BorderStyle enum positions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1372063 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 09:59:54 +00:00
Yegor Kozlov 8d467f5751 fixed compilation errors on JDk 1.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1372061 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 09:38:17 +00:00
Yegor Kozlov e2385e48b6 Bugzilla 53644: XLS formula bugfix (CalFieldFunc) + WeekDay addon
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1371969 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 16:14:49 +00:00
Evgeniy Berlog b5a2cd5eb5 added javadoc and code refactoring
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1370912 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 19:41:14 +00:00
Evgeniy Berlog a5fc05417c added javadoc and few other improvements
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1370018 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 21:06:12 +00:00
Evgeniy Berlog 0625b0bb8a merged with trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1369572 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 13:05:44 +00:00
Yegor Kozlov 8394c58b15 Bug 53500: split setRepatingRowsAndColumns into setRepeatingRows and setRepeatingColumns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1369290 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 08:51:49 +00:00
Yegor Kozlov fb1719c85d Bugzilla 53446 - Fixed some problems extracting PNGs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1369263 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 05:30:19 +00:00
Evgeniy Berlog 49a07a11e3 fixed compilation for jdk 1.5
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1368670 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 19:52:47 +00:00
Evgeniy Berlog 08650c8eea added Apache License header to each new file
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1368221 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 19:48:24 +00:00
Evgeniy Berlog b04e0e9381 code refactoring
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1368211 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 19:34:08 +00:00
Evgeniy Berlog 462647cd42 added feature for setting additional shape type
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1367279 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 20:37:34 +00:00
Evgeniy Berlog 3d2c6ff64c fixed bug 51675, added test case for bug 52272
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1366700 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 16:01:24 +00:00
Evgeniy Berlog b7f92ea9ad added features:
-background image for comment
-wrapText for HSSFSimpleShape
-few other improvements

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1366636 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 10:21:40 +00:00
Evgeniy Berlog 5e17fbb130 fixed cloning of sheets with charts
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1365255 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 19:42:28 +00:00
Evgeniy Berlog 22c5121d98 added few improvements
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1364547 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 09:06:56 +00:00
Yegor Kozlov dc1453135a keep javac on JDK 1.5 happy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1364520 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 06:58:36 +00:00
Yegor Kozlov 626e2e7993 Bugzilla 53204: Improve performance when opening certain Excel files (PageSettingsBlock)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1364254 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 10:50:01 +00:00
Yegor Kozlov d619711ea4 Bugzilla 53500 - Getter for repeating rows and columns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1364061 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 10:33:00 +00:00
Yegor Kozlov 765b7627dc Bugzilla 53369 fixed TestCellFormatPart.testDateFormat failing on jdk 1.7
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1364058 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 10:08:07 +00:00
Evgeniy Berlog 292f583707 implemented removing of all shape types
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1363524 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 20:29:42 +00:00
Evgeniy Berlog 426ef18c61 implemented cloning of shapes
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1363479 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 19:02:43 +00:00
Evgeniy Berlog 57f0fe06b9 moved HSSFObjectData into drawing layer
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1361278 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 15:45:01 +00:00
Evgeniy Berlog 73b0c8390c fixed auto filters(added class HSSFCombobox)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1360445 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 22:22:24 +00:00
Evgeniy Berlog 9645abc093 checked all examples, added several features
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1360132 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 12:08:38 +00:00
Nick Burch eb368e205d Start on the code to process properties, and wire it up. No properties reading code exists yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1358813 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 18:50:11 +00:00
Evgeniy Berlog bbe479f069 implemented creating shapes in new file using new model
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1358301 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 17:00:20 +00:00
Evgeniy Berlog 4c43845491 implemented work with existing shape groups and polygons
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1355866 13f79535-47bb-0310-9956-ffa450edef68
2012-07-01 09:38:08 +00:00
Evgeniy Berlog 43e8428d58 implemented creating comments in existing files, bugfixes
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1354910 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 10:56:55 +00:00
Yegor Kozlov 368a2de047 Bug 53476 - Support Complex Name in formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1354550 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 14:50:22 +00:00
Yegor Kozlov bfc4b5ae22 Bugzilla 53414: properly update sheet dimensions when adding column
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1353962 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 11:30:45 +00:00
Evgeniy Berlog b1f3eb6ca0 implemented creating shapes in existing files
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1353960 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 11:21:13 +00:00
Evgeniy Berlog f6a678adc9 added support for HSSFPicture in HSSFShapeFactory, fixed bugs, added tests
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1352818 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 09:37:17 +00:00
Yegor Kozlov c360a094be Utility to test that POI produces readable output after re-saving xls files
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1351998 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 08:57:38 +00:00
Evgeniy Berlog 74f69523a7 improved aggregating drawing records in documents with charts,
fixed reading EscherContainer records from byte array

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1351850 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 21:00:04 +00:00
Evgeniy Berlog 74f75bebd8 Added such improvements:
1. Each shape contains EscherContainerRecord(SpContainer). Shapes get and set all properties into EscherOptRecord. 
2. HSSFShapeGroup takes coordinates from EscherSpgrRecord.
3. Added tests for creating new HSSFSimpleShape from scratch and reading from existing file
4. Improved work with anchors.

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1351484 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 20:59:32 +00:00
Evgeniy Berlog 1b76a7e345 fixed bug in EscherAggregate if sheet contains no shapes
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1351309 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 12:02:36 +00:00
Yegor Kozlov 3d077abe2c fixed EscherAggregate to correctly write records with trailing solver container
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1350298 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 15:36:34 +00:00
Nick Burch 6de1dc574e Fix bug #53389 - Handle formatting General and @ formats even if a locale is prefixed to them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1349562 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 22:10:52 +00:00
Yegor Kozlov 5de1aec65e initial support for reading shapes, see patch from June 8 in Bugzilla 53372
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1348168 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 17:47:37 +00:00
Yegor Kozlov d3f4e26985 Bugzilla 53010, patch from June 3: improved support for Continue records in drawing blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1345858 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 08:08:47 +00:00
Yegor Kozlov 4f20669925 more tests and fixes, see patch from May 30 in Bugzilla 53010
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1344621 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 09:47:17 +00:00
Yegor Kozlov 9108ca6471 Bugzilla 53302: fixed EscherAggregate to correctly handle Continue records in drawing blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1343218 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 12:15:16 +00:00
Yegor Kozlov 3722fd2a70 polishing BiffDrawingToXml: more readable output and removed unnecessary tags
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1334342 13f79535-47bb-0310-9956-ffa450edef68
2012-05-05 08:25:08 +00:00
Yegor Kozlov eee49e3709 Bugzilla 53058 - Utility for representing drawings contained in a binary Excel file as a XML tree
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1333050 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 14:00:46 +00:00
Nick Burch 8a13b1bf04 Fix bug #48528 - support negative arguments to the DATE() function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1331796 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 17:29:06 +00:00
Nick Burch b956b78e91 Fix bug #53092 - allow specifying of a TimeZone to DateUtil.getJavaDate(), for when it is known that a file comes from a different (known) timezone to the current machine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1331477 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 15:49:49 +00:00
Yegor Kozlov 6fc404c4a6 Bugzilla 53101: fixed evaluation of SUM over cell range > 255
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1328647 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 12:48:42 +00:00
Yegor Kozlov 083c1368b3 Bugzilla 49529 - avoid exception when cloning sheets with no drawing records and initialized drawing patriarch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1306781 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 10:35:41 +00:00
Maxim Valyanskiy b9a6d0a2e0 #52991: Unexpected end of ZLIB input stream on embedded OLE extraction from PPT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1305778 13f79535-47bb-0310-9956-ffa450edef68
2012-03-27 08:32:47 +00:00
Yegor Kozlov 7263a10fd7 removed svn:executable from source files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1301933 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 13:11:11 +00:00
Yegor Kozlov 0d752498a2 Bugzilla >52928 - DateFormatConverter: an utility to convert instances of java.text.DateFormat to Excel format patterns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1301923 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 12:16:45 +00:00
Yegor Kozlov 5a6b2f2299 Bugzilla 52895 - show SSTIndex instead of XFIndex in LabelSSTRecord.toString()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1299990 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 07:20:38 +00:00
Yegor Kozlov 1434c766a3 bugzilla 52818 - Added implementation for RANK()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1297021 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 12:11:13 +00:00
Yegor Kozlov af696ae5fd optimized unused imports and removed deprecation warnings in poi-main
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1296979 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 09:44:20 +00:00
Yegor Kozlov c20420591c bugzilla 52057 - updated formula test framework to be aware of recently added Functions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294595 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 11:53:25 +00:00
Yegor Kozlov d52b24dae0 follow-on to r1294180
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294186 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 15:29:26 +00:00
Yegor Kozlov be4f4d11a8 Bugzilla 52574 - support setting header / footer page margins in HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294181 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 15:22:22 +00:00
Yegor Kozlov 828ee0cf88 Bugzilla 52583 - fixed WorkbookUtil#createSafeSheetName to escape colon
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294180 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 15:21:40 +00:00
Yegor Kozlov 79ad552d72 Bugzilla 52708 - misc improvements in CellFormat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294072 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 09:26:36 +00:00
Yegor Kozlov d1d0ea3692 polished code to register new function impls in runtime
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1293851 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 15:22:43 +00:00
Yegor Kozlov 582ea1c54c Bugzilla 52690 - added a getter for length of encrypted data in Ecma and Agile decryptors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1293784 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 08:49:36 +00:00
Yegor Kozlov a70a072562 allow runtime registration of functions in FormulaEvaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1291677 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 09:43:01 +00:00
Nick Burch 4671de5673 Add TODO for merging CellFormat and DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1291206 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 11:29:58 +00:00
Yegor Kozlov 8e5a395ec3 Bugzilla 52385,52337,52338: avoid trancated array and vector data when reading OLE properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1244388 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 07:49:25 +00:00
Yegor Kozlov 39edd2fe62 Bugzilla 52626: fixed setting default row height in HSSF and XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1243240 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 11:14:23 +00:00
Yegor Kozlov 3d2839bd7a fixed evaluation of blank cells in COUNTIF, see Bugzilla 51498
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1243054 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 13:16:33 +00:00
Yegor Kozlov 97afbf7087 Bugzilla 52576: support changing external file references in HSSFWorkbook
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1242701 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 08:26:45 +00:00
Yegor Kozlov 683ef158a1 Bugzilla 52527: avoid exception when matching shared formula records in HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241419 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 10:46:55 +00:00
Yegor Kozlov 1f43a6c393 Bugzilla 52569: Support DConRefRecord in HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241380 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 09:00:47 +00:00
Yegor Kozlov b70cf560db added HSSFFormulaEvaluator.setIgnoreMissingWorkbooks, see Bugzilla 52575
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241372 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 08:11:37 +00:00
Yegor Kozlov 2e2559d80a bugzilla 52575: added an option to ignore missing workbook references in formula evaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1240903 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 07:37:11 +00:00
Maxim Valyanskiy 32b830954e bug#52560 - ArrayIndexOutOfBoundsException: -2 on NPOIFSFileSystem.readBAT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1237629 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 12:55:29 +00:00
Yegor Kozlov bc7f63906d Added implementation for SUMIFS(), see Bugzilla 52462
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1234305 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 11:50:49 +00:00
Yegor Kozlov 8259a18fac corrected javadoc for StandardRecord#serialize(LittleEndianOutput out) as reported in poi-dev
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1232321 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 06:53:45 +00:00
Nick Burch 6c37e2c672 Correct fraction formatting quick return logic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1231144 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 16:03:17 +00:00
Nick Burch b82b4772f5 Fix bug #52446 - Handle files which have been truncated by a few bytes in NPropertyTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1229963 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 11:46:41 +00:00
Nick Burch 1a4bf34cb5 Patch from Steve Vysny from bug #52438 - Update CellDateFormatter to handle times without seconds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1229281 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 18:21:54 +00:00
Nick Burch 091e464ed4 Bug #52389 - Handle ?/? format fractions as well as #/# ones, and tighten the criteria for triggering fraction formatting matching
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1225093 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 05:10:24 +00:00
Yegor Kozlov e8a75979a0 Bugzill 52378: Support for Excel's Analysis Tool Pack functions workday and networkdays
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1221682 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 11:40:48 +00:00
Nick Burch 2af707980e Inspired by bug #52349 - Merge the logic between the TEXT function and DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1221126 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 07:20:44 +00:00
Nick Burch 09f6464163 Fix bug #52349 - Correctly support excel style date format strings in the TEXT function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1221123 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 06:58:01 +00:00
Yegor Kozlov 2e67e48e71 applied patch from Bugzilla 52314: SheetUtil.getColumnWidth could be more flexible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1215079 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 10:01:02 +00:00
Yegor Kozlov 6867b3eee4 fixed javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212511 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:48:38 +00:00
Nick Burch 3400cf0d44 Patch from Marcel May from bug #51875 - More XSSF formula new-line support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1210299 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 00:52:39 +00:00
Nick Burch 991fd65ee8 Demote the HPSF CodePageString null check from an exception to a Warning, as we seem to be hitting it incorrectly (see bug #52258 for details)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207477 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 17:38:29 +00:00
Nick Burch c3072e1efc Convert POIFS EntryUtils.copyNodes(POFS,POIFS) to use FilteringDirectoryNode, so can exclude from copying nodes not just directly under the root
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207445 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 17:00:11 +00:00
Nick Burch 9874de32e3 Add unit test for using FilteringDirectoryNode with EntryUtils.areDirectoriesIdentical
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207422 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 16:51:06 +00:00
Nick Burch 47be5cb142 Add a POIFS Helper FilteringDirectoryNode, which wraps a DirectoryEntry and allows certain parts to be ignored
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207412 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 16:44:16 +00:00
Nick Burch a0e1b78f34 Unit tests for POIFS EntryUtils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207333 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 15:54:51 +00:00
Nick Burch c27488ef36 Start on a new method for POIFS EntryUtils for checking to see if the two Directories have the same contents, plus stub out some tests for EntryUtils (to follow)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1206355 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 21:56:19 +00:00
Yegor Kozlov afecad3532 keep rat-check quiet, also started writing xslf docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1198722 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 13:22:04 +00:00
Sergey Vladimirov c3704d0eff replace exception with warning
update test case

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1195053 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 22:00:42 +00:00
Sergey Vladimirov 2c06f34413 undeprecate get*() methods with 0 offset
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187981 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 21:52:34 +00:00
Sergey Vladimirov 2ed5482fbf additional safety belts to handle broken files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187647 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 02:52:52 +00:00
Sergey Vladimirov f428ff6a57 adding safety belts for property type 0x0100 and other unknown types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187646 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 02:40:20 +00:00
Sergey Vladimirov 24f32eec41 some files has strange property values... try to handle them.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187644 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 02:23:19 +00:00