Beispiel #1
0
func CreateStyle(cols []string, line string, excel *ge.Goexcel) {
	CheckColno(cols, 4, 6, line)
	cols = AddBlank(cols, 6)
	ptn := ""
	if cols[5] != "" {
		ptn = CheckBorderPattern(cols[5], line)
	}
	excel.CreateStyleByKey(cols[1], cols[2], Atoi(cols[3], line), cols[4], ptn)
}