poi/test-data
Marius Volkhart d1c9a07860 Add the ability to edit HSLFPictureData contents
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
2021-02-28 23:16:14 +00:00
..
ddf removed unnecessary svn:executable flag from files in SVN trunk, see bugzilla 47734 2009-09-13 16:05:28 +00:00
diagram Failing, disabled unit test for bug #60973 2017-04-12 09:40:54 +00:00
document Bug 65099: Fix incorrect handling of styles in XWPFStyle.getUsedStyleList 2021-01-30 18:42:14 +00:00
hmef #63955 - HMEFContentsExtractor fails to extract content from winmail.dat 2020-01-08 00:49:39 +00:00
hpsf #52372 - OutOfMemoryError parsing a word file 2017-05-02 23:32:13 +00:00
hsmf github-167 - HSMF enhancements 2020-03-08 23:26:53 +00:00
integration ooxml-schema: trigger loading stress-documents as part of the normal unit-tests 2021-01-03 11:49:59 +00:00
openxml4j bug 62592 -- prevent StackOverflowError on corrupt thmx 2018-08-08 16:06:18 +00:00
poifs Bug 64322: Optimize performance of reading ole2 files 2020-05-16 13:06:07 +00:00
publisher bug 60685: ignore problems with HPBF Publisher Quill Contents PLC hyperlink records so that text extraction can continue 2017-07-10 01:34:30 +00:00
slideshow Add the ability to edit HSLFPictureData contents 2021-02-28 23:16:14 +00:00
spreadsheet Add the ability to edit HSLFPictureData contents 2021-02-28 23:16:14 +00:00
xmldsign #64773 - Visual signatures for .xlsx/.docx 2020-10-10 23:33:26 +00:00
project-header.svg Adjust test to not require src/documentation to be available 2018-12-28 11:17:52 +00:00