Commit Graph

1373 Commits

Author SHA1 Message Date
Nick Burch d2583d83d5 Refactor the common LZW decompression code out into utils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1051377 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 05:18:34 +00:00
Nick Burch b31c0f88da More PropertyTable refactoring - pull common code out into a Base, so we can plug in a different block reader/writer for NIO
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1051029 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 09:30:32 +00:00
Nick Burch 2c58431592 POIFS Property refactoring ready for NIO support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1051025 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 09:06:47 +00:00
Nick Burch aaf795a77a Bit more on NPOIFSFileSystem, and some typo fixes in documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050815 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 11:43:54 +00:00
Nick Burch 848f62144a Change how the NIO block read works, to re-use the byte array for the from-InputStream case. Also start on reading the FAT blocks for NPOIFSFileSystem
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050775 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 08:53:36 +00:00
Nick Burch 019c30e33c Initial work on a NIO POIFSFileSystem. Currently is able to open the file and read the header, but no more
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050773 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 08:06:48 +00:00
Nick Burch 11baa943c4 Move CloseIgnoringInputStream out to its own class, and add more helper methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050772 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 08:05:44 +00:00
Nick Burch e86e3af3b2 Make BATBlock useful for read (was previously write only)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050770 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 07:17:14 +00:00
Nick Burch d9cec1d58c Move more of the logic from HeaderBlockWriter to HeaderBlock
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050767 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 06:35:54 +00:00
Nick Burch 6530aeaf82 Start to merge the POIFS classes HeaderBlockReader and HeaderBlockWriter into a common HeaderBlock class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050764 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 05:54:11 +00:00
Nick Burch a56ca62d40 Tests and tweaks to the NIO DataSource code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050758 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 04:59:49 +00:00
Nick Burch 5e9cbd4645 Start on lower memory POIFS implementation - data source to provide common access to array of bytes and files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1050607 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 10:18:43 +00:00
Yegor Kozlov 326cf56aa7 Support for continued NameRecords, see bugzilla 50244
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1049202 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 18:17:59 +00:00
Nick Burch 63bc348d04 Fix bug #50416 - Correct shifting of the first or last row in a sheet by multiple rows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1048951 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 06:41:08 +00:00
Yegor Kozlov 340ed55cf5 mark GutsRecord as terminating row blocks, prevent exception when reading workbooks with unexpected GutsRecords, see Bugzilla 50426
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044655 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 13:48:18 +00:00
Yegor Kozlov 97b07620de Added implementation for MROUND(), VAR() and VARP()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044642 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 12:41:17 +00:00
Yegor Kozlov f09a06575c code cleanup as suggested in Bugzilla 50446
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044405 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 15:43:59 +00:00
Yegor Kozlov 119bc57e05 Support for IRR() function, see Bugzilla 50409. Includes fix for Bugzilla 50437
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044370 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 14:20:35 +00:00
Yegor Kozlov b2ee6fb309 Improved performance of RowRecordsAggregate.getStartRowNumberForBlock / getEndRowNumberForBlock, see Bugzilla 47405
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1043517 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 16:53:24 +00:00
Yegor Kozlov 4c6dd246e2 revert visibility raised for testing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1040022 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 06:22:59 +00:00
Yegor Kozlov 6cf48b0610 improved work with UDFs and Analysis Toolpack functions, ATP functions are enabled by default and user can create / evaluate them just like built-in functions, both HSSF andf XSSF are supported
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1039870 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 12:03:52 +00:00
Yegor Kozlov 4c6b49e5ab improved LinkTable to support registering external UDFs.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1039621 13f79535-47bb-0310-9956-ffa450edef68
2010-11-27 06:30:03 +00:00
Yegor Kozlov 82aa0c6f09 moved ptg classes to org.apache.poi.ss.formula.ptg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1038688 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 16:50:47 +00:00
Yegor Kozlov 5e182e18ce moved ptg classes to org.apache.poi.ss.formula.ptg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1038683 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 16:46:02 +00:00
Yegor Kozlov e994534f3e moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037439 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 12:09:29 +00:00
Yegor Kozlov b2c8ff548a moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037436 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 12:04:56 +00:00
Yegor Kozlov 619e612817 moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037432 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 11:54:40 +00:00
Yegor Kozlov b6304a6474 removed dependencies on HSSF, prepare to move common formula stuff to org.apache.poi.ss.formula
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037228 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 14:49:47 +00:00
Yegor Kozlov 9c3d11b953 Fixed evaluation of cell references with column index greater than 255, see bugzilla 50096
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1033556 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 16:09:04 +00:00
Yegor Kozlov 13920dccd6 use cached formula result when autosizing sheet columns, see Bugzilla 50211
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1033005 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 15:04:55 +00:00
Yegor Kozlov 9a2fdbd473 Tolerate Double.NaN when reading .xls files, see Bugzilla 49761
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1033004 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 15:02:31 +00:00
Nick Burch d7eb8b6105 Fix bug #50118
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1026412 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 17:23:39 +00:00
Nick Burch b99de96fa5 Fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1026409 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 17:14:34 +00:00
Yegor Kozlov 3fe64d57ae avoid nulls in HSSFWorkbook.getAllPictures when EscherBlipRecord is not found
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1025635 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 16:38:06 +00:00
Yegor Kozlov f0ba735deb fixed packaging of files moved from contrib
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024286 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 15:44:55 +00:00
Yegor Kozlov adefc926c1 cleaned javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004934 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 08:55:30 +00:00
Yegor Kozlov 3a41e5d459 repackaged poi-contrib to poi-main and poi-examples, excluded contrib from build artifacts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004919 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 07:58:51 +00:00
Yegor Kozlov 70543d034e support for retrieving pictures from HSSF workbooks, see bugzilla 50022
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004233 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 13:34:17 +00:00
Yegor Kozlov 01e3d56cdd Avoid IllegalStateException when creating Data validation in sheet with macro, see Bugzilla 50020
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004143 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 08:45:51 +00:00
Yegor Kozlov 80c999025c improved rounding in MathX.mod, see Bugzilla 50033
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1003504 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 12:02:52 +00:00
Nick Burch 881aff2e42 Fix 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999349 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:54:05 +00:00
Nick Burch 32b9522fd4 Apply patch+test from bug #48325 - If a HSSF header or footer lacks left/right/centre information, assume it is a centre one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999320 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:33:21 +00:00
Nick Burch d3d674d250 Add missing record, and fix a few indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999313 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:15:07 +00:00
Nick Burch c225333112 Fix bug #49931 - Avoid concurrency problems when re-ordering multiple HSSF header records for a PageSettingsBlock
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998967 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 16:00:50 +00:00
Yegor Kozlov 442579c326 fixed inconsistent behaviour between HSSF and XSSF when creating consecutive names, see Bugzilla 49907
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996136 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 12:45:59 +00:00
Nick Burch 216bcfea03 Tweak hssf and hwpf image mime types for wmf/emf to match those used by XSSF/XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995943 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 19:15:16 +00:00
Nick Burch 60ff5c056d Tweak constructor to be more open, and fix some generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995429 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 13:57:05 +00:00
Maxim Valyanskiy 63beafeb10 Add license headers to Ole10Native-related classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995427 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 13:43:51 +00:00
Maxim Valyanskiy 1e25322d85 Add code for reading Ole10Native data
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995415 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 13:18:48 +00:00
Nick Burch 65532c473a Remove 1.6isms which prevent compilation on Java 1.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995386 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 11:42:24 +00:00
Nick Burch fc1980e939 Add getMimeType() method to HSSF/XSSF PictureData, alongside existing file extension
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995360 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 09:28:04 +00:00
Yegor Kozlov d55edf3f78 improved API for hiding sheets, see Bugzilla 49878
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992772 13f79535-47bb-0310-9956-ffa450edef68
2010-09-05 12:53:07 +00:00
Yegor Kozlov 3744428426 fixed XSSFWorkbook.createSheet to throw exception if sheet name begins or ends with a single quote ('), see Bugzilla 49875
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992629 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 15:56:29 +00:00
Yegor Kozlov c6219cadca fixed XSSFFormulaEvaluator to support blank cells, added BaseTestFormulaEvaluator - a common superclass for testing implementations of FormulaEvaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992620 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 15:03:48 +00:00
Yegor Kozlov acd3101b82 change cell type to error when setting Double.NaN or Infinities, see Bugzilla 49761
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992591 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 12:33:09 +00:00
Yegor Kozlov c0d7683f9f fixed LEFT and RIGHT to return #VALUE! when called with a negative operand, see Bugzilla 49841
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992570 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 09:48:34 +00:00
Yegor Kozlov 5df572a3b6 fixed evaluation of XSSF workbooks containing formulas with reference errors (#REF!), see Bugzilla 49783
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@989100 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 13:29:55 +00:00
Yegor Kozlov 424948b35a fixed fetching names of user defined styles, see Bugzila 49751
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@987256 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 18:08:54 +00:00
Yegor Kozlov 74c34444a8 support for protecting a XSSF workbook, see Bugzilla #48900
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@986649 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 12:49:05 +00:00
Yegor Kozlov 8f4aff0e1a fixed FormulaParser to correctly process defined names with underscore, see bugzilla 49725
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@984823 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 15:10:12 +00:00
Yegor Kozlov 988a5583dd added support for RANDBETWEEN(), see Bugzilla 48526
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@984796 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 14:14:26 +00:00
Yegor Kozlov 1371cca98f fixed OperandResolver to correctly handle inputs with leading decimal place, see Bug #49723
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@984161 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 18:49:21 +00:00
Nick Burch 8738b8858b Remove svn:executable property from a series of files that didn't need it set
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@983630 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 13:12:52 +00:00
Yegor Kozlov 75656c36d9 initial support for excel auto-filters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@983382 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08 11:11:38 +00:00
Yegor Kozlov 7ff307c17a optimized performance of HSSFCell#setHyperlink
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@983362 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08 08:04:28 +00:00
Nick Burch 514e6be1fe Fix bug #47990 - Support for .msg attachments within a MAPIMessage .msg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982331 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 17:08:39 +00:00
Nick Burch f3d277fa24 Add patch from bug #49690 - Add WorkbookUtil, which provies a way of generating valid sheet names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982260 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 14:13:42 +00:00
Nick Burch 8486ae97d3 Fix bug #49694 - Use DataFormatter when autosizing columns, to better match the real display width of formatted cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@981969 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 17:12:02 +00:00
Nick Burch fe76361d67 Fix bug #49689 - Allow the setting of user style names on newly created HSSF cell styles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@981930 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 15:29:56 +00:00
Yegor Kozlov 507d4dd3a5 Added clone support for UserSView* and Feat* families of records, see bug #49649
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@980102 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 15:51:57 +00:00
Yegor Kozlov 0cc825e8dc prevent ArrayIndexOutOfBoundException in UnknowEscherRecord, see bug #49579
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979747 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 15:24:25 +00:00
Yegor Kozlov de13c1193c Fixed parsing formulas containing defined names beginning with an underscore, see Bug 9640
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979329 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 15:52:57 +00:00
Yegor Kozlov 9007623728 support for POISSON function, see bug #49538
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979255 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 12:13:07 +00:00
Nick Burch 46bbc6add4 Fix bug #49524 - Support for setting cell text to be vertically rotated, via style.setRotation(0xff)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@965267 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 18:00:36 +00:00
Nick Burch bea0801c24 Patch from Jens Gotze from bug #49581 - Ability to add, modify and remove series from HSSF Charts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964855 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:46:42 +00:00
Nick Burch 7732426887 Patch from Andrew Shirley from bug #49185 - Support for HSSFNames where the comment is stored in a NameCommentRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964845 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:02:09 +00:00
Nick Burch 6d93fb9d5d 49599 - Correct writing of NoteRecord author text when switching between ASCII and Unicode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964800 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 13:57:17 +00:00
Yegor Kozlov 2876f4167a removed duplicates of PICTURE_TYPE_* constants defined in the parent Workbook interface
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958561 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 12:52:00 +00:00
Nick Burch e69532597f Add main method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954834 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 11:40:00 +00:00
Nick Burch 5c3415e09c When formatting numbers with DataFormatter, handle brackets following colours
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954416 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 11:45:09 +00:00
Nick Burch 06ab7e3bdb Keep compatibility for now, and alert people to move to the new class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953721 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:16:49 +00:00
Nick Burch e92c009814 Apply, with a few tweaks, the patch from bug #48996 - initial support for External Name References in HSSF formula evaluation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953395 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 17:07:06 +00:00
Nick Burch 2157d942f2 Fix bug #46664 - fix up Tab IDs when adding new sheets, so that print areas don't end up invalid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953180 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 22:56:16 +00:00
Yegor Kozlov 8c4341facf cleaned javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951920 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 18:19:08 +00:00
Nick Burch 0e86939f7e Add tests to verify that XSSF and HSSF do the same thing with retrieving the wrong type of value from string/numberic/formula cells, and tweak documentation to match the long standing behaviour (bug #47815)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951466 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:58:02 +00:00
Nick Burch 3352f76127 Make the orders match the names, as otherwise people get confused (bug #49381 for example)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951453 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:41:32 +00:00
Nick Burch ee937dd9d0 Fix bug #49377 - only call DecimalFormat.setRoundingMode on Java 1.6 - it's needed to match excel's rendering of numbers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951052 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 16:20:26 +00:00
Nick Burch da0c5ad895 Fix bug #49378 - correct 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951048 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 16:13:38 +00:00
Nick Burch 835efd63de Fix 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951016 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 14:58:02 +00:00
Nick Burch 5cd9ac0ccf Fix inspired by bug #48494 - detect and support time formats like HH:MM;HH:MM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950665 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 17:17:42 +00:00
Nick Burch 53f8d4561f Another fix inspired by bug #48494 - have ExcelExtractor make use of HSSFDataFormatter, so that numbers and dates come out closer to how Excel would render them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950657 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 16:51:05 +00:00
Nick Burch 393e672176 Fix bug #48494 - have EventBasedExcelExtractor make use of HSSFDataFormatter, so that numbers and dates come out closer to how Excel would render them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950616 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 16:13:04 +00:00
Nick Burch b288c631f2 Fix bug #49096 - add clone support to Chart begin and end records, to allow cloning of more Chart containing sheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950611 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 16:01:26 +00:00
Nick Burch e6879026b5 Fix inspired by bug #48872 - allow DateFormatter.formatRawCellContents to handle 1904 as well as 1900 dates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950117 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 15:31:51 +00:00
Nick Burch fafc079bfe More work inspired by bug #48872 - handle MMMMM and elapsed time formatting rules in DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950113 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 15:20:57 +00:00
Nick Burch b303c57d54 More fixes inspired by bug #48872 - handle zero formatting rules, and better color detection in DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950035 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 12:12:22 +00:00
Yegor Kozlov deae43db43 more cleanup of deprecation warnings generated by javac
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949485 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 06:57:23 +00:00
Nick Burch db3f7a1484 Support a couple more crazy formats, as identified in bug #48872, plus test them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949226 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 16:47:01 +00:00
Nick Burch a8a9bc2928 Fix bug #44916 - Allow access to the HSSFPatriarch from HSSFSheet once created
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948880 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 16:27:09 +00:00
Nick Burch 13bc8e8500 Tidy up various indents and generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948878 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 16:22:46 +00:00