Commit Graph

175 Commits

Author SHA1 Message Date
Andreas Beeker
181d135fb9 Added link to test cases for the workarounds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1645344 13f79535-47bb-0310-9956-ffa450edef68
2014-12-13 19:00:00 +00:00
Andreas Beeker
1460fd33b2 Added workarounds to tests for JDK 6 LineBreakMeasurer bug and handle it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1644806 13f79535-47bb-0310-9956-ffa450edef68
2014-12-12 01:43:45 +00:00
Dominik Stadler
8bf3ebfcee Remove some Eclipse warnings, remove confusing FunctionID/ID renaming...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642035 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 07:07:29 +00:00
Andreas Beeker
3f77a96e47 revert of r1639217 and offline-linking for maven javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1639807 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 00:00:30 +00:00
Andreas Beeker
39ba1ba707 Javadoc warnings fixed:
Now that the javadocs are split, the reference from one module to another need to be url links

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1639217 13f79535-47bb-0310-9956-ffa450edef68
2014-11-13 00:30:48 +00:00
Andreas Beeker
45fb6c5b18 Picture method to resize with different scales in width and height
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1638623 13f79535-47bb-0310-9956-ffa450edef68
2014-11-12 00:19:00 +00:00
Dominik Stadler
0f0c16f56d Add some missing close() calls and fix some generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637703 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 17:53:10 +00:00
Dominik Stadler
8a82d32ae8 Apply patch for bug 57151: Document CellRangeAddress and add some validation to prevent invalid row/column combinations.
Cover class CellRangeAddress fully in unit tests.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1635389 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 05:53:06 +00:00
Andreas Beeker
d60adb500e Bug 56913 - Replace usages of o.a.p.util.ArrayUtil.copyOf* methods with replacements from j.u.Arrays
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1622589 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 00:31:47 +00:00
Uwe Schindler
5a933a3496 Add Dominik's suggestion to DocumentBuilderFactories. I also removed the setXIncludeAware(false) in XMLHelper, because it causes the same problem and is disabled by default.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1618644 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 16:01:35 +00:00
Nick Burch
4c98f1db45 Patch from Raúl Wegmann from bug #56735 / GitHub Pull #10 - Rationalise POI temp file creation to the TempFile util class, and allow a system wide setting of where Temp files (eg for SXSSF) go, via TempFile / TempFileCreationStrategy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613246 13f79535-47bb-0310-9956-ffa450edef68
2014-07-24 18:58:27 +00:00
Dominik Stadler
3f9c701688 Fix formatting of trailing comma in HexDumps, cover class fully with tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1612496 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 07:47:14 +00:00
Nick Burch
d2d289b90f Rather than having lots of classes all create their own XML DocumentBuilderFactory instance, push that logic to a helper which sets all the right defaults
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1587739 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 21:59:52 +00:00
Andreas Beeker
3ccd728544 javadoc house-keeping
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553422 13f79535-47bb-0310-9956-ffa450edef68
2013-12-25 22:18:53 +00:00
Dominik Stadler
bc7b658ea9 Fix some JavaDoc items that are reported in the build-output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553404 13f79535-47bb-0310-9956-ffa450edef68
2013-12-25 18:05:41 +00:00
Dominik Stadler
d08ab9dc0d Slightly more test-coverage in HSSFSheet/XSSFSheet/SXSSFSheet and fix some Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1537331 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 22:26:13 +00:00
Nick Burch
f15a35ec45 Fix #55647 - When creating a temp file, ensure the name isn't already taken
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1531040 13f79535-47bb-0310-9956-ffa450edef68
2013-10-10 16:20:07 +00:00
Nick Burch
8b0334c701 Remove some @author tags, as per http://poi.apache.org/guidelines.html#CodeStyle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516975 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 18:42:57 +00:00
Nick Burch
e82421ef02 HSMF generally wants Java Lang style encoding names, which HPSF has always worked with Java NIO ones, so add a flag to CodePageUtil to let you select which style to return
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1497037 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 18:44:51 +00:00
Nick Burch
f073151b1a Bring the numeric CodePage support from HPSF (constants and converters) out to a new Util class, so that HSMF can later use it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1497032 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 18:18:21 +00:00
Yegor Kozlov
e5cfade841 Bugzilla 55036 - Dec2HEx formula support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1488729 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 15:13:47 +00:00
Yegor Kozlov
27355c84b1 clear unused import warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1408236 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 09:54:37 +00:00
Sergey Vladimirov
9f666b8aee refactor list format override structures (was marked with @Internal annotation)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1389037 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 12:56:09 +00:00
Evgeniy Berlog
e0db6f31a0 resolved bugzilla ticket 53642
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1380882 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 21:00:41 +00:00
Yegor Kozlov
fb1719c85d Bugzilla 53446 - Fixed some problems extracting PNGs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1369263 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 05:30:19 +00:00
Nick Burch
eb368e205d Start on the code to process properties, and wire it up. No properties reading code exists yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1358813 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 18:50:11 +00:00
Maxim Valyanskiy
b9a6d0a2e0 #52991: Unexpected end of ZLIB input stream on embedded OLE extraction from PPT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1305778 13f79535-47bb-0310-9956-ffa450edef68
2012-03-27 08:32:47 +00:00
Yegor Kozlov
af696ae5fd optimized unused imports and removed deprecation warnings in poi-main
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1296979 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 09:44:20 +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
Sergey Vladimirov
2c06f34413 undeprecate get*() methods with 0 offset
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187981 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 21:52:34 +00:00
Sergey Vladimirov
8654862616 it's better to always specify offset for write and reading operations
deprecate methods with default (0) offset

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187568 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 21:56:54 +00:00
Sergey Vladimirov
76f6084db4 reuse code from LittleEndian class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187550 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 21:25:03 +00:00
Sergey Vladimirov
4ef78d40fc add float read/write (put/get) support
expand cycles

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187542 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 21:13:10 +00:00
Sergey Vladimirov
b532f90b4c code format and sort members (prepare for double and float additions)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187537 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 21:01:35 +00:00
Sergey Vladimirov
cbead69dda correctly save PlfLst
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178105 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 00:11:10 +00:00
Sergey Vladimirov
19e92a8e6a correctly handle LFOData structures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178083 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 20:01:23 +00:00
Sergey Vladimirov
7ecbfcfbaa picture loading completely rewritten, bugs 51902 and 51890 fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177709 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 15:49:19 +00:00
Sergey Vladimirov
092ff1b867 add lvlf type definition and java code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173712 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:31:36 +00:00
Sergey Vladimirov
a74095ebd3 add tabs handling and additional SPRMs; update ShadingDescription definition (in fact, replace)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173157 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 14:12:44 +00:00
Sergey Vladimirov
77af81d3d7 move poi.util.POIUtils to poi.poifs.filesystem.EntryUtils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160788 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 16:44:06 +00:00
Sergey Vladimirov
c3235cc745 relax requirements for POIUtils arguments (replace classes with interfaces)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160150 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 08:53:16 +00:00
Sergey Vladimirov
6afe2d988c move POI FS entries copy methods to new POIUtils class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160146 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 08:50:48 +00:00
Sergey Vladimirov
33a1542335 fix unsigned int to long conversion
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155340 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 12:53:05 +00:00
Sergey Vladimirov
8eb1775b90 restore JDK 1.5 compatibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150617 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 10:12:34 +00:00
Yegor Kozlov
64bc751847 added @Beta annotation to mark code that is subject to incompatible changes in future releases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149119 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 11:09:02 +00:00
Sergey Vladimirov
326db9a72e add closeQuietly() method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142781 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:50:01 +00:00
Nick Burch
ecd2511317 Apply patch from bug #51458 - Correct BitField wrapping when setting large values
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141977 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 16:29:04 +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
944109b369 Fix bug #51100 - Fix IOUtils issue for NPOIFS reading from an InputStream where every block is full
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095753 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 15:37:22 +00:00
Nick Burch
0df8c11c4b Two more differences between the LZW in HDGF and HMEF:
* Little Endian vs Big Endian storage of the code position
 * Initial dictionary position is the end of pre-fill, if there is one, rather than always being position 0


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078300 13f79535-47bb-0310-9956-ffa450edef68
2011-03-05 15:25:39 +00:00