From a55ee1a6ce0d221e2f95355104b0cc2260acc01a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Tue, 14 May 2024 14:57:10 +0200 Subject: [PATCH] v0.0.453 --- goextVersion.go | 4 ++-- wpdf/wpdf.go | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) 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) }