export

package
v0.0.0-...-1f4ee57 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const HeaderStyle = `` /* 321-byte string literal not displayed */
View Source
const Style = `{"alignment":{"horizontal":"center","vertical":"center"}}`

Variables

View Source
var ColumnLetter = [...]string{"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "AA", "AB", "AC"}

Functions

func NewFile

func NewFile(sheet string, header []string) *excelize.File

360 excel库文档宣称性能很强,实际性能很差,尤其合并单元格

func NewSheet

func NewSheet(f *excelize.File, sheet string, header []string)

func NewXlsxFile

func NewXlsxFile(sheetName string, header []string) (*xlsx.File, *xlsx.Sheet)

func XlsxWriteValue

func XlsxWriteValue(row *xlsx.Row, values []interface{})

Types

type ColumnNumber

type ColumnNumber int
const (
	A ColumnNumber = iota
	B
	C
	D
	E
	F
	G
	H
	I
	J
	K
	L
	M
	N
	O
	P
	Q
	R
	S
	T
	U
	V
	W
	X
	Y
	Z
	AA
	AB
	AC
)

func (ColumnNumber) Sting

func (c ColumnNumber) Sting() string

只拓展到两位列ZZ

Jump to

Keyboard shortcuts

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