Documentation ¶
Index ¶
- func AppendCellConstructor(constructor CellConstructor)
- func Export(format string, docs []*XVDoc) ([]byte, error)
- func ImportXLSXToJSON(r io.Reader) (res []byte, err error)
- func ImportXLSXToJSONFromFile(fileName string) (res []byte, err error)
- type Cell
- type CellArg
- type CellConstructor
- type CellFloat
- type CellFormula
- type CellInteger
- type CellObj
- type CellString
- type ExportMethod
- type JSONMap
- func (s JSONMap) Array(key string) (res []interface{})
- func (s JSONMap) Bool(key string, defaultVal bool) bool
- func (s JSONMap) Copy() JSONMap
- func (s JSONMap) Int(key string, defaultVal int64) int64
- func (s JSONMap) Interface(key string) interface{}
- func (s JSONMap) JSON() (res []byte)
- func (s JSONMap) JSONMap(key string) (res JSONMap)
- func (s JSONMap) KeyExists(key string) (check bool)
- func (s JSONMap) Map() map[string]interface{}
- func (s JSONMap) StringArray(key string) (res []string)
- func (s JSONMap) StringVal(key, defaultVal string) string
- func (s JSONMap) ToGraphicOptions() (res *excelize.GraphicOptions)
- func (s JSONMap) ToStyle() (res *excelize.Style)
- func (s JSONMap) Value(key string, defaultVal interface{}) interface{}
- type Matrix
- type ObjConstructor
- type Row
- type Sheet
- type Style
- type XVDoc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendCellConstructor ¶
func AppendCellConstructor(constructor CellConstructor)
Types ¶
type CellArg ¶
type CellArg struct {
// contains filtered or unexported fields
}
CellArg is argument object of cell
type CellFormula ¶
type CellFormula struct {
// contains filtered or unexported fields
}
CellFormula is cell of formula for excel or other types with formula support
func (*CellFormula) ReplaceArgs ¶
func (s *CellFormula) ReplaceArgs(args []string) (res string)
ReplaceArgs is replace variable templates ($1, $2, etc) to valus from incoming array
func (*CellFormula) String ¶
func (s *CellFormula) String() string
func (*CellFormula) Styles ¶
func (s *CellFormula) Styles() (res []string)
Style is getter of cell style
func (*CellFormula) Type ¶
func (s *CellFormula) Type() string
Type method is value type getter (formula)
func (*CellFormula) Val ¶
func (s *CellFormula) Val() interface{}
Val is method of getter formula string (Cell interface)
type CellInteger ¶
type CellInteger struct {
// contains filtered or unexported fields
}
CellInteger is cell with integer type value
func (*CellInteger) String ¶
func (s *CellInteger) String() string
func (*CellInteger) Styles ¶
func (s *CellInteger) Styles() []string
type CellString ¶
type CellString struct {
// contains filtered or unexported fields
}
func (*CellString) String ¶
func (s *CellString) String() string
func (*CellString) Styles ¶
func (s *CellString) Styles() []string
func (*CellString) Type ¶
func (s *CellString) Type() string
func (*CellString) Val ¶
func (s *CellString) Val() interface{}
type ExportMethod ¶
type JSONMap ¶
type JSONMap map[string]interface{}
func (JSONMap) StringArray ¶
func (JSONMap) ToGraphicOptions ¶
func (s JSONMap) ToGraphicOptions() (res *excelize.GraphicOptions)
type ObjConstructor ¶
type Row ¶
type Row struct {
// contains filtered or unexported fields
}
func (*Row) IsCustomHeight ¶
func (*Row) UnmarshalJSON ¶
type Sheet ¶
type Sheet struct {
// contains filtered or unexported fields
}
func ImportXLSXFromFile ¶
func (*Sheet) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.