Hi all, i im planning to BUY Aspose Slides to convert some PPT files in PDF format. Looking at your examples i have implemented a simple method that convert PPT to PDF. The code is very simple and is included in file TestAspose.java (the full code is inside TestAspose.zip).
Presentation pres =
new Presentation(new FileInputStream(new File(pathOutput + "\\" + fileName + ".ppt")));
pres.save(pathOutput + "\\" + fileName + ".pdf", SaveFormat.PDF);
The PPT file is producted by a module that use HSSF POI java library. When i read the file i have no problem, but saving the file in PDF format cause the following exception:
Caused by: java.lang.NullPointerException
... 3 more
(also saving the file in PPT format causa a similar exception). If i open the PPT file produced by POI in MS Office powerpoint and i save the file the file is correctly converted by aspose slides(also saving the file in PPT format causa a similar exception). If i open the PPT file produced by POI in MS Office powerpoint and i save the file the file is correctly converted by aspose slides
the software that actually produce the ppt is written in java using last version of POI (3.7) and for us is not simple to replace that code using full aspose classes.
In your experience is there a workaround to the problem or can you help me to solve the problem?