Bug 62793 - [PATCH] Testcase for reading videos in XSLF
Summary: [PATCH] Testcase for reading videos in XSLF
Status: NEW
Alias: None
Product: POI
Classification: Unclassified
Component: XSLF (show other bugs)
Version: 4.0.x-dev
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2018-10-02 12:29 UTC by Mate Borcsok
Modified: 2018-12-22 19:13 UTC (History)
0 users



Attachments
testReadVideo testcase (3.56 KB, patch)
2018-10-02 12:29 UTC, Mate Borcsok
Details | Diff
test-data/slideshow/video.pptx (598.65 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2018-10-02 12:30 UTC, Mate Borcsok
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mate Borcsok 2018-10-02 12:29:03 UTC
Created attachment 36182 [details]
testReadVideo testcase

It would be good to support reading/adding/removing videos using POI.

I've done some research. As a first step I submit this test case which demonstrates how to read the video part of an XSLFPictureShape.

Later I would like to work on a new shape: XSLFMovieShape, which extends XSLFPictureShape and have these capabilities natively.
What do you think?
Comment 1 Mate Borcsok 2018-10-02 12:30:34 UTC
Created attachment 36183 [details]
test-data/slideshow/video.pptx

A pptx file containing a short video (of the apache licence recorded from my IDE)
Comment 2 PJ Fanning 2018-10-02 15:15:38 UTC
I think the general consensus is that we would like the POI capabilities to use public APIs that don't expose the internal generated classes for the Open Office XML formats (the CT classes).
Would you be able to add methods and classes to the XLSF packages that wrap the generated CT classes (CTPicture, CTExtension, etc)?