Skip to content

Commit

Permalink
fix: 修复main函数
Browse files Browse the repository at this point in the history
  • Loading branch information
guoqiang committed Dec 19, 2024
1 parent 9c4b4ce commit 19779b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"strconv"
"strings"

"github.com/fumiama/go-docx"
"github.com/l0g1n/go-docx"
)

func main() {
Expand Down Expand Up @@ -66,11 +66,11 @@ func main() {
para1.AddText("italic").Italic().AddTab()
para1.AddText("underline").Underline("double").AddTab()
para1.AddText("highlight").Highlight("yellow").AddTab()
para1.AddText("font").Font("Consolas", "", "cs").AddTab()
para1.AddText("font").Font("Consolas", "", "", "cs").AddTab()

para2 := w.AddParagraph().Justification("end")
para2.AddText("test all font attrs").
Size("44").Color("ff0000").Font("Consolas", "", "cs").
Size("44").Color("ff0000").Font("Consolas", "", "", "cs").
Shade("clear", "auto", "E7E6E6").
Bold().Italic().Underline("wave").
Highlight("yellow")
Expand Down

0 comments on commit 19779b7

Please sign in to comment.