mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Reverts 729b82, d5f65f and 724add
This commit is contained in:
parent
74c3508bcd
commit
6ce1cfe734
4 changed files with 0 additions and 42 deletions
|
@ -538,11 +538,8 @@ var PDFDocument = (function PDFDocumentClosure() {
|
|||
return shadow(this, 'numPages', num);
|
||||
},
|
||||
getDocumentInfo: function PDFDocument_getDocumentInfo() {
|
||||
var encrypt = this.xref.encrypt;
|
||||
var docInfo = {
|
||||
PDFFormatVersion: this.pdfFormatVersion,
|
||||
IsTextCopyDisabled: encrypt ? encrypt.disableTextCopy : false,
|
||||
IsPrintDisabled: encrypt ? encrypt.disablePrint : false,
|
||||
IsAcroFormPresent: !!this.acroForm
|
||||
};
|
||||
if (this.xref.trailer.has('Info')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue