Nick Burch
52d7f084be
Correct XWPFRun detection of bold/italic in a paragraph with multiple runs of different styles
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996976 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 16:32:02 +00:00
Nick Burch
6c8a90d054
Link XWPFPicture to XWPFRun, so that embedded pictures can be access from where they live in the text stream
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996927 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 14:52:35 +00:00
Nick Burch
7fad16fd1b
XWPF paragraph improvements - Make XWPFParagraph make more use of XWPFRun, and less on internal StringBuffers. Also improve handling of Hyperlinks inside XWPFParagraph objects through XWPFHyperlinkRun
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996899 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 13:46:22 +00:00
Nick Burch
77f5742c75
Add a getBodyElements() method to XWPF IBody, to make access to embedded paragraphs and tables easier, and a few tidy-ups
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996849 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 11:34:33 +00:00
Nick Burch
bc37e5bf28
More XSLFRelation entries for common .pptx file parts
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996506 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 11:45:34 +00:00
Yegor Kozlov
0528306b33
fixed evaluation of shared formulas in XSSF, see Bugzilla 49872
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996265 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 08:54:45 +00:00
Yegor Kozlov
1f6833c72d
avoid corruption of XSSFWorkbook after removing all merged cells from sheet, see Bugzilla 49895
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996148 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 13:48:00 +00:00
Yegor Kozlov
442579c326
fixed inconsistent behaviour between HSSF and XSSF when creating consecutive names, see Bugzilla 49907
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996136 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 12:45:59 +00:00
Nick Burch
2b9a63d38d
Add getMimeType() method to HWPF Picture, and fix some generics warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995464 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 15:30:55 +00:00
Maxim Valyanskiy
794621733b
update status.xml (code for reading Ole10Native data)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995416 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 13:23:54 +00:00
Nick Burch
fc1980e939
Add getMimeType() method to HSSF/XSSF PictureData, alongside existing file extension
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995360 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 09:28:04 +00:00
Yegor Kozlov
05593e6902
allow sheet names longer than 31 chars in XSSF, enforce name uniqueness on the first 31 chars
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@993246 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 07:09:49 +00:00
Yegor Kozlov
d55edf3f78
improved API for hiding sheets, see Bugzilla 49878
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992772 13f79535-47bb-0310-9956-ffa450edef68
2010-09-05 12:53:07 +00:00
Yegor Kozlov
3744428426
fixed XSSFWorkbook.createSheet to throw exception if sheet name begins or ends with a single quote ('), see Bugzilla 49875
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992629 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 15:56:29 +00:00
Yegor Kozlov
c6219cadca
fixed XSSFFormulaEvaluator to support blank cells, added BaseTestFormulaEvaluator - a common superclass for testing implementations of FormulaEvaluator
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992620 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 15:03:48 +00:00
Yegor Kozlov
7ddd3d1715
added a getter for _iStartAt in ListFormatOverrideLevel
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992611 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 14:15:55 +00:00
Yegor Kozlov
acd3101b82
change cell type to error when setting Double.NaN or Infinities, see Bugzilla 49761
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992591 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 12:33:09 +00:00
Yegor Kozlov
25ff8a5c80
ensure that CTNumPr is included in poi-ooxml-schemas.jar (Bugzilla 49833)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992574 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 10:05:38 +00:00
Yegor Kozlov
c0d7683f9f
fixed LEFT and RIGHT to return #VALUE! when called with a negative operand, see Bugzilla 49841
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992570 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 09:48:34 +00:00
Yegor Kozlov
5df572a3b6
fixed evaluation of XSSF workbooks containing formulas with reference errors (#REF!), see Bugzilla 49783
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@989100 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 13:29:55 +00:00
Yegor Kozlov
424948b35a
fixed fetching names of user defined styles, see Bugzila 49751
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@987256 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 18:08:54 +00:00
Yegor Kozlov
74c34444a8
support for protecting a XSSF workbook, see Bugzilla #48900
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@986649 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 12:49:05 +00:00
Yegor Kozlov
8f4aff0e1a
fixed FormulaParser to correctly process defined names with underscore, see bugzilla 49725
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@984823 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 15:10:12 +00:00
Yegor Kozlov
988a5583dd
added support for RANDBETWEEN(), see Bugzilla 48526
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@984796 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 14:14:26 +00:00
Yegor Kozlov
1371cca98f
fixed OperandResolver to correctly handle inputs with leading decimal place, see Bug #49723
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@984161 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 18:49:21 +00:00
Yegor Kozlov
75656c36d9
initial support for excel auto-filters
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@983382 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08 11:11:38 +00:00
Nick Burch
0612929bba
Prepare for 3.7 beta 2
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982336 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 17:24:05 +00:00
Nick Burch
514e6be1fe
Fix bug #47990 - Support for .msg attachments within a MAPIMessage .msg
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982331 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 17:08:39 +00:00
Nick Burch
3c4946472b
Improve handling and warnings when closing OPCPackage objects
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982311 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 15:58:51 +00:00
Nick Burch
654c53efc8
Fix bug #49702 - Correct XSSFWorkbook.getNumCellStyles to check the right styles list
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982269 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 14:40:54 +00:00
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
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
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
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
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
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
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
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
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
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
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