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

Ulf Dittmer commented on PDFBOX-5030:
-------------------------------------

Here's a paragraph about the API changes for annotations (sorry, can't 
contribute a PR).

## Annotations

The way annotations are added has changed. Instead of, for example, using `new 
PDAnnotationTextMarkup(PDAnnotationTextMarkup.SUB_TYPE_UNDERLINE)`
to underline text, one would now use `new PDAnnotationUnderline()`. Similar for 
PDAnnotationStrikeout, PDAnnotationSquiggly and PDAnnotationHighlight.
Note that the squiggly annotation existed in PDFBox 2.x, but did not actually 
work; it does work in PDFBox 3.x

 

> Create Migration guide for 3.0.0
> --------------------------------
>
>                 Key: PDFBOX-5030
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5030
>             Project: PDFBox
>          Issue Type: Task
>          Components: Documentation
>            Reporter: Maruan Sahyoun
>            Assignee: Maruan Sahyoun
>            Priority: Major
>             Fix For: 3.0.0 PDFBox
>
>
> As to start educating about the migration efforts needed to get to 3.0.0 the 
> should be a migration guide (evolving over time) to prepare for the release



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to