[ https://issues.apache.org/jira/browse/PDFBOX-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Hewson updated PDFBOX-2337: -------------------------------- Affects Version/s: 2.0.0 1.8.7 > 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)