summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
authorKevin Seidel <kevin@zahlz.com>2018-01-31 08:45:10 +0100
committerKevin Seidel <kevin@zahlz.com>2018-01-31 08:45:10 +0100
commitf27fb86f5efd6e011db7bff1ddbdae87c31a8e48 (patch)
tree6174fe31cac6a056fba94a8c9f49acb649042e80 /def.go
parent93d1c15c05dd7d06f99dad920f11545a8a8654d0 (diff)
parentd65c2335e8ec3db6c87c9e23aa2ff329da57e182 (diff)
Merge branch 'master' of https://github.com/jung-kurt/gofpdf
Diffstat (limited to 'def.go')
-rw-r--r--def.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/def.go b/def.go
index 52e6474..936ca09 100644
--- a/def.go
+++ b/def.go
@@ -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