You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/10/11 01:13:35 UTC

[jira] [Commented] (PDFBOX-2337) Add an example for highlighting text based on a string

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

John Hewson commented on PDFBOX-2337:
-------------------------------------

I see that demand for this feature goes all the way back to PDFBOX-21.

> Add an example for highlighting text based on a string 
> -------------------------------------------------------
>
>                 Key: PDFBOX-2337
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2337
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: Utilities
>    Affects Versions: 1.8.7, 2.0.0
>            Reporter: Joël Kuiper
>             Fix For: 1.8.7
>
>
> An often heard request is to be able to highlight a certain text within a PDF programmatically, similar to the highlight functionality in Acrobat or Preview.app.
> The actual implementation of this functionality is trickier than it appears, since it requires the calculation of bouding boxes from TextPositions. 
> A example class may help people with implementing this (common) functionality. 
> (see for example this discussion https://mail-archives.apache.org/mod_mbox/pdfbox-users/201409.mbox/%3CC8340BB9-E299-4A76-A50B-6155504A0D5B%40joelkuiper.eu%3E) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)