103 Commits

Author SHA1 Message Date
Steffen Matheis
3cd88b296c rename fileAttachmentAnnotation to fileAnnotation 2021-03-25 15:13:58 -03:00
Steffen Matheis
7219fd07a9 add support for embedded files and file attachment annotations 2021-03-25 15:13:58 -03:00
Ben Schmidt
923c495022 Correct marking bug and improve demo accessibility. 2021-01-15 16:43:49 -03:00
Ben Schmidt
e3442a9aa2 Add shortcut for elements containing only marked content. 2021-01-15 16:43:49 -03:00
Ben Schmidt
f1f1559720 Regenerate PDF guide. 2021-01-15 16:43:49 -03:00
Ben Schmidt
c2ec121ab8 Support automatic marking and structure construction for text. 2021-01-15 16:43:49 -03:00
Ben Schmidt
52033990bd Minor fixes/improvements to developer documentation. 2021-01-15 16:43:49 -03:00
Ben Schmidt
9b3aa7b50a Fully support PDF/UA. 2021-01-15 16:43:49 -03:00
Ben Schmidt
272444e397 Fully support accessibility features from PDF reference. 2021-01-15 16:43:49 -03:00
Ben Schmidt
c177874e82 Fully support Tagged PDF. 2021-01-15 16:43:49 -03:00
Ben Schmidt
bc09c32d1b Support marked structure content and logical structure. 2021-01-15 16:43:49 -03:00
Ben Schmidt
ef5e52b2ad Support marking content. 2021-01-15 16:43:49 -03:00
Luiz Américo
326350b7f9 Fix eslint and prettier warnings 2020-09-09 20:35:10 -03:00
pfdgithub
76da594762 fix guide generate link
https://github.com/foliojs/pdfkit/issues/991
https://github.com/foliojs/pdfkit/pull/1013
2020-08-12 12:01:58 +08:00
Evgeny.Baram
75340f0d33 Fixed mistake in Forms documentation (set font) 2020-02-05 12:53:20 +07:00
Jim Pravetz
e2a464c1dc Merge branch 'master' of https://github.com/foliojs/pdfkit
# Conflicts:
#	lib/mixins/annotations.js
2019-12-02 11:09:47 -08:00
Jim Pravetz
e2eed1f311
Update forms.md
Fix typo readyOnly -> readOnly
2019-12-02 10:52:21 -08:00
Paul Winkler
b410466068
enable removing link annotation in continued text
Text options currently add a link annotation unless the link is `undefined` or `null`. When the text options are built using the continued flag any value that is `null` or `undefined` is overridden by the continued options. As `0` is used for a first page link, it should be allowed to specify `false` to stop continued text being a link.
2019-09-02 16:45:58 +01:00
Jim Pravetz
cfb56e2097 Bug fixes found during unit testing. 2019-07-29 17:00:16 -07:00
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