Commit Graph

4274 Commits

Author SHA1 Message Date
Nick Burch
0f9646d55d Add unit test from Stefan for bug #51172 - DOCX gif support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128301 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 13:36:00 +00:00
Nick Burch
e21fd13a56 Apply patch from bug #51134 from Mike McEuen - Ability to add XWPFStyles and XWPFNumbering to a XWPF file that lacks them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128296 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 13:26:02 +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
ab6caf7f49 Hopefully fix bug #51236 - make the xssf colour black/white 3 rgb fix apply for set as well as get
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1126696 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 19:55:00 +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
Nick Burch
a657b06e30 Test that shows that bug #51222 is a themes colour problem
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1125559 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 20:46:55 +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
Yegor Kozlov
f90fcee530 improved test coverage for SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124698 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 12:00:10 +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
Nick Burch
4f62006ae3 Put more details in the error message for next time
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124622 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 09:16:48 +00:00
Maxim Valyanskiy
209a45ee66 FakeZipEntry: pre-allocate ByteArrayOutputStream when zip entry size is known to prevent reallocation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124179 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 10:38:08 +00:00
Yegor Kozlov
2cf314de68 initial support for SXSSF tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124177 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 10:37:31 +00:00
Yegor Kozlov
66ae801d20 fixed resizing pictures in XSSF, see Bugzilla 51160
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124163 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 10:07:15 +00:00
Maxim Valyanskiy
ae8910ed41 status.xml: add note about Agile encryption
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124158 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 10:01:42 +00:00
Yegor Kozlov
339149dd5e Bugzilla 51160: Initial version of SXSSF, a low memory foortprint API to produce xlsx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1104120 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 10:46:35 +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
c0fe769b96 Update the release docs for having artificats in the dist repo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1103437 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 16:00:37 +00:00
Nick Burch
7e91a52be1 Update the logos to include TM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1103178 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 18:27:56 +00:00
Nick Burch
f09e137649 Autoboxing tweaks from bug #51175, and make the paragraph/table finding code generic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102691 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 12:22:24 +00:00
Nick Burch
333af414e0 Patch from Stefan from bug #51172 - XWPF .gif images support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102668 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 11:06:18 +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
Maxim Valyanskiy
08f35b2ad5 add commons-codec to maven-pom
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102603 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 08:29:27 +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
Nick Burch
3c40f4aab7 Project branding update - add trademark notice to page footers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102428 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 19:13:01 +00:00
Maxim Valyanskiy
735dd86ac4 update documentation on encryption support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1101398 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 10:40:39 +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
c7c0e8c523 More testing around bug #48877
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100122 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 07:58:35 +00:00
Nick Burch
361a5248dc Fix bug #51148 - XWPFDocument remove of tables/paragraphs now works correctly, and code is simplified
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100027 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 02:14:48 +00:00
Nick Burch
59904e547d Re-enable the XWPF test for adding paragraphs, and fix it up to work properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100022 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 01:43:16 +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
Maxim Valyanskiy
028b9652f8 initial documentation on encrypted file support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1099781 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 13:26:29 +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
1ecef7df9f Fix bug #51112 - Correct XWPFTable tracking of new rows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098927 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 05:56:22 +00:00
Nick Burch
55f2bdb3bd Fix bug #51113 - Correct XWPFParagraph tracking of inserted runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098923 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 05:53:24 +00:00
Nick Burch
4453be821a Fix bug #51111 - Correct XWPFParagraph tracking of new runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098920 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 05:50:25 +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
1473cef845 Add a unit test for the formula evaluation caching/updating, which ensures that HSSF and XSSF behave the same
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098227 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 08:00:56 +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
f86929bd0c Fix bug #50956 - Correct XSSF cell style cloning between workbooks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095695 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 13:22:18 +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
Maxim Valyanskiy
98860bdcec hwpf: ignore invalid style reference
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095664 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 11:49:03 +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