Commit Graph

808 Commits

Author SHA1 Message Date
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
Yegor Kozlov 1b9d7218c5 usermodel support for excel hyperlinks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617834 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 17:06:14 +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 dc92ea3725 Make a start on the hyperlink record support - not finished yet though, so not enabled
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617516 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 15:20:55 +00:00
Nick Burch 219b26ac3e Patch from bug #44336 - correctly escape sheet names in formula references, including tests for this, and fixes to old tests that were expecting the un-escaped sheet names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617491 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 13:02:06 +00:00
Nick Burch 7f134a31f4 Improvements to how SystemOutLogger and CommonsLogger log messages with exceptions, and avoid an infinite loop with certain log messages with exceptions - triggered by bug #44326
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617487 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 12:29:38 +00:00
Nick Burch 46d6231413 Tweak the javadoc so it's clearer on the overview what the getFormat method does
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617483 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 12:13:08 +00:00
Nick Burch 21b5c6d8cd Convert HSSFEventFactory to using the new HSSFRecordStream, which returns fully-formed HSSFRecords. HSSFRecordStream allows for pull-style eventusermodel processing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617167 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 17:30:16 +00:00
Nick Burch 22d8a53710 Lots of documentation updates, to make it clearer how the code actually works
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617156 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 16:41:53 +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
Yegor Kozlov bcfa5a7efc fix bug #44297: IntPtg must operate with unsigned short. Reading signed short results in incorrect formula calculation.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@615610 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 14:55:32 +00:00
Nick Burch f57fda3af5 Don't swap AreaPtg references from relative to absolute, by correctly processing the fields. Patch from bug #44293
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@615255 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 16:15:49 +00:00
Nick Burch 7c0d830822 From bug #44254 - avoid some unread bytes warnings, and process the contents of DVALRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@614909 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 16:05:27 +00:00
Nick Burch dee42e72c1 Add another formula evaluation method, evaluateFormulaCell(cell), which will re-calculate the value for a formula, without affecting the formula itself. Add tests too, and update the documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@614878 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 14:13:05 +00:00
Yegor Kozlov 03b66d051c extra whitespace caused the test fail on win xp. Strange, but it worked fine on *nix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@614274 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 17:59:27 +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 f6cd038ce3 add a check to prevent NPE in HSSFSheet.autoSizeColumn(). See Bug 44246
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@613396 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 14:28:10 +00:00
Yegor Kozlov 47f369643a use JDK 1.4 compatible constructor for IllegalStateException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@613395 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 14:27:02 +00:00
Nick Burch 5e33c540a2 Tidy up the imports, remove accidental link to xmlbeans
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612512 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 16:59:14 +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 18a4647b24 Add methods to check to see if a given InputStream has a OOXML file header, or a OLE2 file header, so that a future factory method could figure out which class to instantiate for a given InputStraeam
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612438 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 12:46:43 +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
Nick Burch d29590b7ab Some more updates to the records->usermodel support for hssf shapes. Still not enough there to be useful to pretty much anyone, but at least there's now a framework in place that people can use if they want to support more, and some tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612148 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 16:31:29 +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 ae4a40d8ba Make a start on processing shapes on a sheet out of a record. For now, doesn't actually manage to do this, but has much of the infrastructure that'll be needed. Includes ability to get an existing HSSFPatriarch for a sheet, if there are the required records, and for the HSSFPatriarch to be in a position to be given the shapes that make it up (but this isn't done yet)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610608 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 23:21:35 +00:00
Nick Burch 400bfacc62 Tweak comments, layout and exceptions in IOUtils and RawDataBlock. It should now be clearer exactly what they do, and when they become unhappy. Also include a test that ensures that when reading from a slow inputstream (as per bug #42834), we really are ok with the data dribbling in, and do not require it to all come in in blocksize chunks at one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610439 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 16:31:25 +00:00
Nick Burch 1558c1472f Properly set the values when calling the boolean sets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610435 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 16:24:28 +00:00
Nick Burch 1f691642c3 Fix bug #43008, by deprecating setCellNum() on HSSFCell, and adding moveCell() to HSSFRow, which correctly updates all the references
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610392 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 14:27:51 +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 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 50e62c9bcf Update changelog again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610329 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 10:05:03 +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 852964d9d3 Support for unicode named named ranges (patch and test from bug #42033)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610082 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 17:49:08 +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 7cd8941f43 Add a new method onto AreaReference to get all the cells referenced, not just the corners. Includes tests for this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610048 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 16:20:48 +00:00
Nick Burch 808d3ad9eb Extend named range support in formulas to include non-contiguous named ranges
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610026 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 15:47:00 +00:00
Nick Burch b67b9cb0ce Fix from bug #43510 - support named ranges in formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610016 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 15:08:51 +00:00
Nick Burch 32e42753ab Patch from Ugo to get and set the sheet hidden flag (bug #43937)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609942 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 11:59:26 +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 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
Yegor Kozlov d151b35bc8 fix reopen of bug 42999: incorrect AnchorHeight calculations in HSSFClientAnchor.getAnchorHeightInPoints
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@606684 13f79535-47bb-0310-9956-ffa450edef68
2007-12-24 09:48:11 +00:00
Nick Burch a14b55b6a8 Support 1904 date windowing, in addition to 1900 date windowing (patch from bug #43551)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@601004 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 17:06:57 +00:00
Nick Burch 941bba0e15 String Continue records support (with test), from bug #41064
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600995 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 16:55:56 +00:00
Nick Burch 5163b687a4 SBAT fix from bug #11744
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600916 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 12:55:26 +00:00
Nick Burch 40b8f50a73 Usermodel support for the datavalidation code, and tests for it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600544 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 14:14:02 +00:00
Nick Burch b97e94bf5c More code from bug #27511, now ported to the new style record code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600519 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 13:17:41 +00:00
Nick Burch 02564b5824 Start on importing validation patches from bug #27511 (DVRecord still needs more work before it can go in)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600513 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 13:00:02 +00:00
Yegor Kozlov 7fec860cd8 fixed bugs 43877 and 39512: Fix for handling mixed OBJ and CONTINUE records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@597654 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 12:52:51 +00:00
Yegor Kozlov 9c7f6307c4 Preserve unread bytes when serializing the record
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@597653 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 12:51:44 +00:00
Nick Burch eb65900774 Throw an IllegalArgumentException if asked to addMergeRegion with invalid data, rather than writing out a corrupt file (bug #43807)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@594320 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 22:24:15 +00:00
Nick Burch c1a4f1c8e8 Patch for unicode NameRecords (bug #43837)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@594316 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 22:12:03 +00:00
Nick Burch 2038b4ba5b Add support for Chart Title Format records (bug #43721)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@594307 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 21:49:37 +00:00
Nick Burch 97b7d9d758 Fix for BOFRecord from files generated by access etc (bug #42794)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@594102 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 13:13:25 +00:00
Nick Burch daf1a974a8 Support getting and setting as int, as well as short (bug #43648)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@594097 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 12:47:34 +00:00
Yegor Kozlov 44041860e3 throw exception when the maximum number of fonts was exceeded
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@592520 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 18:52:52 +00:00
Yegor Kozlov 65f468498a improved handling rotated text in HSSFSheet.autoSizeColumn
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@592519 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 18:52:14 +00:00
Yegor Kozlov c93e470560 fixed a silly typo in the method signature. It should be HFFSPicture.getPreferredSize(), not HFFSPicture.getPrefferedSize()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@591667 13f79535-47bb-0310-9956-ffa450edef68
2007-11-03 19:50:40 +00:00
Yegor Kozlov 7d858d747c Fix for handling rotated text in HSSFSheet.autoSizeColumn. Thanks to Jeff Williams. See Bug 43751 for details.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@591666 13f79535-47bb-0310-9956-ffa450edef68
2007-11-03 19:36:10 +00:00
Nick Burch 9d3658e72f Implement an Excel text extractor, and put all the existing text extractors under a common superclass, so they're easier to find and use
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@589224 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 21:57:10 +00:00
Nick Burch e145f417b7 In FormulaParser, add in non-static methods too for toFormulaString, which use the existing Workbook. Also tweak licence notice for hdgf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@584788 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 13:48:51 +00:00
Nick Burch c7476faf25 Allow users to get a FormulaParser armed only with a HSSFWorkbook, through a convenience method on HSSFFormulaEvaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@584721 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 10:34:40 +00:00
Yegor Kozlov 523c9ecabd HSSFPicture.resize() - a handy method to reset a picture to its original width and height
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@581029 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 18:07:32 +00:00
Nick Burch d853ae3ece Fix True/False function arguments (from Pavel, bug #43496
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@580015 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 13:42:53 +00:00
Nick Burch af0eef9988 Fix from Pavel Krupets for Excel Bug Date (1900/2/29)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@579194 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 10:52:30 +00:00
Nick Burch 4de18a877c Allow HSSFSheet to get at its parent workbook, and add HSSFWorkbook.getSheetIndex(HSSFSheet)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@578795 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 12:57:38 +00:00
Nick Burch 43b8f0d298 Update POIDocument to use POILogger
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@577317 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 14:40:44 +00:00
Nick Burch 3365f9798b Finish the POIDocument move, and update HSSFWorkbook to use it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@577314 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 14:34:31 +00:00
Nick Burch b5dcea2afe Move POIDocument out of the scratchpad
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@577259 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 11:56:36 +00:00
Nick Burch 9c57017f5b Fix for cell references on rows > 32768 (bug #43399)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576939 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 15:01:15 +00:00
Nick Burch 031873f7e6 Improved Formula Parser support for ranges and exponents, from Pavel Krupets (Bug #43410)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576855 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 11:53:28 +00:00
Nick Burch 1f056652b7 Fix for rows between 32767 and 65536, don't incorrectly cast to a short (fixes #43401)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576519 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 16:54:40 +00:00
Nick Burch 58eb278989 Add a note on autoSizeColumn being a somewhat slow opperation. Update the status log
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576351 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 10:29:27 +00:00