Win a copy of The Java Performance Companion this week in the Performance 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
Posts: 42968
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: 4501
268
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