From c40bdc8e9e8f800551c9b97ea6d025b136f9bab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Wed, 7 Aug 2024 17:26:35 +0200 Subject: [PATCH] v0.0.498 --- goextVersion.go | 4 ++-- wpdf/wpdf.go | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/goextVersion.go b/goextVersion.go index 9c1dec5..c4898c5 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.497" +const GoextVersion = "0.0.498" -const GoextVersionTimestamp = "2024-08-07T17:04:59+0200" +const GoextVersionTimestamp = "2024-08-07T17:26:35+0200" diff --git a/wpdf/wpdf.go b/wpdf/wpdf.go index fe7b534..0a3637d 100644 --- a/wpdf/wpdf.go +++ b/wpdf/wpdf.go @@ -245,6 +245,10 @@ func (b *WPDFBuilder) PageNo() int { return b.b.PageNo() } +func (b *WPDFBuilder) Bookmark(txtStr string, level int, y float64) { + b.b.Bookmark(b.tr(txtStr), level, y) +} + func (b *WPDFBuilder) GetStringWidth(str string, opts ...PDFCellOpt) float64 { var fontNameOverride *PDFFontFamily