Dominik Stadler
8ae2972f3d
Bug 58616: Try to initialize with empty password if not done before
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722407 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 20:31:23 +00:00
Dominik Stadler
b06eaa0d3e
Exclude file from integration-tests until bug 58760 is fixed
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722405 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 20:31:04 +00:00
asf-sync-process
c39e9df3c8
Add some more tests for the checks for files that can cause large memory usage.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713217 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 10:00:38 +00:00
Dustin Spicuzza
e0a5e102b8
Add Visio OOXML text extractor + tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709361 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 06:26:57 +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
Dominik Stadler
72ae82f7dc
Verify that bug 45541 can be resolved, add some more checks in XSLFFileHandler
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1705804 13f79535-47bb-0310-9956-ffa450edef68
2015-09-29 06:08:08 +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
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
Dominik Stadler
6dda58db90
Apply patch from bug 57890 to add support for different datatypes in XSSFImportFromXML
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1703665 13f79535-47bb-0310-9956-ffa450edef68
2015-09-17 18:30:13 +00:00
Dominik Stadler
a4901ca30d
Enhance integration testing to apply OPCPackage tests to more file-types and also run XSSFReader in XSSFFileHandler
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1702801 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 19:05:40 +00:00
Dominik Stadler
b2bd6a0a4c
Eclipse warnings, close resources in CommandLineTextExtractor, add try/finally, formatting, ...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701139 13f79535-47bb-0310-9956-ffa450edef68
2015-09-03 20:59:14 +00:00
Dominik Stadler
5a867f39e9
Adjust excludes after adjusting multiple HeaderFooterRecord instances
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697602 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 08:32:41 +00:00
Andreas Beeker
cd536720dd
common sl: reworked and unified generics definitions
...
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
2015-08-24 23:15:14 +00:00
Andreas Beeker
14df4b2824
Common stress test for X/HSLF and a few bug fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695628 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 00:10:11 +00:00
Dominik Stadler
3b1e99d58f
Fix integration test for OPCPackage
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695346 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 18:39:50 +00:00
Dominik Stadler
ccc4ebcf70
Bug 56479: don't hardcode dcterms as namespace alias in the attribute, but 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
2015-08-11 05:37:15 +00:00
Dominik Stadler
e7f4d132f1
Provide more output when failing range-checks on HSL2RGB-construction
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694960 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 06:17:44 +00:00
Andreas Beeker
f5e9adea84
merged common_sl branch to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1692593 13f79535-47bb-0310-9956-ffa450edef68
2015-07-24 21:47:55 +00:00
Dominik Stadler
7e235409da
When verifying that the source-package can be built copy over third party libs before starting to build to not download these files from scratch every time
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1692381 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 12:33:00 +00:00
Andreas Beeker
58bf1455ec
merge trunk to common sl branch
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/common_sl@1691845 13f79535-47bb-0310-9956-ffa450edef68
2015-07-19 19:32:41 +00:00
Andreas Beeker
d439f080d6
merge trunk to common sl branch
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/common_sl@1691843 13f79535-47bb-0310-9956-ffa450edef68
2015-07-19 19:00:32 +00:00
Dominik Stadler
907da72996
Use global constant, this and the previous checkin fixes pull request 17 on github
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691822 13f79535-47bb-0310-9956-ffa450edef68
2015-07-19 12:15:17 +00:00
Dominik Stadler
8c1b7df4bc
Bug 57484: Allow processing of non-OOXML core namespace packages
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691821 13f79535-47bb-0310-9956-ffa450edef68
2015-07-19 12:11:19 +00:00
Dominik Stadler
090b86cb71
Add some missing close(), reduce output in unit tests and remove some other Eclipse warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1689590 13f79535-47bb-0310-9956-ffa450edef68
2015-07-07 07:44:11 +00:00
Dominik Stadler
8473e57b71
Bug 57963: Add a task to the integration-test build which verifies that most examples can be built without scratchpad.jar
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1685705 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 05:42:36 +00:00
Dominik Stadler
44821b1f39
Add missing license header
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682794 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 21:02:39 +00:00
Dominik Stadler
493511bbdc
Bug 57904: Add full source build from dist-packages to CI builds
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682786 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 20:11:28 +00:00
Nick Burch
2f87b078e9
Add ignore - file has no content streams
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1681809 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 18:38:34 +00:00
Dominik Stadler
dcfe4f77b7
Adjust test to handle a file correctly which works for normal handling but fails expectedly in text-extraction testing.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676902 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 05:50:49 +00:00
Nick Burch
157c994ee8
Skip the new password protected file, and re-org a little bit some other failures
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676874 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 22:07:43 +00:00
Nick Burch
fb4bf25259
Use a constant for the name of the OOXML encrypted package node
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676838 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 19:47:35 +00:00
Andreas Beeker
e6413c3fe7
committing intermediate results - hslf is mostly migrated to common interface - junit tests partly fail - still a few compile errors - xslf drawing works - hslf drawing is not yet tested
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/common_sl@1676365 13f79535-47bb-0310-9956-ffa450edef68
2015-04-27 20:13:43 +00:00
Nick Burch
b68dcd9df5
Add another file exclude, and hae the test print out which fails failed to make it quicker to spot in the jenkins failure email
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675719 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 21:09:42 +00:00
Dominik Stadler
b173dc11d0
XMLPrettyPrint: Don't try to pretty-print non-XML files and print out which file from the ooxml-file fails to parse
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1671095 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 15:54:59 +00:00
Dominik Stadler
0f0995d4ab
Integration test: Do a few more things with the MapiMessage
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668485 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 21:48:27 +00:00
Dominik Stadler
ca9f22c289
Integration tests: Expect exception for old word documents and still run the text extraction for them. Also add executing HPSFPropertiesExtractor where possible
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668483 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 21:47:44 +00:00
Dominik Stadler
e6d6cbcbd1
Add test-document to verify that bug 51921 is fixed already
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668482 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 21:47:19 +00:00
Dominik Stadler
dad8d1547c
Add more test-files from bug 44501, all seem to work fine now
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668369 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 13:42:06 +00:00
Dominik Stadler
f9961331ff
Bug 47304: use fixed encoding when extracting text in WordDocument
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668367 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 13:33:43 +00:00
Andreas Beeker
652211b8d2
Snapshot commit - still lots of errors, xslf rendering works, started work on hslf
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/common_sl@1667902 13f79535-47bb-0310-9956-ffa450edef68
2015-03-19 23:44:23 +00:00
Nick Burch
a181f03b9a
Exclude the OOXML strict files for now, not yet supported, see bug #57699
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666433 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 13:03:53 +00:00
Dominik Stadler
091f06330e
Add helper test to verify that vsdx cannot even be loaded by POIXMLDocument curently.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665984 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 19:53:26 +00:00
Nick Burch
2879bc1b16
No support as yet for the OOXML visio files, so have these ignored
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665971 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 19:08:59 +00:00
Nick Burch
d78a14b232
Fix inconsistent indents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665970 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 19:07:13 +00:00
Dominik Stadler
54bbd99ce4
Add missing close and handle theme-pptx in ExtractorFactory. Add creating slide-bitmaps to PPTX integration test.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1663137 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 17:50:16 +00:00
Dominik Stadler
f043c44017
* Verify some more Text-Extraction features as part of integration tests, fix some NullPointerExceptions that showed up now because the event-based extraction does not have a Document available
...
* Also handle a XLSX which does not have row-numbers in the sheet-xml. Excel can read it so it makes sense to also allow to read it in the XSSFSheetXMLHandler
* Remove some Eclipse warnings in test-code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662691 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 14:58:41 +00:00
Dominik Stadler
80d0d3b5bd
Add missing javadoc-header
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662661 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 11:33:36 +00:00
Dominik Stadler
e86ed72c2b
* Add text-extraction verification to integration-tests via a new abstract base FileHandler
...
* Fix NullPointerException found in some documents when running against the test-data
* Add support for extracting text from Dir-Entries WORKBOOK and BOOK to support some old/strangely formatted XLS files.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662652 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 09:59:14 +00:00
Nick Burch
ce3cc5b519
Another exclude
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1651512 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 21:48:43 +00:00
Dominik Stadler
e8c5bd48ad
Extract ROOT_DIR into constant, ignore .csv files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649124 13f79535-47bb-0310-9956-ffa450edef68
2015-01-02 21:07:14 +00:00
Andreas Beeker
4bed984c0f
Charset.forName() for known encodings makes catching UnknownEncodingException obsolete
...
Unify UTF-16LE conversion to StringUtil
BugFix for RecordInputStream.readFully in combination with continuing records
BugFix for integration tests - fix pathname for handler/exclude lookup on windows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1648032 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 01:33:28 +00:00
Dominik Stadler
ae8391b926
One more change in file-pattern to actually exclude .svn files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647941 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 07:51:46 +00:00
Dominik Stadler
65ca8293d5
Exclude .svn sub-dirs as it seems Apache Jenkins still runs with Subversion <=1.6
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647939 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 07:04:34 +00:00
Dominik Stadler
0c580c8f45
Add a test-suite which performs integration/stress tests which load and handle all stored test files in various ways.
...
It works by using handlers for each type of file which perform various operations on the files, e.g. loading,
iterating content, modify, ... This will trigger changes which break working with the available test-files and
thus provides another layer of regression testing which hopefully prevents some failures from making it into
releases.
It is runnable via a new ant-target 'test-integration' and also added to the jenkins-target.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647885 13f79535-47bb-0310-9956-ffa450edef68
2014-12-25 09:16:44 +00:00