Versions in this module Expand all Collapse all v0 v0.8.0 Oct 1, 2026 v0.6.0 Sep 30, 2026 Changes in this version + func FormatOfCode(code string) sheet.Format + func WriteTable(w *sheet.Workbook, spec TableSpec, o SetOptions) (warnings []string, err error) type Entry + Format string + Value Value type File + func (f *File) ReadSources(ctx context.Context) type Operation + Columns []string + Format string + Formats map[string]string + Rows []Row + Value Value type ReadOptions + NoText bool + type Row json.RawMessage + func (r *Row) UnmarshalJSON(b []byte) error + func (r Row) MarshalJSON() ([]byte, error) + type TableSpec struct + At string + Columns []string + Formats map[string]string + Rows []Row + type Value json.RawMessage + func CellValue(s *sheet.Sheet, a sheet.Addr) Value + func (v *Value) UnmarshalJSON(b []byte) error + func (v Value) MarshalJSON() ([]byte, error) v0.5.0 Sep 30, 2026 v0.4.0 Sep 29, 2026 Changes in this version + func AddPivot(w *sheet.Workbook, spec PivotSpec) (string, error) + func AnswerJEVFrom(ctx context.Context, w *sheet.Workbook, client jev.Client, cache *jev.Cache, ...) int + func Apply(w *sheet.Workbook, ops []Operation, o SetOptions) (warnings []string, err error) + func ChartTitle(c sheet.Chart) string + func Encode(w io.Writer, format string, v any) error + func Filter(w *sheet.Workbook, ref string, cols []FilterColumn, remove bool) error + func FindChart(s *sheet.Sheet, which string) (int, error) + func Sort(w *sheet.Workbook, ref string, keys []SortKey, header bool) error + func WriteDescription(w io.Writer, d Description) error + type CellRun struct + Cell int + Cut bool + Error string + Name string + Notebook string + Output string + State string + func RunCell(ctx context.Context, w *sheet.Workbook, name string, n int, o NotebookOptions) (CellRun, error) + type Change struct + Field string + Item string + Kind string + New json.RawMessage + Old json.RawMessage + Sheet string + func Changes(changes []diff.Change) []Change + type ChartDescription struct + At string + Data string + Number int + Title string + Type string + type ChartMade struct + Number int + Sheet string + Title string + func AddChart(w *sheet.Workbook, spec ChartSpec) (ChartMade, error) + type ChartSpec struct + At string + ByRow bool + Data string + Height int + Stack string + Title string + Type string + Width int + type Description struct + Names []NameDescription + Sheets []SheetDescription + func Describe(w *sheet.Workbook) Description + type Evaluated struct + Cell string + Error string + Spill *Range + Text string + Value json.RawMessage + func Evaluate(w *sheet.Workbook, formula, at string) (Evaluated, error) + type ExportResult struct + File string + Format string + Notes []string + Rows int type File + func (f *File) Changes() ([]diff.Change, error) + type FilterColumn struct + Column string + Condition string + Hide []string + Value string + type FindOptions struct + InFormulas bool + Limit int + MatchCase bool + Ref string + Regex bool + WholeCell bool + type Found struct + Matches []Match + Total int + func Find(w *sheet.Workbook, query string, o FindOptions) (Found, error) + type Match struct + Cell string + Input string + Text string + type NameDescription struct + Name string + Range string + type NotebookCell struct + Error string + Kind string + Name string + Number int + Source string + State string + type Operation struct + Count int + Header bool + Input string + Keys []SortKey + Name string + Op string + Ref string + type PivotDescription struct + Source string + type PivotSpec struct + Columns []string + Name string + Rows []string + Source string + Totals bool + Values []PivotValue + type PivotValue struct + Column string + Summarize string + type ProblemRecord struct + Addr string + Cell string + JEV bool + Sheet string + Value string + Why string + func Problems(ps []Problem) []ProblemRecord + type Range struct + Cols int + Formulas map[string]string + Range string + Rows int + Text [][]string + Truncated bool + Values [][]json.RawMessage + func ReadRange(t Target, o ReadOptions) Range + type ReadOptions struct + MaxCells int + Text bool + type RecalcResult struct + Circular bool + Errors []ProblemRecord + File string + NotebookFailures []string + type RegionDescription struct + File string + Kind string + Name string + Range string + type SetResult struct + Changes []Change + File string + Saved bool + Warnings []string + type SheetDescription struct + Cells int + Charts []ChartDescription + Cols int + Columns []string + Errors int + Filter string + Formulas int + Frozen [2]int + Header int + Hidden bool + Kind string + Name string + Notebook []NotebookCell + Pivot *PivotDescription + Regions []RegionDescription + Rows int + Shown bool + Tables []TableDescription + Used string + type SortKey struct + Column string + Descending bool + type TableDescription struct + Columns []string + Name string + Range string v0.3.0 Sep 29, 2026 Changes in this version + var Formats = []string + func AnswerJEV(ctx context.Context, w *sheet.Workbook, client jev.Client, ...) int + func Get(out io.Writer, t Target, o GetOptions) error + func MissingOutputs(s *sheet.Sheet) []string + func ResolveCell(w *sheet.Workbook, ref string) (*sheet.Sheet, sheet.Addr, error) + func RunNotebooks(ctx context.Context, w *sheet.Workbook, o NotebookOptions) []string + func Set(w *sheet.Workbook, entries []Entry, o SetOptions) (warnings []string, err error) + func SyncOutputs(w *sheet.Workbook) + func Trusted(w *sheet.Workbook, machine string) bool + func WriteAtomic(path string, mode fs.FileMode, write func(io.Writer) error) error + type Entry struct + Input string + Ref string + type File struct + Book *sheet.Workbook + New bool + Path string + func Open(path string, create bool) (*File, error) + func (f *File) Save() error + type GetOptions struct + Format string + Input bool + NoHeader bool + type NotebookOptions struct + NuConfig bool + Runner nushell.Runner + Timeout time.Duration + type Problem struct + Addr sheet.Addr + JEV bool + Sheet string + Value string + Why string + func Errors(w *sheet.Workbook) []Problem + func Recalc(w *sheet.Workbook) (problems []Problem, circular bool) + func (p Problem) At() string + type SetOptions struct + Force bool + type Target struct + Range sheet.Rect + Sheet *sheet.Sheet + Whole bool + func Resolve(w *sheet.Workbook, ref string) (Target, error) + func (t Target) Cell() bool + func (t Target) String() string