diff options
author | Kurt <kurt.w.jung@gmail.com> | 2018-01-08 15:24:06 -0500 |
---|---|---|
committer | Kurt <kurt.w.jung@gmail.com> | 2018-01-08 15:24:06 -0500 |
commit | 2b7dc4c2c0c37ed765386c79b37b829e49c1c912 (patch) | |
tree | 2ea2bb70aeeade8c8bdf2c2fa9d16b611b02d396 /def.go | |
parent | c8debdafb5eeac8330420d4b1699cc1094237805 (diff) | |
parent | 80c5811b6b15479b473e814cad0aae7de9920bb3 (diff) |
Merge branch 'dsfish-df-table-of-contents'
Diffstat (limited to 'def.go')
-rw-r--r-- | def.go | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -40,7 +40,10 @@ type gradientType struct { } const ( - OrientationPortrait = "portrait" + // OrientationPortrait represents the portrait orientation. + OrientationPortrait = "portrait" + + // OrientationLandscape represents the landscape orientation. OrientationLandscape = "landscape" ) @@ -243,6 +246,7 @@ type Fpdf struct { fontSize float64 // current font size in user unit ws float64 // word spacing images map[string]*ImageInfoType // array of used images + aliasMap map[string]string // map of alias->replacement pageLinks [][]linkType // pageLinks[page][link], both 1-based links []intLinkType // array of internal links outlines []outlineType // array of outlines |