Versions in this module Expand all Collapse all v0 v0.1.1 Jun 25, 2024 Changes in this version + type Column struct + Width float32 type Sheet + Columns map[int]*Column + func (s *Sheet) SetColumnWidth(colNumber int, w float32) v0.1.0 Jun 17, 2024 Changes in this version + func BlobHash(blob []byte) uuid.UUID + func CellCoordAsString(col, row int) string + func ColumnNumberAsLetters(n int) string + type Cell struct + func (c *Cell) SetBool(v bool) + func (c *Cell) SetFloat(v float64) + func (c *Cell) SetInt(v int64) + func (c *Cell) SetPicture(p *PictureInfo) + func (c *Cell) SetStr(v string) + type CellType int + const CellTypeBool + const CellTypeDate + const CellTypeError + const CellTypeFormula + const CellTypeInlineString + const CellTypeNumber + const CellTypeSharedString + const CellTypeUnset + type DirStorage struct + Dir string + func NewDirStorage(dir string) *DirStorage + func (ds *DirStorage) WriteBlob(path string, blob []byte) error + type MediaInfo struct + Blob []byte + IId int + Name string + RId string + type PictureInfo struct + Blob []byte + Extension string + type RelInfo struct + Target string + Type string + type Row struct + Cells []*Cell + Height float32 + func (r *Row) AddCell() *Cell + type Sheet struct + Name string + Rows []*Row + func (s *Sheet) AddRow() *Row + type Storage interface + WriteBlob func(path string, blob []byte) error + type Workbook struct + AppName string + Sheets []*Sheet + func NewWorkbook() *Workbook + func (wb *Workbook) AddSheet(name string) (*Sheet, error) + type Writer struct + DefaultContentTypes map[string]string + GlobalRels map[string]RelInfo + PartContentTypes map[string]string + RichDataRels map[string]RelInfo + WorkbookRels map[string]RelInfo + func NewWriter(s Storage) *Writer + func (w *Writer) SharedString(s string) int + func (w *Writer) Write(wb *Workbook) error + type ZipStorage struct + func NewZipStorage(out io.Writer) *ZipStorage + func (zs *ZipStorage) Close() + func (zs *ZipStorage) WriteBlob(path string, blob []byte) error