goxls

package
v0.0.0-...-056b953 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsciiToUcs

func AsciiToUcs(ascii string) string

ascToUcs utility function to transform ASCII text to Unicode.

func LocalDateToOLE

func LocalDateToOLE(timestamp int64) string

localDateToOLE ...

func PutVar

func PutVar(w io.Writer, args ...interface{})

PutVar ...

func Utf8toBIFF8UnicodeLong

func Utf8toBIFF8UnicodeLong(value string) string

utf8toBIFF8UnicodeLong converts a UTF-8 string into BIFF8 Unicode string data (16-bit string length)

Types

type PPS

type PPS struct {
	No         int
	Name       string
	PpsType    uint8
	PrevPps    uint32
	NextPps    uint32
	DirPps     uint32
	Data       string
	Size       uint32
	StartBlock uint32
}

pps ...

func (*PPS) GetPpsWk

func (pps *PPS) GetPpsWk() string

getPpsWk ...

type StringCollection

type StringCollection struct {
	StringGrid   [][]string
	StringMap    map[string]int
	StringList   []string
	StringTotal  int
	StringUnique int
}

stringCollection ...

func (*StringCollection) AddRow

func (sc *StringCollection) AddRow(row []string)

type Workbook

type Workbook struct {
	WorksheetSizes   []int
	WorksheetNames   []string
	StringCollection *StringCollection
}

Workbook ...

func (*Workbook) GetWorksheetSizesData

func (wb *Workbook) GetWorksheetSizesData() string

type Worksheet

type Worksheet struct {
	Name         string
	Grid         [][]string
	ColumnWidths map[int]int
}

Worksheet ...

func (*Worksheet) GetData

func (ws *Worksheet) GetData(stringCollection *StringCollection) string

func (*Worksheet) GetName

func (ws *Worksheet) GetName() string

Jump to

Keyboard shortcuts

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