Commit Graph

532 Commits

Author SHA1 Message Date
Yegor Kozlov 97b07620de Added implementation for MROUND(), VAR() and VARP()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044642 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 12:41:17 +00:00
Yegor Kozlov 0f86c22ae8 Avoid crashing Excel when sorting XSSFSheet autofilter, see Bugzilla 50315
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1041407 13f79535-47bb-0310-9956-ffa450edef68
2010-12-02 15:23:35 +00:00
Yegor Kozlov 6cf48b0610 improved work with UDFs and Analysis Toolpack functions, ATP functions are enabled by default and user can create / evaluate them just like built-in functions, both HSSF andf XSSF are supported
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1039870 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 12:03:52 +00:00
Yegor Kozlov 9d56b17ace moved ptg classes to org.apache.poi.ss.formula.ptg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1038691 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 16:54:26 +00:00
Nick Burch 6161794320 Allow access from XSSFReader to sheet comments and headers/footers (related to bug #50076)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037753 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 15:16:45 +00:00
Yegor Kozlov 533f3a4f4a moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037431 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 11:52:32 +00:00
Yegor Kozlov 09f53282ec avoid corruption of XSSFWorkbook after applying XSSFRichTextRun#applyFont, see Bugzilla 50258
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1036599 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 20:07:15 +00:00
Yegor Kozlov 9b52b521cf allow white spaces and unicode in OPC relationship targets, see Bugzilla 50154
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1036215 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 20:40:35 +00:00
Yegor Kozlov e8bbd4c957 clear calculation chain when deleting row or chaing cell type to blank, see Bugs 50113 and 49966
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1034358 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 12:03:56 +00:00
Yegor Kozlov 9c3d11b953 Fixed evaluation of cell references with column index greater than 255, see bugzilla 50096
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1033556 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 16:09:04 +00:00
Yegor Kozlov 13920dccd6 use cached formula result when autosizing sheet columns, see Bugzilla 50211
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1033005 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 15:04:55 +00:00
Nick Burch 3b5f224ccb Add a few more little bits of formula unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1031077 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 16:55:36 +00:00
Maxim Valyanskiy de166c7b97 Ensure that XWPFParagraph.getDocument() is not null
(Null getDocument() causes NPE when looking for comments in XWPFWordExtractorDecorator)


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1028283 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 13:02:43 +00:00
Nick Burch 26b76c1087 Fix bug #50119 - avoid NPE when XSSFReader comes across chart sheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1025630 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 16:25:24 +00:00
Yegor Kozlov 8f59cfbb23 revert usages of getXYZList() back to getXYZArray() in XSSF, also misc performance optimizations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1022420 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 08:40:06 +00:00
Yegor Kozlov 7c3ce57a61 allow overridden built-in formats in XSSFCellStyle, see Bugzilla 49928
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1005726 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 08:26:57 +00:00
Nick Burch c8feb1b478 Add unit tests for the XWPF decorator classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999859 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 10:17:49 +00:00
Nick Burch 39a185e9a7 Fix bug #49966 - Correctly remove calcChain entries for XSSF cells that stop holding formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999314 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:16:12 +00:00
Nick Burch c1a78f0f01 Fix bug #47582 - XSSFCellStyle support for creating a style in one workbook based on a style from a different one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999096 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 20:10:14 +00:00
Nick Burch cbe4cd8b21 Fix bug #49765 - Fix XWPFDocument.addPicture so that it correctly sets up relationships
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998960 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 15:43:07 +00:00
Nick Burch 78e6e00e2d Fix bug #49941 - Correctly handle space preservation of XSSFRichTextRuns when applying fonts to parts of the string
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997811 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 16:01:12 +00:00
Nick Burch d791eb68a9 Add disabled, failing unit test for bug #49940
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997752 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 13:46:17 +00:00
Nick Burch 58d1404684 Various XWPF picture tweaks and more unit tests
Note that XWPFRun -> XWPFPicture currently only works with the full ooxml schemas file, and not with poi-ooxml-schemas, due to some sort of missing resources around the namespace switch


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997037 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 18:50:10 +00:00
Nick Burch 3f972827af Fix up imports to remove un-used ones
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996980 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 16:39:34 +00:00
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
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
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 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 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 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 2a9019985f added ZipFileAssert, this file was in the original OpenXML4J package but wasn't included in POI-3.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992551 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 06:33:22 +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 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 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
Yegor Kozlov c9a7354786 close OPC package before assertion, otherwise the test fails on Win7 (unix-based systems always pass)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982911 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 09:03:32 +00:00
Nick Burch 8dcf35452d Support nested outlook files in ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982334 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 17:22:15 +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 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
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 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 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 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 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 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
Nick Burch 3d9281b8da Remove spurious svn:executable flags
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953725 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:22:49 +00:00
Nick Burch 0447e031da Apply (with slight tweaks) patch from Phillip Epp from bug #48574 - further XWPF support for tables, paragraphs, including enhanced support for adding new ones
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953704 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 14:37:58 +00:00
Nick Burch 0e86939f7e Add tests to verify that XSSF and HSSF do the same thing with retrieving the wrong type of value from string/numberic/formula cells, and tweak documentation to match the long standing behaviour (bug #47815)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951466 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:58:02 +00:00
Nick Burch 74c40ef943 Add unit test to verify that bug #47490 no longer exists
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951446 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:33:47 +00:00
Nick Burch d14beb4b84 Fix bug #49386 - avoid NPE when extracting OOXML file properties which are dates
Also tidy up POIXMLPropertiesTextExtractor to exclude properties which are missing


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951384 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 12:02:36 +00:00
Yegor Kozlov 55c924c5d2 removed deprecation warnings to keep javac quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949434 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 18:31:04 +00:00
Yegor Kozlov 8c6e2767fa optimized serialization of XSSFRow - avoid re-ordering of CTCell beans if they are already ordered
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949375 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 10:28:04 +00:00
Nick Burch e09e67c403 Fix bug #48718 - Make the creation of multiple, un-modified fonts in a row in XSSF match the old HSSF behaviour
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949177 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 13:44:45 +00:00
Nick Burch 5cfa676c0b Add missing test file for bug #48779
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948752 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 10:15:10 +00:00
Nick Burch f6bda6f28a Solution for bug #48779 - Allow you to get straight from a CellStyle to a Color, irrespective of if the Color is indexed or inline-defined
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948511 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 17:46:46 +00:00
Nick Burch 5d461efea2 Add disabled unit test for bug #48539, which is currently still broken
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948477 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 15:22:04 +00:00
Nick Burch 29dab17a44 Add unit test to show that the behaviour in bug #48923 is as expected
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948462 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:51:49 +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 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
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
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
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
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
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 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
Nick Burch a2e6cafca9 New event based xssf text extractor (XSSFEventBasedExcelExtractor)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@903182 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 11:39:44 +00:00
Nick Burch 6e2c32e1c5 Most of support suggested by Phil Varner on the list - ExtractorFactory can now be told to prefer Event Based extractors (current Excel only) on a per-thread or overall basis
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@902927 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 19:02:13 +00:00
Yegor Kozlov 4be190d69d avoid creating unnecessary temp files, tighten up usage of temp files in unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@899364 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 19:23:13 +00:00
Nick Burch 6e97a360a3 Add PublisherTextExtractor support to ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897887 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 14:55:43 +00:00
Maxim Valyanskiy f1a1f4a6ff XSLF: text extraction from tables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897875 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 14:27:54 +00:00
Nick Burch 5ad8301c2a Add embeded (attachment) support to the outlook text extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897258 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 16:44:08 +00:00
Nick Burch 98cea49eb5 Rename the outlook extractor to be more consistent with other extractors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897249 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 16:18:52 +00:00
Nick Burch cefe4e1d28 Wire up the new HSMFTextExtactor to the ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897246 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 16:14:27 +00:00
Yegor Kozlov 19d2a9ae09 improved usermodel to prevent data corruption when setting array formulas, mimic Excel behaviour and block changing cells included in multi-cell arrays
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894469 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 19:47:38 +00:00
Josh Micich 88dbbbf1c6 Replaced getInstance methods with field for instances of ITestDataProvider. Some simplification in hierarchy of related tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893929 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 02:17:34 +00:00
Josh Micich a1f9d0827c Clean-up in BaseTestSheetShiftRows and subclasses.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893909 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 00:25:59 +00:00
Josh Micich e493c8dd01 Made public instance fields for ITestDataProvider singletons.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893900 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 23:51:32 +00:00
Josh Micich a74769efcd Minor clean-up in TestXSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893899 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 23:43:55 +00:00
Josh Micich 931671c3d2 Added CellRange return type for Sheet array formula methods. Renamed new test classes to make it clear that array formula evaluation is not being tested yet. Added extra test cases.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893897 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 23:04:04 +00:00
Yegor Kozlov aba7267376 added HSSF usermodel tests for array formulas, added support for array formulas in ss interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893870 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 15:15:55 +00:00
Yegor Kozlov cf6b1118b4 removed mistakenly submitted test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893802 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 18:38:27 +00:00
Yegor Kozlov b9fab26825 added tests for XSSF usermodel for array formulas, this change is a step towards adoption of the patch submitted in Bugzilla 48292
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893625 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 20:58:01 +00:00
David Fisher db0bd14a2c Added missing license headers to 5 files. Removed dist target from howtobuild.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@890089 13f79535-47bb-0310-9956-ffa450edef68
2009-12-13 18:32:47 +00:00
Yegor Kozlov 436965d98b fixed XSSFSheet autoSizeColumn() to tolerate empty RichTextString, see Bugzilla 48332
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@887160 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 11:24:02 +00:00
Yegor Kozlov ddefe3144d added a test covering bookmarks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886733 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 10:41:00 +00:00
Yegor Kozlov 6216c511a9 memory usage optimization in XSSF - avoid creating parentless xml beans
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885429 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 14:09:03 +00:00
Josh Micich 5c7dbb2730 Patch 48284 - raise visibility of FormulaParseException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885007 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 21:01:59 +00:00
Yegor Kozlov 11b696550c improved work with cell comments in XSSF, also added support for cell comments to SS interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884918 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 17:39:17 +00:00
Nick Burch fda29835b2 Fix from Petr for bug #24601 - fix fetching of error codes from XSSF formula cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884058 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 11:33:21 +00:00
Yegor Kozlov 0b9ab8930e included poi-ooxml-schemas and poi-examples in the release cycle, also misc improvements in build.xml: merged scratchpad and main examples, improved cross-module classpath dependencies, removed obsolete targets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@882927 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 15:30:54 +00:00
Yegor Kozlov a584c030ff removed log4j calls from ooxml tests, also fixed misc bugs discovered when imlementing OOXMLLite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@880799 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 15:33:45 +00:00
Nick Burch 8cadd77669 Add test that shows we can already extract text from .docm files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832644 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 01:35:55 +00:00
Yegor Kozlov 0880802d5d avoid NPE when calling methods from the superclass and initialize XSSFChartSheet with a blank sheet, see Bugzilla 48087
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832622 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 23:54:58 +00:00
Ugo Cei 1d82206713 [47942] added implementation of protection features to XLSX and DOCX files. Patch submitted by Roberto Albertini.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@830657 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 16:05:39 +00:00
Yegor Kozlov ab1748ab50 preserve leading and trailing white spaces in XSSFRichTextString, see Bugzilla 48070
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@830492 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 10:31:34 +00:00
Josh Micich 7248029602 reverted Digital Signature stuff (r824836, r824963 r825294) in attempt to get gump build working
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@825637 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 20:25:34 +00:00
Josh Micich ccf7a6d89f removed new dependency on joda
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@825294 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:32:06 +00:00
Josh Micich af6a4745e2 Fixes for compiler errors and junit failures introduced by r824836
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@824963 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 22:42:58 +00:00
Ugo Cei d48987ac07 Added implementation of Digital Signature support using code initially developed for the eId Applet project <http://code.google.com/p/eid-applet/> and re-released under Apache License.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@824836 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 16:31:28 +00:00
Yegor Kozlov 5d21532e8f reduced the number of compiler warnings generated by JDK 1.6.13 with -Xlint
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@821551 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 16:01:29 +00:00
Yegor Kozlov a40baa56ba fixed ColumnHelper to correctly handle columns included in a column span
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@821497 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 10:08:47 +00:00
Yegor Kozlov bee594dc5e improved API for OOXML custom properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@821496 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 10:00:52 +00:00
Josh Micich c2d66a280f minor fixes to junit after r819469
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@820120 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 23:01:48 +00:00
Paolo Mottadelli 99f5c38440 Table of Contents first implementation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@819469 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 07:42:50 +00:00
Yegor Kozlov ecb5344937 fixed XSSFCell.getStringCellValue() to properly handle cached formula results
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@819106 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 10:41:01 +00:00
Yegor Kozlov 8ca7addc26 fixed XSSFSheet.setColumnWidth to produce XML compatible with Mac Excel 2008, see Bugzilla 47581
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@814358 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 17:49:46 +00:00
Yegor Kozlov bd966f208b removed unnecessary svn:executable flag from files in SVN trunk, see bugzilla 47734
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@814335 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 16:05:28 +00:00
Yegor Kozlov 390d185a85 improved XSSFWorkbook.removeSheetAt, see Bugzilla 47737 and 47813
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@814176 13f79535-47bb-0310-9956-ffa450edef68
2009-09-12 16:01:18 +00:00
Yegor Kozlov 20ea9dce10 fix for extraction paragraphs and sections from headers/footers with XWPFWordExtractor, see Bugzilla 47727
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@809662 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 17:02:06 +00:00
Yegor Kozlov 728f88bd92 moved all test data to a top-level directory, refactored all junit usages of .testdata.path to one place
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806959 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 12:34:24 +00:00
Josh Micich 9ca061617c fixing compiler warnings - unused imports, declared exceptions not thrown
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806789 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 05:50:32 +00:00
Yegor Kozlov ba518d2221 fixes and misc refactorings suggested by Intellij
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806426 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 06:08:31 +00:00
Paolo Mottadelli b9020a69e8 first createWatermark implementation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806209 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:14:00 +00:00
Yegor Kozlov 3316b64495 Centralize logic for finding/opening sample files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805928 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 18:51:44 +00:00
Josh Micich ee3718b5a7 Fixing compiler warnings - unboxing parameter to overloaded method, unnecessary typecast
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805900 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 17:39:21 +00:00
Paolo Mottadelli a7e9db045f createHeader/Footer with paragraphs and fixed GUMP break (case sensitive/insensitive filename problem)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 14:33:27 +00:00
Josh Micich 9926c89006 Fixed compiler warnings - unnecessary throws declaration
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805552 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 19:49:28 +00:00
Paolo Mottadelli 05c8f883e4 createHeader/Footer methods + tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805422 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 14:08:09 +00:00
Josh Micich c83d6bfa24 Fixing compiler warnings - unnecessary typecasts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805284 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 05:29:53 +00:00
Josh Micich 995d8fe73f Fixed unused imports compiler warnings (and some others)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805262 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 02:41:45 +00:00
Yegor Kozlov ed16c25a9a renamed macro-enabled test files to have the correct extentions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@804305 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 17:27:12 +00:00
Yegor Kozlov 76ccb2957d Improved parsing of OOXML documents, see Bugzilla 47668
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@803667 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 18:59:34 +00:00
Yegor Kozlov 31161f94db removed temporary fix for compatibility with Mac Excel 2008 Sp2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@802539 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 13:08:59 +00:00
Yegor Kozlov d5f241bfb8 Avoid FormulaParseException in XSSFWorkbook.setRepeatingRowsAndColumns when removing repeated rows and columns, see Bugzilla 47620
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@801339 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 17:54:56 +00:00
Paolo Mottadelli 37db132d93 Custom XML import features; tests and implementation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@799258 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 13:24:57 +00:00
Yegor Kozlov 307f443c33 WPFWordExtractor does not extract inserted/deleted text, see Bugzilla 45597
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@797740 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 10:41:53 +00:00
Yegor Kozlov 0f1f7d1d48 fixed compatibility issues with OpenOffice 3.0 and Excel 2008 Mac sp2, see Bugzilla #46419 and #47559
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@797350 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 07:29:22 +00:00
Paolo Mottadelli 15e434d684 POIXMLproperties: created, creator, modified, lastprinted, identifier, revision + test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@796239 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 10:23:05 +00:00
Paolo Mottadelli 76752c5db7 POIXMLproperties: core properties improvement + test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@795923 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 17:10:43 +00:00
Yegor Kozlov 9196f6e6dd Fix for saving custom and extended OOXML properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@795587 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:26:36 +00:00
Yegor Kozlov 656114c69a Support for extraction of endnotes from docx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@795329 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 09:28:38 +00:00
Yegor Kozlov fa31a65d14 Support for extraction of footnotes from docx files, see Bugzilla 45556
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@795328 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 09:09:59 +00:00
Yegor Kozlov 3304fa1887 Fixed ExtractorFactory to support .xltx and .dotx files, see Bugzilla 47517
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@795327 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 09:09:11 +00:00
Yegor Kozlov 0662f7e862 fixed case-sensitive file names in unit tests for Bugzilla 47520
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@794621 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 10:44:01 +00:00
Yegor Kozlov 13898bc29c fixed a compile error in TestMapInfo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@794563 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 07:27:12 +00:00
Yegor Kozlov 8a3095d0b6 support for custom XML mappings in XSSF, see Bugzilla 47520
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@794539 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 05:46:14 +00:00
Yegor Kozlov 9424d59da3 Fixed NPE when retrieving core properties from a newly created workbook, see Bugzilla 47460
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@793291 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 08:21:09 +00:00
Yegor Kozlov 26f18ed27a fixed XSSF and OpenXml4J to read/write relationships with targets starting with '#' (internal locations), see Bugzilla 47504
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@793280 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 07:18:42 +00:00
Yegor Kozlov efc5431030 Explicitly set the 1900 date system when creating XSSF workbooks, see Bugzilla 47411
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@788956 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 11:21:26 +00:00
Yegor Kozlov e1ff96d77d fixed a regression issue where HSSFHyperlink failed to set inter-sheet and file links, see Bugzilla #47375
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@786442 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 10:37:24 +00:00
Josh Micich 3089c2e30f Removed static void main(String[]) methods from junit classes. Other minor clean-up.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@784284 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 21:53:17 +00:00
Yegor Kozlov af23e1554d Fixed XSSFWorkbook#setRepeatingRowsAndColumns to tolerate sheet names with quotes, see bugzilla #47294
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@783445 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 18:44:53 +00:00
Yegor Kozlov 15a46deae0 Fixed XSSFCell to avoid generating xsi:nil entries in shared string table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@780228 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 10:37:08 +00:00
Yegor Kozlov a9b8aa1be6 Fixed XSSFCell to properly read inline strings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@777834 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 08:20:55 +00:00
Josh Micich 5fb78707f7 Changed CRLF to LF in ooxml/testcases. Minor fixes for compiler warnings and formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@776905 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 00:55:56 +00:00
Josh Micich b924e3f4c8 Removed badly encoded character from test class. Minor re-formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@776041 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 18:32:43 +00:00
Nick Burch 3b5ec46a13 Apply (with tweaks) patch from bug #46161 - xssf support for setGroupColumnCollapsed() setGroupRowCollapsed()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@775731 13f79535-47bb-0310-9956-ffa450edef68
2009-05-17 18:32:55 +00:00
Yegor Kozlov c444cd27e9 Allow columns greater than 255 and rows greater than 0x100000 in XSSF formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@775701 13f79535-47bb-0310-9956-ffa450edef68
2009-05-17 16:35:25 +00:00
Yegor Kozlov a08f4d02c2 fixed XSSFWorkbook.createSheet to properly increment sheetId when sheetId sequence is not continious
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@768389 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 18:25:19 +00:00
Yegor Kozlov ecb76070a9 Fixed XSSFCell to preserve cell style when cell value is set to blank, also avoid NPE in XSSFCell.setCellType() when workbook does not have SST, see bugs 47026 and 47028
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766103 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 18:02:01 +00:00
Josh Micich 344e422785 Improvements to Test[HX]SSFCell. Small fix to XSSFCell to get one more common test working.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@764225 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 17:53:39 +00:00
Yegor Kozlov 6ceeb39a45 consolidate limits specific to Excel version(Excel97, Excel2007) in SpreadsheetVersion enum, allow merged regions with columns greater than 255 or rows bigger than 65536 in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@762372 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 15:06:23 +00:00
Yegor Kozlov 51d71180ab more refactoring of common ss tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@759714 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 16:10:40 +00:00
Yegor Kozlov 52ab464cab improved test cases: moved common hssf-xssf test to org.apache.poi.ss namespace, removed duplicate tests, refactored code to throw same exceptions, etc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@759112 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 11:50:52 +00:00
Yegor Kozlov 5b0329873a update cell type when setting cached formula result in XSSFCell, also improved common xssf-hssf tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@757198 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 15:12:11 +00:00
Yegor Kozlov 83dad280d8 added modifiers for anchor type to XSSFClientAnchor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@756965 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 16:28:26 +00:00
Josh Micich 67196db87e Renamed Package (in org.apache.poi.openxml4j.opc) to OPCPackage so as to avoid clash with java.lang.Package (see bugzilla 46859)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@755699 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 18:54:01 +00:00
Yegor Kozlov e4d94add7f support built-in data formats in XSSFDataFormat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@749054 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 16:24:40 +00:00
Yegor Kozlov bebc51def9 more improvements in shiftRows: 1. shift named ranges and merged regions, JUnit added. 2. fixed shiftRows in XSSF to preserve row heights, see bugzilla 46719.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@747894 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 19:12:06 +00:00
Yegor Kozlov 4862f72197 added setDisplayZeros / isDisplayZeros and getMergedRegion(int) to common interface org.apache.poi.ss.usermodel.Sheet; more progress on testing common xssf-hssf interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@747307 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 08:38:16 +00:00
Josh Micich 3969100aa9 Attempt to fix GUMP build error due to case mismatch on package part 'INPUT' (doesn't happen on all platforms). In addition svn+win has difficulties with case-sensitive renames. 'INPUT' was renamed to 'data' for consistency with rest of POI.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@747182 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 22:49:07 +00:00
Yegor Kozlov 128afe08bb fixed platform-dependent unit test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@746746 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 16:08:06 +00:00
Yegor Kozlov bd27fe48ad replaced log4j with POILogger in openxml4j, also converted non-ascii characters into unicode to keep javadoc quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@746241 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 13:53:32 +00:00
Josh Micich 3e6f2bbf80 Added Apache License text to files where it was missing. Also fixed some compiler warnings in those files.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@745976 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 19:50:20 +00:00
Yegor Kozlov cafbc76eb7 refactored XSSFSheet.shiftRows to use FormulaShifter, use a common test superclass for both hssf and xssf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@744750 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 20:47:36 +00:00
Yegor Kozlov 56d9c7a528 improved XSSFSheet.shiftRows: 1. properly update cell references of the shifted cells (bugzilla 4663) 2. When shifting rows, update formulas on that sheet to point to the new location of those rows (bugzilla 46536)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@742126 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 16:35:27 +00:00
Yegor Kozlov 1273d8e270 added suport for Calculation Chain in XSSF, remove reference from calculation chain when a formula is deleted (see bugzilla 46535)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@742077 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 12:45:55 +00:00
Yegor Kozlov 23cf469315 changed. Sheet.setColumnWidth to throw IllegalArgumentException if the column width argument is greater than 255 characters (the maximum column width in Excel)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@741678 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 18:59:24 +00:00
Josh Micich e6472ffac4 Improvements to OpenXML4J unit tests. Fixed class names. Refactored code for opening test data files. Changed test output to go to temp dir.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@741002 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 05:07:23 +00:00
Yegor Kozlov ef4b2ebc2e import OpenXML4j codebase
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@738842 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 12:44:31 +00:00
Josh Micich 7dad2164cd Fixing bug 46551 - spelling mistakes in xSSFCell.checkBounds(). Also fixed 0/1-based index error for cell range checks in XSSF.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@735061 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 17:31:29 +00:00
Yegor Kozlov 7c6cfb0360 fixed unit test failing on jdk-1.6: java code should not rely on the order of HashMap.iterator()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@734971 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 11:00:45 +00:00
Yegor Kozlov e7c33d1d66 removed invalid import to keep java compiler quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@733474 13f79535-47bb-0310-9956-ffa450edef68
2009-01-11 13:59:44 +00:00
Nick Burch ec521065e2 Hook up POIXMLTextExtractor.getMetadataTextExtractor() to the already written POIXMLPropertiesTextExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@732063 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 19:09:02 +00:00
Yegor Kozlov 177533e23b fixed formula parser to correctly resolve sheet-level names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@729028 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 16:19:07 +00:00
Yegor Kozlov 98121b7691 1. added support for shared formulas in XSSF, see bug #464332. improved validation of workbook-global and sheet-global names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@728749 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 19:32:44 +00:00
Yegor Kozlov fabf35b20d applied patches by Gisella Bronzetti:46299 - support for carriage return and line break in XWPFRun 46300 - support for line spacing in XWPFParagraph 46308 - initial support for creation of XWPFTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@727498 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 20:05:16 +00:00
Yegor Kozlov 2ae887e98c 1. Support sheet-level names2. Fixed XSSFCell to properly handle cell references with column numbers up to XFD3. when pasring formula, HSSFName.setRefersToFormula must set type of operands to Ptg.CLASS_REF, otherwise created named don't appear in the dropdown to the left of formula bar in Excel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@723392 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 18:38:00 +00:00
Yegor Kozlov 796a0eea4f renamed Name.setFormula to more descriptive setRefersToFormula, also misc improvements in the site docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@719547 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 09:22:07 +00:00
Yegor Kozlov 86935fdab9 applied patch #46229 by Gisella Bronsetti: initial implementation of XWPFParagraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@719316 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 18:22:20 +00:00
Josh Micich 2a7fa85dd9 fixing test hierarchies
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@719028 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 19:06:44 +00:00
Josh Micich bef269d74d consolidated TestXSSFHeaderFooter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@719023 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 18:54:41 +00:00
Josh Micich d2e7c9c832 Fixed XSSFName and test cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@718651 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 17:01:57 +00:00
Yegor Kozlov 2e2062d99a applied patch #46212 by Gisella Bronzetti: initial implementation of XWPFRun object
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@714244 13f79535-47bb-0310-9956-ffa450edef68
2008-11-15 12:54:09 +00:00
Yegor Kozlov acc1ba4585 1. fixed XSSFSheet.groupRow and ungroupRow to operate on 0-based arguments, was 1-based2. repackaged common xssh-hssf examples, created a page in the site for them 3. converted broken non-ascii characters to unicode in TestMetaDataIPI and TestWriteWellKnown
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713981 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 11:56:41 +00:00
Yegor Kozlov 249ef2e3d6 converted non-ascii characters to unicode to keep compilers on UTF-8 systems quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712543 13f79535-47bb-0310-9956-ffa450edef68
2008-11-09 19:45:45 +00:00
Yegor Kozlov 5fdc53ce5a 1. removed interfaces-jdk14, they are now obsolete2. started paving the way for XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712508 13f79535-47bb-0310-9956-ffa450edef68
2008-11-09 16:18:46 +00:00
Yegor Kozlov c4b1dc2e55 1. included ooxml javadocs in build.xml2. added a new rich example: BusinessPlan.java3. misc bug fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@711839 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 10:49:51 +00:00
Yegor Kozlov 2eadc79202 more cleanup and refactoring of ooxml code,added more unit test and 3 rich examples: LoanCalculator, CalendarDemo and TimesheetDemo, numerous odds and ends improvements
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708982 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 19:12:47 +00:00
Yegor Kozlov 9148feb877 1. moved ooxml enums into interfaces-jdk15, they are common and should be in the place as the interfaces 2. removed obsolete and deprecated classes 3. Fixed XSSFWorkbook.cloneSheet. Now it makes a 'true' deep copy of a sheet 4. ooxml has a compile-time dependency on scratchpad, fixed build.xml to reflect that
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708497 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 10:03:51 +00:00
Yegor Kozlov 6175b9b1fb improved XSSFName:check for name uniqueness, validate name name, more unit tests and javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708306 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 20:28:44 +00:00
Yegor Kozlov b09c6e3031 applied patches #46079, #46080 and #46081 by Gisella Bronzetti
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@707843 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 13:39:43 +00:00
Yegor Kozlov 97ceedbbf7 more cleanup and refactoring of the ooxml code:1. removed deprecated methods from xssf and interfaces
2. minimized the accessibility of internal constructors
3. more javadocs


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@707839 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 11:48:50 +00:00
Yegor Kozlov dfb6d9f84f 1. important algorithmic improvements of XSSFRow and XSSFSheet, removed LinkedList in favor of TreeMap, that allowed O(Log(N)) performance instead of O(N) when adding new rows and cells2. Revised cell value accessors in XSSFCell. Now both HSSF and XSSF handle various cell types equally. The same exceptions are thrown in case of type mismatch, same behaviour when setting nulls, etc.
3. Moved FormulaError codes out of the Cell interface into enum. Interface isn't a proper place for it
4. Finally finished javadoc on XSSFRow and XSSFCell


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@707445 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 18:57:28 +00:00
Yegor Kozlov b15942d4a8 1. implemented XSSFSheet.autosizeColumn(), for now mostly duplicated HSSF code, will be refactored in future.2. fixed bug #45974: XSSFCell.getCellStyle can return null3. more code cleanup and reaftoring, removed usages of obsolete XSSFCell.getCellNum() in favor of XSSFCell.getColumnIndex(), also more javadoc in core classes
4. fixed a blocker: calling XSSFSheet.getNumMergedRegions() resulted in unreadable workbook, this methods structurally modified worksheet and added unnecessary data 

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@706691 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 17:56:34 +00:00
Yegor Kozlov 26ec85202e more code cleanup and refactoring: (a) removed references to ooxml schemas from XSSF enums, they should not depend on ooxml-schemas.jar
(b) removed "for testing only" constructors, the goal is to have a single, maximum 2 constructors for objects inherited from POIXMLDocumentPart
(c) more javadocs 


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@706003 13f79535-47bb-0310-9956-ffa450edef68
2008-10-19 12:54:40 +00:00
Yegor Kozlov f90843cd7f applied patch #46003 by Gisella Bronzetti
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@705701 13f79535-47bb-0310-9956-ffa450edef68
2008-10-17 18:43:37 +00:00
Yegor Kozlov 59b02716ac more progress on SpreadsheetML drawing layer;finished XSSFPicture, auto-sizing is supported; implemented initial support for shape groups. Common HSSF-XSSF drawing interfaces are still TODO.
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@705638 13f79535-47bb-0310-9956-ffa450edef68
2008-10-17 15:14:00 +00:00
Yegor Kozlov 1a700918d8 applied patch #45967 by Gisella Bronzetti: support for XSSFPrintSetup object
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@703778 13f79535-47bb-0310-9956-ffa450edef68
2008-10-12 10:25:58 +00:00
Yegor Kozlov 6153569465 Initial support for SpreadsheetML drawings,implemented XSSFPicture, added ability to add pictures to workbook, refactored XSSFPictureData to be a subclass of POIXMLDocumentPart. Also refactored misc odds and ends in order to produce xml better compatible with what MS Office produces
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@703490 13f79535-47bb-0310-9956-ffa450edef68
2008-10-10 14:54:32 +00:00
Yegor Kozlov cdfa36cada applied patch #45492 submitted by Gisella Bronzetti,also performed major cleanup of StylesTable and its components, the goal was to ensure that StylesTable works as a cache of styling components, not just a regular store of fill patterns and cell styles.
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@701797 13f79535-47bb-0310-9956-ffa450edef68
2008-10-05 13:56:28 +00:00
Yegor Kozlov 0d051eb3c2 applied patches provided by Gisella Bronzetti in bugs #45918, #45917 and #45920
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@700844 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 17:15:02 +00:00
Yegor Kozlov 0afe659835 iterator over sheet data in XSSFReader returns sheets in logical order, i.e. as they are defined in workbook.xml (was in physical order, as they were stored in the relationship table)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@700821 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 16:14:39 +00:00
Yegor Kozlov baa56c4fc8 refactored POIXMLDocument to be a composite of POIXMLDocumentPart, this way XSSFWorkbook is a root of a tree: XSSFSheets are children, XSSFDrawings are children of worksheets, etc,
Also, performed major cleanup of core XSSF classes and test cases

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@700472 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 13:57:36 +00:00
Josh Micich 0d50343293 Cleaned up test code
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@699991 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 05:46:06 +00:00
Josh Micich 29e0439f39 Applied patch 45899 - XSSFWorkbook getActiveSheetIndex / setActiveSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@699989 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 04:50:20 +00:00
Josh Micich 72d626f2b2 Applied patch 45898 - fixed XSSFCellFill getFillBackgroundColor and getFillForegroundColor to not throw NPE if fill has not been set. Some other code clean up.
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@699984 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 04:28:55 +00:00
Yegor Kozlov 84e3bbd179 applied patches #45894 and #45892, also major cleanup of XSSFSheet and related classes
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@699185 13f79535-47bb-0310-9956-ffa450edef68
2008-09-26 06:02:38 +00:00
Yegor Kozlov 36e20d8073 misc ooxml improvements:"
1. preserve themes across read-write
2. properly set default properties of a new worksheet


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@698838 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 06:51:18 +00:00
Yegor Kozlov dca93e084f patch #45881 from Sourcesense: implemented cell fills and borders, added examples
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@698674 13f79535-47bb-0310-9956-ffa450edef68
2008-09-24 17:53:29 +00:00
Yegor Kozlov 6130d5cb83 XSSFFont improvements from patch #45874
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@698651 13f79535-47bb-0310-9956-ffa450edef68
2008-09-24 16:56:12 +00:00
Josh Micich e188e7737d Merged revisions 696860,696898 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk

Quite a lot of manual fixing required. Also moved CellValue to top level class.  
........
  r696860 | josh | 2008-09-18 17:02:21 -0700 (Thu, 18 Sep 2008) | 1 line
  
  code clean-up (removed compiler warnings/unused methods)
........
  r696898 | josh | 2008-09-18 19:19:58 -0700 (Thu, 18 Sep 2008) | 1 line
  
  Partitioning common formula logic.  Introduced FormulaParsingWorkbook and EvaluationWorkbook interfaces to make merge with ooxml branch easier
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696961 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 07:32:34 +00:00
Yegor Kozlov a6af3789b7 removed extra line that caused compilation error
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696762 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 18:49:08 +00:00
Yegor Kozlov 40f525ecbd 1. initial support for rich text in xssf"
2. cleaned common ooxml-ole2 interfaces, removed ole2-specific stuff
3. added new examples from the quick guide
4. misc xssf refactoring, tending to use enums intstead of final static constants
5. refactored XSSFFont
6. included test-ooxml and jar-ooxml in the dist target, they are part of release and should be there

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696584 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 07:42:40 +00:00
Josh Micich bb3bf964bd Minor fixes to get junits working after r695832. Updates to align with new sample.xlsx, and moved SharedStringSource out of usermodel API.
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696415 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 19:52:55 +00:00
Josh Micich e2c8b4f4d4 minor improvements to junits
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696401 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 19:05:39 +00:00
Yegor Kozlov bb1235e2e5 include rich text in the unit test
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696377 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 17:39:33 +00:00
Yegor Kozlov 9a49637d5f unit tests for SharedStringsTable
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695833 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 12:27:05 +00:00
Yegor Kozlov 6a3bc9352b Preserve rich text across read-write of SharedStringsTable, also improved performance and removed obsolete ole2-specific stuff
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695832 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 12:25:54 +00:00
Nick Burch 4ed42be22f Fix bug #45518 - Fix up ColumnHelper to output valid col tags, by making 1 based and 0 based bits clearer, and using the right ones
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695620 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 20:54:49 +00:00
Yegor Kozlov b832a6411d refactored cell align accessors in xssf and added samples based on the quick guide
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695411 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 10:39:37 +00:00
Yegor Kozlov 419df8bc3f more ooxml progress from SourseSense developers
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@694288 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 15:11:57 +00:00
Nick Burch 28834dbe1f Update test to track change in hssf
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@693511 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 16:53:24 +00:00
Josh Micich d84d5e0b58 fixed bug in junit which was exposed due to new caching feature of the formula evaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@693179 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 18:04:34 +00:00
Nick Burch 6c3a086277 Initial ExtractorFactory support for building TextExtractors for embeded documents
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@691351 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 19:37:52 +00:00
Nick Burch c36fec3a22 Support stripping XSSF header and footer fields (eg page number) out of header and footer text if required
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@686059 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 22:09:47 +00:00
Nick Burch 518bcf380a Add POIXMLPropertiesTextExtractor, which provides to the OOXML file formats a similar function to HPSF's HPSFPropertiesExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@685315 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 20:58:31 +00:00
Nick Burch d36f6623f1 Have XWPFWordExtractor extract headers and footers
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@684276 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 15:08:11 +00:00
Nick Burch 0740316520 Improve paragraph text stuff, and further header tests
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@684273 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 14:50:16 +00:00
Nick Burch c96a79fdf9 Improve how XWPF headers and footers work
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@684269 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 14:21:21 +00:00
Nick Burch de3eb33bd3 Improve how XWPFParagraph works, so it is child order aware
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@684239 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 12:15:32 +00:00
Nick Burch 15cced0478 Start on xwpf header/footer support
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@684229 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 11:27:29 +00:00
Nick Burch 2d50615c87 Patch from bug #45592 - improve xwpf text extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@684219 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 10:45:19 +00:00
Nick Burch 2f42314b55 Fix bug #45545 - Improve XSLF usermodel support, and include XSLF comments in extracted text
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@682843 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 18:05:29 +00:00
Nick Burch 8d438e8b41 Test to show that bug #45544 is incorrect
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@682769 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 16:03:51 +00:00
Nick Burch b118d1afb9 Fix bug #45540 - Fix XSSF header and footer support, and include headers and footers in the output of XSSFExcelExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@682674 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 11:26:38 +00:00
Nick Burch cd56a91ef9 Improve support, tests and documentation for xssf headers and footers
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@682662 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 10:22:13 +00:00
Nick Burch 1acb09f9bd Start on bug 45540, not fixed yet though
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@682655 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 09:50:05 +00:00
Nick Burch 647537c626 Change how we do the control and drawing write out, so that XSSFRelation can do much more of the work for us
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@680889 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 00:29:55 +00:00
Nick Burch 613f361d61 Tidying up of some xssfmodel stuff, by doing more work generically in XSSFRelation
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@680882 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 23:37:35 +00:00