summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@gmail.com>2015-08-12 16:12:43 -0400
committerKurt Jung <kurt.w.jung@gmail.com>2015-08-12 16:12:43 -0400
commit0ab52d3f38a38a63fe1bba1a757fe4f28cd6a026 (patch)
treeb3e1222cdc4f7aca41b3ac39b4e2168ac77ee36e /def.go
parent798fdbd15806d1b27a36d47f394cb58b06a9af1e (diff)
parent3c7e84a50bb3a1b617b6820d23ba2edcadf4fd6c (diff)
Merge branch 'templating' of https://github.com/marcusatbang/gofpdf into marcusatbang-templating
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 437449c..f1c8d7b 100644
--- a/def.go
+++ b/def.go
@@ -160,6 +160,8 @@ type Fpdf struct {
page int // current page number
n int // current object number
offsets []int // array of object offsets
+ templates map[int64]Template // templates used in this document
+ templateObjects map[int64]int //template object IDs within this document
buffer fmtBuffer // buffer holding in-memory PDF
pages []*bytes.Buffer // slice[page] of page content; 1-based
state int // current document state