SumSheet reference
Compute Contract: transport, session conventions and the 208 operations of the spreadsheet processor, grouped by domain.
The SumSheet reference describes working with XLSX spreadsheets. For DOCX documents, there’s the SumDoc reference.
The Compute Contract is the only typed boundary between the interface, automation, adapters to your application and the SumSheet core in Rust. All 208 operations pass through it, wherever the core runs: in the desktop app, in the browser via WebAssembly or as a service on a server.
Operation sections
Section titled “Operation sections”| Section | Operations | What it covers |
|---|---|---|
| Session and workbook | 19 | Opening a workbook subset, saving, the viewport, recovery, properties, comparing, and merging revisions. |
| Cells and ranges | 23 | Editing cells, reading details, shifts, copy and paste, find and replace, sorting, undo and redo, navigating the sheet. |
| Sheets | 17 | Sheet lifecycle, copying between workbooks, visibility, protection, and freezing panes. |
| Printing and layout | 7 | Page setup, breaks, sheet background, and printing chart sheets. |
| Formulas and calculation | 17 | Recalculation, calculation modes, dependency tracing, formula auditing, named ranges, and what-if analysis. |
| Formatting | 10 | Column width and row height, merging cells, themes and fonts, conditional formatting. |
| Data, filters, and objects | 23 | Filters, subtotals, data cleanup, tables, text import, data validation, slicers, and form controls. |
| Pivot tables | 11 | Cache, calculated fields and items, grouping and drill-down, layout, report filters, sorting, and value field settings. |
| Power Query: M expressions | 9 | Evaluating and inspecting M expressions, including with external sources. |
| Power Query: connectors | 13 | Connecting to Postgres, SQL Server, OData, and web sources: testing the connection, previewing, and navigating objects. |
| Power Query: queries and steps | 13 | Query lifecycle, applied steps, parameters, and folder navigation. |
| Power Query: tables from queries | 8 | Loading a query’s result onto a sheet, refreshing such tables, and the link between a table on a sheet and the query that fills it. |
| Power Query: execution and progress | 9 | The query graph, refreshing, cancellation, and monitoring long-running operations. |
| Power Query: trust and privacy | 6 | Source privacy levels, trust decisions, and connection settings. |
| Power Query: external mashups | 3 | Reading, writing, and refreshing Power Query query sets assembled outside the product. |
| VBA and macros | 12 | Project inspection, planning and running, status, cancellation and rollback, macro trust, and the approved list. |
| Protection and review | 8 | Sheet and workbook protection, range permissions, protection auditing, change tracking, comments, and ink annotations. |
Type dictionary
Section titled “Type dictionary”The “TypeScript type” column holds names like ViewportWindow or ContractSubsetSessionInfo. Their definitions are collected in the type dictionary—959 names, arranged by the same topics as the operations. Every name in the field tables leads straight to its definition.