Comments do not show in the PDF document

Hi Support,

With Aspose.Words Java library, I can add comments to one paragraph for Word document, but when I save the document to PDF format, the comments do not show up in PDF output. Please confirm it is a defect?

Thanks.

Please reference the code of creating comment:

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.write("This paragraph will have a comment.");
Run runObject = new Run(doc);
Comment comment = new Comment(doc);
comment.setAuthor("");
comment.setInitial("");
comment.getParagraphs().add(new Paragraph(doc));
runObject.setText("This is very good");
comment.getFirstParagraph().getRuns().add(runObject);
builder.getCurrentParagraph().appendChild(comment);
builder.writeln();
builder.getDocument().save("c:\test.doc");
builder.getDocument().save("c:\test.pdf");

Hello

Thanks for your request. Unfortunately, currently there is no way to render comments using Aspose.Words. In one of future versions of Aspose.Words we will consider adding an ability to show revisions and comments in the rendered documents (PDF, XPS, SWF, Image). Your request has been linked to the appropriate issue. We will let you know once this feature is available.

Best regards,

The issues you have found earlier (filed as WORDSNET-2121) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(46)