summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@gmail.com>2015-10-10 06:23:36 -0400
committerKurt Jung <kurt.w.jung@gmail.com>2015-10-10 06:23:36 -0400
commitcae789a4e309eb39bd6145f93361a3745effbb2d (patch)
treefd7a9790cc398b0511d633a3950b5988606f19c3 /def.go
parentb0f3b60a71b8ca327da859e5f4a7cd8eb5bea4e7 (diff)
Add method to fix document creation date
Diffstat (limited to 'def.go')
-rw-r--r--def.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/def.go b/def.go
index f1c8d7b..50a3f70 100644
--- a/def.go
+++ b/def.go
@@ -19,6 +19,7 @@ package gofpdf
import (
"bytes"
"io"
+ "time"
)
// Version of FPDF from which this package is derived
@@ -216,6 +217,7 @@ type Fpdf struct {
author string // author
keywords string // keywords
creator string // creator
+ creationDate time.Time // override for dcoument CreationDate value
aliasNbPagesStr string // alias for total number of pages
pdfVersion string // PDF version number
fontDirStr string // location of font definition files