Hi
I’m having this error when converting .doc to .pdf:
"java.lang.ClassCastException: com.aspose.words.akt"
The code is the following:
com.aspose.words.Document doc = new com.aspose.words.Document(inStream);
doc.unprotect();
PdfSaveOptions options = new PdfSaveOptions();
options.setSaveFormat(SaveFormat.PDF);
options.setPrettyFormat(true);
doc.save(outFolder+newName, options);
Any help? I’m having this problem in 1 of 5 cases, so it’s very annoying because we can’t rely on the program to do thre right conversioin.
Hi Cristina,