diff --git a/goextVersion.go b/goextVersion.go index cd880e9..759b738 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.452" +const GoextVersion = "0.0.453" -const GoextVersionTimestamp = "2024-05-14T12:48:43+0200" +const GoextVersionTimestamp = "2024-05-14T14:57:10+0200" diff --git a/wpdf/wpdf.go b/wpdf/wpdf.go index 5d337e9..1d0d0ff 100644 --- a/wpdf/wpdf.go +++ b/wpdf/wpdf.go @@ -49,6 +49,10 @@ func NewPDFBuilder(orientation PDFOrientation, size PDFSize, unicode bool) *WPDF return b } +func (b *WPDFBuilder) FPDF() *gofpdf.Fpdf { + return b.b +} + func (b *WPDFBuilder) SetMargins(v PDFMargins) { b.b.SetMargins(v.Left, v.Top, v.Right) }