Commit Graph

1262 Commits

Author SHA1 Message Date
Dominik Stadler
9d1d93b88f Add missing @Overrides, reformat some files, increase coverage slightly,
comments, fix Eclipse warnings and add close() calls in some tests and
in HMEFMessage() to close files during tests correctly.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602008 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 20:36:30 +00:00
Nick Burch
8afc419270 Fix inconsistent indent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1601930 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 15:38:26 +00:00
Nick Burch
a1d0c8a260 #56537 close method for SXSSF too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1601917 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 14:38:32 +00:00
Nick Burch
47a8f6cf48 Partial fix for #56537 - Have Workbook offer a close() method, which in turn closes the NPOIFS or OPC resource from which it was loaded
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1601901 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 13:48:54 +00:00
Nick Burch
1bcf519c7c Add a note about file resources, see bug #56537
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1600326 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 16:34:16 +00:00
Nick Burch
e1000f257e When finding the CTCol object for a XSSF Sheet column, as we often have to traverse most of the list, and we are mostly reading not changing, switch to fetching all the objects as an array in one go, rather than fetching one at a time, which is hopefully faster. Aims to help bug #56556
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1600319 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 15:58:14 +00:00
Nick Burch
6cc94cdae8 Handle date format strings in an iso8601 style format, with a T in them. Fixes bug #54034
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597038 13f79535-47bb-0310-9956-ffa450edef68
2014-05-23 09:18:16 +00:00
Nick Burch
2bde35b8ff Patch from Yaniv Kunda from bug #56274 - Fix SXSSF writing of tables when creating from a template
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1596624 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 17:08:25 +00:00
Dominik Stadler
1e93f257fc Move some tests from "unfixed" to "normal" test classes as the underlying bug is now fixed.
Also make on of the unfixed bugs cause an actual failure so it is justified to stay in "unfixed"

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1596261 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 14:12:19 +00:00
Dominik Stadler
38b5621723 Bug 56170: Fix a problem with cells in workbooks becoming disconnected from XMLBeans whenever columns need to be reordered during writing the file. This happens because setCArray() disconnects any previously stored array-item but we try to re-use them. So we need to recreate the CTCell and set it in the XSSFCell to make this work in all currently tested cases.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595659 13f79535-47bb-0310-9956-ffa450edef68
2014-05-18 19:18:27 +00:00
Dominik Stadler
927e62f662 Apache POI - Use assertArrayEquals() instead of assertTrue(Arrays.equals()), this way we get better information on failure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595190 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 13:25:45 +00:00
Dominik Stadler
8f04bf295e Fix Bug 56514, add missing null-check if simple shape does not have any text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595127 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 07:09:55 +00:00
Dominik Stadler
9efc349872 Avoid unnecessary string creation/concatination for numeric conversion, use Double.toString() instead
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595047 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 21:14:32 +00:00
Andreas Beeker
d0320ad77d Bug 56468 - Writing a workbook more than once corrupts the file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1594721 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 21:14:16 +00:00
Dominik Stadler
599489e6fa fix some Eclipse warnings, unnecessary null-check and missing close() in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1594201 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 11:31:18 +00:00
Nick Burch
d36d917467 Fix some Eclipse identified warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589765 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 15:07:20 +00:00
Nick Burch
6050a68d5a Two more test files from Stefan Kopf for bug #56164, and unit tests which use them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589759 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 14:52:09 +00:00
Nick Burch
67d97d8894 Correct an eclipse warning around close(), and a related bug that this identified
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589756 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 14:50:52 +00:00
Andreas Beeker
821d3ca5bd Some encryption fixes:
- don't rely on SecretKey object having the right algorithm set
- leave encryption-description parsing of string/stream to xmlbeans and refactor it to one location
- use namespaces of schema instead of hard-coded strings
- use CryptoFunctions.getMessageDigest() instead of code duplication

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1588874 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 12:16:54 +00:00
Dominik Stadler
0974acc778 Bug 56315: Make rounding in MathX.round() behave equal to Excel, adjust/enhance some more tests in MathX
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1588538 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 18:20:15 +00:00
Nick Burch
d2d289b90f Rather than having lots of classes all create their own XML DocumentBuilderFactory instance, push that logic to a helper which sets all the right defaults
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1587739 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 21:59:52 +00:00
Dominik Stadler
a202d2fa64 Fix two javadoc warnings reported in Jenkins build and add some @Overrides
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1583598 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 10:40:13 +00:00
Nick Burch
8bee2665b3 Patch for #55594 from Paul Vonnahme - Fix SXSSF encodings on EBC
IDIC platforms, by setting the required encoding explicitly

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1580314 13f79535-47bb-0310-9956-ffa450edef68
2014-03-22 20:48:58 +00:00
Nick Burch
af381473d0 Support adding tabs to a XWPFRun, and add unit tests on toString() for addTab and addCarriageReturn
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1578921 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 14:26:28 +00:00
Nick Burch
e9ea048c00 Fix whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1578915 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 14:17:36 +00:00
Nick Burch
6d2ecdeac2 Fix bug #56278 - Support loading .xlsx files with no Styles Table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1578518 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 19:02:21 +00:00
Dominik Stadler
ee58bd0d32 Bug 56195: replace System.err with propert logging
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1578147 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 19:46:56 +00:00
Dominik Stadler
24fdb260bc Remove two files added inadvertedely
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577909 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 17:31:43 +00:00
Dominik Stadler
7c3f1a926b Bug 56169: Fix NPE during export to XML with xs:all
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577907 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 17:29:17 +00:00
Andreas Beeker
c5527db88a Bug 56075 - Add Change Tracking support to XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577010 13f79535-47bb-0310-9956-ffa450edef68
2014-03-13 00:16:56 +00:00
Nick Burch
f63b47b8f6 Fix inconsistent whitespace, and add a close call in the main method to avoid a resource-leak warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575684 13f79535-47bb-0310-9956-ffa450edef68
2014-03-09 09:53:25 +00:00
Nick Burch
434f05058e Fix the inconsistent indents in the test file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575600 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 20:03:40 +00:00
Nick Burch
09adb72510 Add more unit tests for XWPF Headers and Footers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575599 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 20:01:38 +00:00
Nick Burch
d5c8510750 When adding a new XPWFRun to a paragraph, update both the Runs and IRuns lists with it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575597 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 19:52:09 +00:00
Nick Burch
70e1b5edeb Add some javadocs for the XWPF Header/Footer creation methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575594 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 19:33:07 +00:00
Dominik Stadler
8c5115aeb1 Fix Sonar issues about finalize() usage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575501 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 08:41:25 +00:00
Dominik Stadler
382be9f312 Adjust TestExtractorFactory to provide more output to see why it fails on Maven builds on nemo.sonarsource.org
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575497 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 08:22:03 +00:00
Andreas Beeker
3fe86eca24 Added MD4-option and some cleanups
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1574732 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 00:53:09 +00:00
Andreas Beeker
833ae007f8 Bug 56076 - Add document protection with password support to XWPF
Bug 56077 - Add password hash function to HWPF

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1570750 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 23:19:57 +00:00
Nick Burch
32290bd2bf Another content types test, for #55026
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1570002 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 00:06:34 +00:00
Nick Burch
d72bd78c19 Fix bug #56164 - Tidy up the OPC SAX setup code with a new common Helper
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569991 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 23:54:46 +00:00
Nick Burch
56d6f0342a Complete support for OOXML content types with parameters, including parts of the patch from Sebastien Schneider from bug #55026
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569976 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 23:34:53 +00:00
Nick Burch
6e933cb242 Begin to implement some of the tests and logic for content types with parameters, based on the test file for bug #55026
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569965 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 23:12:56 +00:00
Andreas Beeker
53c90692ee FindBugs fix
- fixed "equals() method does not check for null argument"
- see http://findbugs.sourceforge.net/bugDescriptions.html#NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568812 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 19:35:16 +00:00
Andreas Beeker
8689458854 Sweeping is also needed for empty column-list ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568791 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 17:00:53 +00:00
Andreas Beeker
2a14920cdd FindBugs fix
- fixed/checked various null pointer related entries
- see http://findbugs.sourceforge.net/bugDescriptions.html#NP_NULL_PARAM_DEREF
- ... NP_NULL_ON_SOME_PATH, NP_NULL_ON_SOME_PATH_EXCEPTION


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568789 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 16:30:24 +00:00
Dominik Stadler
9b4121cb45 Update Javadoc somewhat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568555 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 00:19:32 +00:00
Dominik Stadler
2b85b00690 Add assertions, remove Sonar warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568554 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 00:18:34 +00:00
Andreas Beeker
f8bf66308e update *ssf-workbook tests to junit4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568541 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 23:21:30 +00:00
Andreas Beeker
a0831ba0f9 Bug 53130 - SXSSF Shared Strings option support, to make generated xlsx files compatible with Google Docs or iPad
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568539 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 22:45:05 +00:00
Andreas Beeker
92a488a28b FindBugs fix
- fixed "Should be a static inner class"
- see http://findbugs.sourceforge.net/bugDescriptions.html#SIC_INNER_SHOULD_BE_STATIC


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568178 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 01:00:45 +00:00
Andreas Beeker
3ceb93b23d FindBugs fix
- fixed "Field isn't final but should be"
- see http://findbugs.sourceforge.net/bugDescriptions.html#MS_SHOULD_BE_FINAL


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568145 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 23:34:11 +00:00
Andreas Beeker
413e76aed0 FindBugs fix
- fixed "Class defines equals() and uses Object.hashCode()"
- see http://findbugs.sourceforge.net/bugDescriptions.html#HE_EQUALS_USE_HASHCODE
- implemented UnicodeString.ExtRst.hashCode() + junit-test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1566427 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 21:19:20 +00:00
Dominik Stadler
d9009484a6 Bug 55923: Fix compare/sorting of nodes in exported XML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1564050 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 20:56:43 +00:00
Dominik Stadler
19ed26f156 Bug 55924: Avoid errors during exporting XML if there are numeric cells without value, also verify in tests that XML can always be parsed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1564045 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 20:17:59 +00:00
Dominik Stadler
d7028dcf09 Bug 55926: Handle numeric formula values when exporting to XML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1564028 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 19:46:41 +00:00
Dominik Stadler
503ce1e6c4 Bug 55927: Handle date types when exporting to XML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1564011 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 19:19:14 +00:00
Nick Burch
eb2e8ffe0a Patch from Shaun Kalley from bug #56022 - XSSF Event Text Extractor header/footer support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563657 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 16:39:53 +00:00
Nick Burch
85bee89fe3 Fix whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563653 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 16:28:04 +00:00
Nick Burch
720b4a3aad Have the Excel text extractors all implement the same interface, as best as they can
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563650 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 16:23:26 +00:00
Dominik Stadler
cdb915a279 Bug 56017: Fix comment-ref when shiftig rows with comments, this probably does not fix the bug itself, though
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563587 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 10:34:42 +00:00
Andreas Beeker
c1a7ab3860 Bug 53282 - Hyperlink with a non-breaking space throws java.lang.IllegalStateException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563540 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 01:56:02 +00:00
Andreas Beeker
028ec314ae javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563509 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 23:23:07 +00:00
Andreas Beeker
f101bc0aff Bug 55802 - Special Letters not exported correct
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563496 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 22:26:18 +00:00
Andreas Beeker
5e7679eafd Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563488 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 21:56:07 +00:00
Dominik Stadler
7db6081827 Bug 56011: Use default style if the cell style attribute is not present
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563470 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 20:54:09 +00:00
Andreas Beeker
bd3cd2243e TreeSet without JDK 6 method usages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1561511 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 16:26:59 +00:00
Andreas Beeker
e790281425 This patch is not working as of license incompatibility - see http://www.apache.org/licenses/GPL-compatibility.html
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1561507 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 15:38:11 +00:00
Andreas Beeker
6f6c6cda34 As Jdk 1.5 doesn't provide NavigableMap/Set classes of JDK 1.6, we temporarily use the open jdk classes instead, until POI has switched to JDK 1.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1561500 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 15:01:12 +00:00
Andreas Beeker
30d9106d9a - Bug 51585 - WorkbookFactory.create() hangs when creating a workbook
- adapted relevant test-classes to Junit4 to support timeout handling
- tab / space cleanup

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1561435 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 02:18:53 +00:00
Andreas Beeker
439ad29071 Added license headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1559297 13f79535-47bb-0310-9956-ffa450edef68
2014-01-18 00:38:04 +00:00
Andreas Beeker
1eba8faedb Bug 35897 - Password protected files
+ Junit4 modifications, needed for expected exceptions

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1557281 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 23:14:03 +00:00
Dominik Stadler
d714d0da65 Bug 55723: Make HSSFSheet.setAutoFilter() behave equal to XSSF, also make XSSF work when setAutoFilter is called multiple times
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1554688 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 22:15:44 +00:00
Dominik Stadler
5e77641784 remove some unused imports and some useless TODOs, slightly more
coverage, @Overrides, more info on failing test, fix some Eclipse
warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1554535 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 15:12:30 +00:00
Dominik Stadler
1e4c1770d7 Bug 51158: clear out Memory-based part before writing to it,
except for PictureData items, which keep the original image
data in the Part-object directly.
Add reproducer-unit tests and enhance some related unit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553525 13f79535-47bb-0310-9956-ffa450edef68
2013-12-26 17:55:36 +00:00
Dominik Stadler
f8969e8d83 Remove unnecessary separate length, an array already has one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553522 13f79535-47bb-0310-9956-ffa450edef68
2013-12-26 17:54:49 +00:00
Dominik Stadler
aaa4029cd5 Remove unused members and make others private
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553464 13f79535-47bb-0310-9956-ffa450edef68
2013-12-26 09:31:25 +00:00
Andreas Beeker
2788aca235 javadoc and compiler warning house-keeping
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553428 13f79535-47bb-0310-9956-ffa450edef68
2013-12-25 23:24:04 +00:00
Andreas Beeker
3ccd728544 javadoc house-keeping
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553422 13f79535-47bb-0310-9956-ffa450edef68
2013-12-25 22:18:53 +00:00
kiwiwings
3a36da330a JCE policy fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553342 13f79535-47bb-0310-9956-ffa450edef68
2013-12-25 01:04:29 +00:00
kiwiwings
82958a11cb Fix jdk-differences for encryption patch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553340 13f79535-47bb-0310-9956-ffa450edef68
2013-12-24 23:55:17 +00:00
kiwiwings
ad9cecae59 Patch for Bug/Enhancement 55818 - add encryption support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553336 13f79535-47bb-0310-9956-ffa450edef68
2013-12-24 23:13:21 +00:00
Nick Burch
01378c8acc Don't use the degree symbol in comments, as it upsets the compiler, and causes the javadoc tool to error. Use the word degrees instead, much safer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1550351 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 05:29:11 +00:00
Dominik Stadler
76c0cfc2c9 Refactor XSSFExportToXml a bit, split code into more methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1549008 13f79535-47bb-0310-9956-ffa450edef68
2013-12-08 08:39:10 +00:00
Dominik Stadler
2a08a1dd10 Bug 55850: fix NullPointerException during extraction from XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1549007 13f79535-47bb-0310-9956-ffa450edef68
2013-12-08 08:35:20 +00:00
Dominik Stadler
18f9a3e88e Bug 55640, added reproducer, a fix for the Exception cases and some verify-tests to ensure future
changes are checked via unit tests. There might be more work pending to
make grouping fully work the same way as Excel does.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1547153 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 19:14:03 +00:00
Dominik Stadler
5511c6dbcc Bug 55745: fix handling of tables in XSSF if there are comments as well, add testcase which was committed to the wrong tag
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1546458 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 21:19:34 +00:00
Dominik Stadler
6618473e64 Bug 55745: fix handling of tables in XSSF if there are comments as well, there is not much sense in leaving the loop on the first instance of comment table and skipping all the other tables.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1546385 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 15:15:59 +00:00
Cédric Walter
73ee268e56 Bug 55768: added Line charts support and setting axis tick marks, title
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1544628 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 18:26:11 +00:00
Cédric Walter
e9b8faa748 Bug 54676: added new chart axis type: Category axis
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1544612 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 17:45:00 +00:00
Nick Burch
44c9f41cc9 Patch from Andreas Beeker from bug #53475 - Switch XWPF test to JUnit 4, so that we can skip one part of the tests if the JVM doesn't support larger keys
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1544121 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 11:18:23 +00:00
Nick Burch
d1118ce0d5 Patch from Andreas Beeker from bug #53475 - further OOXML Encryption support, covering more ciphers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1541009 13f79535-47bb-0310-9956-ffa450edef68
2013-11-12 11:37:45 +00:00
Nick Burch
e2e04b0ebc Fix whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1541005 13f79535-47bb-0310-9956-ffa450edef68
2013-11-12 11:32:10 +00:00
Nick Burch
16eb9990bc More JavaDoc tweaks, and suppress deprecated warnings where these are expected
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1540989 13f79535-47bb-0310-9956-ffa450edef68
2013-11-12 09:55:46 +00:00
Nick Burch
c6dde74f4f Consistent indenting, based on current POI style guide
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1540987 13f79535-47bb-0310-9956-ffa450edef68
2013-11-12 09:53:57 +00:00
Nick Burch
381cc611d7 Fix some JavaDocs, and add a generic constructor based on ZipEntrySource
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1540986 13f79535-47bb-0310-9956-ffa450edef68
2013-11-12 09:51:13 +00:00
Nick Burch
6780a911e2 Reduce duplication by replacing lots of deprecated methods with calls to their replacement (which is basically the same code anyway)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1540878 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 23:08:36 +00:00
Nick Burch
0457300fdf Try to make a few OPCPackage error messages more helpful, and slightly reform the configure code block to make it hopefully easier to read
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1540877 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 23:03:00 +00:00
Yegor Kozlov
9b3a2ccb82 Patch 53176 - Fixed auto shapes render problem in pptx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1540290 13f79535-47bb-0310-9956-ffa450edef68
2013-11-09 11:32:55 +00:00
Nick Burch
4ae76ffddc Unit tests for Shrink To Fit cell style support (#55661)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1539850 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 22:39:11 +00:00
Nick Burch
c6177274af Start on HSSF/XSSF Shrink To Fit support, see bug #55661
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1539848 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 22:28:06 +00:00
Nick Burch
f7b44f5e9f Patch from Andreas Beeker from bug #53475 - CSPName may not always be present on OOXML encrypted documents, plus test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1539828 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 21:29:14 +00:00
Cédric Walter
3976993fda Bug 54696: Add overlay setting to ChartLegend
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1539169 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 22:35:54 +00:00
Nick Burch
a6b301e485 Fix bug #55733 - XWPFWordExtractor need
s to handle .docx files with neither headers nor footers

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1538044 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 19:43:46 +00:00
Dominik Stadler
d08ab9dc0d Slightly more test-coverage in HSSFSheet/XSSFSheet/SXSSFSheet and fix some Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1537331 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 22:26:13 +00:00
Dominik Stadler
0342f9602d Add reproducer tests for Bug 53515, disabled as we do not fix any of the
reported issues. Also fix some Ecliipse warnings.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1535959 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 10:05:24 +00:00
Dominik Stadler
5644fcbaa0 Bug 49940: Apply patch to avoid XmlValueDisconnectedException when
saving a file twice and enable reproducing unit test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1535938 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 07:31:47 +00:00
Dominik Stadler
5ad89d96b6 Fix some Eclipse warnings, remove trailing whitespaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1535517 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 19:58:19 +00:00
Nick Burch
b646166b6c Have HSSFWorkbook check for an encrypted .xlsx file when opening, and give a helpful error if found, plus tests. Fixes #55692
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1534967 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 09:43:28 +00:00
Nick Burch
5ac455fd72 Patch from bug #55650 from Andrej - Avoid AIOOBE if a non-existant Xfs is requested for a styleAvoid AIOOBE if a non-existant Xfs is requested for a style
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1534818 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 22:04:16 +00:00
Dominik Stadler
1bf79ee0cf Bug 55369: Add support for collapsing rows in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1533932 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 18:04:08 +00:00
Dominik Stadler
3b4538cfb4 Bug 55658: don't fail in SXSSF if a numeric cell is overwritten with a string
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1532873 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 19:47:21 +00:00
Dominik Stadler
9d98d6e309 Change from having actual zero bytes in java code to java-string notation for unicode-zero to avoid trouble with this file in Sonar when using PostgreSQL (which seems to fall over binary data in text files). The resulting test should be the same with the \u0000 notation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1532037 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 19:44:30 +00:00
Dominik Stadler
43b74b0253 Apply patch from bug 55341
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1527397 13f79535-47bb-0310-9956-ffa450edef68
2013-09-29 20:23:20 +00:00
Dominik Stadler
4a3c974e3b Remove Eclipse warnings, remove duplicate test, rename tests to also run tests in base class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1521015 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 09:41:31 +00:00
Dominik Stadler
e6ed66a126 Bug 53798: Add fix for XmlValueDisconnectException during shifting rows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1521012 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 09:24:05 +00:00
Dominik Stadler
17e8880dcd Bug 54524: Fix border case in FormulaShifter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1517676 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 20:09:19 +00:00
Dominik Stadler
18d369ed86 Exclude TestUnfixedBugs from OOXMLLite to avoid confusing output in ant-build of ooxml-lite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1517179 13f79535-47bb-0310-9956-ffa450edef68
2013-08-24 18:32:45 +00:00
Dominik Stadler
b79d4fda52 Tried to reproduce Bug 47090, but seems to be fixed now.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516982 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 18:56:32 +00:00
Dominik Stadler
13e08c3e92 Add testcase which tries to reproduce Bug 48495, but seems to be fixed
now.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516981 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 18:56:11 +00:00
Dominik Stadler
f8f998b80b Some Eclipse warnings removed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516980 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 18:54:05 +00:00
Dominik Stadler
bff0813e48 fix some Eclipse warnings, adjust some unit tests slightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516818 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 10:44:39 +00:00
Dominik Stadler
134195c86c Also fix some Eclipse warnings while hunting Bugs: Generics, unused
variables, ...

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516312 13f79535-47bb-0310-9956-ffa450edef68
2013-08-21 22:06:07 +00:00
Nick Burch
75a56dcf22 Push the fix for bug #55248 up to the Sheet interface (was XSSF only before)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516124 13f79535-47bb-0310-9956-ffa450edef68
2013-08-21 09:41:15 +00:00
Dominik Stadler
9e62269eef Bug 52233: try to fix this without breaking the format of xlsx-files.
The set to null is necessary to not have an empty <cols/> element in the
xlsx, however later on stuff breaks if no colsArray is availalbe,
therefore we now re-create the empty cols array if we did remove it
before.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1515916 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 18:44:44 +00:00
Dominik Stadler
4a675204cb Revert changes from rev. 1513916 as it severly broke writing valid xlsx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1515842 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 15:03:18 +00:00
Dominik Stadler
17f3b2cb26 Bug 52233: Do not make the XSSFSheet invalid during write(), I could not find out why the ColsArray was set to null in the write() method. By removing this the writing of the sheet does not invalidate the Workbook any more and makes the test case work fine.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1513916 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 14:57:44 +00:00
Dominik Stadler
2834048155 Various small Eclipse warning fixes,
also ensure close() of stream in Ant-Task, although WorkbookFactory usually takes care of this, however in exception-cases it could be missing

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1513764 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 08:25:51 +00:00
Tim Allison
ebbbaefe69 55347 - integrate textbox text extraction with Excel extractors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1511789 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 14:04:07 +00:00
Tim Allison
0d700b0470 POI 55361 trigger to load CTMoveBookmark in TestXWPFParagraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1511777 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 13:42:01 +00:00
Tim Allison
44824082c3 POI-55294 and 52186
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1510587 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 16:17:17 +00:00
Tim Allison
ee39ef2d73 POI-55292 with added files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1508692 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 00:21:04 +00:00
Tim Allison
09555c446b POI-55292
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1508691 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 00:19:07 +00:00
Dominik Stadler
59455c36a1 Bug 55248: Add methods for showInPane() using int and unit test to verify it can handle more than 32767 rows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1502749 13f79535-47bb-0310-9956-ffa450edef68
2013-07-13 05:37:41 +00:00
Dominik Stadler
6367b8b74e Add reproducing unit tests to TestUnfixedBugs for Bug 53798 and Bug 54071
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1501263 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 13:55:54 +00:00
Dominik Stadler
5a0887c9e4 Fix build broken by previous checkin by creating a TestUnfixedBugs for ooxml as well and excluding the new test-class in test-ooxml similar to the main tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1498280 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 08:03:40 +00:00
Nick Burch
4c4d512d4a Ensure the indenting is consistent within the file, and then make some minor updates to the JavaDocs (language, clarity etc)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496952 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 14:57:36 +00:00
Nick Burch
1ae9e8eba6 Fix JavaDoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496701 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 00:56:28 +00:00
Nick Burch
3783080709 Add disabled unit test for bug #54916
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496696 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 00:45:18 +00:00
Nick Burch
a7bfec9271 Fix from Florian Hopf from bug #54564 - Fix error message text
for a workbook with no sheets when a sheet operation is performed

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496516 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 15:19:56 +00:00
Nick Burch
ed5588d9af Fix indenting to be consistent, and correct the setIncludeCellComments javadoc to match the long standing default (#54871)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496510 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 15:05:27 +00:00
Nick Burch
678991d868 Patch from Tim Allison from bug #55142 - Not all XWPF SDT block
s need newlines

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496458 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 13:09:08 +00:00
Dominik Stadler
c1d02cd0f5 Bug 54920: do not set column and row separatedely, but use a reference
for newComment(), keep previous method as deprecated. Adjust all places
where newComment() is used and add unit test covering the bug.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1495894 13f79535-47bb-0310-9956-ffa450edef68
2013-06-23 21:31:15 +00:00
Nick Burch
55751c4671 Patch from Tim Allen from bug #55066 - unit test to show that we no longer load XWPF footnotes twice
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1494962 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 12:51:30 +00:00
Nick Burch
7117fe26ad Fix the footnote doubling, and then enable the rest of the SDT tests from Tim Allison from bug #54849
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1494379 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 23:39:31 +00:00
Nick Burch
28899342eb Remove tab indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1494378 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 23:38:25 +00:00
Nick Burch
58b92caebe Patch from Tim Allison from bug #54849 - Controlled content/Form (Std/StdBlock) content
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1494376 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 23:35:11 +00:00
Dominik Stadler
426a6f3451 Bug 54607: Add unit test and fix NPE for getTopRow() and getLeftCol()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1493686 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 09:06:39 +00:00
Dominik Stadler
eee1b1af23 Bug 54982: Add a close() interface to POITextExtractor which can be used to free resources later.
Implement close() where necessary so resources are closed. Add close()
to tests and run existing unit tests also against the Extractor that is
built via the Factory. Also add a small test-suite to quickly execute
all extractor-related tests.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1493669 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 07:53:59 +00:00
Nick Burch
042aab4030 Fix and update JavaDoc entries, and correct areas with wildy inconsistent whitespace / style to the surrounding code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492818 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 18:52:03 +00:00
Nick Burch
ab19d2e09c Fix and update JavaDoc entries, and correct areas with wildy inconsistent whitespace / style to the surrounding code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492804 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 18:34:54 +00:00
Nick Burch
5863a82a6e Fix and update JavaDoc entries, and correct areas with wildy inconsistent whitespace / style to the surrounding code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492802 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 18:29:08 +00:00
Nick Burch
8bb5601ff8 Fix the javadoc, correct the indenting, and add the new test file from bug #54849
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492796 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 18:18:19 +00:00
Nick Burch
0ecaa1ae58 Patch from akhikhl from github pull #4 - Expose from XWPFParagraph the number level and format, if applied
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492312 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 18:04:16 +00:00
Nick Burch
8185178ad3 Patch from akhikhl from github pull #3 - Extract references from XWPF footnotes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492308 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 17:54:39 +00:00
Nick Burch
b80a40bc13 JavaDoc fixes from #54731 from Dominik Stadler
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492267 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 16:32:24 +00:00
Nick Burch
bf581e03b9 Stub out the unit tests needed for bug #55026, and add the sample file from that
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1487657 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 22:23:51 +00:00
Nick Burch
2f0107bb4e Where possible, allow fetching of the size of the OPC Package Part (-1 if not)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1482647 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 00:27:59 +00:00
Yegor Kozlov
651e622176 Bugzilla 54625 - Register user-defined functions in instance scope instead of static
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1452060 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 16:16:12 +00:00
Yegor Kozlov
e80c3aabc1 Bugzilla 54436: Fixed metadata for GETPIVOTDATA function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1451875 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 11:38:09 +00:00
Nick Burch
000620ac52 Improve the number of steps when generating an ID of a new relationship, and add more tests, bug #53904
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1442148 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 15:06:46 +00:00
Yegor Kozlov
90d7b88fa3 one more fix related to Bugzilla 54407
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1437306 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 09:14:14 +00:00
Yegor Kozlov
99476fc6b8 Bugzilla 54407 - Avoid XmlValueDisconnectedException when merging slides
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1436913 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 13:37:14 +00:00
Yegor Kozlov
7cde4a3ea7 fix exception when calling importContent, see Bugzilla 54407
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1436608 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 20:46:32 +00:00
Nick Burch
506578f1af Patch from Jan from bug #54282 - Improve the performance of ColumnHelper addCleanColIntoCols, speeds up some .xlsx file loading
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1420501 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 00:48:13 +00:00
Yegor Kozlov
595c967cf0 Bug 53650 - Prevent unreadable content and disalow to overwrite rows in user templates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1418264 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 10:36:16 +00:00
Yegor Kozlov
5b76ca72b6 Bugs 54228,53672 - Fixed XSSF to read cells with missing R attribute
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1417379 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:21:08 +00:00
Yegor Kozlov
7d6b730202 Bug 54206: ValueRecordsAggregate.updateFormulasAfterRowShift doesn't update shared formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1416917 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 12:44:33 +00:00
Yegor Kozlov
e469414ef2 sync table headers with worksheet on save
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1416166 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 12:28:32 +00:00
Yegor Kozlov
7adad438bf Bug 54210 - Fixed rendering text in flipped shapes in PPT2PNG and PPTX2PNG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1416165 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 12:24:55 +00:00
Yegor Kozlov
87073d28da fixed javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1410315 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 12:00:02 +00:00
Yegor Kozlov
abc9ef9bb8 follow-up to 54099: include STMerge & CTVMerge in poi-ooxml-schemas jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1409676 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 07:46:39 +00:00
Yegor Kozlov
e2c597c016 Bugzilla 54099 - Ensure that CTHMerge and CTTcBorders go to poi-ooxml-schemas jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1407242 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 19:52:20 +00:00
Yegor Kozlov
e1a93e14fd example how to create pptx pie chart from template, more tests for poi-ooxml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1406496 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 08:33:34 +00:00
Yegor Kozlov
395b0af2e4 Bugzilla 54070: Patch for typos in comments, javadoc and documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1404642 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 15:26:27 +00:00
Yegor Kozlov
489a9b47f3 Bug #53282 - Avoid exception when parsing OPC relationships with non-breaking spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1403195 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 08:42:54 +00:00
Yegor Kozlov
d1fb05dedf Bug #53374 Avoid exceptions when parsing hyperlinks of type 'javascript://'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1402470 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 11:38:28 +00:00
Yegor Kozlov
96959c79f8 preserve leading / trailing spaces in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1397499 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 09:32:45 +00:00
Yegor Kozlov
82e268acf3 Bug 53965: Fixed XmlValueOutOfRangeExceptio calling getDataValidations for custom validations with XSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1396650 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 15:41:35 +00:00
Yegor Kozlov
eb40f810d5 Bugzilla 53568: Fixed null returned by XSSFPicture.getPictureData()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1396539 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 10:48:10 +00:00
Yegor Kozlov
141294063d Bugzilla 53950 - fixed setForceFormulaRecalculation to reset workbook-level manual flag<
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1394059 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 13:26:44 +00:00
Yegor Kozlov
57bbac29fe Bugzilla 52211 - avoid unnessary re-coverting content types to US-ASCII, it can cause exceptions on ibm mainframes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1394001 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 11:52:20 +00:00
Yegor Kozlov
7290c5fabd Bugzilla 53568 - Set shapes anchors in XSSF when reading from existing drawings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1393992 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 11:23:32 +00:00
Yegor Kozlov
726fca378a Bugzilla 53780: Fixed memory and temporary file leak in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1384784 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 13:45:09 +00:00
Yegor Kozlov
e3a960ad85 added relation for XSLF charts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1384730 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 11:53:39 +00:00
Evgeniy Berlog
ddbbd7ba32 bugzilla ticket 53642: added detailed logging for formula evaluation in both HSSF and XSSF modules
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1381249 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 17:03:55 +00:00
Yegor Kozlov
37507ff4a3 removed #Override from interfaces to keep javac on JDK 1.5 happy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1369733 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 06:48:51 +00:00
Yegor Kozlov
8394c58b15 Bug 53500: split setRepatingRowsAndColumns into setRepeatingRows and setRepeatingColumns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1369290 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 08:51:49 +00:00
Yegor Kozlov
3132801d2c fixed compilation errors on JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1364926 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 07:32:47 +00:00
Yegor Kozlov
d619711ea4 Bugzilla 53500 - Getter for repeating rows and columns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1364061 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 10:33:00 +00:00
Yegor Kozlov
e353c5e20b Bugzilla 53360 - Fixed SXSSF to correctly write text before escaped Unicode control character
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1362093 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 15:32:25 +00:00
Yegor Kozlov
2257c01910 avoid NPE when setting line properties if linewidth is zero
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1356102 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 08:07:16 +00:00
Nick Burch
984af0b3a8 Update JavaDocs to make it clearer to users about the different constuctors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1352685 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 21:00:54 +00:00
Yegor Kozlov
21e710c082 more tests to ensure that poi compiles against poi-ooxml-schemas.jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1351994 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 08:46:50 +00:00
Nick Burch
7aea48961d Add File based constructor to OPCPackage, alongside existing String one (which constructed a File from the string internally)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1351894 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 22:50:14 +00:00
Yegor Kozlov
bafe7814ff Bugzilla 53271 - Removed unconditional asserts in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1342604 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 12:53:12 +00:00
Yegor Kozlov
87099af3cb Bugzilla 53043 - don't duplicate hyperlink relationships when saving XSSF file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1328653 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 12:50:57 +00:00
Yegor Kozlov
6fc404c4a6 Bugzilla 53101: fixed evaluation of SUM over cell range > 255
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1328647 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 12:48:42 +00:00
Maxim Valyanskiy
c0571bdce3 OPC: add original IOException to chain on open file errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1302840 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 11:21:23 +00:00
Yegor Kozlov
0c7c5fe873 Bugzilla 52835 - Tolerate missing Count and UniqueCount attributes when parsing shared strings table in XSSF eventusermodel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1299338 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 07:19:07 +00:00
Yegor Kozlov
8ba7b2c6fb corrected name of test file for Bugzilla 51710
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1296983 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 09:55:43 +00:00
Yegor Kozlov
cfbd879755 optimized unused imports and removed deprecation warnings in poi-ooxml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1296977 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 09:42:36 +00:00
Yegor Kozlov
e9d31e7b3e support for setting color of sheet tab in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1295079 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 12:53:48 +00:00
Yegor Kozlov
5baa7440aa Bugzilla 51564 - support for enforcing fields update in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1295078 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 12:52:55 +00:00
Yegor Kozlov
e8368bedf1 follow on to r1295058
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1295063 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 10:54:50 +00:00
Yegor Kozlov
c2d898c25a Bugzilla 51673 - support grouping rows in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1295058 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 10:36:11 +00:00
Yegor Kozlov
c0e87067e6 Bugzilla 51780 - support replacement of content types in OPC packages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294998 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 07:50:10 +00:00
Yegor Kozlov
cfa6bdc291 Bugzilla 52784 - replace ISO control characters with question marks in SXSSF to be consistent with XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294657 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 13:52:09 +00:00
Yegor Kozlov
49dd4c3e69 follow-on to r1294595
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294653 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 13:48:27 +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
a03a39fd54 Bugzilla 51790: fixed reading shared formulas in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294127 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 12:18:45 +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
a6aa1fd99e Bugzilla 52255 - support adding TIFF,EPS and WPG pictures in OOXML documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1293748 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 06:22:09 +00:00
Yegor Kozlov
cc6e457d59 fixed wrong namespace when inserting images in xwpf, added an example how to insert pictures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1293747 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 06:18:40 +00:00
Yegor Kozlov
2774c6717a Bugzilla 52745: fixed XSSFRichtextString.append to preserve leading / trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1292759 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 12:07:16 +00:00
Yegor Kozlov
89e6f4ffc2 Bugzilla 52716 - tolerate hyperlinks that have neither location nor relation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1292295 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:04:17 +00:00
Yegor Kozlov
a2aa35c9a8 Bugzilla 52701: fixed seting vertical alignment for XSLFTableCell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1291743 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 12:39:23 +00:00
Yegor Kozlov
854e14308f fixed importing pictures having associated custom tags, see Bugzilla 52687
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1291730 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 12:13:39 +00:00
Nick Burch
52e8997b18 Fix bug #52665 - When reading from a ZipFileZipEntrySource that has already been closed, give IllegalArgumentException rather than NPE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1244450 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 11:51:06 +00:00
Yegor Kozlov
1ed2118402 Bugzilla 52658: support mergin table cells in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1243793 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 07:02:54 +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
a2722fba8f validate row and column indexes in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1243232 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 10:44:17 +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
83b3ab6124 support caching images in xslf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241896 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 13:44:12 +00:00
Yegor Kozlov
583a2eb315 added methods to get/set preset shape geometry in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241885 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 12:54:02 +00:00
Yegor Kozlov
3d50eaa749 Bugzilla 52570: misc fixes in XWPFDocument
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241398 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 09:48:22 +00:00
Yegor Kozlov
b304d1f254 Bugzilla 52568: added methods to set/get an XWPFRun's text color
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241395 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 09:45:20 +00:00
Yegor Kozlov
ce6c566c4c Bugzilla 52566: added methods to set/get vertical alignment and color in XWPFTableCell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241393 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 09:41:52 +00:00
Yegor Kozlov
82014d6ba9 Bugzilla 525612: added methods to get/set a table row's Can't Split and Repeat Header attributes in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241387 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 09:21:15 +00:00
Yegor Kozlov
9ade81c403 Bugzilla 52561: Added methods to set table inside borders and cell margins in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241383 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 09:15:31 +00:00
Yegor Kozlov
eca9ec5416 improved javadoc on SXSSFWorkbook(XSSFWorkbook wb)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241373 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 08:17:21 +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
0efe45cb7d improved support for line breaks in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1240026 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 08:24:38 +00:00
Yegor Kozlov
46bc4f45f7 validate hyperlink address as discussed on poi-user
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1239529 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 10:37:49 +00:00
Nick Burch
c2ef05e163 Fix bug #52540 - Relax the M4.1 constraint on reading OOXML files, as some Office produced ones do have 2 Core Properties, despite the specification explicitly forbidding this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1237631 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 12:59:54 +00:00
Yegor Kozlov
9a0a46ea50 support kerning in XSLF text runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1235668 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 07:53:07 +00:00
Yegor Kozlov
49a75b1031 more XSLF tests to ensure that poi-ooxml-schemas.jar contains all used classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1233242 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 08:09:26 +00:00
Yegor Kozlov
2cf6b568c6 added common interface for containers of shapes in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1231481 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 11:10:46 +00:00
Nick Burch
24b020cb12 Support more OOXML custom properties for text extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1230168 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 17:59:36 +00:00
Nick Burch
2a22882dff POIXMLPropertiesTextExtractor support for extracting custom OOXML properties as text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1230106 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 15:51:10 +00:00
Nick Burch
477ae958e3 Fix bug #52449 - Support writing XWPF documents with glossaries (plus fix some indenting)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1230045 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 14:02:40 +00:00
Yegor Kozlov
ff8ec41980 more progress with merging external slides
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1225169 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 12:32:07 +00:00
Nick Burch
6b0bce44a5 Bug #52369 - XSSFExcelExtractor should format numeric cells based on the format strings applied to them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1221108 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 05:54:18 +00:00
Nick Burch
9250a2e019 Fix bug #52369 - Event based XSSF parsing should handle formatting of formula values in XSSFSheetXMLHandler
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1221103 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 05:34:58 +00:00
Yegor Kozlov
ac6c00b6df Bugzilla 52348: Avoid exception when creating cell style in a workbook that has an empty xf table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1220659 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 09:06:10 +00:00
Yegor Kozlov
b2461c5c59 Bugzilla 52219: fixed XSSFSimpleShape to set rich text attributes from XSSFRichTextString
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1220645 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 08:25:46 +00:00
Yegor Kozlov
8c2f0e5770 Bugzilla 52219: fixed XSSFSimpleShape to set rich text attributes from XSSFRichTextString
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1220642 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 08:17:46 +00:00
Yegor Kozlov
4b140a70ca Addition to Bugzilla 51961: enable compression of temp files when loading existing workbook
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1215080 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 10:11:45 +00:00
Yegor Kozlov
79a10931dc more xlsf docs and samples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1215077 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 10:00:11 +00:00
Yegor Kozlov
95d0ab557b xlsf tutorial and cookbook updates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212978 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 08:43:09 +00:00
Nick Burch
29fc1cc8ff Add a NPOIFS constructor to WorkbookFactory, to match the regular POIFS one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212976 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 08:16:32 +00:00
Yegor Kozlov
c8f9bde8ee removed svn:executable bit from project files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212745 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 08:02:08 +00:00
Yegor Kozlov
6790b8559d Bugzilla 52204: Deprecated XSSFWorkbook(String path) constructor because it does not close underlying .zip file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212744 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 07:56:54 +00:00
Yegor Kozlov
6867b3eee4 fixed javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212511 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:48:38 +00:00
Yegor Kozlov
17c6a33b99 keep rat quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212403 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 13:27:12 +00:00
Yegor Kozlov
c46ea351f6 Bugzilla 51961: support compression of temp files in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212330 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 11:04:22 +00:00
Yegor Kozlov
1b19410d68 Bugzilla 52268 - support cloning sheets with drawings in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1211339 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 08:49:09 +00:00
Nick Burch
693a7ddc09 Patch from Fabian from bug #52285 - support Smart Tags in XWPF paragraphs, with test (and fixing indents)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1210774 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 04:31:04 +00:00
Nick Burch
9068469566 Test that shows that bug #52288 is already fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1210768 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 03:33:11 +00:00
Nick Burch
3400cf0d44 Patch from Marcel May from bug #51875 - More XSSF formula new-line support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1210299 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 00:52:39 +00:00
Yegor Kozlov
62fa52d714 improved rendering of groupped shapes in xslf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1210089 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 11:16:57 +00:00
Yegor Kozlov
8e6eff67fc more progress with XSLF: made some methods publis as suggested on poi-dev, more tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1205902 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 16:13:42 +00:00
Yegor Kozlov
66b79be517 added missing definition of the upArrow shape, moved support for line decorations to XSLFSimpleShape
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1204477 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 13:10:14 +00:00
Yegor Kozlov
12c58c96e3 fixed TestXSLFTextParagraph that failed when the Arial font was not available
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1204133 13f79535-47bb-0310-9956-ffa450edef68
2011-11-20 06:34:32 +00:00
Yegor Kozlov
f07f08293c Bugzilla 52209: fixed inserting multiple pictures to a group or slide in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1203969 13f79535-47bb-0310-9956-ffa450edef68
2011-11-19 12:28:33 +00:00
Yegor Kozlov
1d81b3e8bc avoid exception when breaking text with a trailing newline
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1203968 13f79535-47bb-0310-9956-ffa450edef68
2011-11-19 12:25:38 +00:00
Yegor Kozlov
91d87aff7d misc improvements in text rendering in xlsf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1203143 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 10:33:59 +00:00
Nick Burch
959ab00472 Patch from bug #52190 - null check on XWPF setFontFamily
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1202620 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 10:33:05 +00:00
Yegor Kozlov
a44fc7b05a more progress with PPTX2PNG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1201687 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 13:00:13 +00:00
Yegor Kozlov
abccf7f303 improved rendering of indented text in XSLF, also improved import content from external slides
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1200330 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 13:59:16 +00:00
Yegor Kozlov
afecad3532 keep rat-check quiet, also started writing xslf docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1198722 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 13:22:04 +00:00
Yegor Kozlov
e021457005 Bugzilla 52062: ensure that temporary files in SXSSF are deleted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1198693 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 10:25:35 +00:00
Yegor Kozlov
21b4a0f948 more progress with xlsf: support for gradient and texture fills, backgrounds, improved drawing of preset shapes and many more updates ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1198658 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 09:12:16 +00:00
Yegor Kozlov
6406cfb2d2 more progress with PPTX2PNG: support for gradient and texture fill, also refactored usages of colors in drawingML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1190347 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 14:25:53 +00:00
Yegor Kozlov
cc0dbb38f6 keep javac on JDK 1.5 quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1189657 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 08:02:03 +00:00
Yegor Kozlov
5badcee102 support for preset shape geometries in xslf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1189105 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 10:10:05 +00:00
Sergey Vladimirov
5381a80cb0 restore JDK5 compatibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1188233 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 17:02:43 +00:00
Yegor Kozlov
f1a2673950 more progress with PPTX2PNG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1188091 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 11:07:59 +00:00
Sergey Vladimirov
a15034b281 explicitly convert to float for JDK 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187982 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 21:53:16 +00:00
Yegor Kozlov
3c6ce72dda initial support for rendering pptx slides into images with a PPTX2PNG command-line utility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187328 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 13:17:33 +00:00
Nick Burch
e132ed5359 Add a bit more XSSFDrawing testing, not all of which works properly yet...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179461 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 22:13:52 +00:00
Nick Burch
4b61edfdb3 Fix bug #51949 - Avoid NPE on double close of ZipFileZipEntrySource
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179452 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 21:29:32 +00:00
Nick Burch
31924dff8b Fix bug #51950 - XWPF may not always have footnotes in a document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179449 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 21:26:49 +00:00
Nick Burch
0d31a3b8b7 Fix bug #51963 - Correct AreaReference handling of references containing a sheet name which includes a comma
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179444 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 21:18:25 +00:00
Nick Burch
ea20b0b885 Fix bug #51955 - XSSFReader supplied StylesTables need to have the theme data available
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179440 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 21:05:00 +00:00
Yegor Kozlov
abba248c50 Bugzilla #51716 - Removed incorrect assert in SXSSFSheet#getSXSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178769 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 12:36:21 +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
9e1ca2caea XLSF text extraction improvements relating to TIKA-712
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1175887 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 14:37:50 +00:00
Nick Burch
8de1ce7c6a Tweak the HSLF and XSLF tests for master slide text to cover more (some of which is disabled for now)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1175870 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 13:48:59 +00:00
Nick Burch
837c5a90f1 Fix bug #51850 - support creating comments in XSSF on an earlier slide when later ones already have them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1174048 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 10:37:54 +00:00
Nick Burch
7b211912e2 Add a disabled test for bug #51850, and tweak the OPC package exceptions to make it easier to spot when a part name is already used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1174045 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 10:26:33 +00:00
Nick Burch
766b2256cf Update the XSLF slide master text extraction to be optional, as HSLF already is, plus fix some indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173756 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 16:54:22 +00:00
Nick Burch
2c9a15dc3b Fix bug #51804 - Include Master Slide text in XSLF text extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173749 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 16:32:52 +00:00
Nick Burch
0446976e0f New PackagePart method getRelatedPart(PackageRelationship) to simplify navigation of relations between OPC Parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1172853 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 21:40:39 +00:00
Nick Burch
7d6c26cf86 Test relating to TIKA-705 - XSLF internal hyperlinks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1172670 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 15:38:59 +00:00
Nick Burch
f716fe1822 Start on a testcase for TIKA-705 (more work needed though)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170648 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:39:20 +00:00
Yegor Kozlov
effaab4dc7 avoid exceptions when using POI in Tika, see BUgs 51771 and 51770
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1169679 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 10:19:50 +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
Yegor Kozlov
cc4a1dd8f1 fixed failing xlsf test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1167541 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 15:30:43 +00:00
Yegor Kozlov
76b20bf253 initial support for table styles in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1167491 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 10:50:05 +00:00
Nick Burch
41f656b6c8 Patch from bug #51785 - Allow XSSF setForceFormulaRecalculation to work with the minimal ooxml-schemas jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1167241 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 15:11:20 +00:00
Nick Burch
e3a6f2ad80 Update XSLFPowerPointExtractor to include Comment Authors along with comment text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165112 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 21:16:32 +00:00
Nick Burch
27304042f8 XSLF initial work on comment authors, and tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165111 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 21:09:20 +00:00
Nick Burch
dd69223e2b Convert the XSLF text extractor from using the old style low level code to use usermodel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165109 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 20:51:21 +00:00
Nick Burch
17c3ed2223 Add XSLF access to slide comments, and fix some code comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165108 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 20:45:10 +00:00
Nick Burch
dcdb4fc768 Remove incorrect svn:executable property from several Java source files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165107 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 20:33:04 +00:00
Nick Burch
a972aa482a Basic XSLF support for slide notes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165105 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 20:29:17 +00:00
Nick Burch
407ec57e37 Start on XSLF notes master support, and add a XMLSlideShow basics test, along with making it easier to get to the common slide data via XSLFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165104 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 20:14:43 +00:00
Yegor Kozlov
9882382c80 support for tables and hyperlinks in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1158611 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 10:18:31 +00:00
Yegor Kozlov
2015a64269 more XSLF updates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1157002 13f79535-47bb-0310-9956-ffa450edef68
2011-08-12 08:16:02 +00:00
Yegor Kozlov
34c7fc8f98 keep compiler from JDK 1.5.22 happy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156551 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 09:17:12 +00:00
Yegor Kozlov
6663b6ea9f Patch 51634 - support SXSSF streaming from templates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156544 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 08:54:11 +00:00
Yegor Kozlov
bde41cbbe6 fixed missing ASF licence headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156541 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 08:47:58 +00:00
Yegor Kozlov
6bf42e8072 initial support for XSLF usermodel API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156539 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 08:38:19 +00:00
Yegor Kozlov
dc100d1004 51187 - fixed OPCPackage to correctly handle self references
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156529 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 08:13:00 +00:00
Yegor Kozlov
53769d29ad Bug 51635 - Improved performance of XSSFSheet#write
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156272 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 17:32:38 +00:00
Sergey Vladimirov
1d9900c184 Add Word-to-Text converter and use it as replacement for WordExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155336 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 12:38:52 +00:00
Yegor Kozlov
f061535fdc Fixed incorrect encoding of non-breaking space (0xA0) in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1154323 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 17:27:08 +00:00
Yegor Kozlov
d7fa3d56ee fixed compilation errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152103 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 04:54:34 +00:00
Yegor Kozlov
3e56ba2b90 support for conditional formatting in XSSF including docs and examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152099 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 04:47:25 +00:00
Nick Burch
c891006d5e Based on Yegor's investigating, Support isRightToLeft and setRightToLeft on the common spreadsheet Sheet interface, as per existing HSSF support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152031 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 22:53:46 +00:00
Sergey Vladimirov
c9e8e6422b restore JDK 1.5 compatibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150616 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 10:12:21 +00:00
Nick Burch
22bf8bdef5 Tweak the error message to make it clearer how one should work with this part
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149196 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 14:37:50 +00:00
Yegor Kozlov
81a8e6eb54 renamed excelant test class to avoid collision with poi-examples when all classes compiled in the same directory, also removed duplicated log4j.properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149134 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 11:55:05 +00:00
Yegor Kozlov
77277a7acd fixed bug 51470 - avoid exception when cloning XSSF sheets with background images
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148724 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 12:29:27 +00:00
Yegor Kozlov
44521220e5 Fixed bug 51533 - Avoid exception when changing name of a sheet containing shared formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148673 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 09:42:31 +00:00
Yegor Kozlov
db284964ab more progress with support for charts in XSSF, see patch 51196
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148642 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 08:03:23 +00:00
Nick Burch
2a1dc583b6 Fix a 1.6-ism - TreeMap.firstEntry
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148056 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 21:23:32 +00:00
Yegor Kozlov
5d0668da8d support for hyperlinks in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145629 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 15:18:29 +00:00
Nick Burch
ee866292d9 Fix bug #51469 - XSSF support for row styles, to match existing HSSF functionality
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144348 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:58:08 +00:00
Nick Burch
7f5bd44d98 Patch from bug #51486 from Mike McEuen (with a few whitespace tweaks) - XWPF support for adding footnotes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144308 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 13:25:00 +00:00
Nick Burch
361fe3eb42 XWPF Numbering tests from bug #51134
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144303 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 13:12:53 +00:00
Nick Burch
a9dbb3be09 Fix bug #51474 - SXSSF handling for null strings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143059 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 13:42:08 +00:00
Maxim Valyanskiy
12356f3d9d XSLFCommonSlideData: Workaround for XmlBeans bug#49934
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141915 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 12:21:05 +00:00
Yegor Kozlov
9930e7099f added Workbook.getForceFormulaRecalculation as requested in Bug 51422
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141585 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:54:04 +00:00
Yegor Kozlov
793d119eed Bug 51444 - Prevent corrupted output when saving files created by LibreOffice 3.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141576 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:39:47 +00:00
Yegor Kozlov
19a6ad2abd Bug 51422 - Support using RecalcIdRecord to trigger a full formula recalculation on load
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1140210 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 15:40:48 +00:00
Yegor Kozlov
af650e26a0 Bug 51431 - Avoid IndexOutOfBoundException when removing freeze panes in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139533 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 12:19:49 +00:00
Yegor Kozlov
e4cd5a5b00 cleanup sxxsf temp files after tests, remove non-ascii characters from source code, polished test output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139518 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 10:56:46 +00:00
Yegor Kozlov
f51b59e51e Bug 48877 - Fixed XSSFRichTextString to respect leading and trailing line breaks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139505 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 08:45:49 +00:00
Yegor Kozlov
14d4f183aa Bug 49564 - Fixed default behaviour of XSSFCellStyle.getLocked()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139288 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 13:06:04 +00:00
Yegor Kozlov
55fc57347a Bug 48314 - Fixed setting column and row breaks in XSSF, also updated javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139266 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 12:15:16 +00:00
Yegor Kozlov
abe5618b5d Bug 51415 - Fixed Workbook.createSheet(sheetName) to truncate names longer than 31 characters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138819 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 10:49:11 +00:00
Maxim Valyanskiy
1a2aa76ff6 Test for parsing document with drawings to prevent NoClassDefFoundError for CTAnchor in XWPFRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138440 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 12:46:42 +00:00
Yegor Kozlov
02c3df2e5f Bug 48408: Improved documentation for Sheet.setColumnWidth
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137656 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 15:16:46 +00:00
Yegor Kozlov
8a61200434 improved autosizing columns in SXSSF, see Bug 51356
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137138 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 08:39:03 +00:00
Yegor Kozlov
67206e5450 Bug 50681 - Fixed autosizing columns beyond 255 character limit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1136330 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 08:57:55 +00:00
Yegor Kozlov
ffc5d68b12 Bug 51374 - Fixed incorrect setting of lastPrinted OOXML core property
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135997 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:15:40 +00:00
Yegor Kozlov
48a5868947 Bug 50458: Fixed missing shapeId in XSSF drawings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135103 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 11:56:21 +00:00
Yegor Kozlov
7351a3794c Bugzilla 51356: Support autoSizeColumn in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1134721 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 18:17:15 +00:00
Yegor Kozlov
f21ff28e93 continue SXSSF docs updates and polishing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1133782 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 10:38:31 +00:00
Yegor Kozlov
80b8854662 fixed missing licence header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1133757 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 09:49:33 +00:00
Yegor Kozlov
93c599be72 SXSSF documentation and polishing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1133372 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 12:38:07 +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
2edbaa0683 Fix 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1131327 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 06:40:28 +00:00
Yegor Kozlov
8a6c4d97ff reverted a file mistakenly added in r1130120
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1130123 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 12:13:16 +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
Yegor Kozlov
034f4c5cf5 Bug 51098 - Error in calculating image width/height, if image fits into one cell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128422 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 18:46:04 +00:00
Nick Burch
481a325c45 Fix bug #47147 - XWPF table cells adding extra paragraph - test from Stefan Stern
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128331 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 14:48:22 +00:00
Nick Burch
a3206374e5 Few XSLF tweaks, and add a unit test that shows that bug #51187 exists (problem with self references)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128324 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 14:35:44 +00:00
Nick Burch
8f3c468ea9 Fix bug #51188 - Support for getting and setting XPWF zoom settings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128312 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 14:00:44 +00:00
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
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
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
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
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
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
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
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
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
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
Nick Burch
de892d4666 Add support for adding a picture to a XSSFRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092755 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 16:16:09 +00:00
Nick Burch
1e19690e18 Add unit test for bug #51037, which seems to be working fine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092423 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 18:06:23 +00:00
Nick Burch
5df80fe7ac Rename/Move xssf.model.Table to xssf.usermodel.XSSFTable as it now has usermodel-like features
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092286 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 14:32:49 +00:00
Nick Burch
b3fee7f7e6 Fix bug #51061 - Correct target URI for new XSSF Tables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092281 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 14:29:04 +00:00
Maxim Valyanskiy
ade6735c43 XSSF: reduce memory usage by specifing default namespace for string keys in SharedStringsTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092089 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 10:05:04 +00:00
Nick Burch
968b5c4533 Add a disabled test for bug #46662, which seems to be a SharedStringsTable / xmlbeans issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090792 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 12:49:48 +00:00
Nick Burch
09470f80ba Initial support for XSSF Charts. Provides easy access to the underlying CTChart object via the Sheet Drawing, but no high level interface onto the chart contents as yet.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090442 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 20:51:52 +00:00
Nick Burch
7ec533f37d Correct the fetching of Drawings from a XSSFChartSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090435 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 20:30:38 +00:00
Nick Burch
2dee92c68d Fix inconsistent indent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090434 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 20:29:49 +00:00
Nick Burch
b629d6f949 More test for bug #49381 / #50884 - xssf freeze panes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090301 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 15:41:36 +00:00
Nick Burch
b642f8952e Add support for adding a table to a XSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090289 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 15:07:35 +00:00
Nick Burch
44ea0035a6 Implement the load method on MemoryPackagePart
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1086909 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 11:34:12 +00:00
Nick Burch
a7e39ad6c2 Add XWPF <br> detection for the other kind of ooxml schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085471 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 17:00:30 +00:00
Maxim Valyanskiy
78bcc564f4 XWPFPicture: remove unused POILogger instance
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1083781 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 13:41:01 +00:00
Maxim Valyanskiy
db05d9158a XWPFPicture: support for reading picture description
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1083780 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 13:39:44 +00:00