diff options
author | Dan Meyers <daniel_meyers@brown.edu> | 2017-06-10 09:32:55 -0400 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@gmail.com> | 2017-06-10 09:32:55 -0400 |
commit | 78cae719840c4fd9cdd4a1247842c06dde6db36e (patch) | |
tree | dc1933566d57622c16194b2813a5144a75c9ddc5 /def.go | |
parent | 14c1db30737a138f8d9797cffea58783892b2fae (diff) |
add the ability to include JavaScript in PDFs (#117)
Diffstat (limited to 'def.go')
-rw-r--r-- | def.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -247,6 +247,8 @@ type Fpdf struct { protect protectType // document protection structure layer layerRecType // manages optional layers in document catalogSort bool // sort resource catalogs in document + nJs int // JavaScript object number + javascript *string // JavaScript code to include in the PDF colorFlag bool // indicates whether fill and text colors are different color struct { // Composite values of colors |