Commit Graph

2566 Commits

Author SHA1 Message Date
Nick Burch
3fbf71f9d9 Fix for DataFormatter on some JVMs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@680394 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 16:41:47 +00:00
Nick Burch
9500a5f31e Fix bug #45437 - Detect encrypted word documents, and throw an EncryptedDocumentException instead of a OOM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@678539 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 19:35:47 +00:00
Nick Burch
d4655fe1bb Apply, with some tweaks, the patch from bug #45404 - New class, hssf.usermodel.HSSFDataFormatter, for formatting numbers and dates in the same way that Excel does
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@678287 13f79535-47bb-0310-9956-ffa450edef68
2008-07-20 17:18:07 +00:00
Nick Burch
dc5fc2e99c Patch from bug #45414 - Don't add too many UncalcedRecords to sheets with charts in them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677995 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 18:40:11 +00:00
Nick Burch
74e26146b7 Patch from bug #45398 - Support detecting date formats containing "am/pm" as date times
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677974 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 17:16:50 +00:00
Nick Burch
07b640f8f9 Update homepage for 3.5.1 beta 1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677972 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 17:11:51 +00:00
Nick Burch
b72c86ab82 Patch from Jukka from bug #45394 - tidy up examples bit of build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677969 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 17:02:29 +00:00
Josh Micich
25c14e47a2 Patch 45410 - removed dependency on commons beanutils, collections and lang
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677376 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 18:47:13 +00:00
Nick Burch
58f0fc9eaf Cell Style optimisations too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677057 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 21:38:38 +00:00
Nick Burch
b2edbb5332 Start on HSSFOptimiser, which removes un-needed cell styles and fonts, fixing up references as it does so
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677041 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 21:15:16 +00:00
Nick Burch
aa11ce85c1 Support for removing low level font records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677029 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 20:24:53 +00:00
Nick Burch
775fa5ed25 Method to check if two fonts have the same contents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677028 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 20:19:06 +00:00
Yegor Kozlov
2765285706 fixed bug #45322: HSSFSheet.autoSizeColumn() throws NPE when cell number format was not found
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676995 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 18:13:50 +00:00
Josh Micich
92a6e4538b Fix for bug 45380 - added return keyword in ArrayPtg.toFormulaString()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676457 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 23:23:13 +00:00
Nick Burch
9c3f4b14c6 Inspired by bug #44958 - Record level support for Data Tables. (No formula parser support though)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676310 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 12:37:29 +00:00
Nick Burch
bae464ec10 Implement idea from bug #35583 - Include a version class, org.apache.poi.Version, to allow easy introspection of the POI version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676221 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 19:37:17 +00:00
Nick Burch
511f83925b Allow the cloning of one HSSFCellStyle onto another, including cloning styles from one HSSFWorkbook onto another
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676205 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 17:38:10 +00:00
Nick Burch
eb35f25f3b Support for cloning one extended format record onto another, plus tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676203 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 17:21:54 +00:00
Nick Burch
0935654115 Support for cloning one font record onto another, plus tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676201 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 16:56:55 +00:00
Josh Micich
b103b318bb Patch 45289 - finished support for special comparison operators in COUNTIF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675853 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 07:59:44 +00:00
Nick Burch
b45b8f99f8 Add a test to show that the behaviour around bug #30635 is exactly as you would expect, and the bug report is invalid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675793 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 22:43:01 +00:00
Nick Burch
882d25e9e9 Improve javadocs relating to getLastRowNumber
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675792 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 22:39:53 +00:00
Nick Burch
19882d69e9 Tweak test to run forward and back
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675785 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 22:22:24 +00:00
Nick Burch
3ee8895f5f Add disabled test for bug #45376
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675783 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 22:14:25 +00:00
Nick Burch
927ed3a6ca Fix bug #45126 - Avoid generating multiple NamedRanges with the same name, which Excel dislikes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675776 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 21:49:37 +00:00
Nick Burch
a40c24fe3e Add test for bug #43623, currently disabled as it makes FormulaParser unhappy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675734 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 21:03:52 +00:00
Nick Burch
1e5b805dfd Fix cell.getRichStringCellValue() for formula cells with string results
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675727 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 20:54:42 +00:00
Nick Burch
fa00b16511 Back port fixes from the ooxml branch for CellReference column number<->letter stuff
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675717 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 20:30:46 +00:00
Nick Burch
81f9610e04 Fix bug #45365 - Handle more excel number formatting rules in FormatTrackingHSSFListener / XLS2CSVmra
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675671 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 18:41:25 +00:00
Nick Burch
f6730d9a3a Apply some changes inspired by bug # 45373, which improve the performance of HSSFSheet.shiftRows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675661 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 17:52:33 +00:00
Josh Micich
00c3543d99 Fix for bug 45367 - fixed boundary case when row zero is the last row removed from the sheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675218 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 14:58:06 +00:00
Josh Micich
d03e5c688f Minor junit fix after r674953 (bug 45354). Hooked up loose tests in suite.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675086 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 02:15:52 +00:00
Josh Micich
2262b7c5c8 Fix for bug 45348 - required tweaks to RVA formula logic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675079 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 01:45:33 +00:00
Josh Micich
718befdc6a Fix for bug 45354 - Proper distinguishing of cell references and named ranges within formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@674953 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 21:00:13 +00:00
Josh Micich
d9c09dd5ea Hooked up new junit in suite (from bug 45338)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@674937 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 20:19:40 +00:00
Josh Micich
2f47f1e37a Fix bug #45338 - JDK 1.4/1.5 issue from r673997
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@674911 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 18:56:21 +00:00
Nick Burch
8f23fac974 Test to check that formula stuff is mostly working with zip codes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@674891 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 17:31:36 +00:00
Nick Burch
a7c8dca597 Shuffle the HDGF chunks_parse_cmds.tbl off into resources where it more properly belongs, and correctly update the legal notice file to match
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@674348 13f79535-47bb-0310-9956-ffa450edef68
2008-07-06 21:16:05 +00:00
Nick Burch
c622e72683 Fix bug #45338 - Fix HSSFWorkbook to give you the same HSSFFont every time, and then fix it to find newly added fonts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@673997 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 10:46:59 +00:00
Nick Burch
183c13a1d3 Fix bug #45336 - Fix HSSFColor.getTripletHash()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@673987 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 09:58:21 +00:00
Josh Micich
349d02400b Fix for bug 45334 - added impl for ERROR.TYPE()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@673863 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 23:09:08 +00:00
Josh Micich
6fcff0c660 Fix for bug 45334 - formula parser needs to handle dots in identifiers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@673853 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 22:20:18 +00:00
Yegor Kozlov
aceb436c93 updated status of the latest release, 3.1-FINAL
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@673050 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 10:32:29 +00:00
Nick Burch
17285a57b1 Patch from N.Hira from bug #45252 - Improvement for HWPF Range.replaceText()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672570 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 18:58:23 +00:00
Nick Burch
5acc99f2a1 Patch from N. Hira from bug #45001 - Further fix for HWPF Range.delete() and unicode characters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672569 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 18:54:02 +00:00
Nick Burch
1f27ceb98f Patch from dnapoletano from bug #45175 - Support for variable length operands in org.apache.poi.hwpf.sprm.SprmOperation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672567 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 18:48:35 +00:00
Nick Burch
70f9a0a528 Avoid spurious missing lines with the MissingRecordAware event code, and odd files that contain RowRecords in the middle of the cell Records.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672562 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 18:21:21 +00:00
Nick Burch
1e0458db99 Update changelog about EventWorkbookBuilder, and tweak XLS2CSVmra to use it if formulas required
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672553 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 17:12:38 +00:00
Nick Burch
74621c5983 Finish the EventWorkbookBuilder, now does sheet references in formulas properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672550 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 17:04:09 +00:00
Nick Burch
f5a1872e2b Add MethodNotFound exceptions to the faq
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672230 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 10:12:11 +00:00