Commit Graph

3930 Commits

Author SHA1 Message Date
Nick Burch 0df94e6be8 Apply patch from bug #48924 - Allow access of the HWPF DateAndTime underlying date values
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948455 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:40:25 +00:00
Nick Burch 6666c539da Add a simple testcase for the new RevisionMarkAuthorTable.java
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948445 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:22:49 +00:00
Nick Burch 9798e24fd2 Apply patch from bug #48926 - Initial support for the HWPF revision marks authors list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948435 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:17:15 +00:00
Nick Burch 6f141b8e01 Fix bug #49160 - Ensure that CTDigSigBlob is included in poi-ooxml jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948426 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 13:56:51 +00:00
Nick Burch f6c41635e5 Fix bug #49189 - Detect w:tab and w:cr entries in XWPF paragraphs, even when the XSD is silly and maps them to CTEmpty
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948199 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 20:31:42 +00:00
Nick Burch 24b73b2cdc Get to a consistent indent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948116 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 17:13:52 +00:00
Nick Burch 0cddb0a50b Fix bug #49273 - Correct handling for Font Character Sets with indicies greater than 127
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948089 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 16:25:34 +00:00
Nick Burch 4c1d86e5de Apply patches from Peter Kutak from bugs 49334 and 49242 - HSSFChart improvements by tracking more records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948080 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 15:59:26 +00:00
Josh Micich a80d363286 Added loose tests to junit hierarchy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947860 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 23:26:57 +00:00
Josh Micich b9e43015df Changed JRE 6 dependent code to its JRE 5 equivalent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947842 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 22:41:51 +00:00
Mark Beardsley 046c73ba82 Modified existing text to cover changes made to XWPFHeaderFooterPolicy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947688 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 15:56:05 +00:00
Mark Beardsley 9207d6662a Added overloaded method to support multiple paragraphs in footer/header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947686 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 15:55:30 +00:00
Nick Burch 863ed85b8c Add a "rat-check" optional target, which runs Apache Rat against the source tree to spot files lacking license headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947648 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 14:16:15 +00:00
Nick Burch 11c4ab5eca More license headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 14:15:27 +00:00
Nick Burch b19532bd16 Add in missing license headers to a few files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947644 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 14:00:48 +00:00
Yegor Kozlov 06eeb5d312 Improved performance of XSSFSheet.write, avoid unnecessary re-ordering of CTRow beans if they are already ordered
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947542 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 05:31:48 +00:00
Yegor Kozlov fa7c8f269a avoid NPE when finding cell comments, Bugzilla 48846
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947315 13f79535-47bb-0310-9956-ffa450edef68
2010-05-22 16:24:22 +00:00
Yegor Kozlov 17c2a4208f Ensure that CTPhoneticPr is included in poi-ooxml jar, see Bugzilla 49325
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947312 13f79535-47bb-0310-9956-ffa450edef68
2010-05-22 16:07:31 +00:00
Yegor Kozlov 010f3a4535 Fixed tests failing in non-english locales, see Bugzilla 49191
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947310 13f79535-47bb-0310-9956-ffa450edef68
2010-05-22 16:06:36 +00:00
Nick Burch eb4a56cb52 Apply (with slight tweaks) patch from bug #48432 - Support for XSSF themes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@946136 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 11:55:17 +00:00
Yegor Kozlov c1748f0143 support for data validation for OOXML, see Bugzilla 49244
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@944869 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 15:49:21 +00:00
Yegor Kozlov 18230c14b9 Enhanced SViewer to support most border types, cell formats, and conditional formatting. Added ToHtml example that converts a spreadsheet into HTML, See Bugzilla #49066
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@942809 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 16:11:50 +00:00
Nick Burch ede8beb227 Fix bug #49020 - Workaround Excel outputting invalid XML in button definitions by not closing BR tags
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@941399 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 17:49:59 +00:00
Nick Burch 7b043c2bc4 Apply patch from Trejkaz from bug #49050 - Improve performance of AbstractEscherHolderRecord when there are lots of Continue Records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@941379 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 16:45:58 +00:00
Nick Burch a4be4cecfc Fix bug #49194 - Correct text size limit for OOXML .xlsx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@941372 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 16:30:43 +00:00
Nick Burch a62b2d04e7 Fix bug #49254 - Fix CellUtils.setFont to use the correct type internally
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@941342 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 15:24:23 +00:00
Nick Burch 8830bebd6d Hopefully finish fixing bug #49139 - track down another subtle hard coding of 512, and switch to using the big block size variable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@941334 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 15:10:17 +00:00
Nick Burch 535cdd29b4 Add DISABLED test which shows the latest problem relating to bug #49139
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@940648 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 21:58:26 +00:00
Nick Burch 98bb2d614e Enable the tests for bug #49139, now that we have a sample test file to go with it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@940519 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 17:18:35 +00:00
Nick Burch d5e79e9202 New release in the doap file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@939641 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 11:26:47 +00:00
Maxim Valyanskiy 64dfac1ed9 skip incorrect MMSRecord in xls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@938372 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 09:24:52 +00:00
Nick Burch 22b4d5d593 Tweak depends lines relating to compile-ooxml-xsds, so that the schema files are correctly downloaded if missing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@938120 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 16:46:08 +00:00
Nick Burch a3899a57d8 Resolve bug #49139 - don't assume that the block size is always 512 bytes. Instead of hard coding this value in, pass around the new POIFSBigBlockSize object that holds the size and various helper subsizes. Should now be possible to open 4k block files without error.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@937834 13f79535-47bb-0310-9956-ffa450edef68
2010-04-25 17:35:56 +00:00
Yegor Kozlov 0b4df9519b Avoid writing malformed CDATA blocks in sharedStrings.xml, see Bugzill 48936
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@937792 13f79535-47bb-0310-9956-ffa450edef68
2010-04-25 12:58:45 +00:00
Yegor Kozlov 927e153c94 Added implementation for TEXT() and TRUNC(), see Bugzilla 49025 and 49026
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@937652 13f79535-47bb-0310-9956-ffa450edef68
2010-04-24 17:17:20 +00:00
Mark Beardsley 2187e24118 Improved usage message.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@937312 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 14:31:59 +00:00
Yegor Kozlov d2e1849979 Properly close internal InputStream in ExtractorFactory#createExtractor(File), see Bugzilla 49147
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@935900 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 13:06:59 +00:00
Yegor Kozlov fe048df54e Fixed locale-sensitive formatters in PackagePropertiesPart, see Bugzilla 49138
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@935896 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 12:57:27 +00:00
Yegor Kozlov e3ea49bf61 Ensure that CTVectorVariant is included in poi-ooxml-schemas.jar, Added accessors to CoreProperties.Keywords. See Bugzilla 49146 and 49153
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@935860 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 10:27:30 +00:00
Mark Beardsley ba9704c3ab Converts Excel to CSV using usermodel.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@934444 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 15:18:03 +00:00
Nick Burch 7e681eed75 One more missing license
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@933965 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 14:15:16 +00:00
Nick Burch f1371227be Remove old .cvsignore files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@933963 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 14:11:13 +00:00
Nick Burch acfba7e8ed Add missing license header to older xml files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@933961 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 14:04:14 +00:00
Nick Burch 04ac9edea6 Add missing license headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@933959 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 14:02:04 +00:00
Nick Burch 3caec855a3 Remove readme about java 1.4 vs 1.5, as we've ditched java 1.4 support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@933958 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 14:01:38 +00:00
Nick Burch d1486edc42 Lots more documentation on how we read in POIFS files and process the sectors/blocks and FATs. Also add a test that shows that bug #46391 is invalid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@933663 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 15:04:45 +00:00
Maxim Valyanskiy fc53ead4ca bugfix: ClassCastException it PicturesTable.getAllPictures():
UnknownEscherRecord cannot be cast to EscherBlipRecord


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@931111 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 12:12:03 +00:00
Yegor Kozlov 639bf94c6f propagate parent to parent-aware records decoded from Escher, also ensure that TextShape and EscherTextboxWrapper hold the same cached sets of records, see Bugzilla 48916
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@930525 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 14:44:39 +00:00
Nick Burch 512a6f2bb5 Fix bug #48485 - Add extra paper size constans to PrintSetup, such as A3, B4 and B5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@929064 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 10:05:53 +00:00
Yegor Kozlov 14502b9ac0 fixed compilation errors in recently added examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@923072 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 06:14:03 +00:00