We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

1) Split pptx into individual slides and make it as a individual pptx

Hi ,



I am trying for

1) split 3 or 4 pptx into individual files and make it as a individual .pptx files …

2) Merge multiple .pptx files and make it as a single pptx file

i am using the environment specifications
1) Netbeans 7.0.1

2)Tomcat 7.0.14

3) Windows 7

4) jdk1.6.0_26

5) jre6

Hi ,



I am trying for

1) split 3 or 4 pptx into individual files and make it as a individual .pptx files …

2) Merge multiple .pptx files and make it as a single pptx file

i am using the environment specifications
1) Netbeans 7.0.1

2)Tomcat 7.0.14

3) Windows 7

Hi Naidu,

Thanks for your interest in Aspose.Slides.

I have observed your requirements and like to share that you can use the slide cloning feature to split a presentation into individual slides. The same slide cloning feature can be used to merge slide from different presentations. Please visit this thread link for your kind reference in this regard to see how to split the presentation to individual presentation slides. Please also visit this documentation link to see how to clone the slides between presentations.

Please share, if I may help you further in this regard.

Many Thanks,

Hi Mudassir ,


This is the exception i got can you send me the working code if possible
splitting and merging multiple ppts.


Exception in thread “main” java.lang.SecurityException: class “com.aspose.slides.PptReadException”'s signer information does not match signer information of other classes in the same package
Hi Naidu,

I have observed the issue shared by you and like to share that it seems to be issue with Aspose.Slides while accessing presentation rather than sample code. Please share the sample presentation with us with which you are having issue and I will try my best to help you further in this regard.

Many Thanks,

Hi

This is the pptx iam using can you send the working code for merging and splitting in zip

Hi Naidu,

I have worked over your requirement for splitting and merging presentation slides using Apose.Slides for Java 8.5.0 on my end. Please try using the attached sample java file to serve the purpose on your end.

Many Thanks,

Hi ,

1) Can you work for me that in two java class files
a) take some three .PPTX files and split that files into individual slide and store those all files in folder.
b) take some five .PPTX files and merge that files and store in one folder which make it as a final merged .pptx file
I don’t have jar files can you send me if possible …

This is the exception i am getting
java.lang.SecurityException: class “com.aspose.slides.PptReadException”'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:806)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at PPTXintoslides.PPTX_Clone.SplitPPTX(PPTX_Clone.java:21)
at PPTXintoslides.PPTX_Clone.main(PPTX_Clone.java:106)
java.lang.SecurityException: class “com.aspose.slides.PptReadException”'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:806)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
The try block are
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at PPTXintoslides.PPTX_Clone.MergePPTX(PPTX_Clone.java:58)
at PPTXintoslides.PPTX_Clone.main(PPTX_Clone.java:109)
java.lang.SecurityException: class “com.aspose.slides.PptReadException”'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:806)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at PPTXintoslides.PPTX_Clone.SplitPPTX(PPTX_Clone.java:21)
at PPTXintoslides.PPTX_Clone.main(PPTX_Clone.java:113)
java.lang.SecurityException: class “com.aspose.slides.PptReadException”'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:806)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at PPTXintoslides.PPTX_Clone.MergePPTX(PPTX_Clone.java:58)
at PPTXintoslides.PPTX_Clone.main(PPTX_Clone.java:116)
BUILD SUCCESSFUL (total time: 4 seconds)


Regards

Hi Naidu,

I have observed your requirement and issue shared. For presentation issues, I suggest you to please first try merging or splitting the presentations independently and see if every thing goes well. There may probably be the issue Aspose.Slides while loading your presentations. Secondly, I have shared the sample code in my previous post with you that is generalized approach for concept building. You can easily develop concept from code and tailor that to meet your custom requirements and serve the purpose.

If there is still issue then please share the presentation decks for merging and splitting separately and I will try my best to guide you further in this regard.

Many Thanks,

Hi Mudassir ,


Please find the attached file and let me know !
need individual classes
for splitting and merging
juss use main method










Hi Naidu,

Please try using the attached sample code for your kind reference to serve the purpose. I hope the shared sample will serve the purpose for your. You may please carryout the alteration on your end to meet the requirements.

Many Thanks,

Hi ,


I have download and checked that code in my environment and its not working in my environment.


1) IS it working on your end ? Please do like take two 1 pptx file and split the pptx file into individual as a pptx file

2) Take 4 or 5 pptx files and do merging for that and make it as a final merged out put file with extension of .pptx file

3) After that can you provide the entire application with jar files in my end some jar is missing i think so

Please do need full

Kind & Regards

Hi Naidu,

I have worked over your requirements and have generated the two sample NetBeans projects for splitting presentations and merging presentations. I have also shared the Aspose.Slides for Java 8.5.0 jar file as well for your reference. Please note that the sample applications shared take two input arguments when you execute the application.

In SplitPresentations application, you need to pass following two input parameters when loading main program:

  1. The first argument contains the inputdir directory where you can place any number of presentations that you wish to split to individual slides
  2. The second argument contain destdir directory where you will place the splitted presentations

In MergePresentations application, you need to pass following two input parameters when loading main program:

  1. The
    first argument contains the SourceDirectory directory where you can place any
    number of presentations that you wish to merge
  2. The second argument contain mergedOutPut which is the name of merged output presentation along with path.

I hope this information will be helpful. Please share, if I may help you further in this regard.


Many Thanks,