pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4515) Support for Add Text Callout Annotation tool.
Date Thu, 18 Apr 2019 03:56:00 GMT

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

Tilman Hausherr commented on PDFBOX-4515:
-----------------------------------------

RC = rich text string, not supported by PDFBox (but by Adobe) that shall be used to generate
the appearance of the annotation

DA = default appearance string. But if the /AP already exists, that one counts.

DS = default style string

I remember that I had trouble too when working on freetext annotations appearance handling
last year, see lets see my own comments and code there… the /C color is the fill color.
The last non stroking color in /DA is the stroking color (for border) and as non stroking
color (for text). But I didn't work with rich texts so I don't know that one.

If you change characteristics of existing annotations when I recommend you remove the appearance.
Ideally you recreate it yourself. If  you can't Adobe will do it for you. Other viewers (e.g.
PDFBox 2.0.* and PDF.js won't).

> 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, 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message