xls

package
v0.0.0-...-a4c25c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	// contains filtered or unexported fields
}

Record struct

type Sheet

type Sheet struct {
	// contains filtered or unexported fields
}

func (*Sheet) GetName

func (s *Sheet) GetName() string

func (*Sheet) GetNumberRows

func (s *Sheet) GetNumberRows() (n int)

Get number of rows

func (*Sheet) GetRow

func (s *Sheet) GetRow(index int) (row *rw, err error)

func (*Sheet) GetRows

func (s *Sheet) GetRows() (rows []*rw)

Get all rows

type Workbook

type Workbook struct {
	// contains filtered or unexported fields
}

Workbook struct

func OpenFile

func OpenFile(fileName string) (workbook Workbook, err error)

OpenFile - Open document from the file

func OpenReader

func OpenReader(fileReader io.ReadSeeker) (workbook Workbook, err error)

OpenReader - Open document from the file reader

func (*Workbook) GetCodePage

func (wb *Workbook) GetCodePage() []byte

GetCodePage - codepage

func (*Workbook) GetCodePageInt

func (wb *Workbook) GetCodePageInt() int

func (*Workbook) GetFormatByIndex

func (wb *Workbook) GetFormatByIndex(index int) record.Format

GetXF - Return FORMAT record describes a number format in the workbook

func (*Workbook) GetNumberSheets

func (wb *Workbook) GetNumberSheets() int

GetNumberSheets - Number of sheets in the workbook

func (*Workbook) GetSheet

func (wb *Workbook) GetSheet(sheetID int) (sheet *Sheet, err error)

GetSheet - Get Sheet by ID

func (*Workbook) GetSheets

func (wb *Workbook) GetSheets() []Sheet

GetSheets - Get sheets in the workbook

func (*Workbook) GetVersionBIFF

func (wb *Workbook) GetVersionBIFF() []byte

GetVersionBIFF - version BIFF

func (*Workbook) GetXFbyIndex

func (wb *Workbook) GetXFbyIndex(index int) record.XF

GetXF - Return Extended Format Record by index

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL