Documentation ¶
Index ¶
- Constants
- func ExtendSheet(sheet *Sheet, rows [][]string)
- func ExtractFromCell(cell string, line int32) string
- func MetasheetOptions() *tableaupb.WorksheetOptions
- type Book
- func (b *Book) AddSheet(sheet *Sheet)
- func (b *Book) BookName() string
- func (b *Book) Clear()
- func (b *Book) DelSheet(sheetName string)
- func (b *Book) ExportCSV() error
- func (b *Book) ExportExcel() error
- func (b *Book) Filename() string
- func (b *Book) GetSheet(name string) *Sheet
- func (b *Book) GetSheets() []*Sheet
- func (b *Book) ParseMeta() error
- func (b *Book) Squeeze(sheetNames []string)
- type RowCell
- type RowCells
- type Sheet
- type SheetParser
Constants ¶
View Source
const MetasheetName = "@TABLEAU"
MetasheetName defines the meta data of each worksheet.
Variables ¶
This section is empty.
Functions ¶
func ExtendSheet ¶
ExtendSheet extends an existing Sheet.
func ExtractFromCell ¶
func MetasheetOptions ¶ added in v0.9.12
func MetasheetOptions() *tableaupb.WorksheetOptions
Types ¶
type Book ¶
type Book struct {
// contains filtered or unexported fields
}
func NewBook ¶
func NewBook(bookName, filename string, parser SheetParser) *Book
func (*Book) ExportExcel ¶
type RowCells ¶
type RowCells struct { Row int // row number // contains filtered or unexported fields }
func NewRowCells ¶
func (*RowCells) CellDebugString ¶
func (*RowCells) GetCellCountWithPrefix ¶
Click to show internal directories.
Click to hide internal directories.