Expand description
Typed result model (WorkbookDiff, SheetDiff, CellDiff, CellValue, …).
Public result data model.
All types here are normatively defined in RFC-033. This module owns construction and the summary / change-kind derivation logic; the field shapes are fixed by the canonical lexicon.
Structs§
- Alignment
Summary - Summary of row-alignment decisions for a sheet pair (RFC-011).
- Cell
Date Time - Spreadsheet-serial date/time value captured from calamine.
- Cell
Diff - A merged per-cell diff entry (RFC-033 §5).
- Cell
Display - Human-friendly display metadata attached to a cell value (RFC-020).
- Cell
Duration - Spreadsheet-serial duration value (ISO 8601 duration string when available).
- Cell
Number Format - A number-format identifier and/or code string captured from the workbook.
- Cell
Snapshot - A full snapshot of one cell: typed value + optional formula + optional display metadata (RFC-020).
- Diagnostic
- A single structured diagnostic entry.
- Diagnostic
Location - Location context attached to a diagnostic.
- Diagnostic
Summary - Diagnostic counts rolled up at any level.
- Diff
Metrics - Internal processing metrics (RFC-024, RFC-027).
- Diff
Summary - Top-level workbook diff summary.
- Format
Change - Reserved for RFC-022 (style/format diffs). Always
None— calamine 0.36 does not expose a cell-style API. Set viaFormatCompareMode(currently onlyIgnoreis accepted). - Formula
Change - A formula-layer change at one cell address.
- Formula
Text - A formula’s text, with an optional normalised form.
- Sheet
Diff - The diff result for one logical sheet pair.
- Sheet
Ref - A reference to a specific sheet in one workbook.
- Sheet
Summary - Per-sheet summary counts.
- Source
Description - Caller-visible description of a workbook input source.
- Value
Change - A value-layer change at one cell address.
- Workbook
Change - Reserved for RFC-021 (workbook metadata diffs). Always empty.
- Workbook
Diff - The complete diff result for a workbook pair.
- Workbook
Object Change - Reserved for RFC-023 (non-cell object diffs). Always empty.
- Workbook
Side Info
Enums§
- Cell
Change Kind - Derived classification of a
CellDiffentry. - Cell
Error - Typed spreadsheet cell error.
- Cell
Value - Typed representation of a spreadsheet cell value (RFC-033 §2).
- Date
Time Kind - Whether an Excel date serial represents a date, time, or datetime.
- Diagnostic
Kind - Structured diagnostic kind.
- Diff
Stage - Which processing stage emitted a diagnostic.
- Display
Source - Where a display string originated.
- Match
Confidence - How confident the sheet-matching algorithm is about a non-exact pairing.
- Severity
- Severity of a diagnostic entry.
- Sheet
Change - How a sheet pair was classified.
- Sheet
Match Reason - The reason a non-exact sheet pair was formed.
- Side
- Which workbook of the pair a piece of data refers to.
- Source
Kind - What kind of input source a workbook came from.
- Value
Difference Kind - Why two
CellValues were considered different.