mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-12 11:40:28 +08:00
chore: make lint happy
This commit is contained in:
@@ -70,7 +70,8 @@ func (p *Paragraph) AddPageBreaks() *Run {
|
|||||||
return run
|
return run
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *Paragraph) AddStyle(val string) *Paragraph {
|
// Style name
|
||||||
|
func (p *Paragraph) Style(val string) *Paragraph {
|
||||||
if p.Properties == nil {
|
if p.Properties == nil {
|
||||||
p.Properties = &ParagraphProperties{}
|
p.Properties = &ParagraphProperties{}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ func (r *Run) Highlight(val string) *Run {
|
|||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Strike ...
|
||||||
func (r *Run) Strike(val bool) *Run {
|
func (r *Run) Strike(val bool) *Run {
|
||||||
trueFalseStr := "false"
|
trueFalseStr := "false"
|
||||||
if val {
|
if val {
|
||||||
|
|||||||
@@ -201,6 +201,7 @@ func (c *WTableCell) Shade(val, color, fill string) *WTableCell {
|
|||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// APITableBorderColors customizable param
|
||||||
type APITableBorderColors struct {
|
type APITableBorderColors struct {
|
||||||
Top string
|
Top string
|
||||||
Left string
|
Left string
|
||||||
|
|||||||
Reference in New Issue
Block a user