Documentation
¶
Index ¶
- func ConvertColumnToLetter(colIndex int) string
- func GetCellValueByTag(axisName string, alignedArr [][]string) (string, error)
- func GetCellValueByVerticalTag(tagValue int, colValue int, alignedArr [][]string) (string, error)
- func IsWithInMergeScope(col, row int, mergeCells []excelize.MergeCell) (bool, string, error)
- func MaxWidth(matrix [][]string) int
- func ShrinkArray(alignedArray [][]string) ([][]string, error)
- func UnpackAxisName(axisName string) (row int, col int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertColumnToLetter ¶ added in v0.3.0
将数字转为字母列号.
colIndex int 列号,必须从1开始 @return string 转换后的字母列号,如果转换不成功返回空字符串
func GetCellValueByTag ¶
func GetCellValueByVerticalTag ¶ added in v0.2.0
用于获得列式表的数据。tagValue为结构体中标记的值,该值直接用数值表示。
func IsWithInMergeScope ¶
判断单元格是否在合并范围内
func ShrinkArray ¶
缩小数组.给定一个已经对齐的数组(第二维长度一致),从最末列开始,如果整列的值都为空字符串,则该列可以被删除
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.