[ 
https://issues.apache.org/jira/browse/PDFBOX-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16790710#comment-16790710
 ] 

Kaushlendra Singh commented on PDFBOX-4199:
-------------------------------------------

Hi [~chitgoks],
I am unable to attach the updated code. But if you can look into the existed 
copy of my code, you are supposed to change only line 46 of code.
Change this *caretAnnotation.setInReplyTo(noteToReplaceText)* to 
*noteToReplaceText.setInReplyTo(caretAnnotation)*

And yes this kind of annotation requires addition of two annotations in pdf.

> Unable to create "Note to Replace Text" annotation into pdf.
> ------------------------------------------------------------
>
>                 Key: PDFBOX-4199
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4199
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>            Reporter: Kaushlendra Singh
>            Priority: Major
>              Labels: Annotations
>         Attachments: NoteToReplaceText.java, Note_to_Replace_Text.PNG, 
> myPdf.pdf
>
>
> Correct annotation type doesn't appear while creating "Note to Replace Text" 
> annotation into pdf document. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to