This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
adil abdelah
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4265
229
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"adil devlop", please check your private messages regarding an important administrative matter from JavaRanch.
 
adil abdelah
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok. Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic