cell

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STCellTypeNumber       = "n"
	STCellTypeInlineStr    = "inlineStr"
	STCellTypeSharedString = "s"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cell

type Cell struct {
	Reference string `xml:"r,attr"`
	Style     *uint  `xml:"s,attr"`
	Type      string `xml:"t,attr"`

	Formula *Formula
	Value   *string    `xml:"v"`
	IS      *inlineStr `xml:"is"`
	// contains filtered or unexported fields
}

Cell 单元格结构定义

func NewCellWithNumber

func NewCellWithNumber(row uint64, col uint64, number interface{}) *Cell

func NewCellWithText

func NewCellWithText(row uint64, col uint64, text string) *Cell

func NewCellWithTextForInline

func NewCellWithTextForInline(row uint64, col uint64, text string) *Cell

type Formula

type Formula struct {
	Name xml.Name `xml:"f"`
}

Jump to

Keyboard shortcuts

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