mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Add an annotation storage in order to save annotation data in acroforms
This commit is contained in:
parent
d69fb446bf
commit
584902dbf8
13 changed files with 152 additions and 7 deletions
|
@ -53,6 +53,7 @@ function composePage(pdfDocument, pageNumber, size, printContainer) {
|
|||
transform: [PRINT_UNITS, 0, 0, PRINT_UNITS, 0, 0],
|
||||
viewport: pdfPage.getViewport({ scale: 1, rotation: size.rotation }),
|
||||
intent: "print",
|
||||
annotationStorage: pdfDocument.annotationStorage.getAll(),
|
||||
};
|
||||
return pdfPage.render(renderContext).promise;
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue