aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/java/org/apache/poi
Commit message (Collapse)AuthorAgeFilesLines
* forbidden apis fixesAndreas Beeker2015-09-071-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701710 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58326 - Forbidden APIs patches - first set of changes for locale and ↵Andreas Beeker2015-09-078-17/+22
| | | | | | | | | | | | | | | | | | | | | | | | | timezone settings also includes fixes for - name shadowing - unused deprecated method "getClipRect" in classes extending Graphics2d - HexDump - replaced intermediate String.format calls with custom padding - convert testcases to junit4 - closing resources also tested with an arbitary timezone (PST) and locale (ru) supresses forbidden apis check for - LocaleUtil (the only place where Locale.getDefault() and TimeZone.getDefault() should be called) - Classes using FontMetrics - without the actual text it's difficult to return something sane Some usage of UTC and Locale.ROOT might be still wrong, e.g. in MapiMessage we don't access the extended mapi properties, which might contain the timezone DataFormatter has now a Observable property which need to be observed when custom formats are used and the Locale changes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701688 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58315: Avoid NPE for RichTextString without font-detailsDominik Stadler2015-09-051-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701382 13f79535-47bb-0310-9956-ffa450edef68
* Eclipse warnings, close resources in CommandLineTextExtractor, add ↵Dominik Stadler2015-09-033-15/+15
| | | | | | try/finally, formatting, ... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701139 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug 53275: reset indexed color flag when setting a non-indexed colorDominik Stadler2015-09-031-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701134 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-011-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700670 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-014-10/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700644 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-012-7/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700642 13f79535-47bb-0310-9956-ffa450edef68
* Add possibility to set zoomPercent for XWPFDocumentDominik Stadler2015-08-262-1/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697992 13f79535-47bb-0310-9956-ffa450edef68
* common sl: reworked and unified generics definitionsAndreas Beeker2015-08-2422-64/+139
| | | | | | | | made various methods available through common sl added createTextBox,AutoShape,... methods to ShapeContainers hslf tables created by poi, will be identified as such when the file is read again git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697515 13f79535-47bb-0310-9956-ffa450edef68
* Tweak error message to make clear that we really need a file showing the problemNick Burch2015-08-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697502 13f79535-47bb-0310-9956-ffa450edef68
* Javadoc tweakNick Burch2015-08-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697462 13f79535-47bb-0310-9956-ffa450edef68
* Eclipse warnings, code formatting, missing @Overrides, Javadoc, missing ↵Dominik Stadler2015-08-201-14/+72
| | | | | | close(), ... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696794 13f79535-47bb-0310-9956-ffa450edef68
* POI Bug 58260: Fix checks for limit on number of styles in XSSF/SXSSF and ↵Dominik Stadler2015-08-192-3/+9
| | | | | | fix having more than 32k styles in SXSSF workbooks git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696586 13f79535-47bb-0310-9956-ffa450edef68
* Adjust excludes to make the output a bit cleaner in OOXMLLite and also look ↵Dominik Stadler2015-08-191-1/+13
| | | | | | in the superclass for @Test annotations to include one additional unit-test that we missed currently. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696577 13f79535-47bb-0310-9956-ffa450edef68
* Improve ReadOnlySharedStringsTable to cope gracefully with an empty SST part.David North2015-08-191-7/+9
| | | | | | https://bz.apache.org/bugzilla/show_bug.cgi?id=58262 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696559 13f79535-47bb-0310-9956-ffa450edef68
* * Adjust reported text when a Zip-Bomb is detected to allow to quickly see ↵Dominik Stadler2015-08-192-4/+36
| | | | | | | | | | why it happened * Fail only with inflation ratio lower than the min, not equals, to behave as documented * Add getters to be able to temporarily adjust the limits for unit tests * Allow lower inflation ratio in OOXMLPrettyPrint as this is a dev-only tool git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696556 13f79535-47bb-0310-9956-ffa450edef68
* Bug 54938: Throw InvalidFormatException as documented instead of ↵Dominik Stadler2015-08-171-1/+1
| | | | | | IllegalArgumentException in WorkbookFactory.create() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696338 13f79535-47bb-0310-9956-ffa450edef68
* FindBugs - DLS_DEAD_LOCAL_STOREAndreas Beeker2015-08-155-1345/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696038 13f79535-47bb-0310-9956-ffa450edef68
* Remove catches which were previously incorrectly declared when not neededNick Burch2015-08-131-37/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695775 13f79535-47bb-0310-9956-ffa450edef68
* #58237 When adding a picture to a XWPF header or footer, attach it to the ↵Nick Burch2015-08-132-6/+20
| | | | | | right part git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695772 13f79535-47bb-0310-9956-ffa450edef68
* #58237 Add some more XWPF header and footer testsNick Burch2015-08-133-7/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695769 13f79535-47bb-0310-9956-ffa450edef68
* findbugs - DM_NUMBER_CTORAndreas Beeker2015-08-138-18/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695635 13f79535-47bb-0310-9956-ffa450edef68
* findbugs - DM_BOXED_PRIMITIVE_...Andreas Beeker2015-08-132-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695629 13f79535-47bb-0310-9956-ffa450edef68
* #58220 - Improve the javadocs for XSSFFont and Font getFontHeight methodsNick Burch2015-08-121-10/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695528 13f79535-47bb-0310-9956-ffa450edef68
* Fix some eclipse warnings, add TODOs for fields/hyperlinks XWPF add support, ↵Nick Burch2015-08-111-4/+15
| | | | | | and give a more helpful exception if someone tries to remove a XWPFRun that is not a direct paragraph child git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695365 13f79535-47bb-0310-9956-ffa450edef68
* Support XWPF field runs, the same way that we handle hyperlink runsNick Burch2015-08-113-9/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695361 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56479: don't hardcode dcterms as namespace alias in the attribute, but ↵Dominik Stadler2015-08-111-2/+2
| | | | | | expect the actual alias that is used in the corresponding element. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695212 13f79535-47bb-0310-9956-ffa450edef68
* #56519 - XSLFSlide.draw is not working with text embeded in PPTXAndreas Beeker2015-08-0911-174/+603
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694925 13f79535-47bb-0310-9956-ffa450edef68
* #58205 - getSlideMasters() returns the master slides in the incorrect orderAndreas Beeker2015-08-071-14/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694592 13f79535-47bb-0310-9956-ffa450edef68
* Example to go with refactor for ↵David North2015-08-061-1/+5
| | | | | | https://bz.apache.org/bugzilla/show_bug.cgi?id=58219 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694536 13f79535-47bb-0310-9956-ffa450edef68
* Proposed refactor for:David North2015-08-061-8/+12
| | | | | | https://bz.apache.org/bugzilla/show_bug.cgi?id=58219 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694531 13f79535-47bb-0310-9956-ffa450edef68
* #57786 - XSLFFreeformShape ignores quadratic bezier curvesAndreas Beeker2015-08-051-2/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694373 13f79535-47bb-0310-9956-ffa450edef68
* #58206 - provide a mechanism to find slide layouts by nameAndreas Beeker2015-08-052-0/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694340 13f79535-47bb-0310-9956-ffa450edef68
* #58204 - STYLE: ShapeContainer interface makes internal getShapesList() ↵Andreas Beeker2015-08-052-40/+40
| | | | | | redundant git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694335 13f79535-47bb-0310-9956-ffa450edef68
* Use an enum to simplify the themes code and testsNick Burch2015-08-041-25/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694125 13f79535-47bb-0310-9956-ffa450edef68
* Pull out indexes from the switch statement to constants, and fix warningsNick Burch2015-08-042-18/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694121 13f79535-47bb-0310-9956-ffa450edef68
* Further XSSF Themes unit testingNick Burch2015-08-041-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694093 13f79535-47bb-0310-9956-ffa450edef68
* FindBugs fixes - MS_SHOULD_BE_FINALAndreas Beeker2015-08-031-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693984 13f79535-47bb-0310-9956-ffa450edef68
* Javadoc fixesAndreas Beeker2015-08-031-7/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693983 13f79535-47bb-0310-9956-ffa450edef68
* #58190 - The current picture handling uses raw integers for types and index, ↵Andreas Beeker2015-08-026-219/+160
| | | | | | replace with enum and reference git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693825 13f79535-47bb-0310-9956-ffa450edef68
* Use the same "is this a formula" logic for both getCellType and ↵Nick Burch2015-08-011-5/+9
| | | | | | getCachedFormulaResultType git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693767 13f79535-47bb-0310-9956-ffa450edef68
* #58193 - Use input stream rather than byte array for checksum etc.Andreas Beeker2015-08-012-15/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693754 13f79535-47bb-0310-9956-ffa450edef68
* Start re-enabling some SXSSF formula evaluation tests, with required fixes ↵Nick Burch2015-07-313-6/+54
| | | | | | #58200 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693662 13f79535-47bb-0310-9956-ffa450edef68
* Refactor the core part of the XSSF Formula Evaluator, to make SXSSF ↵Nick Burch2015-07-313-187/+228
| | | | | | overrides easier #58200 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693661 13f79535-47bb-0310-9956-ffa450edef68
* More helpful exception on the wrong cell typeNick Burch2015-07-311-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693656 13f79535-47bb-0310-9956-ffa450edef68
* Get basic SXSSF formula evaluation working, for cells/references in the ↵Nick Burch2015-07-317-28/+74
| | | | | | window #58200 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693654 13f79535-47bb-0310-9956-ffa450edef68
* Push most of the common logic from XSSFEvaluationWorkbook into ↵Nick Burch2015-07-314-323/+451
| | | | | | BaseXSSFEvaluationWorkbook, and start to use it for SXSSF as well #58200 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693647 13f79535-47bb-0310-9956-ffa450edef68
* Remove a long-deprecated constructorNick Burch2015-07-311-11/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693646 13f79535-47bb-0310-9956-ffa450edef68
* Fix inconsistent indents/whitespaceNick Burch2015-07-311-221/+221
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693645 13f79535-47bb-0310-9956-ffa450edef68