Documentation ¶
Index ¶
- Variables
- type Body
- type Cols
- type DOCX
- func (d *DOCX) Close() error
- func (d *DOCX) ExportDOCXFile(to string) error
- func (d *DOCX) FromFile(path string) (*DOCX, error)
- func (d *DOCX) FromReader(reader io.Reader) (*DOCX, error)
- func (d *DOCX) GetContentTypeXML() (XMLContentType, error)
- func (d *DOCX) GetMediaFilesName() ([]string, error)
- func (d *DOCX) GetOrientation() (Orientation, error)
- func (d *DOCX) GetWordDocumentXML() (XMLDocument, error)
- type DocGrid
- type Orientation
- type Paragraph
- type PgMar
- type PgSz
- type Section
- type WordStructure
- type XMLContentType
- type XMLContentTypeDefault
- type XMLContentTypeOverride
- type XMLDocument
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFileHasNotBeenReadYet = fmt.Errorf("error the file has not been read yet")
Functions ¶
This section is empty.
Types ¶
type DOCX ¶
type DOCX struct {
// contains filtered or unexported fields
}
func (*DOCX) ExportDOCXFile ¶
func (*DOCX) GetContentTypeXML ¶
func (d *DOCX) GetContentTypeXML() (XMLContentType, error)
func (*DOCX) GetMediaFilesName ¶
func (*DOCX) GetOrientation ¶
func (d *DOCX) GetOrientation() (Orientation, error)
func (*DOCX) GetWordDocumentXML ¶
func (d *DOCX) GetWordDocumentXML() (XMLDocument, error)
type Orientation ¶
type Orientation int
const ( OrientationVertical Orientation = iota OrientationHorizontal )
type WordStructure ¶
type WordStructure struct {
// contains filtered or unexported fields
}
type XMLContentType ¶
type XMLContentType struct { XMLName xml.Name `xml:"Types"` Overrides []XMLContentTypeOverride `xml:"Override"` Defaults []XMLContentTypeDefault `xml:"Default"` }
type XMLContentTypeDefault ¶
type XMLContentTypeOverride ¶
type XMLDocument ¶
Click to show internal directories.
Click to hide internal directories.