Skip to content

New text extraction method using a bounding box.#1508

Open
ConvoluteHumanBot wants to merge 3 commits intoLibrePDF:masterfrom
ConvoluteHumanBot:master
Open

New text extraction method using a bounding box.#1508
ConvoluteHumanBot wants to merge 3 commits intoLibrePDF:masterfrom
ConvoluteHumanBot:master

Conversation

@ConvoluteHumanBot
Copy link

Added a new coordinates-based text extraction method under PdfContentTextLocator.java to extract strings that intersect the given bounding box.

Changed return type to generic java.util.List, minor code cleanup.

Unit-Tests for the new Feature

Added two unit tests under PdfTextExtractorTest.java

Alessandro Ragusi

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 3, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant