Commit Graph

998 Commits

Author SHA1 Message Date
Evgeniy Berlog
74f75bebd8 Added such improvements:
1. Each shape contains EscherContainerRecord(SpContainer). Shapes get and set all properties into EscherOptRecord. 
2. HSSFShapeGroup takes coordinates from EscherSpgrRecord.
3. Added tests for creating new HSSFSimpleShape from scratch and reading from existing file
4. Improved work with anchors.

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1351484 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 20:59:32 +00:00
Yegor Kozlov
3d077abe2c fixed EscherAggregate to correctly write records with trailing solver container
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1350298 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 15:36:34 +00:00
Yegor Kozlov
5de1aec65e initial support for reading shapes, see patch from June 8 in Bugzilla 53372
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1348168 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 17:47:37 +00:00
Yegor Kozlov
d3f4e26985 Bugzilla 53010, patch from June 3: improved support for Continue records in drawing blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1345858 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 08:08:47 +00:00
Yegor Kozlov
4f20669925 more tests and fixes, see patch from May 30 in Bugzilla 53010
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1344621 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 09:47:17 +00:00
Yegor Kozlov
9108ca6471 Bugzilla 53302: fixed EscherAggregate to correctly handle Continue records in drawing blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1343218 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 12:15:16 +00:00
Nick Burch
8a13b1bf04 Fix bug #48528 - support negative arguments to the DATE() function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1331796 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 17:29:06 +00:00
Nick Burch
b956b78e91 Fix bug #53092 - allow specifying of a TimeZone to DateUtil.getJavaDate(), for when it is known that a file comes from a different (known) timezone to the current machine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1331477 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 15:49:49 +00:00
Yegor Kozlov
083c1368b3 Bugzilla 49529 - avoid exception when cloning sheets with no drawing records and initialized drawing patriarch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1306781 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 10:35:41 +00:00
Yegor Kozlov
0d752498a2 Bugzilla >52928 - DateFormatConverter: an utility to convert instances of java.text.DateFormat to Excel format patterns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1301923 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 12:16:45 +00:00
Yegor Kozlov
1434c766a3 bugzilla 52818 - Added implementation for RANK()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1297021 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 12:11:13 +00:00
Yegor Kozlov
af696ae5fd optimized unused imports and removed deprecation warnings in poi-main
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1296979 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 09:44:20 +00:00
Yegor Kozlov
c20420591c bugzilla 52057 - updated formula test framework to be aware of recently added Functions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294595 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 11:53:25 +00:00
Yegor Kozlov
be4f4d11a8 Bugzilla 52574 - support setting header / footer page margins in HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294181 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 15:22:22 +00:00
Yegor Kozlov
828ee0cf88 Bugzilla 52583 - fixed WorkbookUtil#createSafeSheetName to escape colon
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294180 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 15:21:40 +00:00
Yegor Kozlov
79ad552d72 Bugzilla 52708 - misc improvements in CellFormat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294072 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 09:26:36 +00:00
Yegor Kozlov
582ea1c54c Bugzilla 52690 - added a getter for length of encrypted data in Ecma and Agile decryptors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1293784 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 08:49:36 +00:00
Yegor Kozlov
a70a072562 allow runtime registration of functions in FormulaEvaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1291677 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 09:43:01 +00:00
Yegor Kozlov
8e5a395ec3 Bugzilla 52385,52337,52338: avoid trancated array and vector data when reading OLE properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1244388 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 07:49:25 +00:00
Yegor Kozlov
2995695988 added ASF licence header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1243475 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 11:11:37 +00:00
Yegor Kozlov
39edd2fe62 Bugzilla 52626: fixed setting default row height in HSSF and XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1243240 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 11:14:23 +00:00
Yegor Kozlov
3d2839bd7a fixed evaluation of blank cells in COUNTIF, see Bugzilla 51498
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1243054 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 13:16:33 +00:00
Nick Burch
9aed717d95 Disabled unit tests for bug #48703
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1242807 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 15:03:03 +00:00
Yegor Kozlov
97afbf7087 Bugzilla 52576: support changing external file references in HSSFWorkbook
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1242701 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 08:26:45 +00:00
Nick Burch
ed64b30101 Unit test from Maciej for bug #51498
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241993 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 17:22:46 +00:00
Yegor Kozlov
683ef158a1 Bugzilla 52527: avoid exception when matching shared formula records in HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241419 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 10:46:55 +00:00
Yegor Kozlov
1f43a6c393 Bugzilla 52569: Support DConRefRecord in HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241380 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 09:00:47 +00:00
Yegor Kozlov
b70cf560db added HSSFFormulaEvaluator.setIgnoreMissingWorkbooks, see Bugzilla 52575
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241372 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 08:11:37 +00:00
Yegor Kozlov
2e2559d80a bugzilla 52575: added an option to ignore missing workbook references in formula evaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1240903 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 07:37:11 +00:00
Yegor Kozlov
bc7f63906d Added implementation for SUMIFS(), see Bugzilla 52462
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1234305 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 11:50:49 +00:00
Nick Burch
b964597d23 Add disabled tests for custom formats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1225098 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 05:29:01 +00:00
Nick Burch
9712306f74 Add AM/PM DataFormatter tests for bug #52389 (already working properly)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1225095 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 05:16:36 +00:00
Nick Burch
091e464ed4 Bug #52389 - Handle ?/? format fractions as well as #/# ones, and tighten the criteria for triggering fraction formatting matching
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1225093 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 05:10:24 +00:00
Yegor Kozlov
e8a75979a0 Bugzill 52378: Support for Excel's Analysis Tool Pack functions workday and networkdays
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1221682 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 11:40:48 +00:00
Nick Burch
2af707980e Inspired by bug #52349 - Merge the logic between the TEXT function and DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1221126 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 07:20:44 +00:00
Nick Burch
09f6464163 Fix bug #52349 - Correctly support excel style date format strings in the TEXT function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1221123 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 06:58:01 +00:00
Yegor Kozlov
49c8d803f1 disabled a test failing under jdk 1.5: it assumes rounding mode half-up and jdk 1.6+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212401 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 13:26:49 +00:00
Nick Burch
9874de32e3 Add unit test for using FilteringDirectoryNode with EntryUtils.areDirectoriesIdentical
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207422 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 16:51:06 +00:00
Nick Burch
47be5cb142 Add a POIFS Helper FilteringDirectoryNode, which wraps a DirectoryEntry and allows certain parts to be ignored
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207412 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 16:44:16 +00:00
Nick Burch
a0e1b78f34 Unit tests for POIFS EntryUtils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207333 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 15:54:51 +00:00
Nick Burch
c27488ef36 Start on a new method for POIFS EntryUtils for checking to see if the two Directories have the same contents, plus stub out some tests for EntryUtils (to follow)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1206355 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 21:56:19 +00:00
Sergey Vladimirov
c3704d0eff replace exception with warning
update test case

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1195053 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 22:00:42 +00:00
Nick Burch
be50ad102f Improve HPSF test failure message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1183626 13f79535-47bb-0310-9956-ffa450edef68
2011-10-15 11:57:54 +00:00
Sergey Vladimirov
df1727e1e6 update testSectionMethods() test (due to padding)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178148 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 08:37:15 +00:00
Nick Burch
ba88670e3e Allow the passing of a File object to WorkbookFactory.create, which permits lower memory processing than the InputStream version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177409 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 19:39:51 +00:00
Nick Burch
2cd1847dd4 Fix bug #51832 - handle XLS files where the WRITEPROTECT record preceeds the FILEPASS one, rather than following as normal
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1172575 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 11:43:09 +00:00
Nick Burch
a75bc22211 Apply patch from bug #51809 - correct GTE handling in COUNTIF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170652 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:41:03 +00:00
Yegor Kozlov
7b475e643d fixed bug 51670: avoid LeftoverDataException when reading .xls files with invalid LabelRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1169725 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 13:03:04 +00:00
Yegor Kozlov
b1dce5c2ad more progress with xssf chart api, see Bug 51196
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1167579 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 19:00:47 +00:00
Sergey Vladimirov
130a5fc04b Update test cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165604 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 11:15:36 +00:00