mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Fallback when AcroForm is present
This commit is contained in:
parent
1a78fa1b61
commit
9c044e2c31
2 changed files with 7 additions and 5 deletions
|
@ -535,7 +535,8 @@ var PDFDocument = (function PDFDocumentClosure() {
|
|||
},
|
||||
getDocumentInfo: function PDFDocument_getDocumentInfo() {
|
||||
var docInfo = {
|
||||
PDFFormatVersion: this.pdfFormatVersion
|
||||
PDFFormatVersion: this.pdfFormatVersion,
|
||||
IsAcroFormPresent: !!this.acroForm
|
||||
};
|
||||
if (this.xref.trailer.has('Info')) {
|
||||
var infoDict = this.xref.trailer.get('Info');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue