You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Dustin Spicuzza (JIRA)" <ji...@apache.org> on 2013/04/18 01:35:16 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13634608#comment-13634608 ]
Dustin Spicuzza commented on PDFBOX-1521:
-----------------------------------------
This is also a feature that I would like as well.
The patch is incomplete in version 1.8.1, as it did not replace the second invocation of writeLine() with a call to handleLine()
> 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.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira