Skip to content

Commit

Permalink
v0.5.6: added 'percent' field format
Browse files Browse the repository at this point in the history
  • Loading branch information
modesty committed Nov 12, 2013
1 parent 8a4f0f7 commit 0ab51a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions lib/pdfanno.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ var PDFAnno = (function PDFAnnoClosure() {
item.MV = maskValue;
}
break;
case 'AFPercent_Format':
item.TName = 'percent'; //funcParam => 2, 0, will specified how many decimal places
break;
}
}

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pdf2json",
"_id": "[email protected].5",
"version": "0.5.5",
"_id": "[email protected].6",
"version": "0.5.6",
"description": "A PDF file parser that converts PDF binaries to text based JSON, powered by porting a fork of PDF.JS to Node.js",
"keywords": [
"pdf",
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ v0.1.8 added text input field formatter types detection for
* date
* zip
* phone
* percent (added v0.5.6)

v0.3.9 added "arbitrary mask" (in "special" format category) support, the input field format type is "mask" and the mask string is added as "MV", its value can be found at Format => Special => Arbitrary Mask in Acrobat;
Some examples of "mask" format including:
Expand Down

0 comments on commit 0ab51a6

Please sign in to comment.