excel

package
v0.0.0-...-1fa08cb Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CategoryCol = "A"
View Source
const CategoryWidth = 20.
View Source
const ConfirmationPrefix = '・'
View Source
const ConfirmationWidth = 55.
View Source
const ConfirmationsCol = "E"
View Source
const ProcedureWidth = 55.
View Source
const ProceduresCol = "D"
View Source
const RemarkWidth = 55.
View Source
const RemarksCol = "G"
View Source
const RemarksPrefix = '・'
View Source
const ResultCol = "F"
View Source
const ResultWidth = 10.
View Source
const SubCategoryCol = "B"
View Source
const SubCategoryWidth = 25.
View Source
const SubSubCategoryCol = "C"
View Source
const SubSubCategoryWidth = 25.

Variables

View Source
var DefaultConfig = Config{
	Header: Header{
		Category:       "Category",
		SubCategory:    "Sub-category",
		SubSubCategory: "Sub-sub-category",
		Procedure:      "Procedure",
		Confirmation:   "Confirmation",
		Result:         "Result",
		Remarks:        "Remarks",
	},
}

Functions

This section is empty.

Types

type Book

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

func CreateBook

func CreateBook(spec *spec.Spec, config *Config) (*Book, error)

func (*Book) SaveAs

func (b *Book) SaveAs(name string) error

func (*Book) WriteTo

func (b *Book) WriteTo(w io.Writer) (int64, error)

func (*Book) WriteToBuffer

func (b *Book) WriteToBuffer() (*bytes.Buffer, error)

type Config

type Config struct {
	Header     Header
	FontFamily string
}
type Header struct {
	Category       string
	SubCategory    string
	SubSubCategory string
	Procedure      string
	Confirmation   string
	Result         string
	Remarks        string
}

Jump to

Keyboard shortcuts

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