Commit Graph

44 Commits

Author SHA1 Message Date
Nick Burch 5863a82a6e Fix and update JavaDoc entries, and correct areas with wildy inconsistent whitespace / style to the surrounding code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492802 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 18:29:08 +00:00
Yegor Kozlov 5baa7440aa Bugzilla 51564 - support for enforcing fields update in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1295078 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 12:52:55 +00:00
Yegor Kozlov 3d50eaa749 Bugzilla 52570: misc fixes in XWPFDocument
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241398 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 09:48:22 +00:00
Nick Burch 477ae958e3 Fix bug #52449 - Support writing XWPF documents with glossaries (plus fix some indenting)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1230045 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 14:02:40 +00:00
Yegor Kozlov 6867b3eee4 fixed javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212511 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:48:38 +00:00
Nick Burch 31924dff8b Fix bug #51950 - XWPF may not always have footnotes in a document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179449 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 21:26:49 +00:00
Nick Burch 0446976e0f New PackagePart method getRelatedPart(PackageRelationship) to simplify navigation of relations between OPC Parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1172853 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 21:40:39 +00:00
Nick Burch 7f5bd44d98 Patch from bug #51486 from Mike McEuen (with a few whitespace tweaks) - XWPF support for adding footnotes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144308 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 13:25:00 +00:00
Yegor Kozlov 866a7bf272 cleaned javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1132549 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 08:45:06 +00:00
Yegor Kozlov 7c8f56ce1c bug 51265: Enhanced Handling of Picture Parts in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1130120 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 12:07:16 +00:00
Nick Burch 8f3c468ea9 Fix bug #51188 - Support for getting and setting XPWF zoom settings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128312 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 14:00:44 +00:00
Nick Burch e21fd13a56 Apply patch from bug #51134 from Mike McEuen - Ability to add XWPFStyles and XWPFNumbering to a XWPF file that lacks them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128296 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 13:26:02 +00:00
Nick Burch f09e137649 Autoboxing tweaks from bug #51175, and make the paragraph/table finding code generic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102691 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 12:22:24 +00:00
Nick Burch 361a5248dc Fix bug #51148 - XWPFDocument remove of tables/paragraphs now works correctly, and code is simplified
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100027 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 02:14:48 +00:00
Nick Burch 59904e547d Re-enable the XWPF test for adding paragraphs, and fix it up to work properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100022 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 01:43:16 +00:00
Nick Burch de892d4666 Add support for adding a picture to a XSSFRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092755 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 16:16:09 +00:00
Maxim Valyanskiy e350093be6 dispose xml cursor when iteration over it is done (more)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1035947 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 08:13:40 +00:00
Maxim Valyanskiy 88e8b056fc XWPF: dispose xml cursor when iteration over it is done
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1035615 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 12:45:39 +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
Yegor Kozlov adefc926c1 cleaned javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004934 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 08:55:30 +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 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 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 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 09e0578165 Fix 1.6-isms from the patch from bug #48574
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953707 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 14:46:29 +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
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
Yegor Kozlov 8b377f2f67 Avoid creating temporary files when opening OPC packages from input stream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898927 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 20:24:15 +00:00
Yegor Kozlov 4a45b78277 added an annotation '@Internal' to mark program elements intended for POI internal use only, marked all public accessors to OOXML xmlbeans as @Internal
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886846 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 16:50:34 +00:00
Nick Burch 5fe87ca952 Big import tidyup using eclipse "Organise Imports" - avoid wildcard imports, and get the ordering of imports to be consistent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832591 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 23:02:06 +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
Josh Micich ed1b4794a0 Bugzilla 47962 - Fixed some potential NPEs. Avoided unnecessary creation of box instances. Applied patch with mods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@823348 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 22:29:41 +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
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 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 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
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
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 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
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 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