summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
authord1ngd0 <paul.david.montag@gmail.com>2018-12-04 10:19:26 -0600
committerKurt Jung <kurt.w.jung@gmail.com>2018-12-04 11:19:26 -0500
commitfe48001d4389ad79f7402b3c654c03409babac29 (patch)
tree7701767ddb57e51802aa8258ce0c657e380462b3 /def.go
parent3ec0a92eeadb35a4665f6f8c169674698723d6ce (diff)
Fixed the Pdf interface to be implemented by Fpdf and Tpl again. Added tests to ensure they will always implement (#212)
Diffstat (limited to 'def.go')
-rw-r--r--def.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/def.go b/def.go
index 2bbb572..b1dbc8c 100644
--- a/def.go
+++ b/def.go
@@ -430,7 +430,8 @@ type Pdf interface {
SetLineWidth(width float64)
SetLink(link int, y float64, page int)
SetMargins(left, top, right float64)
- SetPageBox(t string, pb PageBox)
+ SetPageBoxRec(t string, pb PageBox)
+ SetPageBox(t string, x, y, wd, ht float64)
SetProtection(actionFlag byte, userPassStr, ownerPassStr string)
SetRightMargin(margin float64)
SetSubject(subjectStr string, isUTF8 bool)