Commit Graph

4807 Commits

Author SHA1 Message Date
Nick Burch e225ceaacd Merge two release blocking fixes from Trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/REL_3_11_BRANCH@1646123 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 00:59:47 +00:00
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
Andreas Beeker dbfabda346 close decrypted stream - test for #57296
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1644796 13f79535-47bb-0310-9956-ffa450edef68
2014-12-12 00:06:15 +00:00
Andreas Beeker f3e4795275 57250 - XMLSlideShow.setSlideOrder() produces corrupted CTSlideIdList
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1643684 13f79535-47bb-0310-9956-ffa450edef68
2014-12-07 15:28:01 +00:00
Andreas Beeker 21d2bc3cff #57272 - deadlock on corrupted PPT file
+ some refactoring in HSLFSlideShow, which will be necessary for cryptoapi support 

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1643680 13f79535-47bb-0310-9956-ffa450edef68
2014-12-07 14:34:19 +00:00
Andreas Beeker 93dffcb366 XML signatures - ignore line breaks in Office 2007 .rels files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1643415 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 20:20:23 +00:00
Nick Burch 680feb50ee Correct older biff detection, and add unit tests for HSSFWorkbook giving helpful exceptions on the older formats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642568 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 17:09:03 +00:00
Nick Burch fd9a2b0527 Update TODOs for what remains
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642567 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 17:07:45 +00:00
Nick Burch 6873214113 More detection for older Excel formats when opening the POIFS Stream, and a more specific exception for non-OLE2 files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642565 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 16:59:06 +00:00
Nick Burch 0c32d34bef On Biff5 files, include the sheet name. (Older formats are single sheet)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642563 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 16:40:53 +00:00
Nick Burch be469c985f Track the codepage in old excel files, to be able to correctly decode the 8 bit strings in them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642561 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 16:21:39 +00:00
Nick Burch 544b21405c Add some formatted numbers to the test biff5 files, and commented out tests using them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642559 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 16:01:28 +00:00
Nick Burch 77bf6ef42b Track what Biff version we are working on, and use that to work around Biff 2 and 5 having the same formula record sid for different layouts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642556 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 15:54:34 +00:00
Nick Burch a1fffd7d04 Switch to POITestCase / assertContains
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642549 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 14:36:01 +00:00
Nick Burch 101f66c789 Begin adding Excel 5 support to OldExcelExtractor for TIKA-1490
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642548 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 14:22:06 +00:00
Nick Burch 41ba513d11 Formula values for Excel 4 extractor, for TIKA-1490
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642497 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 01:30:43 +00:00
Nick Burch 17b050c66f Largely there with the Excel 4 extractor, for TIKA-1490
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642493 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 01:20:16 +00:00
Nick Burch 738c518474 Further Excel 4 text extractor support, for TIKA-1490
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642492 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 01:03:24 +00:00
Nick Burch 553964a455 Further Excel 4 text extractor support, for TIKA-1490
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642491 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 00:48:17 +00:00
Nick Burch 48ab7bf987 Start on a Text Extractor for the pre-OLE2 Excel formats like Excel 4, for TIKA-1490
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642490 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 00:16:23 +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
Dominik Stadler 46217f2c14 Add missing license header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642034 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 07:05:18 +00:00
Dominik Stadler 81a3425f16 Typo and remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1641941 13f79535-47bb-0310-9956-ffa450edef68
2014-11-26 21:11:18 +00:00
Dominik Stadler 1deed31c23 Include root-cause exception information when constructing ContentTypeManager fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1641940 13f79535-47bb-0310-9956-ffa450edef68
2014-11-26 21:11:02 +00:00
Dominik Stadler 4c451f44ed Add more output in case of unknown cipher-ids to aid in debugging bugs like 57195
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1641883 13f79535-47bb-0310-9956-ffa450edef68
2014-11-26 18:39:44 +00:00
Andreas Beeker 9d84f426f3 Don't swallow exceptions on validation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1641025 13f79535-47bb-0310-9956-ffa450edef68
2014-11-22 01:47:48 +00:00
Andreas Beeker d3dee868ef the subdir element needs to be included otherwise certain xmlbean operations (e.g. selectPath) can't find the corresponding xmlbeans classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1640846 13f79535-47bb-0310-9956-ffa450edef68
2014-11-21 01:06:39 +00:00
Andreas Beeker 27b0d08d0f Bug 57164 - XSSFDrawing.createCellComment() does not honor dx and dy values passed in
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1639996 13f79535-47bb-0310-9956-ffa450edef68
2014-11-16 14:48:47 +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
Nick Burch 2608583130 Add boolean getters/setters for bold to font, matching italic and underline, plus matching xssf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1638954 13f79535-47bb-0310-9956-ffa450edef68
2014-11-12 19:11:20 +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 194738dd91 Restore printing out test-failures after switch to JUnit4 execution
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1638179 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 15:30:34 +00:00
Andreas Beeker d709edb343 Use Junit4 JUnitCore instead of legacy TestRunner
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637996 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 23:46:50 +00:00
Andreas Beeker 40e5714372 add license header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637991 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 22:52:46 +00:00
Dominik Stadler 9f3e8b4919 Bug 57197: use proxy for TestSignatureInfo if set via environment variables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637979 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 20:37:26 +00:00
Dominik Stadler 3cf7699fde Fix Eclipse warning about generics
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637978 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 20:36:54 +00:00
Dominik Stadler 31ba1ad5fb Add initial simple test of class EscherDump
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637977 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 20:36:37 +00:00
Dominik Stadler 3dd00ab13a Add xmlsec-jar in test-ooxml-lite which is missing after removing ooxml.classpath
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637718 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 19:19:02 +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
Nick Burch 82ee923858 Patch from hishidama to add Cell.removeHyperlink(). This closes #13 from github
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637562 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 13:46:30 +00:00
Nick Burch e2dd7f27c0 Test from Tim to include PropertyList in poi-ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637548 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 12:21:27 +00:00
Dominik Stadler 24effccc61 Fail build if test-cases fail in OOXMLLite execution to avoid missing included schema-classes. Also adjust how we look for test-classes so that we print out the ones that we skip with known ones excluded. Also print out skipped inner classes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637475 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 22:33:54 +00:00
Dominik Stadler 62ac7efea6 Slowly start to adjust places in tests where we do not properly close file handles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637474 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 22:33:35 +00:00
Dominik Stadler b6a3184196 Calling ping is not a good idea as it runs endlessly on some platforms, do a Java connection test instead
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637370 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 13:05:57 +00:00
Dominik Stadler 80bc816ecc Fix some eclipse warnings, newlines, javadoc, generics, ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637367 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 13:02:00 +00:00
Dominik Stadler eb44db4d9c Bug 57003: Add implementation of function FIXED
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637361 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 12:29:05 +00:00
Andreas Beeker 69dc33caf2 another signature ubuntu jdk6 bug fix ... and offline/online handling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637283 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 01:16:21 +00:00
Nick Burch 70177caa04 Try for a more specific failure message on the assert
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637129 13f79535-47bb-0310-9956-ffa450edef68
2014-11-06 14:54:02 +00:00