spreedsheetx

package
v0.0.0-...-02246d9 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	// contains filtered or unexported fields
}

func NewColumn

func NewColumn(name string) *Column

func (Column) EndName

func (c Column) EndName() string

EndName 返回最远到达的列名

func (*Column) LeftShift

func (c *Column) LeftShift(steps int) (*Column, error)

func (Column) Name

func (c Column) Name() string

Name 当前列名

func (Column) NameWithRow

func (c Column) NameWithRow(row int) string

NameWithRow 带行号的列名,比如:A1

func (*Column) Next

func (c *Column) Next() (*Column, error)

Next 当前列的下一列

func (*Column) Prev

func (c *Column) Prev() (*Column, error)

func (*Column) Reset

func (c *Column) Reset() *Column

Reset 重置到最开始的列(NewColumn 创建时的列)

func (*Column) RightShift

func (c *Column) RightShift(steps int) (*Column, error)

func (Column) StartName

func (c Column) StartName() string

StartName 返回最开始的列名

func (*Column) To

func (c *Column) To(name string) (*Column, error)

To 跳转到指定的列

func (*Column) ToFirst

func (c *Column) ToFirst() *Column

ToFirst 到第一列,总是返回 A 列

Jump to

Keyboard shortcuts

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