Hello. Mr. msabir
Thanks for your interest in my question.
I downloaded your attachement file. very Thank you.
I try to test.
The copy function is OK. (When I try Last time, after copy, I try to open my new pptx file, I founded alert window, but now OK)
and then I try to open my new pptx file. I found error.
com.aspose.slides.PptReadException: Error reading "/[Content_Types].xml" xml part
at com.aspose.slides.obfuscated.pu.do(SourceFile:546)
at com.aspose.slides.obfuscated.pu.do(SourceFile:504)
at com.aspose.slides.obfuscated.pu.if(SourceFile:225)
at com.aspose.slides.obfuscated.pu.(SourceFile:183)
at com.aspose.slides.pptx.PresentationEx.(SourceFile:981)
at com.jinotech.ppt.AsposePPTXManager.replaceSlide(AsposePPTXManager.java:49)
at test.Test1.main(Test1.java:22)
Caused by: java.lang.NullPointerException
at com.aspose.slides.obfuscated.pu.do(SourceFile:518)
... 6 more
so I unzip new pptx file. I founded last problem is fixed.
but When I compare content_types.xml between old and new pptx files, I founded it's different.
I attche two pptx file. I hope It's helpful you and me.^^
Thank you
=================
my code is
PresentationEx presentationold = new PresentationEx(new FileInputStream("old.pptx"));
presentationold.write(new FileOutputStream("new.pptx"));
PresentationEx presentationnew = new PresentationEx(new FileInputStream("new.pptx"));