You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2018/10/02 12:29:03 UTC

[Bug 62793] New: [PATCH] Testcase for reading videos in XSLF

https://bz.apache.org/bugzilla/show_bug.cgi?id=62793

            Bug ID: 62793
           Summary: [PATCH] Testcase for reading videos in XSLF
           Product: POI
           Version: 4.0.x-dev
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLF
          Assignee: dev@poi.apache.org
          Reporter: bmateusz@gmail.com
  Target Milestone: ---

Created attachment 36182
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36182&action=edit
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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 62793] [PATCH] Testcase for reading videos in XSLF

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62793

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #2 from PJ Fanning <fa...@yahoo.com> ---
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)?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 62793] [PATCH] Testcase for reading videos in XSLF

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62793

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 62793] [PATCH] Testcase for reading videos in XSLF

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62793

Andreas Beeker <ki...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Andreas Beeker <ki...@apache.org> ---
This issue is stale for a long time and adding videos is not an often requested
feature.

I've added an example code [1] and a corresponding stackoverflow entry [2] a
while ago.

Given that the API would be quite limited to adding / getting an embedded file
without adding any video processing dependencies, I'm closing this now.

Feel free to reopen this ticket, if you feel this deserves more attention.

[1]
https://svn.apache.org/viewvc/poi/trunk/poi-examples/src/main/java/org/apache/poi/examples/xslf/AddVideoToPptx.java.txt?view=markup

[2]
https://stackoverflow.com/questions/15197300/apache-poi-xslf-adding-movie-to-the-slide/16322340#16322340

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 62793] [PATCH] Testcase for reading videos in XSLF

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62793

--- Comment #1 from Mate Borcsok <bm...@gmail.com> ---
Created attachment 36183
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36183&action=edit
test-data/slideshow/video.pptx

A pptx file containing a short video (of the apache licence recorded from my
IDE)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 62793] [PATCH] Testcase for reading videos in XSLF

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62793

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 62793] [PATCH] Testcase for reading videos in XSLF

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62793

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org