You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2025/02/07 12:15:00 UTC
[jira] [Updated] (PDFBOX-1521) Text extraction: Introduce PDFTextstripper.handleLine exposing all text positions to a subclass when a line of text is written
[ https://issues.apache.org/jira/browse/PDFBOX-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated PDFBOX-1521:
------------------------------------
Attachment: (was: pdfbox-handleLine.patch)
> Text extraction: Introduce PDFTextstripper.handleLine exposing all text positions to a subclass when a line of text is written
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-1521
> URL: https://issues.apache.org/jira/browse/PDFBOX-1521
> Project: PDFBox
> Issue Type: Improvement
> Components: Text extraction
> Affects Versions: 1.8.0
> Reporter: znerol
> Priority: Minor
> Attachments: pdfbox-handleLine-2.patch
>
>
> In a subclass of PDFTextStripper I like to record the location and dimension of each extracted line of text. By simply extracting the call to writeLine from writePage into a protected method handleLine (in the spirit of handleLineSeparation) this information gets exposed to subclasses.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org