Commit Graph

111 Commits

Author SHA1 Message Date
Yegor Kozlov 28b6f4e2a3 merged with trunk r653489
git-svn-id: https://svn.apache.org/repos/asf/poi/tags/REL_3_1_BETA2@653490 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 14:20:39 +00:00
Yegor Kozlov 577b3e084f added a unit test and closed bug #28774
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@649142 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 15:06:01 +00:00
Nick Burch 78c69f1230 Make a bit of a start on being able to edit chart titles, based on the email to user@poi from Russ on the 2nd of April. Not quite there though
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@644343 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 15:04:52 +00:00
Yegor Kozlov a4cb19f0e8 Fixed inconsistency between HSSFSHeet.getColumnWidth and HSSFSheet.getDefaultColumnWidth: getColumnWidth should always return width measured in 1/256th units.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@643834 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 10:25:18 +00:00
Josh Micich e6fb5e7d7b Bug #44733 - DPRODUCT function should be index 189, not 191
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@643625 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 22:18:25 +00:00
Nick Burch 37e1487670 Update Formula test spreadsheet for count, and also do a copy as an ooxml .xlsx file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642738 13f79535-47bb-0310-9956-ffa450edef68
2008-03-30 13:40:34 +00:00
Nick Burch 7061aef6f1 Add test to show that bug #44693 is incorrect
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642231 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 13:35:37 +00:00
Josh Micich c6d7eb5387 patch 44675 - made POI capable of recognising var-args functions. Some related fixes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@641185 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 07:32:28 +00:00
Nick Burch f5b67d0e52 Fix for readCompressedUnicode not moaning about length=0, from bug #44643
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@639242 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 11:02:39 +00:00
Nick Burch fce60a6630 Test relating to bug #44636
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@639231 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 10:06:59 +00:00
Nick Burch 870c5e1889 Add test to show that bug #43251 is already fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@638804 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 12:01:32 +00:00
Nick Burch a0d0fd14ef Added test to show that bug #41546 is already fixed. Also rename a test file to be more consistent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@638803 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 11:57:38 +00:00
Nick Burch 97265001e9 Patch from Josh from bug #44608 - Support for PercentPtg in the formula evaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@637598 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 15:38:09 +00:00
Nick Burch f3193f779e Patch from Josh, which shows that various bugs are now fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@637593 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 15:20:47 +00:00
Nick Burch 709c487a42 Fix bug #44593 - improved handling of short DVRecords
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@636756 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 13:20:09 +00:00
Nick Burch 96198ae3d1 Improved support for read-only recommended workbooks, fixing bug #44536
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@634619 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 11:36:14 +00:00
Nick Burch e685873465 Big patch from Josh from bug #44504 - lots of formula parser improvements
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@633547 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 16:53:32 +00:00
Nick Burch 7cdfaaa61d Patch from Josh from bug #44450 - VLookup and HLookup support, and improvements to Lookup and Offset
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@630160 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 11:23:50 +00:00
Nick Burch e0b06b3510 Add a disabled test for a file with whacky StyleRecords that trigger an AIOOB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@629849 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 16:22:18 +00:00
Nick Burch 1a6fcd5024 Patch from Josh from bug #44449 - Handle SharedFormulas better, for where there are formulas for the same area on two sheets, and when the shared formula flag is set incorrectly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@629837 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 15:48:52 +00:00
Nick Burch 818880bf7f Further support for whole-column references, including formula strings and the evaluator. Also has some new tests for it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@628065 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 13:50:38 +00:00
Nick Burch 720b6bdf3d Partial fix for bug #44410 - support whole column ranges such as C:C in the formula evaluator (so SUM(D:D) will now work). However, the formula string will still be displayed wrong
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@628044 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 12:59:40 +00:00
Nick Burch 7992e8e0f0 Fix for bug #44403 - Have mid use the third argument properly, and test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@628027 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 11:45:13 +00:00
Nick Burch 28b1858b3e To avoid confusion and repeated changes in svn, update the TestDataValidation test to output its file (that needs opening in excel to check to output) into the system tmp directory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@627999 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 10:30:10 +00:00
Nick Burch 4a7276e4ee Big formula update from Josh from bug #44364 - support for Match, NA and SumProduct functions, and initial error support in functions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@627788 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 16:01:10 +00:00
Nick Burch 3acc95e057 In the interests of sanity, stop having hssf test data files in scratchpad and main, go to just having them in main
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@627779 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 15:32:49 +00:00
Nick Burch 600dd45507 Another test relating to bug #42564 - this one is still failing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@620557 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 17:55:09 +00:00
Nick Burch 45473533cf Test for bug #42564 - appears to already be fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@620341 13f79535-47bb-0310-9956-ffa450edef68
2008-02-10 21:54:13 +00:00
Nick Burch ca81e5ff80 Test file with hyperlinks on many sheets, of different types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@618235 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 11:14:49 +00:00
Nick Burch b3af87e4a6 More Hyperlink support. Doesn't end up in HSSFCell just yet, as the records are in the wrong bit of the file, so don't get associated with the sheet. All tests still passing though
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617555 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 16:52:58 +00:00
Nick Burch 93ccde2d0e Get the Hyperlink record code so that it doesn't break any existing tests, and add in (no usermodel support yet though)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617523 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 15:41:32 +00:00
Nick Burch bfd5ebe008 Mostly fix bug 42618 (really this time...) - can now open the file properly, but getCellFormula() is still playing up (bug #44306 opened for this)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@615859 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 12:18:12 +00:00
Nick Burch fdcd7c3fb8 Add a test to show the bug #42618 appears to be incorrect
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@615259 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 16:33:59 +00:00
Nick Burch 022aa1ad69 Fix from bug #41726 - support signed offsets from relative areas and references
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@614211 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 14:48:51 +00:00
Yegor Kozlov 2c46d2a3f7 added unit tests for closed Bug 37684: Unhandled Continue Record Error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@613400 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 14:44:07 +00:00
Nick Burch 33602b0c80 Patch to support UncalcedRecord and usermodel code for it, to indicate formulas on a sheet need recalculating (from bug #44233)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612445 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 13:14:31 +00:00
Nick Burch 32a7c6ac86 Fix bug #44201 - support cloning of DVRecord, so validation enabled sheets can be cloned
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612152 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 16:42:44 +00:00
Yegor Kozlov ffe9ba52c1 fixed bug 44200: Sheet not cloneable when Note added to excel cell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610855 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 18:04:38 +00:00
Nick Burch cacf0c4fc3 Add several more test files, charting related
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610606 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 23:14:32 +00:00
Nick Burch 0f4d8d90ed Fix for bug #43058 - handle setting row grouping for sheets that lacked gutsrecords at that point
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610384 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 13:37:06 +00:00
Nick Burch 9726aea084 Add a xlsx sample file with boolean formulas and values in it, as none of the official samples include any booleans!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610376 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 13:04:18 +00:00
Nick Burch f9e5145d9c Add clone methods to DrawingRecord and AbstractEscherHolderRecord, which allows cloning of some sheets with drawing objects on them. Fixes bug #31795
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610336 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 10:59:04 +00:00
Nick Burch 9c2787efb4 Have autoSizeColumn skip over merged regions - bug #43902. Patch from Paolo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610328 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 09:55:20 +00:00
Nick Burch 1a6f87e035 Finally fix bug #42464 - Expected ExpPtg to be converted from Shared to Non-Shared Formula - tracked down to a signed vs unsigned byte issue!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610216 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 23:01:12 +00:00
Nick Burch 26f6e5a716 Add un-fixable testcase for bug 43493
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610097 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 19:11:22 +00:00
Nick Burch d6a4075aa7 Fix bug #34023 - when shifting rows, update the any formula references to those rows to point to their new location
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610072 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 17:18:38 +00:00
Nick Burch eae7142499 Fix for bug #44167 - patch from Paolo Mottadelli
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609924 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 10:36:36 +00:00
Nick Burch 9966418b86 Fix bug #44070 - patch from Gian Carlo Pace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609620 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 14:51:37 +00:00
Nick Burch f3177bf387 Some matching sets of sample ooxml and ole2 files, along with a plain text description
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@608826 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 13:09:57 +00:00
Nick Burch ebc731a087 Improve the javadocs for font and fill related colourings, and add another tests to check it all works as expected
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@608132 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 15:48:11 +00:00