Compare commits

..

2 Commits

Author SHA1 Message Date
a3481a7d2d v0.0.502
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Has been cancelled
2024-08-07 19:35:23 +02:00
a8e6f98a89 v0.0.501
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Has been cancelled
2024-08-07 19:31:36 +02:00
3 changed files with 8 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
package goext package goext
const GoextVersion = "0.0.500" const GoextVersion = "0.0.502"
const GoextVersionTimestamp = "2024-08-07T19:30:38+0200" const GoextVersionTimestamp = "2024-08-07T19:35:23+0200"

View File

@@ -53,8 +53,8 @@ func (b *TableBuilder) Widths(v ...string) *TableBuilder {
return b return b
} }
func (b *TableBuilder) DefaultStyle(s TableCellStyleOpt) *TableBuilder { func (b *TableBuilder) DefaultStyle(s *TableCellStyleOpt) *TableBuilder {
b.defaultCellStyle = &s b.defaultCellStyle = s
return b return b
} }

View File

@@ -20,6 +20,10 @@ type TableCellStyleOpt struct {
PDFCellOpt PDFCellOpt
} }
func NewTableCellStyleOpt() *TableCellStyleOpt {
return &TableCellStyleOpt{}
}
func (o *TableCellStyleOpt) FillHeight(b bool) *TableCellStyleOpt { func (o *TableCellStyleOpt) FillHeight(b bool) *TableCellStyleOpt {
o.fillHeight = &b o.fillHeight = &b
return o return o