84 Commits

Author SHA1 Message Date
Jim Pravetz
5a2fdd71eb Removed direct support for radio and checkboxes.
Added support for options.select, options.value, options.defaultValue.
Fixed font implementation so that individual form fields can have their own font setting.
Renamed methods, reducing reference to PDF langauge syntax.
Added 'type' specifier to formAnnotation method.
2019-07-29 15:46:44 -07:00
Jim Pravetz
293b66b794 Documentation fixes.
Removed unused method from acroforms mixin.
2019-07-28 22:28:36 -07:00
Jim Pravetz
8b92a5173b Making options and formatting more user friendly and improving the docs.
Feedback from https://github.com/foliojs/pdfkit/pull/1002
2019-07-28 22:14:20 -07: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
1c8bd992f6 Finished documentation for AcroForms support 2019-07-24 14:44:14 -07:00
Jim Pravetz
bf75b0881a Added shortcut support for formatting form text inputs.
Fixed annotations to not automatically add Border and C for Widget annotations.
More documentation.
2019-07-21 12:19:08 -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
Floyd May
fd29fe2f99 throw errors when dash receives invalid args 2019-05-06 08:51:49 -05:00
Libor M
b890ab482b migrate from Jade to Pug 2019-05-04 13:22:09 +02:00
Libor M
5426f6d0c5 cleanup after decaffeinate 2019-05-04 08:04:24 +02:00
Libor M
9a9d03916b switch to cross-platform ImageMagick (#966) 2019-05-01 13:33:27 +02:00
Libor M
c759486d5e fixed writing pdf example files 2019-05-01 07:35:13 +02:00
Libor M
e641a78508 links update 2019-04-30 15:44:49 +02:00
Libor M
5d5d8c4fd5 fix generate website and guide 2019-04-30 15:34:59 +02:00
Libor M
4863560826 fix paper sizes page 2019-04-30 15:28:13 +02:00
Libor M
17f9a018dd fix annotations example 2019-04-30 15:10:35 +02:00
Libor M
9e2ded446a
Create destinations.md 2019-03-25 10:16:32 +01:00
Libor M
c1730b89d4
remove destinations from getting started 2019-03-25 10:15:37 +01:00
Libor M
a02ae98737 add simple docs 2019-03-24 13:37:26 +01:00
Libor M
7c12306699 cleanup documents 2019-03-24 13:36:48 +01:00
Luiz Américo
e2c9459d94 Add changelog and improve Get Started document 2019-03-02 21:30:20 -03:00
Luiz Américo
a8f796b97b Add documentation for default font option 2019-03-02 20:54:34 -03:00
Devon Govett
64d2fb86d4 A few docs fixes 2019-01-27 19:29:58 -08:00
Luiz Américo
a6af76467c Add prettier npm script and run it in *.js files 2019-01-07 20:51:06 -03:00
Luiz Américo
aec971f2c8 Rename docs files, removing the coffee sufix 2018-12-19 20:34:40 -03:00
Luiz Américo
5274136477 Complete coffee -> JS conversion of docs 2018-12-19 20:04:44 -03:00
Yang Liu
2651a74012 Organize permissions in option to an object 2018-12-17 21:20:20 +09:00
Yang Liu
6398cca899 Update readme and docs 2018-12-17 21:20:20 +09:00
Luiz Américo
83f5f72431 Convert to EcmaScript (ES6+) (#859) 2018-11-29 08:14:45 -08:00
Ben
f91bdd61c1 Features/outline (#831)
Outline support by @alexvdev and @blforce
Close #216, close #13
2018-06-22 17:54:14 +02:00
alafr
34cf8d5fa6
Text baseline & oblique option (#585) 2018-02-02 18:39:57 +01:00
Jordan Danford
ffa487fd50 Change "it's" to "its" where appropriate, remove extra whitespace (#702) 2017-07-30 11:19:32 -07:00
Liongold
b0e0290541 Fixed #652 - Added page sizes docs page (#703) 2017-07-30 11:19:00 -07:00
alafr
dd5ac13d2b rotate origin - unclip 2017-06-07 03:04:03 +03:00
Devon Govett
f5b4f675c1 Merge pull request #579 from M3ssman/master
Enhanced Doc for standard Fonts
2016-12-10 12:28:17 -08:00
M3ssman
5fd673b35b list of standard fonts 2016-12-10 20:58:24 +01:00
alafr
95e5a87185 Update line wrapping behaviour 2016-11-30 15:43:04 +02:00
alafr
c0c2a4b88d widthOfString, heightOfString, list 2016-11-30 15:25:32 +02:00
alafr
8a10537fcc Fix typo in radialGradient arguments 2016-11-23 00:21:07 +02:00
M3ssman
8a78a3a2b6 Enhanced Doc for standard Fonts 2016-11-15 22:04:14 +01:00
alafr
deda269ae6 Update images.coffee.md 2016-11-07 19:00:54 +02:00
alafr
9e8c8126d4 Update images.coffee.md 2016-11-07 18:36:18 +02:00
Devon Govett
0beaadb4b3 Merge pull request #552 from Wildhoney/add-image-example
Added image example to README
2016-11-07 11:22:16 -05:00
Luqmaan Dawoodjee
357093ab2f Fix paper sizes link
I couldn't find a doc with page sizes, so I'm just linking to the code.

I submitted this to the gh-pages branch instead of master in https://github.com/devongovett/pdfkit/pull/567.


📄
2016-10-28 15:37:38 -05:00
Wildhoney
453b0ab499 Moved 'centered' to sit alongside 'fit' 2016-10-06 11:55:51 +01:00
Wildhoney
2486b94124 Added align/valign example to coffee 2016-10-03 12:35:28 +01:00
Devon Govett
08ef766c00 Rebuild pdf guide 2016-08-26 13:13:45 -04:00
Devon Govett
56a6e6dd44 Merge branch 'master' of github.com:devongovett/PDFKit into fontkit
# Conflicts:
#	lib/image/png.coffee
2016-08-26 11:39:33 -04:00
Vlad Golubev
472b745497 Fix link to the website 2016-01-20 16:21:49 +02:00
Devon Govett
03a45a1354 Merge pull request #384 from MathieuLoutre/page-added-event
Emit an event when a page is added
2015-10-25 10:39:33 -07:00