aboutsummaryrefslogtreecommitdiffstats
path: root/test-data
Commit message (Collapse)AuthorAgeFilesLines
* Allow negative numbers in conditional part of format stringDominik Stadler2021-03-191-0/+0
| | | | | | Closes #229 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887802 13f79535-47bb-0310-9956-ffa450edef68
* Implement CONCAT function #65185Nick Burch2021-03-141-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887656 13f79535-47bb-0310-9956-ffa450edef68
* Add the ability to edit HSLFPictureData contentsMarius Volkhart2021-02-282-0/+0
| | | | | | | | | | | | Pictures can now be edited by calling HSLFPictureData#setData(byte[]). The byte[] should contain the image data as an image viewer might read it. To enable this functionality, a tighter coupling between the EscherBSERecords of the slideshow and the HSLFPictureData was required. This ensures that changes in image data size are accurately recorded in the records. In the course of coupling the records and the HSLFPictureData, various scenarios arose where a mapping of records to pictures was non-trivial. Accordingly, the HSLFSlideShowImpl#matchPicturesAndRecords(...) function was added to perform a more sophisticated matching pass. This function is heavily exercised by org.apache.poi.hslf.usermodel.TestBugs.testFile[5] and PPTX2PNG.render[2], as well as the new TestPictures#testSlideshowWithIncorrectOffsets(). Closes #225 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887017 13f79535-47bb-0310-9956-ffa450edef68
* Bug 65099: Fix incorrect handling of styles in XWPFStyle.getUsedStyleListDominik Stadler2021-01-301-0/+0
| | | | | | Closes github #216 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886063 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65096] XLSX Streaming XML not correctly reading multiple inline StringsPJ Fanning2021-01-211-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885770 13f79535-47bb-0310-9956-ffa450edef68
* Bug 65016 - Creating a chart throws exceptionAlain Béarez2021-01-191-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885700 13f79535-47bb-0310-9956-ffa450edef68
* Integration tests - try to fix Oracle/OpenJDK vs IBM-JDK error message ↵Andreas Beeker2021-01-171-0/+0
| | | | | | differences on XXE files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885625 13f79535-47bb-0310-9956-ffa450edef68
* integration tests: ignore hsmf/lots-of-recipients.msg because of concurrent ↵Andreas Beeker2021-01-171-0/+0
| | | | | | test errors - also takes too long to process git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885603 13f79535-47bb-0310-9956-ffa450edef68
* integration tests: Fix handling of NullPointerExceptions for Java 16+ (again ↵Andreas Beeker2021-01-161-0/+0
| | | | | | | | ...) Refactor TestAllFiles to provide an API for mass testing git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885576 13f79535-47bb-0310-9956-ffa450edef68
* integration tests: NullPointerExceptions contain now a description in Java 16+Andreas Beeker2021-01-161-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885549 13f79535-47bb-0310-9956-ffa450edef68
* #65046 - Simplify integration testsAndreas Beeker2021-01-151-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885538 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-081-0/+0
| | | | | | Fixed offset of compare picture in resize_compare.xlsx git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885280 13f79535-47bb-0310-9956-ffa450edef68
* #65063 - WMF parsing failed on closed empty polygonAndreas Beeker2021-01-061-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885215 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64132: Fix regression introduced by changing factoriesDominik Stadler2021-01-041-0/+0
| | | | | | | We need to return EscherBlipRecord for all types in the defined range of recordId, not UnknownEscherRecord. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885092 13f79535-47bb-0310-9956-ffa450edef68
* ooxml-schema: trigger loading stress-documents as part of the normal unit-testsDominik Stadler2021-01-033-0/+0
| | | | | | | | The integration-tests are not executed for determining the parts of the schema to include in the "lite" package and so we need to have a normal unit-test as well. Add more documents which drag in some more parts from the ooxml-schema git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885057 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64450: Allow to parse a file where the relationship-id is an empty stringDominik Stadler2021-01-031-0/+0
| | | | | | | Also improve exception reporting by including more information and not "hiding" the actual exception-cause in a log-statement. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885056 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64750: Do not use CTDataValidations.getCount(), instead only rely on ↵Dominik Stadler2021-01-011-0/+0
| | | | | | | | | | | | getDataValidationArray Field "count" seems to be optional according to the schema, so by using only the array Apache POI can read data validations from workbooks that do not populate the "count" field properly. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885011 13f79535-47bb-0310-9956-ffa450edef68
* workaround NullPointerException when font family (of bullets) can't be ↵Andreas Beeker2020-12-301-0/+0
| | | | | | determined git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884974 13f79535-47bb-0310-9956-ffa450edef68
* workaround "Width (0) and height (0) cannot be <= 0" error while rendering ↵Andreas Beeker2020-12-301-0/+0
| | | | | | text with textures git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884966 13f79535-47bb-0310-9956-ffa450edef68
* add failing regression test filesAndreas Beeker2020-12-3020-0/+0
| | | | | | | fix ooxml-lite packaging fix PP97 dual storage file handling in extractor git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884962 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64986: Support missing or blank match_type for function MatchDominik Stadler2020-12-301-0/+0
| | | | | | Excel and LibreOffice use the default value in this case git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884959 13f79535-47bb-0310-9956-ffa450edef68
* Add unfixed test for bug 64759 and make the ones fail which depend on manual ↵Dominik Stadler2020-12-301-0/+0
| | | | | | opening of files in Microsoft Excel for verification git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884957 13f79535-47bb-0310-9956-ffa450edef68
* Improve the speed of the styles-optimiser when there are many styles in a ↵Dominik Stadler2020-12-291-0/+0
| | | | | | | | | | | | | Workbook Profiling showed that the call to isUserDefined() took most of the time, so we now fetch this only once for each style and remember the result and use it in the inner loop. The attached sample-file took aprox. 1m30s on a decent machine, now it is down to around 2s. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884917 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65023] add col bugfix. Thanks to Paula Muldoon, This closes #212PJ Fanning2020-12-251-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884794 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug 64238: Make LOOKUP functions deal with empty last arg correctlyDominik Stadler2020-10-251-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882827 13f79535-47bb-0310-9956-ffa450edef68
* Test PPT file containing a XLSX via an OLE2 intermediate layer, from Apache TikaNick Burch2020-10-131-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882467 13f79535-47bb-0310-9956-ffa450edef68
* #64773 - Visual signatures for .xlsx/.docxAndreas Beeker2020-10-101-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882394 13f79535-47bb-0310-9956-ffa450edef68
* Add more render test imagesAndreas Beeker2020-09-163-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881773 13f79535-47bb-0310-9956-ffa450edef68
* #64693 - POI HwmfGraphics cannot read the embedded document titleAndreas Beeker2020-08-301-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881322 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64667.xlsx prevent NPE loading styles tableTim Allison2020-08-131-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880834 13f79535-47bb-0310-9956-ffa450edef68
* [github-187] Add length validation for Excel DataValidations that are list ↵PJ Fanning2020-08-091-0/+0
| | | | | | literals. Thanks to Leo Webb. This closes #187 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880727 13f79535-47bb-0310-9956-ffa450edef68
* [bug-64508] add guard for invalid v valuePJ Fanning2020-07-151-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879905 13f79535-47bb-0310-9956-ffa450edef68
* [github-185] Fix if function in array formulas with 2nd argument evaluating ↵PJ Fanning2020-07-031-0/+0
| | | | | | to error. Thanks to Miłosz Rembisz. This closes #185 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879481 13f79535-47bb-0310-9956-ffa450edef68
* move docx added to wrong test dirPJ Fanning2020-06-261-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879229 13f79535-47bb-0310-9956-ffa450edef68
* [bug-64561] XWPFSDTContent.getText() is empty for nested SDT elementsPJ Fanning2020-06-261-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879223 13f79535-47bb-0310-9956-ffa450edef68
* 64512 - Ole10Native aka embedded / object packager - handle UTF16 variantsAndreas Beeker2020-06-111-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878730 13f79535-47bb-0310-9956-ffa450edef68
* [github-181] make Value function work with arrays. Thanks to Miłosz ↵PJ Fanning2020-06-061-0/+0
| | | | | | Rembisz. This closes #181 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878541 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63290: retrieve default run properties from paragraphAlain Béarez2020-05-271-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878147 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64322: Optimize performance of reading ole2 filesDominik Stadler2020-05-161-0/+0
| | | | | | | | | Remember channel-size to no re-read it for every read-access, but reset it if we extend the size of the file profiling indicates Channel.size() sometimes has similar runtime overhead as position() or read()! git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877816 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug 64420: NPE in XSSFReader for files with macro-sheetsDominik Stadler2020-05-161-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877814 13f79535-47bb-0310-9956-ffa450edef68
* [github-180] Add DateValue function. Thanks to Milosz Rembisz. This closes #180PJ Fanning2020-05-151-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877793 13f79535-47bb-0310-9956-ffa450edef68
* #55505 - CountryRecord not foundAndreas Beeker2020-04-211-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876805 13f79535-47bb-0310-9956-ffa450edef68
* 64261 -- fix handling of drop down list when items are selectedTim Allison2020-03-311-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875956 13f79535-47bb-0310-9956-ffa450edef68
* Bug 55966: Include content control text in word extraction also if it is ↵Dominik Stadler2020-03-281-0/+0
| | | | | | part of a paragraph git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875802 13f79535-47bb-0310-9956-ffa450edef68
* github-167 - HSMF enhancementsAndreas Beeker2020-03-081-0/+0
| | | | | | | | | | | | | | | | | introduce NameIdChunks.GetPropertyTag: which enables evaluating property ids from properties identified by name/id in property sets (simple version of IMAPIProp::GetIDsFromNames) AttachmentChunks.getAttachData: use new ByteChunkDeferred instead of ByteChunk which enables delayed reading of attachments to avoid all attachments are completely read into memory when parsing which may cause OutOfMemoryErrors on e-mails with big attachments. POIFSChunkParser: support reading multi valued chunks (e.g. required when reading the Keywords ("categories") property) add MAPIProperty.RECEIVED_BY_SMTP_ADDRESS add unit tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874990 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58896 and 52834: Cache Sheet.getMergedRegions() as it seems to sometimes ↵Dominik Stadler2020-03-081-0/+0
| | | | | | be the culprit for autosize taking a very long time. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874973 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64130 -- handle empty worksheet names in OldSheetRecord more robustly.Tim Allison2020-02-101-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873863 13f79535-47bb-0310-9956-ffa450edef68
* Regression findings - fix missing moveto exceptionAndreas Beeker2020-02-021-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873515 13f79535-47bb-0310-9956-ffa450edef68
* #63955 - HMEFContentsExtractor fails to extract content from winmail.datAndreas Beeker2020-01-081-0/+0
| | | | | | added example file - optimized junit tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872480 13f79535-47bb-0310-9956-ffa450edef68
* Fix some additional file-handle-leaks reported by unit-tests via an enhanced ↵Dominik Stadler2020-01-031-0/+0
| | | | | | | | version of the file-leak-detector Also add a test for Bug 64045 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872287 13f79535-47bb-0310-9956-ffa450edef68