mirror of
https://github.com/unidoc/unioffice.git
synced 2025-04-29 13:49:10 +08:00
12 lines
296 B
Go
12 lines
296 B
Go
![]() |
package gooxml_test
|
||
|
|
||
|
import "baliance.com/gooxml/document"
|
||
|
|
||
|
func Example_document() {
|
||
|
// see the baliance.com/gooxml/document documentation or _examples/document
|
||
|
// for more examples
|
||
|
doc := document.New()
|
||
|
doc.AddParagraph().AddRun().AddText("Hello World!")
|
||
|
doc.SaveToFile("document.docx")
|
||
|
}
|