pdf.js可以读取文档限制值吗?

时间:2019-02-27 22:29:39

标签: pdf pdf.js

我正在使用pdf.js对PDF进行资格预审,然后再将其上传到服务并进行处理。我从不渲染任何东西-我确认它是真实的PDF并获得页数-但是Adobe具有在Acrobat中可见的这些安全限制-并且我需要取消具有某些限制的文档的资格。

Document Restriction Summary

Printing: Allowed
Changing the Document: Not Allowed
Document Assembly: Not Allowed
Content Copying: Allowed
Content Copying for Accessibility: Allowed
Page Extraction: Allowed
Commenting: Allowed
Filling of form fields: Allowed
Signing: Allowed
Creation of Template Pages: Not Allowed

是否可以使用pdf.js访问值?

该文档未加密/受密码保护。 我在元数据或信息中看不到数据

编辑: 经过更多阅读后,我猜这是与XFA相关的问题。 我的问题仍然存在-如何在浏览器中读取这些值? (如果有人可以建议使用其他的lib,我会使用pdf.js以外的东西)

信息:

CreationDate: "D:20190202144005-06'00'"
Creator: "Adobe LiveCycle Designer ES 8.1"
IsAcroFormPresent: true
IsXFAPresent: true
ModDate: "D:20190202154053-05'00'"
PDFFormatVersion: "1.6"
Producer: "Adobe XML Form Module Library"

元数据:

dc:format: "application/pdf"
desc:embeddedhref: "C:\Users\Images\DEL_RGB.jpg↵            /template/subform[1]/pageSet[1]/pageArea[1]/field[3]"
desc:schema_annotation: "Character 100↵            /template/subform[1]/pageSet[1]/pageArea[1]/field[1]"
pdf:producer: "Adobe XML Form Module Library"
xmp:createdate: "2019-02-02T14:40:05-06:00"
xmp:creatortool: "Adobe LiveCycle Designer ES 8.1"
xmp:metadatadate: "2019-02-02T15:40:53-05:00"
xmp:modifydate: "2019-02-02T15:40:53-05:00"
xmpmm:documentid: "uuid:f7751c74-cba8-444c-827c-ba9def77785a"
xmpmm:instanceid: "uuid:5777a213-4869-4567-bf2d-96d34e0b96ed"

0 个答案:

没有答案