Nathanael Anderson
db6a8117d2
Expose LineWrapper class
2020-04-08 11:27:17 -05:00
Jim Pravetz
0514363199
Reformatted some files using prettier.
...
Rename widgetAnnot method to widgetAnnotation
Rename initAcroForm method to initForms
Ensure existing unit tests pass.
Add formChoice example to test-acroform.js.
Minor documentation changes for forms.
2019-07-25 15:07:10 -07:00
Jim Pravetz
554cf3d9ad
Changed addNamedJavaScript to accept string instead of (nodejs-only) buffer.
...
Got jest tests running by setting setupFilesAfterEnv to include toContainChunk (not clear why this became necessary).
Modified toContainChunk to accept RegExp for all but first parameter of array.
AcroForms partial tests working.
2019-07-24 13:56:24 -07:00
Jim Pravetz
e4924bda9a
Do not add JavaScript to Catalog/Names until a named JavaScript is added.
...
Needed to prevent existing unit tests from failing.
2019-07-24 12:09:42 -07:00
Jim Pravetz
9f6c5fb825
Added documentation for AcroForms.
...
Fixed spelling of NeedAppearances (doh!).
Added backgroundColor and borderColor options (for push buttons).
Added label option (for push buttons).
2019-07-20 21:16:58 -07:00
Jim Pravetz
c086abe30a
Begin adding AcroForm support
2019-07-17 18:13:29 -07:00
Luiz Américo
4d02fff04e
Remove deprecated method PDFDocument.output
2019-06-06 19:19:11 -03:00
Luiz Américo
f7a2a87ebb
Merge branch 'master' into named-destinations-es6
2019-04-17 19:31:11 -03:00
Danny Kirchmeier
c17bf39710
Fix links to page numbers within the document
2019-04-17 10:41:30 -05:00
Libor M
ad593cf422
support for named destinations
2019-03-24 08:35:36 +01:00
Luiz Américo
bd0631f782
Add option to defined default font
2019-03-02 20:42:56 -03:00
Luiz Américo
a6af76467c
Add prettier npm script and run it in *.js files
2019-01-07 20:51:06 -03:00
Yang Liu
f5b6ddd2a9
Add PDF security features with ES6
2018-12-17 21:20:19 +09:00
Luiz Américo
83f5f72431
Convert to EcmaScript (ES6+) ( #859 )
2018-11-29 08:14:45 -08:00