My customer is facing this problem…By using split functionality, I have split one presentation into 10 presentations
(basically I have saved each slide as separate presentation)
Now iam trying to read all these 10 presentations which each presentation has one slide and try to copy into the newly created presentation.
At present iam facing one issue while merging the multiple presentations into one presentation.
My requirement is:
i) Read all the presentations which are under one folder. ( each presentation will have only one slide)
ii) Read the slides from each Presentation and copy to the new Presentation.
Please see the attached file for the code which I have written. I have posted the question in forum also.
But still this issue is not resolved for me. With attached code iam getting the following error:
com.aspose.slides.PptEditException: Slide cloning error.
at com.aspose.slides.Presentation.cloneSlide(SourceFile:1371)
at readMultipleFiles.main(readMultipleFiles.java:45)
Caused by: java.lang.NullPointerException
at com.aspose.slides.Presentation.cloneSlide(SourceFile:1289)
... 1 more
Please help me in this regard and correct me where iam doing wrong.
Kind Regards,
M.Irfan