summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2019-05-15 12:44:01 -0400
committerKurt <kurt.w.jung@gmail.com>2019-05-15 12:44:01 -0400
commit5a54c683de36b69f4a8bc4575f15fe6c1ecdebd9 (patch)
tree9cb1a09627c5340e6be7175aa7e90858ca1a61d2 /def.go
parent8f080922446313698730071fd92ca15900e6a941 (diff)
parenteca8e8f3216d7e07f60db6cea8fd5067d99e3c27 (diff)
Merge branch 'phpdave11-master'
Diffstat (limited to 'def.go')
-rw-r--r--def.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/def.go b/def.go
index ab4e81d..efa573e 100644
--- a/def.go
+++ b/def.go
@@ -504,6 +504,10 @@ type Fpdf struct {
offsets []int // array of object offsets
templates map[string]Template // templates used in this document
templateObjects map[string]int // template object IDs within this document
+ importedObjs map[string][]byte // imported template objects (gofpdi)
+ importedObjPos map[string]map[int]string // imported template objects hashes and their positions (gofpdi)
+ importedTplObjs map[string]string // imported template names and IDs (hashed) (gofpdi)
+ importedTplIDs map[string]int // imported template ids hash to object id int (gofpdi)
buffer fmtBuffer // buffer holding in-memory PDF
pages []*bytes.Buffer // slice[page] of page content; 1-based
state int // current document state