Commit Graph

1434 Commits

Author SHA1 Message Date
Andreas Beeker 7b4c17b70c #58733 - New AIOOBE in getCell while iterating through a table in PPT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1720035 13f79535-47bb-0310-9956-ffa450edef68
2015-12-14 22:49:04 +00:00
Andreas Beeker 3e8b58e356 fix forbidden apis issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1719778 13f79535-47bb-0310-9956-ffa450edef68
2015-12-13 09:51:22 +00:00
Andreas Beeker ad89fdcaf5 #58718 - Master styles not initialized when running multithreaded
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1719758 13f79535-47bb-0310-9956-ffa450edef68
2015-12-13 01:50:24 +00:00
Dominik Stadler 387fb86d68 Eclipse warnings, code formatting, javadoc, ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717972 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 14:38:14 +00:00
Andreas Beeker cc77b04a94 Sonar fixes, direct array parameter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717359 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 00:23:21 +00:00
Andreas Beeker f0ed3cbbab - #47904 - Update text styles in HSLF MasterSlide
- common sl unification for TextParagraph.setTextAlign

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717351 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 23:34:30 +00:00
Andreas Beeker c4b5635db3 Add helper method for opening the test files - maybe switched to InputStream if test-data files are changed unexpectedly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717099 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 17:41:58 +00:00
Andreas Beeker ee0f9b84e1 close resources
fix a few eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717077 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 15:26:53 +00:00
Andreas Beeker 484297b9cf #46210 - Title placeholder not recognized by Powerpoint 2003
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717020 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 01:23:54 +00:00
Javen O'Neal e8b2d5feb4 bug 58651: replace for-looped sheet.getMergedRegion(index) with sheet.getMergedRegions()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716362 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 11:48:17 +00:00
Andreas Beeker 4ccadf7315 fix unnecessary cast warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715626 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 12:30:42 +00:00
Andreas Beeker 7458fdc277 In preparation for table rendering, added table row heights and column widths to common sl.
To have better results in rendering switch anchor from java.awt.Rectangle to Rectangle2D.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715540 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 15:54:01 +00:00
Andreas Beeker 07dc2b9e08 findbugs fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715087 13f79535-47bb-0310-9956-ffa450edef68
2015-11-19 01:44:38 +00:00
Andreas Beeker e2bc07e9d1 #55955 - Filling an existing ppt table stopped working with 3.9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1714715 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 23:56:19 +00:00
Andreas Beeker a0e06add7a #54210 When saving PPT to PNG, some text is rendered backwards
#53189 Shapes drawn wrongly when ppt file converted to image
fix line decoration (HSLF)


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1714290 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 02:44:07 +00:00
Uwe Schindler 493a157e6a Fix remaining security manager problems. Forbiddenapis now passes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713915 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 19:11:35 +00:00
Uwe Schindler 73a8488838 #58597: Fix tests to not do setAccessible(), add some doPrivileged, too.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713891 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 16:57:39 +00:00
Andreas Beeker b0b4c020ed Fixed Off-by-one-Error which skipped paragraph styles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713546 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 21:37:10 +00:00
Andreas Beeker e8d108ff22 Add support for HSLF metro blobs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713318 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 23:13:28 +00:00
Nick Burch 172593de22 Add a XWPFRun equivalent of isHighlighted, and add to the common WP interface
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712793 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 15:15:36 +00:00
Andreas Beeker acb219fbe1 fixes sonar/findbugs issues
add Date.toString() to forbidden-apis and fix occurrences

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712181 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 23:46:57 +00:00
Andreas Beeker ae69a781f5 close resources, as SlideShow is now Closeable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711865 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 00:05:14 +00:00
asf-sync-process 8b6cef3b79 #45908 - RichTextRun.setBullet(false) doesn't work, bullets still here
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711858 13f79535-47bb-0310-9956-ffa450edef68
2015-11-01 22:52:49 +00:00
asf-sync-process 0ae2928035 #45088 - POI-HSLF changeTextInRichTextRun corrupts presentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711845 13f79535-47bb-0310-9956-ffa450edef68
2015-11-01 19:37:28 +00:00
Andreas Beeker fa40f8417c findbugs fixes
close resources in tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711712 13f79535-47bb-0310-9956-ffa450edef68
2015-11-01 03:23:16 +00:00
Andreas Beeker 6485c11305 Make SlideShow closeable as of HSLF references a NPOIFSFileSystem and hasn't closed it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711706 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 23:10:17 +00:00
Andreas Beeker 02ff2b913f #45124 - inserting text or images wipes out boldness and makes everything italic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711705 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 23:08:52 +00:00
Andreas Beeker 8a6a5578e6 #45124 - inserting text or images wipes out boldness and makes everything italic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711704 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 23:05:09 +00:00
Andreas Beeker b9cf1bdc38 #58516 - Rare new aioobe in 3.13 on initialization of a handful of ppts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711381 13f79535-47bb-0310-9956-ffa450edef68
2015-10-29 23:22:54 +00:00
Andreas Beeker 438d4bd03e #58516 - Rare new aioobe in 3.13 on initialization of a handful of ppts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711380 13f79535-47bb-0310-9956-ffa450edef68
2015-10-29 23:20:35 +00:00
Andreas Beeker 1d1bdc1521 Common sl unification - copy first paragraph / textrun properties on XSLFTextShape.setText()
Common sl unification - converted ApacheconEU08 example to common sl - added missing functionality
Common sl unification - return null instead of default values for missing borders X/HSLFTable
Common sl unification - use points in HSLFTable.setColumnWidth()
Fix appending text to empty HSLFTextParagraph


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711171 13f79535-47bb-0310-9956-ffa450edef68
2015-10-29 01:05:27 +00:00
Javen O'Neal c65de59909 bug 26862: add test case for HSSFWorkbook.cloneSheet copies charts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710730 13f79535-47bb-0310-9956-ffa450edef68
2015-10-27 07:43:23 +00:00
Javen O'Neal bcb09a3798 convert scratchpad TestHSSFChart from junit3 to junit4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710729 13f79535-47bb-0310-9956-ffa450edef68
2015-10-27 07:41:09 +00:00
Andreas Beeker 5fd71db914 - removed deprecated and confusing methods in XSSFColor
- sonar fixes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708236 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 20:43:42 +00:00
Andreas Beeker 62561d5f53 sonar fixes and closing resources after use
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706937 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 00:04:12 +00:00
Dominik Stadler 4b487fcc10 Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706750 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 06:41:48 +00:00
Andreas Beeker eee32c0480 fixed sonar issues and eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706742 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 00:28:54 +00:00
Andreas Beeker 98e93217fe sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706648 13f79535-47bb-0310-9956-ffa450edef68
2015-10-04 00:35:30 +00:00
Andreas Beeker 2de9d527b4 sonar fixes
Very interesting was the exception swallowing in PackagePropertiesPart. When it was properly thrown, it already led to various errors in the junits test - I've fixed the handling for at least the ones which are in our test set

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706169 13f79535-47bb-0310-9956-ffa450edef68
2015-09-30 23:06:39 +00:00
Andreas Beeker ffd1f4333e sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1705814 13f79535-47bb-0310-9956-ffa450edef68
2015-09-29 08:31:15 +00:00
Andreas Beeker 1b2b506edb Sonar fixes - add cloneable interface to classes with clone()
Sonar fixes - remove pubic/static/final modifier from interfaces

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1705789 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 23:16:58 +00:00
Andreas Beeker 6f7f16853e Removed HDF API
Sonar fixes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1705779 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 21:26:06 +00:00
Andreas Beeker 5cd3436295 Sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1705587 13f79535-47bb-0310-9956-ffa450edef68
2015-09-27 22:14:25 +00:00
Andreas Beeker abfe427e72 - a few findbugs/sonar fixes
- removed obsolete openxml4j signature classes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704964 13f79535-47bb-0310-9956-ffa450edef68
2015-09-23 23:22:46 +00:00
Dominik Stadler 5e6b975b1c Ensure that the ThreadLocal-Biff-Password is reset correctly after each usage, we had some unit tests failing sporadically due to this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704710 13f79535-47bb-0310-9956-ffa450edef68
2015-09-22 19:50:37 +00:00
Andreas Beeker dec09d2713 - #58216 - provide picture-shape resize that maintains the aspect ratio
- moved SlideShowFactory to Common SL
- changed get/setAnchor to Rectangle instead of Rectangle2D
- Fixed some Common SL generic definitions
- picture dimensions are now in points and an additional method exists for pixels

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704206 13f79535-47bb-0310-9956-ffa450edef68
2015-09-21 00:09:45 +00:00
Andreas Beeker 18395d5c3b - #58207 - Provide user access to the original image dimensions (XSLF)
- same for hslf / common sl
- unify method names in H/XSLF Slideshow for common sl
- add/fix header information for PICT/EMF/WMF

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704097 13f79535-47bb-0310-9956-ffa450edef68
2015-09-20 02:25:35 +00:00
Andreas Beeker 50777f1e48 fix eclipse warning - mostly generics cosmetics
close resources in tests
junit4 conversions
convert spreadsheet based formular test to junit parameterized tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1702773 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 12:36:56 +00:00
Andreas Beeker 5f94d8b533 fix eclipse warning - mostly generics cosmetics
close resources in tests
junit4 conversions
convert spreadsheet based formular test to junit parameterized tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1702659 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 18:45:07 +00:00
Nick Burch aff1dba75b Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1702417 13f79535-47bb-0310-9956-ffa450edef68
2015-09-11 10:27:22 +00:00