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

znerol commented on PDFBOX-1521:
--------------------------------

Thanks for the report. Indeed, I missed the second call to writeLine. New patch 
is attached.

BTW: The new patch also solves a misterious issue in my own application :)
                
> 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, 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

Reply via email to