Commit Graph

1407 Commits

Author SHA1 Message Date
Nick Burch
6d560ea880 Further tests for NPOIFS document input stream reading, and fix a NPOIFS skip issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1134945 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 16:51:43 +00:00
Yegor Kozlov
b4e9826af9 Bug 51196: more progress with Spreadsheet Chart API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1132553 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 09:02:08 +00:00
Yegor Kozlov
866a7bf272 cleaned javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1132549 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 08:45:06 +00:00
Nick Burch
e9249b28c2 Work on NPOIFS document read/mark/reset work for bug #51318, including enabling more of the old POIFS tests to work for both
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1131488 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 20:22:00 +00:00
Yegor Kozlov
7c8f56ce1c bug 51265: Enhanced Handling of Picture Parts in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1130120 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 12:07:16 +00:00
Nick Burch
4410d044f0 Fix bug #51273 - Hash codes can be negative when working on our own low memory hash for formula cell evaluation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128268 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 11:45:50 +00:00
Yegor Kozlov
53ab14248c Bug 51171: Improved performance of SharedValueManager
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1127860 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 10:31:38 +00:00
Nick Burch
8144d5e1ae Avoid a System.out call, replace with logging
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1126674 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 19:25:30 +00:00
Yegor Kozlov
c1fb0136bb Bug 51196: more progress with chart api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1125662 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 10:31:59 +00:00
Yegor Kozlov
0d3bce27a2 Bugzilla 51196: Initial support for Spreadsheet Chart API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1125275 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 08:22:53 +00:00
Nick Burch
1ed61c54f0 Put back the NPOIFS constructor that got lost in r1101397
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124696 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 11:59:27 +00:00
Nick Burch
76b3d98c0c Add some more NPOIFS write related tests, some of which is disabled as the functionality isn't quite there yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124693 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 11:54:29 +00:00
Yegor Kozlov
a3f7224e14 Bugzilla 51171: Improved performance of opening large .xls files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1103502 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 18:40:13 +00:00
Nick Burch
7f24c5f652 Correct docs issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102666 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 11:05:02 +00:00
Nick Burch
a30aaf8d71 Add a note about XSSF and HSSF x and y values in client anchors differing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102624 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 09:23:59 +00:00
Nick Burch
26ea0d987d Fix NPOIFS creation of an empty filesystem, with create/write/read test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102482 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 22:10:51 +00:00
Nick Burch
62b5690d8f Finish NPOIFS support for writing to mini streams where the big block stream needs extending, and unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102458 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 21:00:04 +00:00
Nick Burch
d464da3bb0 The NPOIFS mini stream blocks need to be writable, correct that and add some tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102448 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 20:06:06 +00:00
Maxim Valyanskiy
6857223c5a bug#51165: Add support for OOXML Agile Encryption
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1101397 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 10:38:17 +00:00
Nick Burch
5f671bd806 As Java doesn't allow static methods on interfaces, allow HSSFFormulaEvaluator or XSSFFormulaEvaluator to generically recalculate all formulas in a workbook
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1101033 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 14:04:21 +00:00
Nick Burch
629b80044f Fix bug #51153 - Correct sizing of LbsDataSubRecord with unused padding fields
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100017 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 01:28:28 +00:00
Nick Burch
268404a200 NPOIFS and OPC both support close(), so mark them as such
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100013 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 01:19:21 +00:00
Nick Burch
6f7fabe3c6 Fix bug #51143 - Correct NameCommentRecord to properly serialise strings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1099313 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 03:11:28 +00:00
Nick Burch
ffcd5beed5 Fix bug #51115 - Handle DataFormatter escaping of "." in the same way as "-" and "/"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098917 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 05:42:41 +00:00
Nick Burch
944109b369 Fix bug #51100 - Fix IOUtils issue for NPOIFS reading from an InputStream where every block is full
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095753 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 15:37:22 +00:00
Nick Burch
0677f40542 Add get/setForceFormulaRecalculation for XSSF, and promote the methods to the common usermodel Sheet, using sheetCalcPr fullCalcOnLoad="true"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095667 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 11:52:52 +00:00
Nick Burch
6d6c2fc68f Following discussions on the dev list today, tweak the logic for sizing the HSSFCells array on a HSSFRow to reduce memory over allocation in many use cases (now cribbed from the size of the row, and uses the ArrayList growth metric)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095229 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 22:26:46 +00:00
Yegor Kozlov
54a27f05db removed svn:executable from src/java/org/apache/poi/ss/util/SheetUtil.java
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1087234 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 10:06:53 +00:00
Yegor Kozlov
5addb68f08 Support for continued ExtSSTRecords, see Bugzilla 50967
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085900 13f79535-47bb-0310-9956-ffa450edef68
2011-03-27 10:05:42 +00:00
Nick Burch
fa006be753 Fix bug #48968 - Implement support for HOUR, MINUTE and SECOND formulas
Includes some re-working of the existing Calendar functions, unit tests for the old and new Calendar functions, and a wider date+formula+formatting test for this area


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085591 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 22:52:12 +00:00
Nick Burch
eb812a0e8c Fix a couple of NPOIFS bugs relating to empty files, empty documents and non-padded stream data
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085493 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 18:02:46 +00:00
Nick Burch
e520f5b82f Fix up constructor to ensure that the filesystem objects are around when we need them, and not just after we wanted them as it was...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085467 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 16:53:26 +00:00
Nick Burch
915713a4d3 More NPOIFS Constructor updates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085451 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 16:24:34 +00:00
Nick Burch
535e69dea4 Fix generics warnings, and make the NPOIFS and deprecated constructor parts of Publisher clearer and consistent with other parts
Also fix a test filename


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085443 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 16:06:11 +00:00
Yegor Kozlov
1ba16fb3b9 improved DataFormatter, see Bugzilla 50841
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1083173 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 12:42:01 +00:00
Nick Burch
5d2184a007 Fix bug #49219 - ExternalNameRecord can have a DDE Link entry without an operation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1082958 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 15:51:39 +00:00
Nick Burch
9e5f795b54 Fix bug #50939 - ChartEndObjectRecord is supposed to have 6 bytes at the end, but handle it not
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1082936 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 14:30:47 +00:00
Yegor Kozlov
ab33e375d3 fixed setting named styles to HSSFCells. see Bugzilla 50912
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1080689 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 17:33:36 +00:00
Yegor Kozlov
31681260ed fixed RecordFormatException when reading unicode strings with photenic data, see Bugzilla 50779
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1080496 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 09:33:22 +00:00
Nick Burch
0df8c11c4b Two more differences between the LZW in HDGF and HMEF:
* Little Endian vs Big Endian storage of the code position
 * Initial dictionary position is the end of pre-fill, if there is one, rather than always being position 0


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078300 13f79535-47bb-0310-9956-ffa450edef68
2011-03-05 15:25:39 +00:00
Nick Burch
18153d96ef Fix bug #50718 - More helpful error message when you try to create a CellReference with #REF!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078039 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 16:17:21 +00:00
Nick Burch
fd0c177783 Fix bug #50847 - XSSFFont now accepts the full range of Charsets from FontChartset
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077950 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:01:14 +00:00
Nick Burch
61c7755195 Fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077923 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 12:56:25 +00:00
Nick Burch
640a664542 From bug #50786 - Speed up calls to HSSFColor.getIndexHash() by returning a cached, unmodifiable Map. HSSFColor.getModifiableIndexHash() provides access to the old (slow but modifiable) functionality
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077920 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 12:50:02 +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
51ed90fc4a Fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072080 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 17:41:17 +00:00
Nick Burch
1c61709fdb Fix a couple more 1.6isms
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1069975 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 22:38:18 +00:00
Nick Burch
b048b8422a Fix bug #46664 - When creating HSSF Print Areas, ensure the named range is reference based not value based
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1069780 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 12:36:57 +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
Yegor Kozlov
2f15806b6e fixed HSSFWorkbook.createCellStyle to throw exception if the maximum number of cell styles was exceeded
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1069730 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 10:03:25 +00:00