Commit Graph

130 Commits

Author SHA1 Message Date
Nick Burch
2c4134e89b Add a unit test for bug #50833
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078135 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 21:09:02 +00:00
Nick Burch
8df8ecc4ec Add unit test showing that bug #50867 works fine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078065 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 17:31:52 +00:00
Nick Burch
649df30b76 Start on unit tests for HMEF. Quite a bit is still stubbed out, and it shows that the LZW isn't quite right yet (so tests disabled)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1075955 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 18:12:44 +00:00
Nick Burch
a6e6fcdb96 Fix bug #50829 - Support for getting the tables associated with a XSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1074710 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 21:44:09 +00:00
Yegor Kozlov
6a105cbaca merged with excelant branch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1073707 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 11:52:28 +00:00
Yegor Kozlov
712b7463a7 initial import of ExcelAnt tasks, see Bugzilla 50610
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/excelant@1072119 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 20:04:50 +00:00
Nick Burch
39a3b1c35a Fix bug #50786 - Fix XSSFColor to fetch the RGB values of old-style indexed colours
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072082 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 17:41:42 +00:00
Nick Burch
77fb5f43ee Fix bug #50299 with patch from Andrei - Fix XSSFColor fetching of white and black background themes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072053 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:44:05 +00:00
Nick Burch
faba225c7c Add a disabled unit test for bug #50784. We need to add support for XSSF Colours to pull details from their parent theme where there is one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072027 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 15:45:59 +00:00
Nick Burch
3351df0d1b Fix bug #50795 - Avoid NPE from xmlbeans when moving XSSF Comments from one cell to another
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072022 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 15:29:22 +00:00
Nick Burch
d1aab350fd Fix bug #50756 - When formatting numbers based on their Cell Style, treat GENERAL the same as the more typical General
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1069775 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 12:31:40 +00:00
Maxim Valyanskiy
40dbadc49e hwpf: ignore null-reference to parent stylesheet (bug#50688)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1065535 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 09:27:44 +00:00
Nick Burch
23935eb2a5 Fix bug #49928 for HSSF too - refactor HSSFDataFormat to allow overriding of built in formats, and tweak the format unit tests to do the same check for HSSF and XSSF. Also corrects some builtin formats for new HSSFWorkbooks which were slightly off
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1061288 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 13:20:24 +00:00
Nick Burch
f751e3cdd3 Inside ExtractorFactory, support finding embedded OOXML documents and providing extractors for them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1049802 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 07:39:21 +00:00
Nick Burch
3d74ebf836 Fix bug #50440 - Support evaluating formulas with newlines in them, which XSSF may have (but HSSF may not)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1045021 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 05:39:39 +00:00
Nick Burch
5a1bb52e2f Add a test .xlsx file which includes both normal and inline string cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1045019 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 04:36:53 +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
039f4ccfa1 added a unit test for not reproducible bug #49156
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044647 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 13:09:12 +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
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
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
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
9b52b521cf allow white spaces and unicode in OPC relationship targets, see Bugzilla 50154
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1036215 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 20:40:35 +00:00
Yegor Kozlov
e8bbd4c957 clear calculation chain when deleting row or chaing cell type to blank, see Bugs 50113 and 49966
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1034358 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 12:03:56 +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
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
26b76c1087 Fix bug #50119 - avoid NPE when XSSFReader comes across chart sheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1025630 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 16:25:24 +00:00
Yegor Kozlov
1715a0deaf removed svn:executable from project files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1022458 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 10:34:59 +00:00
Yegor Kozlov
76470fed4e avoid NPE in ListLevel.getNumberText() when numberText is null, see Bugzilla 50075
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1022456 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 10:30:29 +00:00
Yegor Kozlov
7c3ce57a61 allow overridden built-in formats in XSSFCellStyle, see Bugzilla 49928
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1005726 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 08:26:57 +00:00
Yegor Kozlov
d6307ad1aa support for BorderCode in HWPF, see Bugzilla 49919
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1005447 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 13:55:46 +00:00
Yegor Kozlov
b53e0ba59c support for processing of symbols in HWPF, see Bugzilla 49908
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1005443 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 13:40:58 +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
Nick Burch
a018a145bf Test that shows we handle word floating and fixed pictures properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1002123 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 11:46:22 +00:00
Maxim Valyanskiy
286b682cdc hwpt: add more 2 bytes to OldSectionTable to solve ArrayIndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1001712 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 12:50:36 +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
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
Nick Burch
cc419a3a85 Work inspired by bug #48018 - get HWPF lists more consistent in read vs write, and preserve order as apparently that matters. Includes a fair number of list related unit tests, but not for everything
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998943 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 14:26:49 +00:00
Nick Burch
ca0fc0ec1e Apply patch from bug #49820 - Fix HWPF paragraph levels, so that outline levels can be properly fetched
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998897 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 11:45:53 +00:00
Nick Burch
50b44decce Add test that shows that bug #45877 has already been fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998634 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 11:52:20 +00:00
Nick Burch
8043f38bd7 More fixes for bug #49933, workaround the fact that some word6/word95 SEPX entries are compressed differently, and we don't have the specs for how they're stored
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998621 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 09:59:10 +00:00
Nick Burch
100095bcb9 Fix bug #49936 - Handle HWPF documents with problematic HeaderStories better
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998146 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 14:14:19 +00:00
Nick Burch
c07e529c03 Fix support for sections in old word 6 / word 95 files
Improve unit testing for HWPFOldDocument
Sprm fix also improves some HWPFDocument files too!


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998131 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 13:46:11 +00:00
Nick Burch
52d7f084be Correct XWPFRun detection of bold/italic in a paragraph with multiple runs of different styles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996976 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 16:32:02 +00:00
Yegor Kozlov
8d4fe4e2f1 added a test file that belongs to r996265
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996419 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 05:07:25 +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
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
2a9019985f added ZipFileAssert, this file was in the original OpenXML4J package but wasn't included in POI-3.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992551 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 06:33:22 +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