updated dependencies and go
This commit is contained in:
@@ -117,12 +117,12 @@ func (o *TableCellStyleOpt) FontSize(v float64) *TableCellStyleOpt {
|
||||
}
|
||||
|
||||
func (o *TableCellStyleOpt) Bold() *TableCellStyleOpt {
|
||||
o.PDFCellOpt.fontStyleOverride = langext.Ptr(Bold)
|
||||
o.PDFCellOpt.fontStyleOverride = new(Bold)
|
||||
return o
|
||||
}
|
||||
|
||||
func (o *TableCellStyleOpt) Italic() *TableCellStyleOpt {
|
||||
o.PDFCellOpt.fontStyleOverride = langext.Ptr(Italic)
|
||||
o.PDFCellOpt.fontStyleOverride = new(Italic)
|
||||
return o
|
||||
}
|
||||
|
||||
@@ -147,32 +147,32 @@ func (o *TableCellStyleOpt) AutoWidthPaddingX(v float64) *TableCellStyleOpt {
|
||||
}
|
||||
|
||||
func (o *TableCellStyleOpt) TextColor(cr, cg, cb int) *TableCellStyleOpt {
|
||||
o.PDFCellOpt.textColor = langext.Ptr(rgbToColor(cr, cg, cb))
|
||||
o.PDFCellOpt.textColor = new(rgbToColor(cr, cg, cb))
|
||||
return o
|
||||
}
|
||||
|
||||
func (o *TableCellStyleOpt) TextColorHex(c uint32) *TableCellStyleOpt {
|
||||
o.PDFCellOpt.textColor = langext.Ptr(hexToColor(c))
|
||||
o.PDFCellOpt.textColor = new(hexToColor(c))
|
||||
return o
|
||||
}
|
||||
|
||||
func (o *TableCellStyleOpt) BorderColor(cr, cg, cb int) *TableCellStyleOpt {
|
||||
o.PDFCellOpt.borderColor = langext.Ptr(rgbToColor(cr, cg, cb))
|
||||
o.PDFCellOpt.borderColor = new(rgbToColor(cr, cg, cb))
|
||||
return o
|
||||
}
|
||||
|
||||
func (o *TableCellStyleOpt) BorderColorHex(c uint32) *TableCellStyleOpt {
|
||||
o.PDFCellOpt.borderColor = langext.Ptr(hexToColor(c))
|
||||
o.PDFCellOpt.borderColor = new(hexToColor(c))
|
||||
return o
|
||||
}
|
||||
|
||||
func (o *TableCellStyleOpt) FillColor(cr, cg, cb int) *TableCellStyleOpt {
|
||||
o.PDFCellOpt.fillColor = langext.Ptr(rgbToColor(cr, cg, cb))
|
||||
o.PDFCellOpt.fillColor = new(rgbToColor(cr, cg, cb))
|
||||
return o
|
||||
}
|
||||
|
||||
func (o *TableCellStyleOpt) FillColorHex(c uint32) *TableCellStyleOpt {
|
||||
o.PDFCellOpt.fillColor = langext.Ptr(hexToColor(c))
|
||||
o.PDFCellOpt.fillColor = new(hexToColor(c))
|
||||
return o
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user