[
https://issues.apache.org/jira/browse/PDFBOX-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822530#comment-16822530
]
Tilman Hausherr commented on PDFBOX-4515:
-----------------------------------------
Re /RD, see my comment from 3 days ago, or read in the PDF specification:
{quote}
A set of four numbers describing the numerical differences between two
rectangles: the Rect entry of the annotation and a rectangle contained within
that rectangle. The inner rectangle is where the annotation’s text should be
displayed. Any border styles and/or border effects specified by BS and BE
entries, respectively, shall be applied to the border of the inner rectangle.
The four numbers correspond to the differences in default user space between
the left, top, right, and bottom coordinates of Rect and those of the inner
rectangle, respectively. Each value shall be greater than or equal to 0. The
sum of the top and bottom differences shall be less than the height of Rect,
and the sum of the left and right differences shall be less than the width of
Rect.{quote}
Yes, there may be differences. The specification is not very detailed, there
are still mysteries.
> 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
> Assignee: Tilman Hausherr
> Priority: Major
> Labels: Annotations
> Fix For: 2.0.16, 3.0.0 PDFBox
>
> Attachments: Screen Shot 2019-04-15 at 5.39.31 PM.png,
> annotations-2.0-with-AP.pdf, annotations-2.0-without-AP.pdf, myPdf.pdf
>
>
> 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]