Commit Graph

218 Commits

Author SHA1 Message Date
Yegor Kozlov 6ddeb6eded correctly append picture data if Pictures stream contains entries with zero length (see bugzilla 46627)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@743080 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 19:53:52 +00:00
Yegor Kozlov 1d6a964bfb update version.id to 3.5-beta6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@742354 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 09:36:25 +00:00
Yegor Kozlov 56d9c7a528 improved XSSFSheet.shiftRows: 1. properly update cell references of the shifted cells (bugzilla 4663) 2. When shifting rows, update formulas on that sheet to point to the new location of those rows (bugzilla 46536)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@742126 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 16:35:27 +00:00
Yegor Kozlov 1273d8e270 added suport for Calculation Chain in XSSF, remove reference from calculation chain when a formula is deleted (see bugzilla 46535)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@742077 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 12:45:55 +00:00
Josh Micich aac8563019 Fix for bug 46654 - HSSFRow/RowRecord needs to properly update cell boundary indexes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@741036 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 07:39:57 +00:00
Josh Micich e3775b8b1d Fix for bug 46643 - formula parser should encode range operator with tMemFunc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@740146 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 23:10:30 +00:00
Josh Micich 4057cb7cf0 Fix for bug 46647 - COUNTIF NE operator and other special cases involving type conversion
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@740088 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 19:42:57 +00:00
Yegor Kozlov d3ac17f5f2 added a method to remove slides
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@739775 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 15:07:25 +00:00
Yegor Kozlov 7a842bc264 fixed bugs 40520 and 46553: HSSFFont.applyFont() formats wrong parts of HSSFRichTextString
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@738908 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 16:03:52 +00:00
Josh Micich 980ff2cf30 Fix for bug 46545 - ObjRecord should ignore excessive padding written by previous POI versions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@738709 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 01:57:22 +00:00
Josh Micich 0b692dd75c Fix for bug 46613 - evaluator should perform case insensitive string comparisons
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@738188 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 19:02:13 +00:00
Josh Micich d800ec6a84 Bugzilla 45644 - adding a command line interface to hssf ExcelExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@737173 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 20:12:13 +00:00
Josh Micich 07fd83a278 Fix for bug 46547 - Allow for addition of conditional formatting when data validations are present. Avoid creation of and empty conditional formatting table while shifting formulas.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@736175 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21 00:19:49 +00:00
Josh Micich 306c28cc28 Bug 46548 - fixes for Page Settings Block (patch from Dmitriy Kumshayev + some mods)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@735179 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 23:13:11 +00:00
Josh Micich d4ec8ceb11 Bugzilla 46523 - added implementation for SUMIF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@734252 13f79535-47bb-0310-9956-ffa450edef68
2009-01-13 22:02:52 +00:00
Nick Burch ea421dab2b Support for reading HSSF column styles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@732112 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 20:49:02 +00:00
Nick Burch ec521065e2 Hook up POIXMLTextExtractor.getMetadataTextExtractor() to the already written POIXMLPropertiesTextExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@732063 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 19:09:02 +00:00
Nick Burch 68e203d5e6 Fix bug #46472 - Avoid NPE in HPSFPropertiesExtractor when no properties exist
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@732058 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 18:59:42 +00:00
Josh Micich 6e2f255f14 Fix for bug 46479 - conversion of cached formula values and HSSFFormulaEvaluator.evaluateInCell()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@731715 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 20:58:02 +00:00
Josh Micich 3bdb856e58 Fix for 45031 - added implementation for CHOOSE function.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@730469 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 20:32:47 +00:00
Nick Burch 4f047382c2 Resolve the licensing issue around chunks_parse_cmds.tbl, with the newly dual-licensed version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@730438 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 18:20:37 +00:00
Josh Micich d9df585ca5 Patch 46410 from Steven Butler - added impl for TIME() function.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@730309 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 05:31:42 +00:00
Yegor Kozlov 0e193f895b added HSSFPictureData.getFormat() as requested in #46320
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@730213 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 18:51:56 +00:00
Yegor Kozlov 177533e23b fixed formula parser to correctly resolve sheet-level names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@729028 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 16:19:07 +00:00
Yegor Kozlov 98121b7691 1. added support for shared formulas in XSSF, see bug #464332. improved validation of workbook-global and sheet-global names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@728749 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 19:32:44 +00:00
Yegor Kozlov fabf35b20d applied patches by Gisella Bronzetti:46299 - support for carriage return and line break in XWPFRun 46300 - support for line spacing in XWPFParagraph 46308 - initial support for creation of XWPFTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@727498 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 20:05:16 +00:00
Yegor Kozlov 9a665498f8 Added getters to parent objects: HSSFSheet.getWorkbook(), HSSFRow.getSheet() and HSSFCell.getRow()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@727469 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 18:55:07 +00:00
Josh Micich 60afb94fdb Fix for bug 46385 (by patch 46362 from Matsuyama Tomohiro) fixed serialization of StyleRecord with unicode name
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@726969 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 05:44:32 +00:00
Nick Burch 015af7c141 Fix bug #46368 - HSSFRichTextRun and strings longer than 32768 characters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@724848 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 19:36:53 +00:00
Yegor Kozlov 2ae887e98c 1. Support sheet-level names2. Fixed XSSFCell to properly handle cell references with column numbers up to XFD3. when pasring formula, HSSFName.setRefersToFormula must set type of operands to Ptg.CLASS_REF, otherwise created named don't appear in the dropdown to the left of formula bar in Excel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@723392 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 18:38:00 +00:00
Josh Micich ba3de4c4d2 Final fix for bug 44914 - Removed warning message "WARN. Unread n bytes of record 0xNN"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@722401 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 08:46:13 +00:00
Josh Micich b2713da293 Fix for bug 46156 - improved POI's number rendering to more closely match Excel's
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@722284 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 23:24:23 +00:00
Josh Micich 2014a596be Fix for bug 46312 - ValueRecordsAggregate should handle removal of new empty row
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@722206 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 19:59:46 +00:00
Josh Micich 886de704ff Improved error message when attempting to read BIFF2 file (bugzilla 46269)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@721620 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 03:12:39 +00:00
Josh Micich 45287875d7 Fix for bug 46206 - tolerate missing DIMENSION records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@721586 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 23:24:06 +00:00
Josh Micich 5e29862bea Patch 46301 - (from Patrick Cheng) - added some pivot table records: SXDI, SXVDEX, SXPI, SXIDSTM, SXVIEW, SXVD, SXVS, and others.
Improved command line parsing in BiffViewer

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@721007 13f79535-47bb-0310-9956-ffa450edef68
2008-11-26 22:32:07 +00:00
Josh Micich 7735bb1b3b Fix for bug 46280 - RowRecordsAggregate should allow for ContinueRecords after UnkownRecords, and PivotTable records should not get in the RowRecordsAggregate at all
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@720318 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 22:40:46 +00:00
Yegor Kozlov 1559edee21 set new version.id=3.5-beta5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@720160 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 10:48:25 +00:00
Josh Micich d32368be4a Fix for bug 46213 - FormulaRecordAggregate should gracefully ignore extra StringRecords
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@717883 13f79535-47bb-0310-9956-ffa450edef68
2008-11-15 17:25:32 +00:00
Yegor Kozlov acc1ba4585 1. fixed XSSFSheet.groupRow and ungroupRow to operate on 0-based arguments, was 1-based2. repackaged common xssh-hssf examples, created a page in the site for them 3. converted broken non-ascii characters to unicode in TestMetaDataIPI and TestWriteWellKnown
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713981 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 11:56:41 +00:00
Josh Micich e703a254ed Fix for bug 46174 - HSSFName now handles general formulas (not just area references)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713909 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 02:20:22 +00:00
Josh Micich a4b5d9ff2e Patch from Patrick Cheng (bugzilla 46189) - added chart records: CHARTFRTINFO, STARTBLOCK, ENDBLOCK, STARTOBJECT, ENDOBJECT, and CATLAB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713892 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 01:10:26 +00:00
Josh Micich 41ad7b2410 Fix for bug 46199 - tweaks to EmbeddedObjectRefSubRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713852 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 23:01:46 +00:00
Josh Micich 9873ea6391 Changes to formula evaluation allowing for reduced memory usage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713811 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 20:22:17 +00:00
Nick Burch cf20f3397f Fix bug #45290 - Support odd files where the POIFS header block comes after the data blocks, and is on the data blocks list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713447 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 18:25:33 +00:00
Nick Burch fd2667bec2 Fix bug #46184 - more odd escaped date formats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713403 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 15:31:34 +00:00
Nick Burch 178871c84b Include the sheet number in the output of XLS2CSVmra
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713398 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 15:25:36 +00:00
Nick Burch 5da1e72cad Fix bug #46043 - correctly write out HPSF properties with HWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713393 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 15:03:38 +00:00
Yegor Kozlov aa8ee7d78c bug# 45973: added factory method for FormulaEvaluator, also fixed unpaired tags in javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713021 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 11:43:20 +00:00
Yegor Kozlov 32de644e51 fixed bug#46182: Slideshow.readPictures() skips pictures with invalid headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713009 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 10:07:08 +00:00