Comparing version 0.4.6 to 0.4.7
@@ -118,6 +118,7 @@ var nodeUtil = require("util"), | ||
var attributeMask = 0; | ||
//PDF Spec p.676 TABLE 8.70 Field flags common to all field types | ||
if (field.flags & 0x00000001) { | ||
attributeMask |= kFBANotOverridable; | ||
} | ||
else if (field.flags & 0x00000010) { | ||
if (field.flags & 0x00000002) { | ||
attributeMask |= kFBARequired; | ||
@@ -124,0 +125,0 @@ } |
{ | ||
"name": "pdf2json", | ||
"_id": "pdf2json@0.4.6", | ||
"version": "0.4.6", | ||
"_id": "pdf2json@0.4.7", | ||
"version": "0.4.7", | ||
"description": "A PDF file parser that converts PDF binaries to text based JSON, powered by porting a fork of PDF.JS to Node.js", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -378,3 +378,3 @@ Introduction | ||
v0.2.2 added support for "field attribute mask", it'd be common for all fields, form author can set it in Acrobat Pro's Form Editing mode: if a field is ReadOnly, it's AM field will be set as 0x00000400, otherwise AM will be set as 0. | ||
Anpther supported field attributes is "required": when form author mark a field is "required" in Acrobat, the parsing result for 'AM" will have the 1st bit set (0x00000010). | ||
Another supported field attributes is "required": when form author mark a field is "required" in Acrobat, the parsing result for 'AM' will be set as 0x00000010. | ||
@@ -381,0 +381,0 @@ "Read-Only" filed attribute mask example: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3261457
35847