Documentation ¶
Index ¶
Constants ¶
This section is empty.
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"}
View Source
var HeaderStyle = &excelize.Style{ Border: []excelize.Border{{ Type: "left", Color: "000000", Style: 1, }, { Type: "top", Color: "000000", Style: 1, }, { Type: "bottom", Color: "000000", Style: 1, }, { Type: "right", Color: "000000", Style: 1, }}, Fill: excelize.Fill{ Type: "pattern", Pattern: 1, Color: []string{"#bfbfbf"}, }, Font: &excelize.Font{Bold: true}, Alignment: &excelize.Alignment{ Horizontal: "center", Vertical: "center", }, Protection: nil, NumFmt: 0, CustomNumFmt: nil, NegRed: false, }
View Source
var Style = &excelize.Style{
Alignment: &excelize.Alignment{
Horizontal: "center",
Vertical: "center",
},
}
Functions ¶
func NewXlsxFile ¶
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 )
Click to show internal directories.
Click to hide internal directories.