Documentation
¶
Index ¶
- func Convert(source []byte, opts ...Option) ([]byte, error)
- type DocxFile
- type DocxHeader
- type DocxHeaderMargins
- type Option
- func WithHeight(height int) Option
- func WithMarginsBottom(bottom int) Option
- func WithMarginsFooter(footer int) Option
- func WithMarginsGutter(gutter int) Option
- func WithMarginsHeader(header int) Option
- func WithMarginsLeft(left int) Option
- func WithMarginsRight(right int) Option
- func WithMarginsTop(top int) Option
- func WithOrient(orient string) Option
- func WithWidth(width int) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DocxHeader ¶
type DocxHeader struct { Width int Height int Orient string Margins DocxHeaderMargins }
type DocxHeaderMargins ¶
type Option ¶
type Option func(data map[string]interface{})
func WithHeight ¶
func WithMarginsBottom ¶
func WithMarginsFooter ¶
func WithMarginsGutter ¶
func WithMarginsHeader ¶
func WithMarginsLeft ¶
func WithMarginsRight ¶
func WithMarginsTop ¶
func WithOrient ¶
Click to show internal directories.
Click to hide internal directories.