diff options
author | Dave Barnes <phpdave11@gmail.com> | 2019-05-15 10:45:22 -0500 |
---|---|---|
committer | Dave Barnes <phpdave11@gmail.com> | 2019-05-15 10:45:22 -0500 |
commit | 0fb5126fefeb1a7be7ed1c4dac02539af931a237 (patch) | |
tree | 9dc1ccf5ee62e07661689720ad17773a1577d240 /def.go | |
parent | 8f080922446313698730071fd92ca15900e6a941 (diff) |
Add support for imported objects and templates to version 1 of gofpdf.
Diffstat (limited to 'def.go')
-rw-r--r-- | def.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |