aboutsummaryrefslogtreecommitdiffstats
path: root/test-data/slideshow
Commit message (Collapse)AuthorAgeFilesLines
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-161-0/+0
| | | | | | | | | | | Avoid a possible OutOfMemoryException with many child-records This avoids having too many children in EscherRecords, the limit of 100_000 is arbitrarily chosen and can be adjusted if needed Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62924 and maybe others git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919272 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-151-0/+0
| | | | | | | | | | | | Avoid a possible StackOverflowException This adds support of counting of the "nesting level" into the base EscherRecord and thus makes this existing limitation much more effective as it kicks in for more types of nested records. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66374 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919256 13f79535-47bb-0310-9956-ffa450edef68
* [bug-68703] fix issue with XSLFTextRuns in XSLFTableCellsPJ Fanning2024-03-041-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916105 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2023-12-301-0/+0
| | | | | | | | Prevent StackOverflow via endless nesting Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65303 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914989 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2023-10-271-0/+0
| | | | | | | | | Fix one expected exception-text which is different on newer Java versions Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63143 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913384 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-10-071-0/+0
| | | | | | | | | We try to avoid throwing NullPointerException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62626 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912792 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2023-09-212-0/+0
| | | | | | | | | We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible to trigger them Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62548 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62564 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912464 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2023-09-201-0/+0
| | | | | | | | | We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible to trigger them Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62530 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62491 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912433 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2023-09-181-0/+0
| | | | | | | | | | We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible to trigger them Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61562 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62068 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912383 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid NullPointerExceptions and ClassCastExceptions found via ↵Dominik Stadler2023-09-172-0/+0
| | | | | | | | | | | | | poi-fuzz We try to avoid throwing NullPointerException and ClassCastExceptions, but it was possible to trigger them Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62414 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62442 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62450 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912365 13f79535-47bb-0310-9956-ffa450edef68
* [bug-67005] XSLFPictureShape - audio-related methods. Thanks to MaxPJ Fanning2023-09-141-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912315 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-09-111-0/+0
| | | | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62170 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912252 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-111-0/+0
| | | | | | | | | We try to avoid throwing NullPointerException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62216 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912250 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-081-0/+0
| | | | | | | | | We try to avoid throwing NullPointerException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62151 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912198 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-08-241-0/+0
| | | | | | | | | We try to avoid throwing NullPointerException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61441 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911890 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-231-0/+0
| | | | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61578 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911860 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-091-0/+0
| | | | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61306 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911573 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Add memory-safeguard in one more placeDominik Stadler2023-08-071-0/+0
| | | | | | | | | | | | | | We try to generally avoid overly large allocations in places where arrays are allocated. We add one more such check for pictures in HSLF. We might need to increase the used value of 10MB if users report larger files being used frequently. Overriding this check via IOUtils is possible. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911525 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-071-0/+0
| | | | | | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61259 Also fix handling of NullPointerException git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911517 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid an AssertionError found via oss-fuzzDominik Stadler2023-08-071-0/+0
| | | | | | | | | We try to avoid throwing AssertionError to be triggered by input data, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61251 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911514 13f79535-47bb-0310-9956-ffa450edef68
* add test filePJ Fanning2022-12-281-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906237 13f79535-47bb-0310-9956-ffa450edef68
* [github-404] issue with text runs and styling relating to table cells. ↵PJ Fanning2022-12-122-0/+0
| | | | | | Thanks to gffloodg. This closes #404 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905933 13f79535-47bb-0310-9956-ffa450edef68
* pptx testPJ Fanning2022-09-291-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904334 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66278] Bug with multiple gradient stops at the exact same location ↵PJ Fanning2022-09-271-0/+0
| | | | | | causing a rendering failure (AWT -> not enough colors in gradient). Thanks to Gareth Floodgate. This closes #385 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904301 13f79535-47bb-0310-9956-ffa450edef68
* test for TIKA-2605PJ Fanning2022-08-301-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903776 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65473] extra testPJ Fanning2022-08-191-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903574 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65473] when copy slide, new slide uses old textrun object reference. ↵PJ Fanning2022-08-191-0/+0
| | | | | | Thanks to FlyingPigQAQ. This closes #371 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903558 13f79535-47bb-0310-9956-ffa450edef68
* code to handle smart art rotationsPJ Fanning2022-07-291-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903096 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66176] Integrate SmartArt diagrams from powerpoint presentations. ↵PJ Fanning2022-07-221-0/+0
| | | | | | Thanks to Yaseen. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902934 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65946] remove duplicate Category property from extracted propertiesPJ Fanning2022-03-091-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898805 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65718] Charts imported without blip fillsPJ Fanning2021-12-022-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895487 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65711] add testPJ Fanning2021-11-291-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895407 13f79535-47bb-0310-9956-ffa450edef68
* #65694 - HSLF - handle date/time fields and formatsAndreas Beeker2021-11-221-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895248 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65678] add XSLFGraphicFrame hasDiagramPJ Fanning2021-11-111-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894962 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65674] add isVideoFile to XSLFPictureShapePJ Fanning2021-11-091-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894860 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65673] add test case (that passes)PJ Fanning2021-11-081-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894830 13f79535-47bb-0310-9956-ffa450edef68
* #65551 - Incorrect fetching paragraph and text runs props from master shapeAndreas Beeker2021-10-111-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894140 13f79535-47bb-0310-9956-ffa450edef68
* add test for broken file (5.0.1-RC1 issues)PJ Fanning2021-09-191-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893444 13f79535-47bb-0310-9956-ffa450edef68
* add basic support for hdphoto/wdp images in slideshowsPJ Fanning2021-08-271-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892653 13f79535-47bb-0310-9956-ffa450edef68
* #65228 - the method getCap() does not work correctly in ↵Andreas Beeker2021-04-221-0/+0
| | | | | | xslf.usermodel.XSLFTextRun git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889111 13f79535-47bb-0310-9956-ffa450edef68
* Add the ability to edit HSLFPictureData contentsMarius Volkhart2021-02-281-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
* #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
* 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
* 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 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
* 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
* add null check for XSLFShapePJ Fanning2019-10-121-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868318 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60656 - EMF image support in slideshowsAndreas Beeker2019-05-041-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858625 13f79535-47bb-0310-9956-ffa450edef68
* bug 63327 allow retrieval of wmf data embedded in emfTim Allison2019-04-081-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857136 13f79535-47bb-0310-9956-ffa450edef68