Commit Graph

782 Commits

Author SHA1 Message Date
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 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 4451a53ad3 Count implementation from ooxml branch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642737 13f79535-47bb-0310-9956-ffa450edef68
2008-03-30 13:39:51 +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
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
Josh Micich 3ecb3c4c95 more javadoc + clean-up from Dmitriy (bug 30311 att 21711)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@641157 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 05:29:08 +00:00
Josh Micich 82f40767dc Added class javadoc. Patch 30311 from Dmtriy.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@640711 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 06:18:33 +00:00
Josh Micich ba76fcf314 sort to int conversion sign extension fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@639918 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 23:47:51 +00:00
Nick Burch ce8c6149ff Tweak how you get dataformat strings out of cell styles, to be more logical, and in keeping with how we'll want to do things for xssf too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@639836 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 21:04:47 +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 b57f30921b Simple patch from Josh from bug #44636 - fix for RefVPtg and edit-in-excel oddness
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@639232 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 10:16:15 +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
Yegor Kozlov f9d8f43779 support align=distributed in HSSFTextbox
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@637870 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 13:02:46 +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 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
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 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 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 058d1e7d15 Fix indent, add more documentation, and make the error message more helpful
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@633205 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 17:47:36 +00:00
Nick Burch c5e82b7bae Patch from Josh from bug #44508 - Fix formula evaluation with evaluateInCell on boolean formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@633169 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 16:55:00 +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 0102c66498 Patch from Josh from bug #44495 - Handle named cell ranges in formulas that have lower case parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@633126 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 15:26:38 +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 0677bb2cff Patch from Paolo from bug #44481 - getVerticallyCenter shouldn't take a parameter, but leave the old version in as deprecated for now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@633114 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 15:01:18 +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 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 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 173f63cd0a Patch from Josh from bug #44371 - support for OFFSET function, and various tweaks to the formula evaluator to support this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@629821 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 15:08:44 +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 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 d92520eac2 If we have a document with a hpsf stream that exists, but is of the wrong type, then log a warning but continue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@620582 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 19:14:04 +00:00
Rainer Klute c3340f823b - Fixed bug 44375 - HPSF now copes with a broken dictionary in Document Summary Information stream. RuntimeExceptions that occured when trying to read bogus data are now caught. Dictionary entries up to but not including the bogus one are preserved, the rest is ignored.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@619848 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 11:55:43 +00:00
Nick Burch 57d32bcc7e Handle timezones better with cell.setCellValue(Calendar), so now 20:00-03:00, 20:00+00:00 and 20:00+03:00 will all be recorded as 20:00, and not 17:00 / 20:00 / 23:00 (pass a Date not a Calendar for old behaviour) - patch from bug #38641
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@619502 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 16:53:23 +00:00
Nick Burch 1777e68b03 Patch from bug #44373 - Have HSSFDateUtil.isADateFormat support more date formats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@619382 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 12:39:12 +00:00
Yegor Kozlov ab1c14b324 support for excel hypelrinks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@619310 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 08:56:59 +00:00
Nick Burch 142936990c Implement hashCode and equals for HSSFFont and HSSFCellStyle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@619001 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 14:35:05 +00:00
Nick Burch 7377714861 Add java.lang.Iterable style methods for iterating over rows and cells, but don't actually implement that, as it wasn't in jdk 1.3 or jdk 1.4, with is rather tedious
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@618680 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 15:51:29 +00:00