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/01/03 09:42:19 UTC

[Bug 61959] New: Provide support to create single slide SlideShow given multi slides SlideShow

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

            Bug ID: 61959
           Summary: Provide support to create single slide SlideShow given
                    multi slides SlideShow
           Product: POI
           Version: 4.0-dev
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: XSLF
          Assignee: dev@poi.apache.org
          Reporter: praful.vaishnav@gmail.com
  Target Milestone: ---

I need an API that performs following functionality -

Given multi slides SlideShow, create a new SlideShow with given slide numbers.

-- 
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 61959] Provide support to create single slide SlideShow given multi slides SlideShow

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

Praful <pr...@gmail.com> changed:

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

--- Comment #1 from Praful <pr...@gmail.com> ---
Please provide links to any documentation needed to start contributing to it.
Also, for PowerPoint File format, what specification is being followed.

-- 
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 61959] Provide support to create single slide SlideShow given multi slides SlideShow

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

--- Comment #5 from Praful <pr...@gmail.com> ---
If I would like to contribute this feature can anyone please point me to area
in codebase/documentation that I should look into. Starting from specifications
seems to be difficult to start with. Any help appreciated.

-- 
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 61959] Provide support to create single slide SlideShow given multi slides SlideShow

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

--- Comment #4 from Alain Fagot Bearez <Al...@cua.li> ---
The alternative would be to copy each slide to a new presentation, by creating
a new slide in the new presentation and importing the content of the original
slide into the newly created slide.
https://poi.apache.org/apidocs/org/apache/poi/xslf/usermodel/XSLFSlide.html#importContent-org.apache.poi.xslf.usermodel.XSLFSheet-

But then you would have to copy the master style sheet and some other details,
from the original presentation to the newly created presentation.

If your slides have charts or notes and you want to copy them along, you would
face bug #57835 for which I implemented only part of the fix: charts in the
same presentation.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57835

Not wanting to scare you, but Nick might have given the path to the solution
with less code to write...

-- 
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 61959] Provide support to create single slide SlideShow given multi slides SlideShow

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |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


[Bug 61959] Provide support to create single slide SlideShow given multi slides SlideShow

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

--- Comment #2 from Nick Burch <ap...@gagravarr.org> ---
Please see http://poi.apache.org/guidelines.html for details on how to
contribute, links to the official file format specs etc

However... I think you can do what you want with POI already. Just copy the
master slideshow to a new file, open it, and delete all the slides you don't
want

-- 
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 61959] Provide support to create single slide SlideShow given multi slides SlideShow

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

--- Comment #3 from Praful <pr...@gmail.com> ---
Thanks Nick for the suggestion. But the problem with this approach is
redundancy and time/resource consuming. For eg, I have 20 slides SlideShow file
and I want to get 20 new SlideShow having a single slide. So, performing 19
delete operations for every SlideSHow is not efficient.

-- 
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