Commit Graph

564 Commits

Author SHA1 Message Date
Nick Burch
a4f9eb9543 Test which seems to show that bug #44996 is invalid, but not completely sure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658336 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 16:51:49 +00:00
Nick Burch
748647c9c0 Fix bug #44977 - Support for AM/PM in excel date formats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658322 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 16:37:15 +00:00
Nick Burch
e548591e87 Support for specifying a policy to HSSF on missing / blank cells when fetching
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658308 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 16:30:19 +00:00
Nick Burch
74f90acf81 Fix bug 44898 - Correctly handle short last blocks in POIFS
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658285 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 15:42:16 +00:00
Josh Micich
047ca7a1f2 Bug 44306 - fixed reading/writing of AttrPtg and rendering of CHOOSE formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@657702 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 01:06:54 +00:00
Yegor Kozlov
e01964e6e7 misc bug fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@657358 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 14:03:27 +00:00
Yegor Kozlov
ce8e1c9f62 added HSSFName.isDeleted() to check if the name points to cell that no longer exists
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@657355 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 14:00:30 +00:00
Josh Micich
681f04c05e fixed bug number in junit msg - from r656893 bug 44523
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@657180 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 19:24:47 +00:00
Josh Micich
3ee85ee6a9 Fix for bug 40414 - update selected/active sheet after removing sheet from workbook
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@657167 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 18:55:02 +00:00
Josh Micich
9c65dbae4a Should have been submitted with r656893 (for bug 44523)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@657136 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 17:14:02 +00:00
Josh Micich
802a3df0b5 added test case for reported bug 44987
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@655912 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 15:25:51 +00:00
Josh Micich
c1a11a8b7c 41187 - fixed HSSFSheet to properly read xls files without ROW records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@655278 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 08:15:39 +00:00
Josh Micich
2def1a9532 fixed mistake in FuncPtg.clone(), added test case, cleaned up outdated (since bug 13292) test method.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@654649 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 23:02:43 +00:00
Josh Micich
791f1cb208 tiny clean-up after r654356 (bug 44950)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@654366 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 01:06:56 +00:00
Josh Micich
86746dde00 44950 - fixed HSSFFormulaEvaluator.evaluateInCell() and Area3DEval.getValue() also added validation for number of elements in AreaEvals
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@654356 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 00:52:05 +00:00
Nick Burch
33a18267e1 Update a test to match the new warning on short files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@654056 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 09:41:03 +00:00
Nick Burch
6e46f03020 Add disabled test for bug #44898, and slightly improve a few poifs related error messages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@653945 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 22:51:28 +00:00
Josh Micich
609058dea5 Another attempt to fix unicode problems in functionMetadata.txt. Made that file pure ascii.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@653892 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 19:48:55 +00:00
Nick Burch
3475425c5f Fix up the functionMetadata.txt stuff to be end-to-end UTF8. Was assuming it before, but breaking on some systems, while now it ought to work fine everywhere
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@653831 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 16:38:34 +00:00
Josh Micich
6fc050034d 42570 - fixed LabelRecord to use empty string instead of null when the length is zero.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@653675 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 03:57:15 +00:00
Josh Micich
8264540df1 42564 - fixed ArrayPtg to use ConstantValueParser. Fixed a few other ArrayPtg encoding issues.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@653668 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 02:02:41 +00:00
Josh Micich
31ccbe6fc9 Follow-on from 28754 - StringPtg.toFormulaString() should escape double quotes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@653608 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 21:38:07 +00:00
Josh Micich
573429d804 Added test case method javadoc for old bug 44675
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@653551 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 18:30:49 +00:00
Yegor Kozlov
5ec046cd73 bug #44235 is not reproducible in 3.1-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@653520 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 16:12:21 +00:00
Josh Micich
8fb40de628 Fixed 44675 - Parameter operand classes (function metadata) required to encode SUM() etc properly. Added parse validation for number of parameters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@652994 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 03:59:32 +00:00
Josh Micich
9e6f2816c3 44921 - allow Ptg.writeBytes() to be called on relative ref Ptgs (RefN* and AreaN*)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@652934 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 22:36:49 +00:00
Josh Micich
45095a5d06 added disabled junit for bug 44916
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@652561 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 15:46:21 +00:00
Josh Micich
993bf57633 fixed bug 44892 - made HSSFWorkbook.getSheet(String) case insensitive
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@652426 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 03:25:37 +00:00
Nick Burch
d0ca2bfeb7 Tests to show that bugs 44891 and 44861 were both already fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@652329 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 11:10:49 +00:00
Yegor Kozlov
c5ce487ede correctly process PICT blips (see bug #44886)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@652288 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:19:38 +00:00
Nick Burch
64775cfe62 Fix from Trejkaz from bug #44857 - Avoid OOM on unknown escher records when EscherMetafileBlip is incorrect
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@651992 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 18:02:13 +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
Yegor Kozlov
c52a8b10af Rich text in HSSFTextbox must have at least one format run. Make sure it is so and apply th default fopnt if no formats were applied.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648623 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 08:43:08 +00:00
Josh Micich
35d89933c9 Conditional Formatting (30311) - API improvements, added HSSFSheetConditionalFormatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648334 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 17:07:06 +00:00
Nick Burch
a51afa06f4 Nice and small change here... Update the formula parser code to use usermodel.HSSFWorkbook instead of model.Workbook. This should keep things a bit cleaner, and make it much easier for the formula code to work with XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648303 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 16:00:50 +00:00
Yegor Kozlov
82bb0bc7ef make sure all hslf classes use POI loggers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647824 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 14:58:18 +00:00
Nick Burch
5a36ce6ec3 Finish off eventusermodel based Excel Extractor, and update the xls to csv converter (moved to correct place) based on discoveries for the text extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647576 13f79535-47bb-0310-9956-ffa450edef68
2008-04-13 15:09:42 +00:00
Nick Burch
497c9eb3c6 Start on a eventusermodel based excel text extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647574 13f79535-47bb-0310-9956-ffa450edef68
2008-04-13 14:58:27 +00:00
Nick Burch
3e3895049c Update HSLFSlideShow and HSSFWorkbook to take advantage of POIFS updates, and allow reading embeded documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647186 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 14:43:05 +00:00
Nick Burch
425305fd67 Update the sample embeded documents to be from know sources, so we can test better
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647152 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 13:04:11 +00:00
Josh Micich
7024f8896e bugzilla 44792 - fixed encode/decode problems in ExternalNameRecord and CRNRecord.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@646666 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 07:06:55 +00:00
Nick Burch
63409a6647 Implement a proxy HSSFListener which tracks the format records, and lets you lookup the format string for a given cell. Convert the xls to csv example to use it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@646405 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 15:36:39 +00:00
Josh Micich
08802e667e some more tweaks for bug 30311. Set some (unused) bits in FontFormatting to match Excel.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@646194 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 05:56:50 +00:00
Josh Micich
05eb15b87e 30311 - More work on Conditional Formatting - patch from Dmitriy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645352 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 03:23:04 +00:00
Josh Micich
27761348b9 refactored all hssf junits to get test sample data in the in one place
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645348 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 03:02:03 +00:00
Josh Micich
1051e2853c Follow up fix after r644473 (bug 44739) TestHSSFConditionalFormatting had a bug and wasn't yet included in the test suite hierarchy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@644509 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 21:17:26 +00:00
Josh Micich
dff9b26565 Fix for bug 44739 - Conditional formatting (regions with max row/col index)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@644473 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 20:25:53 +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
Rainer Klute
5c7ca6b786 44694 - HPSF: Support for property sets without sections
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@643670 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 00:50:45 +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
Josh Micich
5b0efa8e57 changes/status for #44675, #44695, #44691
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642904 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 06:55:04 +00:00
Josh Micich
ede1814a1d silenced noisy tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642891 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 05:56:11 +00:00
Josh Micich
9f66b9c5f4 removed incorrect test case methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642880 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 05:19:00 +00:00
Josh Micich
05fb78c5d4 More work on Conditional Formatting (bug 30311) junit and fixes from Dmitriy. Some other clean-up.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642878 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 05:10:35 +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
ef5d5cb3d4 Move the FormulaEvaluator code out of scratchpad
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642574 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 18:23:33 +00:00
Nick Burch
0fce9fd02e Move the missing record aware eventusermodel code out of scratchpad
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642566 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 17:45:28 +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
0d7c6a7b78 annotated previous changelist(641964) with wrong buzilla number. Previous changes were for bug #44695.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@641967 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 20:15:13 +00:00
Josh Micich
60c8dc5688 fixes for ExternalNameRecord serialisation bug #44691
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@641964 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 20:03:29 +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
f9c0c82b09 Fix bug #44627 - improve the thread safety of POILogFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@638815 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 12:49:35 +00:00
Nick Burch
f7e7b20f2e Patch from Dmitriy from bug #30311 - Support for conditional formatting records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@638812 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 12:28:56 +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
bc88b7b1f4 Patch from Josh from bug #44609 - Handle leading spaces in formulas, such as '= 4'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@637601 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 15:48:02 +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
8ca38c3e23 Patch from Josh from bug #44606 - Support calculated string values for evaluated formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@637595 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 15:29:34 +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
Yegor Kozlov
863b004ced Add accessors to horizontal and vertical alignment in HSSFTextbox
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@637189 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 18:05:55 +00:00
Nick Burch
20b3d0be05 Add test to show that bug #28031 is really closed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@636790 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 15:58:34 +00:00
Nick Burch
86565db81c Make a start on handling different big block sizes in POIFS, but work isn't complete. See bug #35928 for part of what we're after
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@636786 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 15:38:28 +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
ff78b7ac71 Patch largely from Josh from bug #44539 - Support for area references in formulas of rows >= 32768
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@634630 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 12:06:18 +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
e2dd40f66c Patch from Josh from bug #43901 - Correctly update the internal last cell number when adding and removing cells (previously sometimes off-by-one)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@634617 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 11:18:02 +00:00
Nick Burch
ba4e8c0a9f Add broken test for bug #43901
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@634372 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 18:13:47 +00:00
Nick Burch
f8915deeb5 Embeded files from bug #44524
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@634371 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 18:06:48 +00:00
Nick Burch
924975f0e9 Change the behaviour on short last blocks to be a warning not an exception, as some people seem to have "real" valid files that trigger this. Fixed bug #28231
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@634318 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 15:54:06 +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
a16fa738f0 Patch from Josh from bug #44510 - Fix how DVALRecord works with dropdowns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@633151 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 16:09:02 +00:00
Nick Burch
0ecbec584e Fix from Yegor from bug #44491 - don't have the new style handy POIDocument property stuff break old style hpsf+hssf use
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@633118 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 15:10:46 +00:00
Nick Burch
d601a0b4b7 Bug #44471 - Crystal Reports generates files with short StyleRecords, which isn't allowed in the spec. Work around this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@630164 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 11:40:00 +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
598e5e1ba8 Patch from Josh from bug #44437 - improved unit test for poifs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@629832 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 15:42:06 +00:00
Nick Burch
1030ecb726 Patch from Josh from bug #44437 - improved unit test for poifs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@629831 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 15:40:34 +00:00
Nick Burch
38421b7650 Patch from Josh from bug #44366 - InputStreams passed to POIFSFileSystem are now automatically closed. A warning is generated for people who might've relied on them not being closed before, and a wrapper to restore the old behaviour is supplied
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@629829 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 15:35:59 +00:00
Nick Burch
acd787dcb8 Fix bug 38921, where HSSFPalette.findSimilar() wasn't working properly, and add tests for it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@629755 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 11:34:25 +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
e113d12d34 Fix from Josh from bug #44417 - Improved handling of references for the need to quote the sheet name for some formulas, but not when fetching a sheet by name
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@628033 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 12:04:42 +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