Versions in this module Expand all Collapse all v1 v1.0.1 Jul 26, 2026 Changes in this version + type Alignment string + const AlignmentCenter + const AlignmentDistributed + const AlignmentLeft + const AlignmentNoControl + type Cell struct + func (cell *Cell) GetBoolValue() (bool, bool) + func (cell *Cell) GetFloatValue() (float64, bool) + func (cell *Cell) GetIntValue() (int, bool) + func (cell *Cell) GetTextValue() (string, bool) + func (cell *Cell) NewRichText() *RichText + func (cell *Cell) Ref() *CellRef + func (cell *Cell) RichText() *RichText + func (cell *Cell) SetBoolValue(value bool) + func (cell *Cell) SetFloatValue(value float64) + func (cell *Cell) SetIntValue(value int) + func (cell *Cell) SetPlainText(str string) + func (cell *Cell) String() string + func (cell *Cell) Type() CellType + type CellRange struct + func NewCellRange(first, last *CellRef) *CellRange + func NewCellRangeFromString(str string) *CellRange + func (cellRange *CellRange) FirstRef() *CellRef + func (cellRange *CellRange) LastRef() *CellRef + func (cellRange *CellRange) String() string + type CellRef struct + func NewCellRef(rowNum, colNum int, isAbsRow, isAbsCol bool) *CellRef + func NewCellRefFromString(str string) *CellRef + func (cellRef *CellRef) ColNum() int + func (cellRef *CellRef) IsAbsCol() bool + func (cellRef *CellRef) IsAbsRow() bool + func (cellRef *CellRef) RowNum() int + func (cellRef *CellRef) String() string + type CellType string + const CellTypeBool + const CellTypeError + const CellTypeFormulaStr + const CellTypeInlineStr + const CellTypeNumber + const CellTypeSharedStr + type CharType string + const CharTypeFullWidthKatakana + const CharTypeHalfWidthKatakana + const CharTypeHiragana + const CharTypeNoConversion + type Color struct + func (color *Color) Auto() (bool, bool) + func (color *Color) Index() (uint, bool) + func (color *Color) RGB() (uint16, bool) + func (color *Color) SetAuto(auto, remove bool) + func (color *Color) SetIndex(index uint, remove bool) + func (color *Color) SetRGB(value uint16, remove bool) + func (color *Color) SetTheme(value uint, remove bool) + func (color *Color) SetTint(value float64) + func (color *Color) Theme() (uint, bool) + func (color *Color) Tint() float64 + type CoreProperties struct + func (cp *CoreProperties) Category() string + func (cp *CoreProperties) ContentStatus() string + func (cp *CoreProperties) ContentType() string + func (cp *CoreProperties) CreatedAt() (int64, bool) + func (cp *CoreProperties) Creator() string + func (cp *CoreProperties) Description() string + func (cp *CoreProperties) Identifier() string + func (cp *CoreProperties) Keywords() string + func (cp *CoreProperties) Language() string + func (cp *CoreProperties) LastModifiedBy() string + func (cp *CoreProperties) LastPrintedAt() (int64, bool) + func (cp *CoreProperties) ModifiedAt() (int64, bool) + func (cp *CoreProperties) Revision() int + func (cp *CoreProperties) SetCategory(str string) + func (cp *CoreProperties) SetContentStatus(str string) + func (cp *CoreProperties) SetContentType(str string) + func (cp *CoreProperties) SetCreatedAt(sec int64, remove bool) + func (cp *CoreProperties) SetCreator(str string) + func (cp *CoreProperties) SetDescription(str string) + func (cp *CoreProperties) SetIdentifier(str string) + func (cp *CoreProperties) SetKeywords(str string) + func (cp *CoreProperties) SetLanguage(str string) + func (cp *CoreProperties) SetLastModifiedBy(str string) + func (cp *CoreProperties) SetLastPrintedAt(sec int64, remove bool) + func (cp *CoreProperties) SetModifiedAt(sec int64, remove bool) + func (cp *CoreProperties) SetRevision(value int) + func (cp *CoreProperties) SetSubject(str string) + func (cp *CoreProperties) SetTitle(str string) + func (cp *CoreProperties) SetVersion(value float64) + func (cp *CoreProperties) Subject() string + func (cp *CoreProperties) Title() string + func (cp *CoreProperties) Version() float64 + type FontScheme string + const FontSchemeMajor + const FontSchemeMinor + const FontSchemeNone + type PhoneticPr struct + func (phpr *PhoneticPr) Alignment() Alignment + func (phpr *PhoneticPr) CharType() CharType + func (phpr *PhoneticPr) FontId() uint + func (phpr *PhoneticPr) SetAlignment(value Alignment) + func (phpr *PhoneticPr) SetCharType(value CharType) + func (phpr *PhoneticPr) SetFontId(value uint) + type PhoneticRun struct + func (phr *PhoneticRun) End() uint + func (phr *PhoneticRun) Start() uint + func (phr *PhoneticRun) Text() string + type RichText struct + func (rt *RichText) NewPhoneticPr() *PhoneticPr + func (rt *RichText) NewPhoneticRun(start, end uint, str string) *PhoneticRun + func (rt *RichText) NewRichTextRun() *RichTextRun + func (rt *RichText) PhoneticPr() *PhoneticPr + func (rt *RichText) PhoneticRuns() []*PhoneticRun + func (rt *RichText) RemovePhoneticPr() + func (rt *RichText) RemovePhoneticRuns() + func (rt *RichText) RemoveRichTextRuns() + func (rt *RichText) RichTextRuns() []*RichTextRun + func (rt *RichText) SetPlainText(str string) + func (rt *RichText) Text() string + type RichTextRun struct + func (rtr *RichTextRun) Bold() bool + func (rtr *RichTextRun) Charset() (uint8, bool) + func (rtr *RichTextRun) Color() *Color + func (rtr *RichTextRun) Condense() bool + func (rtr *RichTextRun) Extend() bool + func (rtr *RichTextRun) FontFamily() (uint8, bool) + func (rtr *RichTextRun) FontName() string + func (rtr *RichTextRun) FontScheme() FontScheme + func (rtr *RichTextRun) FontSize() float64 + func (rtr *RichTextRun) Italic() bool + func (rtr *RichTextRun) NewColor() *Color + func (rtr *RichTextRun) Outline() bool + func (rtr *RichTextRun) RemoveColor() + func (rtr *RichTextRun) SetBold(value bool) + func (rtr *RichTextRun) SetCharset(value uint8, remove bool) + func (rtr *RichTextRun) SetCondense(value bool) + func (rtr *RichTextRun) SetExtend(value bool) + func (rtr *RichTextRun) SetFontFamily(value uint8, remove bool) + func (rtr *RichTextRun) SetFontName(fontName string) + func (rtr *RichTextRun) SetFontScheme(value FontScheme) + func (rtr *RichTextRun) SetFontSize(value float64) + func (rtr *RichTextRun) SetItalic(value bool) + func (rtr *RichTextRun) SetOutline(value bool) + func (rtr *RichTextRun) SetShadow(value bool) + func (rtr *RichTextRun) SetStrike(value bool) + func (rtr *RichTextRun) SetText(str string) + func (rtr *RichTextRun) SetUnderline(value Underline) + func (rtr *RichTextRun) SetVerticalAlign(value VerticalAlign) + func (rtr *RichTextRun) Shadow() bool + func (rtr *RichTextRun) Strike() bool + func (rtr *RichTextRun) Text() string + func (rtr *RichTextRun) Underline() Underline + func (rtr *RichTextRun) VerticalAlign() VerticalAlign + type Row struct + func (row *Row) Cells() []*Cell + func (row *Row) NewCell() *Cell + func (row *Row) Number() int + type RowReader struct + func (rr *RowReader) Close() error + func (rr *RowReader) ReadRow() (*Row, error) + type RowWriter struct + func (rw *RowWriter) Close() error + func (rw *RowWriter) NewRow() *Row + func (rw *RowWriter) WriteRow(row *Row) error + type Spreadsheet struct + func New() *Spreadsheet + func Open(filePath string) (*Spreadsheet, error) + func (spr *Spreadsheet) Close() error + func (spr *Spreadsheet) CoreProperties() *CoreProperties + func (spr *Spreadsheet) SaveAndClose() error + func (spr *Spreadsheet) SavePath() string + func (spr *Spreadsheet) SetSavePath(savePath string) + func (spr *Spreadsheet) Workbook() *Workbook + func (spr *Spreadsheet) WriteTo(w io.Writer) error + type Underline string + const UnderlineDouble + const UnderlineDoubleAccounting + const UnderlineNone + const UnderlineSingle + const UnderlineSingleAccounting + type VerticalAlign string + const VerticalAlignBaseline + const VerticalAlignSubScript + const VerticalAlignSuperScript + type Workbook struct + func (wb *Workbook) NewWorksheet(name string) (*Worksheet, error) + func (wb *Workbook) Worksheet(name string) *Worksheet + func (wb *Workbook) WorksheetNames() []string + type Worksheet struct + func (ws *Worksheet) Name() string + func (ws *Worksheet) NewRowReader() *RowReader + func (ws *Worksheet) NewRowWriter() *RowWriter + func (ws *Worksheet) SetState(state WorksheetState) + func (ws *Worksheet) State() WorksheetState + type WorksheetState string + const WorksheetStateHidden + const WorksheetStateVeryHidden + const WorksheetStateVisible v1.0.0 Jul 26, 2026