mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-11 19:10:24 +08:00
@@ -46,6 +46,14 @@ func (r *Run) Shade(val, color, fill string) *Run {
|
|||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Spacing allows to set run spacing
|
||||||
|
func (r *Run) Spacing(line int) *Run {
|
||||||
|
r.RunProperties.Spacing = &Spacing{
|
||||||
|
Line: line,
|
||||||
|
}
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
// Bold ...
|
// Bold ...
|
||||||
func (r *Run) Bold() *Run {
|
func (r *Run) Bold() *Run {
|
||||||
r.RunProperties.Bold = &Bold{}
|
r.RunProperties.Bold = &Bold{}
|
||||||
|
|||||||
Reference in New Issue
Block a user