[
https://issues.apache.org/jira/browse/PDFBOX-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16819355#comment-16819355
]
Kaushlendra Singh commented on PDFBOX-4515:
-------------------------------------------
Hi [~tilman],
The only COS objects which I am getting are these:
COSName{Type}
COSName{Annot}
COSName{Subtype}
COSName{FreeText}
COSName{NM}
COSString{annotation_element_669ceb61-13b7-2b4a-9b53-34d73f47e81e}
COSName{Contents}
COSString{test abc}
COSName{T}
COSString{E7440}
COSName{C}
COSArray{[COSFloat{1.0}, COSFloat{1.0}, COSFloat{1.0}]}
COSName{CreationDate}
COSString{D:20190415155629+05'30'}
COSName{M}
COSString{D:20190415155629+05'30'}
COSName{IT}
COSName{FreeTextCallout}
COSName{Rect}
COSArray{[COSFloat{138.537}, COSFloat{591.771}, COSFloat{261.072},
COSFloat{650.134}]}
COSBase b = annotation.getCOSObject().getDictionaryObject(COSName.CL);
The above line is returning me null value for the particular annotation.
> Support for Add Text Callout Annotation tool.
> ---------------------------------------------
>
> Key: PDFBOX-4515
> URL: https://issues.apache.org/jira/browse/PDFBOX-4515
> Project: PDFBox
> Issue Type: Wish
> Components: PDModel
> Affects Versions: 2.0.15
> Reporter: Kaushlendra Singh
> Priority: Major
> Labels: Annotations
> Attachments: Screen Shot 2019-04-15 at 5.39.31 PM.png
>
>
> I am trying to extract information related to "Add Text Callout" annotation
> tool from pdf. I get to know from initial research that it's a "FreeText"
> type annotation and it's intent is "FreeTextCallout". But I am unable to
> figure out like how can I get the rectangle info for both the box and arrow
> attached to it. I am able to get the bounding box which encloses both the
> markups. I don't know it's already implemented or not.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]