mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +02:00
Render interactive form (AcroForm) text widget annotations
This patch is the first step towards implementing support for interactive forms (AcroForms). It makes it possible to render text widget annotations exactly like Adobe Reader/Acrobat. Everything we implement for AcroForms is disabled by default using a preference, mainly because it is not ready to use yet, but has to implemented in many steps to avoid complexity. The preference allows us to work with the code while not exposing the behavior by default. Mainly storing entered values and printing them is still absent, which would be minimal requirements for enabling this by default.
This commit is contained in:
parent
8dbb5a7c4a
commit
e686db250c
7 changed files with 64 additions and 13 deletions
|
@ -78,7 +78,8 @@ var AnnotationLayerBuilder = (function AnnotationLayerBuilderClosure() {
|
|||
annotations: annotations,
|
||||
page: self.pdfPage,
|
||||
linkService: self.linkService,
|
||||
downloadManager: self.downloadManager
|
||||
downloadManager: self.downloadManager,
|
||||
renderInteractiveForms: pdfjsLib.PDFJS.renderInteractiveForms,
|
||||
};
|
||||
|
||||
if (self.div) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue