summaryrefslogtreecommitdiff
path: root/public/fpdf_text.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-06-08 15:31:10 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-08 15:31:10 +0000
commit49fa50d7e922746c02f7b70c8436466d7f62696a (patch)
tree6a66f2a89d5f4c18cd5c507b02a79ae97f18c9c7 /public/fpdf_text.h
parenta0608aaa5765da478af969db50a30a84f0cc3813 (diff)
downloadpdfium-49fa50d7e922746c02f7b70c8436466d7f62696a.tar.xz
Use FPDFText_GetBoundedText() to get the visible text in a test.
Add a test PDF with multiple pages, each with a different media box and crop box. Demonstrate how FPDFText_GetText() gets all the text on the page, and how FPDFText_GetBoundedText() with the right bounding boxes gets only the visible text on the page. Also fix a small nit in CPDF_TextPage::GetTextByRect() found while writing this CL. BUG=pdfium:387 Change-Id: I9ce4bb181e2ba5b454ea1341bbccef9ba94c9cd8 Reviewed-on: https://pdfium-review.googlesource.com/34550 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'public/fpdf_text.h')
0 files changed, 0 insertions, 0 deletions