mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Extract all the text of text annotations
This commit is contained in:
parent
8d5da54cd5
commit
35a58ed987
3 changed files with 16 additions and 1 deletions
|
@ -614,7 +614,12 @@ class Page {
|
|||
|
||||
textContentPromises.push(
|
||||
annotation
|
||||
.extractTextContent(partialEvaluator, task, this.view)
|
||||
.extractTextContent(partialEvaluator, task, [
|
||||
-Infinity,
|
||||
-Infinity,
|
||||
Infinity,
|
||||
Infinity,
|
||||
])
|
||||
.catch(function (reason) {
|
||||
warn(
|
||||
`getAnnotationsData - ignoring textContent during "${task.name}" task: "${reason}".`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue