Hi Team,
I am using Aspose Slides java to convert a PPT to PDF.
I am using below code to get all the Notes & Comments from PPT to PDF conversion.
INotesCommentsLayoutingOptions notesAndCommentsOptions = pdfOptions.getNotesCommentsLayouting();
notesAndCommentsOptions.setNotesPosition(NotesPositions.BottomFull);
notesAndCommentsOptions.setCommentsPosition(CommentsPositions.Right);
If i am using comments only or Notes only the program works good.
However, when I use both Notes & Comments then getting below error.
Exception in thread “main” class com.aspose.slides.exceptions.Exception: Comment by nonexistent author. AuthorId = 77ccc0b8-3355-3dd6-e6c4-bb9573bc21c5.
com.aspose.slides.ab3.do(Unknown Source)
com.aspose.slides.aoe.for(Unknown Source)
com.aspose.slides.aoe.do(Unknown Source)
com.aspose.slides.ain.do(Unknown Source)
com.aspose.slides.SlideCollection.addClone(Unknown Source)
com.aspose.slides.SlideCollection.insertClone(Unknown Source)
com.aspose.slides.nu.do(Unknown Source)
com.aspose.slides.nu.case(Unknown Source)
com.aspose.slides.nu.do(Unknown Source)
com.aspose.slides.ais.if(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.save(Unknown Source)
com.test.AsposePDFAnnotations.convertPPTToPDF(AsposePDFAnnotations.java:146)
com.test.AsposePDFAnnotations.main(AsposePDFAnnotations.java:37)
at com.aspose.slides.ab3.do(Unknown Source)
at com.aspose.slides.aoe.for(Unknown Source)
at com.aspose.slides.aoe.do(Unknown Source)
at com.aspose.slides.ain.do(Unknown Source)
at com.aspose.slides.SlideCollection.addClone(Unknown Source)
at com.aspose.slides.SlideCollection.insertClone(Unknown Source)
at com.aspose.slides.nu.do(Unknown Source)
at com.aspose.slides.nu.case(Unknown Source)
at com.aspose.slides.nu.do(Unknown Source)
at com.aspose.slides.ais.if(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.save(Unknown Source)
at com.test.AsposePDFAnnotations.convertPPTToPDF(AsposePDFAnnotations.java:146)
at com.test.AsposePDFAnnotations.main(AsposePDFAnnotations.java:37)
Not sure what is wrong in converting pptx to pdf with Notes and Comments.
Please help
Thanks