Documentation
¶
Index ¶
Constants ¶
View Source
const ( XMLNS_W = `http://schemas.openxmlformats.org/wordprocessingml/2006/main` XMLNS_R = `http://schemas.openxmlformats.org/officeDocument/2006/relationships` )
View Source
const ( XMLNS = `http://schemas.openxmlformats.org/package/2006/relationships` REL_HYPERLINK = `http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink` REL_TARGETMODE = "External" )
View Source
const ( TEMP_REL = `` /* 601-byte string literal not displayed */ TEMP_DOCPROPS_APP = `` /* 276-byte string literal not displayed */ TEMP_DOCPROPS_CORE = `` /* 363-byte string literal not displayed */ TEMP_CONTENT = `` /* 934-byte string literal not displayed */ TEMP_WORD_STYLE = `` /* 1743-byte string literal not displayed */ TEMP_WORD_THEME_THEME = `` /* 9767-byte string literal not displayed */ )
View Source
const (
HYPERLINK_STYLE = "a1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocRelation ¶
type DocRelation struct {
XMLName xml.Name `xml:"Relationships"`
Xmlns string `xml:"xmlns,attr"`
Relationship []*RelationShip `xml:"Relationship"`
}
type File ¶
type File struct {
Document Document
DocRelation DocRelation
// contains filtered or unexported fields
}
type Paragraph ¶
type Paragraph struct {
XMLName xml.Name `xml:"w:p"`
Data []interface{}
// contains filtered or unexported fields
}
func (*Paragraph) AddTextWithSpace ¶
AddTextWithSpace add text include spaces to paragraph
type RelationShip ¶
type Run ¶
type Run struct {
XMLName xml.Name `xml:"w:r"`
RunProperties *RunProperties `xml:"w:rPr,omitempty"`
InstrText string `xml:"w:instrText,omitempty"`
Text *Text
}
type RunProperties ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.