Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptionUnescapeHTML ¶ added in v0.0.4
func OptionUnescapeHTML(o *options)
OptionUnescapeHTML remove '"' and other specific HTML strings from the result of substitution.
Types ¶
type CellModification ¶ added in v0.0.2
type CellModification struct {
Row int
ColumnModification
}
type ColumnModification ¶ added in v0.0.2
type Modifications ¶ added in v0.0.2
type Modifications struct {
CellModifications []*CellModification
RowInsertions map[int][]*RowInsertion
Offset int
}
func NewModifications ¶ added in v0.0.2
func NewModifications() *Modifications
func (*Modifications) AddCellModification ¶ added in v0.0.2
func (m *Modifications) AddCellModification(cm *CellModification)
func (*Modifications) AddEmptyRowInsertion ¶ added in v0.0.5
func (m *Modifications) AddEmptyRowInsertion(row int)
func (*Modifications) AddRowInsertion ¶ added in v0.0.2
func (m *Modifications) AddRowInsertion(row int, ri *RowInsertion)
type Option ¶ added in v0.0.4
type Option func(o *options)
Option is the interface of functor that applies options to the Render method.
type RowInsertion ¶ added in v0.0.2
type RowInsertion struct {
Columns []*ColumnModification
}
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) RenderWithOptions ¶
Click to show internal directories.
Click to hide internal directories.