excelKit

package
v2.2.40 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxRow row的取值范围: [0, 1048575]
	MaxRow = 1048575
	// MaxCol col的取值范围: [0, 16383]
	MaxCol = 16383
)

Variables

This section is empty.

Functions

func ConvertAxisToRowCol

func ConvertAxisToRowCol(axis string) (int, int, error)

ConvertAxisToRowCol

e.g. ("C2") =>

func ConvertColToString

func ConvertColToString(col int) (string, error)

ConvertColToString

e.g. (0) => "A", nil (16368) => "XEO", nil

func ConvertRowColToAxis

func ConvertRowColToAxis(row, col int) (string, error)

ConvertRowColToAxis

e.g. (1, 2) => "C2", nil

func ConvertRowToString

func ConvertRowToString(row int) (string, error)

func NewEmptyFile

func NewEmptyFile(path string, opts ...excelize.Options) (*excelize.File, error)

NewEmptyFile 新建1个空白的Excel文件(其内只有1个空白的工作表,表名为"Sheet1")

@param path 文件的路径(如果文件已经存在,会覆盖它)

Types

This section is empty.

Jump to

Keyboard shortcuts

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