Documentation ¶
Index ¶
- type InParam
- type Options
- type Xlst
- func (m *Xlst) ReadTemplate(path string) error
- func (m *Xlst) Render(in interface{}) error
- func (m *Xlst) RenderMultipleSheet(options *Options, in ...InParam) error
- func (m *Xlst) RenderWithOptions(in interface{}, options *Options) error
- func (m *Xlst) Save(path string) error
- func (m *Xlst) Write(writer io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
WrapTextInAllCells bool
}
Options for render has only one property WrapTextInAllCells for wrapping text
type Xlst ¶
type Xlst struct {
// contains filtered or unexported fields
}
Xlst Represents template struct
func NewFromBinary ¶
NewFromBinary creates new Xlst struct puts binary tempate into and returns pointer to it
func (*Xlst) ReadTemplate ¶
ReadTemplate reads template from disk and stores it in a struct
func (*Xlst) RenderMultipleSheet ¶
RenderMultipleSheet renders multipleSheet
func (*Xlst) RenderWithOptions ¶
RenderWithOptions renders report with options provided and stores it in a struct
Click to show internal directories.
Click to hide internal directories.