Documentation ¶
Index ¶
- Constants
- Variables
- func ConvertAxisToRowCol(axis string) (int, int, error)
- func ConvertColToString(col int) (string, error)
- func ConvertRowColToAxis(row, col int) (string, error)
- func ConvertRowToString(row int) (string, error)
- func NewEmptyFile(path string, opts ...excelize.Options) (*excelize.File, error)
Constants ¶
View Source
const ( // MaxRow row的取值范围: [0, 1048575] MaxRow = 1048575 // MaxCol col的取值范围: [0, 16383] MaxCol = 16383 )
Variables ¶
View Source
var NewFile func(opts ...excelize.Options) *excelize.File = excelize.NewFile
View Source
var OpenFile func(filename string, opts ...excelize.Options) (*excelize.File, error) = excelize.OpenFile
View Source
var OpenReader func(r io.Reader, opts ...excelize.Options) (*excelize.File, error) = excelize.OpenReader
Functions ¶
func ConvertRowToString ¶
func NewEmptyFile ¶
NewEmptyFile 新建1个空白的Excel文件(其内只有1个空白的工作表,表名为"Sheet1")
@param path 文件的路径(如果文件已经存在,会覆盖它)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.