Hi there,
Hi Yanyan,
Thanks for you reply. Is there any update on this issue?
Hi Yanyan,
Hi there,
Hi Yanyan,
Hi Yanyan,
Document document = new Document(myDir + “documentOriginal.pdf”);<o:p></o:p>
TextAnnotation text2 = new TextAnnotation(document.getPages().get_Item(1), new Rectangle(200, 500, 220, 550));
text2.setName ("Text annot with manual popup");
text2.setTitle ("This title not in popup");
text2.setContents ("Description: Text annot with manual popup annotation");
text2.setIcon (TextIcon.Comment);
text2.setColor (Color.getBlue());
text2.setModified (new Date(2000, 11, 22));
document.getPages().get_Item(1).getAnnotations().add(text2);
PopupAnnotation popup2 = new PopupAnnotation(document.getPages().get_Item(1), new Rectangle(100, 400, 400, 500));
popup2.setName ("Manual popup");
popup2.setContents ("Description: Manual popup annotation");
popup2.setModified (new Date(2010, 10, 30));
popup2.setColor (Color.getGreen());
text2.setPopup (popup2);
document.getPages().get_Item(1).getAnnotations().add(popup2);
document.save();
Hi Nayyer,
Hi Yanyan,
Document doc = new Document(myDir+“PdfFormTest -
Copy.pdf”);<o:p></o:p>
TextBoxField textBoxField = (com.aspose.pdf.TextBoxField)doc.getForm().get("SingleLineTextField");
textBoxField.setValue("Some Org Name");
doc.save();
Hi Tilal,
yzhang89:I tried with a later aspose pdf library and the incremental save() works fine now. It seems that a fix has been made since my initial post, and the problem has now been resolved. Thanks for your help!Thanks for your feedback. It is good to know that you have managed to preserve extended rights while working PDF Forms.yzhang89:Edit: it seems currently this is only working with forms and annotations? Is there any way to make it also work for adding pages?We have logged an enhancement ticket PDFNEWJAVA-35509 in our issue tracking system for the purpose and will keep you updated about the issue resolution progress.Best Regards,
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan