This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41089
    
  44
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: 3018
    
  35

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


Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
adil abdelah
Greenhorn

Joined: Mar 22, 2010
Posts: 6
Ok. Thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: [POI] Extract slide for presentation powerpoint, and write it in a new presentation
 
Similar Threads
POI-HSLF java API for import PPT
How to display powerpoint slide in java applet using org.apache.poi?
Add new shapes in slides using serialization
JFrame declared as setAlwaysOnTop doesn't stay on top during slide show
poi - create multi page power point presentation by using 2 different templates