File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes [POI] Extract slide for presentation powerpoint, and write it in a new presentation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "[POI] Extract slide for presentation powerpoint, and write it in a new presentation" Watch "[POI] Extract slide for presentation powerpoint, and write it in a new presentation" New topic
Author

[POI] Extract slide for presentation powerpoint, and write it in a new presentation

adil abdelah
Greenhorn

Joined: Mar 22, 2010
Posts: 6
Hello,
I want to exract some determinate slide and write it in a new presentation.

I'm try this :



But, when i execute the programme, the file : new_file_has_just_first_slide.ppt have all slide included in myfile.ppt !


Can you help me please ?
Thanks

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42035
    
  64
That's correct, because getSlideShow returns the complete slide show, not any particular slide.

You'll have to make a copy of the original file, and then remove all slides except for the one that you want to keep.


Ping & DNS - my free Android networking tools app
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3112
    
  42

"adil devlop", please check your private messages regarding an important administrative matter from JavaRanch.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
adil abdelah
Greenhorn

Joined: Mar 22, 2010
Posts: 6
Ok. Thanks
 
GeeCON Prague 2014
 
subject: [POI] Extract slide for presentation powerpoint, and write it in a new presentation