Commit Graph

3843 Commits

Author SHA1 Message Date
Nick Burch
f3d277fa24 Add patch from bug #49690 - Add WorkbookUtil, which provies a way of generating valid sheet names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982260 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 14:13:42 +00:00
Maxim Valyanskiy
e52778847c hwpf: append any character data before paragraphs to first paragraph
(workaround for bug#48075)


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 12:43:58 +00:00
Nick Burch
8486ae97d3 Fix bug #49694 - Use DataFormatter when autosizing columns, to better match the real display width of formatted cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@981969 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 17:12:02 +00:00
Nick Burch
ce0fea767f Fix bug #49441 - Allow overriding and guessing of HSMF non-unicode string encodings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@981947 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 16:06:21 +00:00
Nick Burch
fe76361d67 Fix bug #49689 - Allow the setting of user style names on newly created HSSF cell styles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@981930 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 15:29:56 +00:00
Nick Burch
57f51af933 Commit unit test change too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@980417 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 12:02:03 +00:00
Nick Burch
443dd75e04 Refactor to make it easier to tell which content types each POIXMLTextExtractor handles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@980414 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 11:57:08 +00:00
Yegor Kozlov
507d4dd3a5 Added clone support for UserSView* and Feat* families of records, see bug #49649
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@980102 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 15:51:57 +00:00
Yegor Kozlov
f03598469a Support for escaped unicode characters in Shared String Table, see bug #49653
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979952 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 05:48:27 +00:00
Yegor Kozlov
0cc825e8dc prevent ArrayIndexOutOfBoundException in UnknowEscherRecord, see bug #49579
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979747 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 15:24:25 +00:00
Maxim Valyanskiy
c21d04a68b wpf: More CharactedRun mapping fixes for fast-saved documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979618 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 09:38:54 +00:00
Yegor Kozlov
d264f92d24 preserve leading and trailing white spaces in XWPFRun, see bug #49593
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979540 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 05:38:48 +00:00
Yegor Kozlov
84811da73d insert the content of fldSimple fields into the XWPFWordTextExtractor output, see bug #49455
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979538 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 05:19:15 +00:00
Yegor Kozlov
de13c1193c Fixed parsing formulas containing defined names beginning with an underscore, see Bug 9640
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979329 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 15:52:57 +00:00
Maxim Valyanskiy
8fab18e37a More fixes for auto-saved documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979286 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 14:04:27 +00:00
Yegor Kozlov
9007623728 support for POISSON function, see bug #49538
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979255 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 12:13:07 +00:00
Yegor Kozlov
db6dcad864 added a failing unit test for bug #49612
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@978848 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 11:33:59 +00:00
Nick Burch
46bbc6add4 Fix bug #49524 - Support for setting cell text to be vertically rotated, via style.setRotation(0xff)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@965267 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 18:00:36 +00:00
Yegor Kozlov
8047e7e84d do case-insensitive comparison when detecting Content_Types part, tolerate backslashes in part names. see bug 49609
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@965258 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 16:12:17 +00:00
Nick Burch
bea0801c24 Patch from Jens Gotze from bug #49581 - Ability to add, modify and remove series from HSSF Charts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964855 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:46:42 +00:00
Nick Burch
7732426887 Patch from Andrew Shirley from bug #49185 - Support for HSSFNames where the comment is stored in a NameCommentRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964845 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:02:09 +00:00
Nick Burch
7483d655a6 Fix indent, and make the mime type matching more consistent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964844 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:01:13 +00:00
Nick Burch
6d93fb9d5d 49599 - Correct writing of NoteRecord author text when switching between ASCII and Unicode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964800 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 13:57:17 +00:00
Maxim Valyanskiy
8c763967ab hwpf: Range.findRange fix for out-of-range searches
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@962520 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 13:30:43 +00:00
Maxim Valyanskiy
7aba97ba6e hwpf.usermodel.Range: use generics & remove redundant type casts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@961347 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 10:57:14 +00:00
Maxim Valyanskiy
de525d07cd HWPFDocument: minor cleanup
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@961343 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 10:42:23 +00:00
Maxim Valyanskiy
8661c09c35 HWPF: test auto-saved document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@961342 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 10:41:17 +00:00
Maxim Valyanskiy
22730f9a12 HWPF: better fix for TextPieceTable.getCharIndex()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960922 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 15:45:36 +00:00
Maxim Valyanskiy
69cc14c377 update status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960594 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 13:19:35 +00:00
Maxim Valyanskiy
78b0c18ade HWPF: Improve reading of auto-saved ("complex") document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960587 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 12:56:02 +00:00
Nick Burch
8c42604abf Fix deprecated warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960117 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 21:45:40 +00:00
Nick Burch
14b89b8d6a Fix deprecated warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960115 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 21:35:06 +00:00
Nick Burch
8f7d1e9a25 Fix deprecated warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960111 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 21:29:32 +00:00
Nick Burch
2d03e05f92 Fix deprecated warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960106 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 21:16:40 +00:00
Nick Burch
256e73d16d More Word 6 / Word 95 Support
HWPFOldDocument now processes a few more table sections, and so we can fake up some
 basic Ranges. This allows us to do paragraph level text extraction


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960102 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 20:59:30 +00:00
Nick Burch
01ec911b74 Fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960094 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 20:01:42 +00:00
Nick Burch
71048002e4 Update the contributor guidelines (microsoft docs, smaller patches are better etc), and ensure we only have the one copy in /guidelines.html
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960038 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 15:51:48 +00:00
Nick Burch
9973978524 Update HWPF documentation to include the newly added word 6/95 text extraction support, as well as mention XWPF + Microsoft spec docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@959384 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 17:40:33 +00:00
Nick Burch
6ee6d9095f Enable Word6Extractor in ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@959360 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 16:08:10 +00:00
Nick Burch
30848a80aa Basic text extraction support for old Word 6 and Word 95 documents via some HWPF extensions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@959346 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 15:13:10 +00:00
Nick Burch
0910eb1ab5 Fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@959335 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 14:41:03 +00:00
Nick Burch
da6d33456f Fix bug #49508 - Allow the addition of paragraphs to XWPF Table Cells. (Also fixed a few related warnings too)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958972 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 14:04:11 +00:00
Nick Burch
246753cbfa Add sample .msg file which uses a different codepage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958971 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 14:02:33 +00:00
Nick Burch
afbf123c7f Fix bug #49446 - Don't consider 17.16.23 field codes as properly part of the paragraph's text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958965 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 13:38:24 +00:00
Nick Burch
5f323eb6ea More XSLF tests for the less common extensions, and initial support for .thmx (theme) files - currently just stretches to not breaking...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958923 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 11:07:27 +00:00
Yegor Kozlov
bcb8069d1a never download ooxml-schemas-.jar from maven, always build it from source xsds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958563 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 12:56:57 +00:00
Yegor Kozlov
2876f4167a removed duplicates of PICTURE_TYPE_* constants defined in the parent Workbook interface
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958561 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 12:52:00 +00:00
Nick Burch
257f11f1a9 Remove a few deprecated warnings for when compiling against ooxml-schemas-1.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@956900 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 13:59:44 +00:00
Nick Burch
aec0644352 Add index and download entries for the 3.7 beta 1 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@956854 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 11:38:59 +00:00
Nick Burch
66793405d8 Revert r954835 now that POI 3.7 beta1 is out - go back to using 1.5 compiled editions of the ooxml schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@956850 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 11:08:21 +00:00