UNPKG

pdf2json

Version:

A PDF file parser that converts PDF binaries to text based JSON, powered by porting a fork of PDF.JS to Node.js

1 lines 12.9 kB
{"formImage":{"Transcoder":"pdf2json@0.6.8","Agency":"","Id":{"AgencyId":"unknown","Name":"unknown","MC":false,"Max":-1,"Parent":-1},"Pages":[{"Height":49.5,"HLines":[{"x":79.243,"y":35.991,"w":0.75,"l":19.74},{"x":79.243,"y":33.747,"w":0.75,"l":19.74},{"x":79.2,"y":34.481,"w":0.75,"l":19.8},{"x":21.088,"y":36.026,"w":0.75,"l":14.834},{"x":6.241,"y":44.974,"w":0.75,"l":92.765},{"x":6.28,"y":41.959,"w":0.75,"l":63.037},{"x":6.258,"y":43.463,"w":0.75,"l":92.742},{"x":6.236,"y":40.46,"w":0.75,"l":63.098},{"x":24.88,"y":39.759,"w":0.75,"l":17.195},{"dsh":1,"x":0,"y":33,"w":0.30000000000000004,"l":105.213},{"x":29.691,"y":5.288,"w":1.5,"l":24.836},{"x":54.527,"y":5.288,"w":1.5,"l":20.969},{"x":29.691,"y":6.413,"w":1.5,"l":24.836},{"x":54.527,"y":6.413,"w":1.5,"l":20.969},{"x":29.691,"y":8.375,"w":1.5,"l":24.836},{"x":54.527,"y":8.375,"w":1.5,"l":20.969},{"x":29.691,"y":10.337,"w":1.5,"l":24.836},{"x":54.527,"y":10.337,"w":1.5,"l":20.969}],"VLines":[{"x":98.983,"y":33.747,"w":0.75,"l":2.244},{"x":79.243,"y":33.747,"w":0.75,"l":2.244},{"x":29.771,"y":35.509,"w":0.75,"l":0.52},{"x":26.076,"y":35.509,"w":0.75,"l":0.52},{"x":30.921,"y":40.477,"w":0.75,"l":2.997},{"x":6.284,"y":40.458,"w":0.75,"l":4.529},{"x":50.745,"y":40.477,"w":0.75,"l":2.997},{"x":50.747,"y":43.476,"w":0.75,"l":1.5},{"x":69.284,"y":40.47,"w":0.75,"l":2.997},{"x":82.894,"y":43.458,"w":0.75,"l":1.5},{"x":77.981,"y":43.458,"w":0.75,"l":1.5},{"x":98.957,"y":43.458,"w":0.75,"l":1.5},{"x":29.777,"y":5.319,"w":1.5,"l":1.063},{"x":54.527,"y":5.319,"w":1.5,"l":1.063},{"x":75.41,"y":5.319,"w":1.5,"l":1.063},{"x":29.777,"y":6.444,"w":1.5,"l":1.9},{"x":54.527,"y":6.444,"w":1.5,"l":1.9},{"x":75.41,"y":6.444,"w":1.5,"l":1.9},{"x":29.777,"y":8.406,"w":1.5,"l":1.9},{"x":54.527,"y":8.406,"w":1.5,"l":1.9},{"x":75.41,"y":8.406,"w":1.5,"l":1.9}],"Fills":[{"x":0,"y":0,"w":0,"h":0,"clr":1},{"oc":"#c6eafb","x":74.452,"y":40.484,"w":24.513,"h":1.512,"clr":-1},{"x":82.844,"y":40.734,"w":2.123,"h":1.034,"clr":1},{"x":85.559,"y":40.734,"w":2.123,"h":1.034,"clr":1},{"x":77.722,"y":40.734,"w":2.123,"h":1.034,"clr":1},{"x":80.283,"y":40.734,"w":2.123,"h":1.034,"clr":1},{"x":88.12,"y":40.734,"w":2.123,"h":1.034,"clr":1},{"x":90.681,"y":40.734,"w":2.123,"h":1.034,"clr":1},{"x":75.015,"y":40.734,"w":2.123,"h":1.034,"clr":1},{"oc":"#c6eafb","x":76.149,"y":41.4,"w":2.509,"h":0.4,"clr":-1},{"oc":"#c6eafb","x":83.97,"y":41.4,"w":2.509,"h":0.4,"clr":-1},{"x":93.715,"y":40.734,"w":2.123,"h":1.034,"clr":1},{"x":96.276,"y":40.734,"w":2.123,"h":1.034,"clr":1}],"Texts":[{"x":5.938,"y":34.011,"w":11.469000000000005,"clr":0,"A":"left","R":[{"T":"150-101-172%20(Rev.%2012-13)","S":-1,"TS":[0,8.8086,0,0]}]},{"x":19.841,"y":3.694,"w":19.185000000000006,"clr":0,"A":"left","R":[{"T":"Oregon%20Income%20Tax%20Payment%20Voucher%2C%20Form%2040-V","S":-1,"TS":[0,22,1,0]}]},{"x":5.938,"y":33.522,"w":21.537999999999997,"clr":0,"A":"left","R":[{"T":"OREGON%20INCOME%20TAX%20PAYMENT%20VOUCHER","S":-1,"TS":[0,13.6491,0,0]}]},{"x":79.834,"y":33.537,"w":14.967000000000004,"clr":0,"A":"left","R":[{"T":"Department%20of%20Revenue%20Use%20Only","S":2,"TS":[0,10,0,0]}]},{"x":78.4,"y":34.715,"w":0.5,"clr":0,"A":"left","R":[{"T":"%E2%80%A2","S":-1,"TS":[0,17,0,0]}]},{"x":70.088,"y":33.312,"w":2.89,"clr":0,"A":"left","R":[{"T":"FORM","S":2,"TS":[0,10,0,0]}]},{"x":67.764,"y":34.587,"w":2.149,"clr":0,"A":"left","R":[{"T":"40-V","S":-1,"TS":[0,25,0,0]}]},{"x":79.291,"y":39.5,"w":11.037000000000003,"clr":0,"A":"left","R":[{"T":"Enter%20Payment%20Amount","S":-1,"TS":[0,10.5,0,0]}]},{"x":72.195,"y":40.795,"w":0.556,"clr":0,"A":"left","R":[{"T":"%24","S":-1,"TS":[0,19,0,0]}]},{"x":92.666,"y":40.953,"w":0.278,"clr":0,"A":"left","R":[{"T":".","S":-1,"TS":[0,17,0,0]}]},{"x":93.869,"y":40.757,"w":0.556,"clr":0,"A":"left","R":[{"T":"0","S":-1,"TS":[0,15,0,0]}]},{"x":96.344,"y":40.757,"w":0.556,"clr":0,"A":"left","R":[{"T":"0","S":-1,"TS":[0,15,0,0]}]},{"x":39.085,"y":36.04,"w":0.5,"clr":0,"A":"left","R":[{"T":"%E2%80%A2","S":-1,"TS":[0,17,0,0]}]},{"x":5.869,"y":35.259,"w":8.868,"clr":0,"A":"left","R":[{"T":"Fiscal%20Year%20Ending","S":3,"TS":[0,12,0,0]}]},{"x":40.485,"y":35.964,"w":7.056000000000001,"clr":0,"A":"left","R":[{"T":"Payment%20Type%20","S":3,"TS":[0,12,0,0]}]},{"x":51.257,"y":35.964,"w":7.557000000000002,"clr":0,"A":"left","R":[{"T":"(check%20only%20one)%3A","S":3,"TS":[0,12,0,0]}]},{"x":42.452,"y":36.699,"w":2.5020000000000002,"clr":0,"A":"left","R":[{"T":"2013%20","S":-1,"TS":[0,13,0,0]}]},{"x":46.753,"y":36.699,"w":3.2600000000000002,"clr":0,"A":"left","R":[{"T":"Return%20","S":-1,"TS":[0,13,0,0]}]},{"x":53.515,"y":36.694,"w":9.335000000000003,"clr":0,"A":"left","R":[{"T":"Amended--Tax%20Year%3A","S":3,"TS":[0,12,0,0]}]},{"x":6.287,"y":40.122,"w":4.669,"clr":0,"A":"left","R":[{"T":"Last%20name","S":2,"TS":[0,10,0,0]}]},{"x":31.016,"y":40.122,"w":9.243000000000002,"clr":0,"A":"left","R":[{"T":"First%20name%20and%20initial","S":2,"TS":[0,10,0,0]}]},{"x":6.287,"y":41.623,"w":19.079,"clr":0,"A":"left","R":[{"T":"Spouse%E2%80%99s%2FRDP%E2%80%99s%20last%20name%20if%20joint%20payment","S":2,"TS":[0,10,0,0]}]},{"x":30.844,"y":41.623,"w":16.094999999999995,"clr":0,"A":"left","R":[{"T":"Spouse%E2%80%99s%2FRDP%E2%80%99s%20first%20name%20and%20initial%20","S":2,"TS":[0,10,0,0]}]},{"x":6.287,"y":43.13,"w":10.687000000000001,"clr":0,"A":"left","R":[{"T":"Current%20mailing%20address","S":2,"TS":[0,10,0,0]}]},{"x":50.87,"y":43.13,"w":1.759,"clr":0,"A":"left","R":[{"T":"City","S":2,"TS":[0,10,0,0]}]},{"x":50.87,"y":40.122,"w":2.018,"clr":0,"A":"left","R":[{"T":"SSN","S":2,"TS":[0,10,0,0]}]},{"x":50.647,"y":41.6,"w":16.062,"clr":0,"A":"left","R":[{"T":"Spouse%E2%80%99s%2FRDP%E2%80%99s%20SSN%20if%20joint%20payment","S":-1,"TS":[0,9.5,0,0]}]},{"x":78.128,"y":43.13,"w":2.352,"clr":0,"A":"left","R":[{"T":"State","S":2,"TS":[0,10,0,0]}]},{"x":82.972,"y":43.13,"w":4.037,"clr":0,"A":"left","R":[{"T":"ZIP%20code","S":2,"TS":[0,10,0,0]}]},{"x":14.17,"y":36.66,"w":9.649,"clr":0,"A":"left","R":[{"T":"First%20time%20Oregon%20filer","S":-1,"TS":[0,11.5,0,0]}]},{"x":14.17,"y":37.408,"w":9.834,"clr":0,"A":"left","R":[{"T":"New%20name%20or%20address","S":-1,"TS":[0,11.5,0,0]}]},{"x":5.869,"y":38.929,"w":12.357000000000003,"clr":0,"A":"left","R":[{"T":"Daytime%20telephone%20number%3A","S":-1,"TS":[0,11.5,0,0]}]},{"x":5.869,"y":36.66,"w":3.945,"clr":0,"A":"left","R":[{"T":"Check%20if%3A","S":-1,"TS":[0,11.5,0,0]}]},{"x":7.422,"y":31.997,"w":5.593,"clr":0,"A":"left","R":[{"T":"Detach%20Here","S":2,"TS":[0,10,0,0]}]},{"x":5.939,"y":31.561999999999998,"w":0.917,"clr":0,"A":"left","R":[{"T":"%E2%9E%A4","S":49,"TS":[3,12,0,0],"RA":90}]},{"x":90.295,"y":31.997,"w":5.593,"clr":0,"A":"left","R":[{"T":"Detach%20Here","S":2,"TS":[0,10,0,0]}]},{"x":97.655,"y":31.561999999999998,"w":0.917,"clr":0,"A":"left","R":[{"T":"%E2%9E%A4","S":49,"TS":[3,12,0,0],"RA":90}]},{"x":42.793,"y":2.344,"w":6.396999999999999,"clr":0,"A":"left","R":[{"T":"Where%20to%20mail%20","S":-1,"TS":[0,22,1,0]}]},{"x":30.215,"y":5.35,"w":9.474,"clr":0,"A":"left","R":[{"T":"If%20you%20filed%20your%20return%3A","S":-1,"TS":[0,15,0,0]}]},{"x":54.998,"y":5.35,"w":3.0549999999999997,"clr":0,"A":"left","R":[{"T":"Mail%20to%3A","S":-1,"TS":[0,15,0,0]}]},{"x":30.215,"y":6.475,"w":3.9040000000000004,"clr":0,"A":"left","R":[{"T":"On%20paper","S":-1,"TS":[0,15,0,0]}]},{"x":54.965,"y":6.475,"w":5.976,"clr":0,"A":"left","R":[{"T":"PO%20Box%2014555%20","S":-1,"TS":[0,15,0,0]}]},{"x":54.965,"y":7.375,"w":9.121,"clr":0,"A":"left","R":[{"T":"Salem%20OR%2097309-0940","S":-1,"TS":[0,15,0,0]}]},{"x":30.215,"y":8.438,"w":9.31,"clr":0,"A":"left","R":[{"T":"With%20a%202-D%20barcode%20or%20","S":-1,"TS":[0,15,0,0]}]},{"x":30.215,"y":9.338,"w":5.555,"clr":0,"A":"left","R":[{"T":"electronically","S":-1,"TS":[0,15,0,0]}]},{"x":54.965,"y":8.438,"w":5.764,"clr":0,"A":"left","R":[{"T":"PO%20Box%2014720","S":-1,"TS":[0,15,0,0]}]},{"x":54.965,"y":9.338,"w":9.121,"clr":0,"A":"left","R":[{"T":"Salem%20OR%2097309-0463","S":-1,"TS":[0,15,0,0]}]},{"x":21.932,"y":13.269,"w":29.62099999999999,"clr":0,"A":"left","R":[{"T":"Don%E2%80%99t%20use%20Form%2040-V%20if%20you%20are%20using%20an%20electronic%20payment%20option.","S":-1,"TS":[0,16,1,0]}]},{"x":24.931,"y":14.544,"w":26.697000000000006,"clr":0,"A":"left","R":[{"T":"Use%20the%20voucher%20only%20if%20you%20are%20paying%20by%20check%20or%20money%20order.","S":-1,"TS":[0,15,0,0]}]},{"x":30.782,"y":18.444,"w":21.044999999999998,"clr":0,"A":"left","R":[{"T":"Complete%20the%20form%20below%20using%20your%20computer.","S":-1,"TS":[0,16,1,0]}]},{"x":27.445,"y":19.907,"w":24.416,"clr":0,"A":"left","R":[{"T":"After%20you%20have%20printed%20it%2C%20cut%20along%20the%20dotted%20line%20and%20","S":-1,"TS":[0,16,1,0]}]},{"x":22.091,"y":20.807,"w":29.411000000000005,"clr":0,"A":"left","R":[{"T":"mail%20to%20the%20Department%20of%20Revenue%20at%20the%20addresses%20shown%20above.","S":-1,"TS":[0,16,1,0]}]},{"x":49.856,"y":24.707,"w":2.4219999999999997,"clr":0,"A":"left","R":[{"T":"Note%3A","S":-1,"TS":[0,16,1,0]}]},{"x":24.675,"y":25.982,"w":27.333000000000006,"clr":0,"A":"left","R":[{"T":"If%2C%20when%20typing%2C%20you%20see%20a%20solid%20box%20instead%20of%20letters%20or%20numbers%2C%20%20","S":-1,"TS":[0,15,0,0]}]},{"x":18.692,"y":26.882,"w":33.11300000000002,"clr":0,"A":"left","R":[{"T":"adjust%20the%20view%20size%20to%20100%20percent.%20If%20the%20letters%20or%20numbers%20still%20are%20not%20visible%2C%20%20","S":-1,"TS":[0,15,0,0]}]},{"x":44.929,"y":27.782,"w":7.242000000000001,"clr":0,"A":"left","R":[{"T":"press%20the%20tab%20key.","S":-1,"TS":[0,15,0,0]}]},{"x":67.426,"y":36.641,"w":42.68399999999998,"clr":0,"A":"left","R":[{"T":"(Not%20Supported)","S":51,"TS":[0,9,0,0]}]},{"x":80.563,"y":36.694,"w":6.628,"clr":0,"A":"left","R":[{"T":"Prior%20Tax%20Year%3A","S":3,"TS":[0,12,0,0]}]},{"x":90.457,"y":36.641,"w":42.68399999999998,"clr":0,"A":"left","R":[{"T":"(Not%20Supported)","S":51,"TS":[0,9,0,0]}]}],"Fields":[{"style":48,"T":{"Name":"date","TypeInfo":{}},"id":{"Id":"TYEND","EN":0},"TI":790,"AM":1024,"x":19.983,"y":35.424,"w":16.001,"h":0.833,"MV":"mm/dd/yyyy"},{"style":48,"T":{"Name":"phone","TypeInfo":{}},"id":{"Id":"PHONE","EN":0},"TI":794,"AM":1024,"x":24.874,"y":39.12,"w":17.222,"h":0.833,"TU":"Daytime telephone number"},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"TPLNAME","EN":0},"TI":795,"AM":1024,"x":6.435,"y":41.045,"w":24.358,"h":0.903,"TU":"Last name"},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"TPFNAME","EN":0},"TI":796,"AM":1024,"x":31.061,"y":41.074,"w":15.345,"h":0.874,"TU":"First name and initial"},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"TPMI","EN":0},"TI":797,"AM":1024,"x":46.701,"y":41.088,"w":4.006,"h":0.874},{"style":48,"T":{"Name":"ssn","TypeInfo":{}},"id":{"Id":"TPSSN1","EN":0},"TI":798,"AM":1024,"x":50.882,"y":41.103,"w":18.194,"h":0.845,"TU":"SSN"},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"SPLNAME","EN":0},"TI":799,"AM":1024,"x":6.435,"y":42.548,"w":24.438,"h":0.899,"TU":"Spouse’s/RDP’s last name if joint payment"},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"SPFNAME","EN":0},"TI":800,"AM":1024,"x":31.061,"y":42.548,"w":15.028,"h":0.899,"TU":"Spouse’s/RDP’s first name and initial"},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"SPMI","EN":0},"TI":801,"AM":1024,"x":46.701,"y":42.618,"w":4.006,"h":0.874},{"style":48,"T":{"Name":"ssn","TypeInfo":{}},"id":{"Id":"SPSSN1","EN":0},"TI":802,"AM":1024,"x":50.882,"y":42.609,"w":18.274,"h":0.838,"TU":"Spouse’s/RDP’s SSN if joint payment"},{"style":48,"T":{"Name":"number","TypeInfo":{}},"id":{"Id":"AMT1","EN":0},"TI":803,"AM":0,"x":74.973,"y":40.815,"w":18.115,"h":0.925,"TU":"Enter payment amount."},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"ADDR1","EN":0},"TI":804,"AM":1024,"x":6.435,"y":44.085,"w":43.861,"h":0.87,"TU":"Current mailing address"},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"CITY1","EN":0},"TI":805,"AM":1024,"x":50.882,"y":44.088,"w":27.136,"h":0.867,"TU":"City"},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"ST1","EN":0},"TI":806,"AM":1024,"x":78.128,"y":44.056,"w":4.799,"h":0.899,"TU":"State"},{"style":48,"T":{"Name":"zip","TypeInfo":{}},"id":{"Id":"ZIP1","EN":0},"TI":807,"AM":1024,"x":83.036,"y":44.11,"w":15.799,"h":0.845,"TU":"ZIP code"},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"SCAN","EN":0},"TI":808,"AM":1024,"x":6.159,"y":45.739,"w":24.437,"h":0.899}],"Boxsets":[{"boxes":[{"style":48,"T":{"Name":"box","TypeInfo":{}},"id":{"Id":"FILERBX","EN":0},"TI":791,"AM":0,"x":12.375,"y":36.843,"w":1.382,"h":0.833}]},{"boxes":[{"style":48,"T":{"Name":"box","TypeInfo":{}},"id":{"Id":"PMTBX1","EN":0},"TI":792,"AM":1024,"x":40.803,"y":36.819,"w":1.297,"h":0.833}]},{"boxes":[{"style":48,"T":{"Name":"box","TypeInfo":{}},"id":{"Id":"ADDRBX","EN":0},"TI":793,"AM":0,"x":12.375,"y":37.593,"w":1.382,"h":0.833}]}]}],"Width":105.188}}