summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
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..f725f01 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