|Summary:||Request: Add a method to remove slides.|
|Component:||HSLF||Assignee:||POI Developers List <dev>|
Description David 2009-01-30 06:04:15 UTC
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.
Comment 1 Yegor Kozlov 2009-01-30 06:22:10 UTC
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