xlsx

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

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

func NewDocument

func NewDocument(path string) *Document

func Open

func Open(path string) *Document

func (*Document) Close

func (d *Document) Close()

func (*Document) ParseSheet

func (d *Document) ParseSheet(name string, parser SheetHandler)

type FormatCodeType

type FormatCodeType string

func (FormatCodeType) IsTime

func (f FormatCodeType) IsTime() bool

type Relationships

type Relationships map[string]relation

func NewRelationships

func NewRelationships(f *zip.File) Relationships

type SharedStrings

type SharedStrings []string

func NewSharedStrings

func NewSharedStrings(f *zip.File) SharedStrings

type Sheet

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

func NewSheet

func NewSheet(f *zip.File, ss SharedStrings, styles *Styles) *Sheet

func (*Sheet) Close

func (s *Sheet) Close()

func (*Sheet) Parse

func (s *Sheet) Parse(handler SheetHandler)

type SheetHandler

type SheetHandler interface {
	ReadRow(rowCount int, columns []interface{})
}

SheetHandler will receive string / int64 / float64 / time.Time

type Styles

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

func NewStyles

func NewStyles(f *zip.File) *Styles

func (*Styles) CellTypeFromStyle

func (s *Styles) CellTypeFromStyle(c cellXf) FormatCodeType

type Workbook

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

func NewWorkbook

func NewWorkbook(f *zip.File) *Workbook

Jump to

Keyboard shortcuts

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