Summary: | Request: Add a method to remove slides. | ||
---|---|---|---|
Product: | POI | Reporter: | David <erwin94> |
Component: | HSLF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: | sample implementation |
It's rather "hiding", not a true deleting because the slide data remains, you only remove the reference to it from the Document. Anyway, thanks for the patch. I will review and apply later. Yegor |
Created attachment 23202 [details] sample implementation Hi, i want to propose adding a method to remove a slide from a slideshow. My usecase: I have a template ppt created in Powerpoint, that is filled with values through POI. If there is less data than expected I want to remove superflous slides. The attached patch works for me, but it could probably share code with reorderSlides and is missing better documentation and tests. have a nice day, David.