Documentation ¶
Index ¶
- type DocxTemplate
- func (d *DocxTemplate) Config() interface{}
- func (d *DocxTemplate) Init(app app_context.Context, configPath ...string) error
- func (d *DocxTemplate) ToDocx(ctx op_context.Context, templateFile string, targetFile string, ...) error
- func (d *DocxTemplate) ToPdf(ctx op_context.Context, templateFile string, targetFile string, ...) error
- type DocxTemplateConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocxTemplate ¶
type DocxTemplate struct {
DocxTemplateConfig
}
func New ¶
func New() *DocxTemplate
func (*DocxTemplate) Config ¶
func (d *DocxTemplate) Config() interface{}
func (*DocxTemplate) Init ¶
func (d *DocxTemplate) Init(app app_context.Context, configPath ...string) error
func (*DocxTemplate) ToDocx ¶
func (d *DocxTemplate) ToDocx(ctx op_context.Context, templateFile string, targetFile string, vars interface{}) error
func (*DocxTemplate) ToPdf ¶
func (d *DocxTemplate) ToPdf(ctx op_context.Context, templateFile string, targetFile string, vars interface{}) error
type DocxTemplateConfig ¶
Click to show internal directories.
Click to hide internal directories.