[
https://issues.apache.org/jira/browse/PDFBOX-3444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15402437#comment-15402437
]
Giacomo Boccardo commented on PDFBOX-3444:
------------------------------------------
I did that as a workaround.
I consider it a workaround because I had to keep track of the current page
rotation, while I could have had that information from the text processed using
a simple getter :)
> TextPosition PDF lower left coordinates
> ---------------------------------------
>
> Key: PDFBOX-3444
> URL: https://issues.apache.org/jira/browse/PDFBOX-3444
> Project: PDFBox
> Issue Type: Improvement
> Components: Text extraction
> Affects Versions: 2.0.2
> Reporter: Giacomo Boccardo
>
> It seems difficult to extract text coordinates extending PDFTextStripper if I
> want the coordinates of the extracted text to be the lower left, relative to
> the origin located in the lower left point of the page.
> Obviously, the rotation of the page should be considered.
> I could probably do it by myself if TextPosition's "rotation" field had a
> getter.
> Any suggestion?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]