I trying to create “reply” to sticky note annotation using iText, does anyone know how to do that?

Another question: how to modify the date of annotation?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Taking a look at the innards of just such an annotation, I see the following:
The new text annot has an IRT (in regards to?) key in its dictionary that is an indirect reference to the first text annotation.
The creation date is stored in the “CreationDate” key, the modification date is stored under “M”. The text displayed where you see “Reply 1” is in the “T” key.
All this stuff requires that you directly manipulate the annotation via the methods it inherits from
PdfDictionary,put()in particular.You’ll need to read the PDF Reference a lot, particularly chapter 7 section 3, and chapter 12 section 5.
Good hunting.