Snapshot Namespace
Namespace Avalonia.Controls.Documents.Serialization.Snapshot
Types
- BlockSnapshotNode - Base class for block-level snapshot nodes. Contains block formatting information.
- DocumentSnapshot - Immutable snapshot of document state for background serialization. Created on UI thread, safe to read from any thread.
- DocumentSnapshotBuilder - Builder for creating DocumentSnapshot instances without FlowDocument dependencies. Provides a fluent API for constructing snapshot content.
- FootnoteReferenceSnapshotNode - Snapshot node for a Avalonia.Controls.Documents.RichFootnoteReference anchor or a Avalonia.Controls.Documents.RichFootnoteCitation, which carry the same data and differ by Avalonia.Controls.Documents.Serialization.Snapshot.SnapshotNode.Kind: the anchor owns the note, a citation only points at it. The node's text range is one object replacement character; Avalonia.Controls.Documents.Serialization.Snapshot.FootnoteReferenceSnapshotNode.NoteId pairs it with its Avalonia.Controls.Documents.Serialization.Snapshot.FootnoteSnapshot body, whose position among the snapshot's Avalonia.Controls.Documents.Serialization.Snapshot.DocumentSnapshot.Footnotes is the number both show.
- FootnoteSnapshot - A footnote in a document snapshot: the note's body as a nested document snapshot, the id pairing it with the Avalonia.Controls.Documents.Serialization.Snapshot.FootnoteReferenceSnapshotNode anchor of the same id, and an optional name for formats that address notes by name.
- HyperlinkSnapshotNode - Snapshot node for hyperlinks. Contains the target URI and the optional
link title (markdown
[text](url "title"), HTMLtitleattribute; surfaced on the element as its string tooltip). - ImageSnapshotNode - Snapshot node for images. Contains image data and metadata. Can be used in both inline and block contexts.
- InlineSnapshotNode - Base class for inline-level snapshot nodes. Contains inline formatting information.
- ListSnapshotNode - Snapshot node for lists. Contains list-specific formatting.
- PageBandReferences - A section's explicit band references by band identity: the running header and footer, and the first-page header and footer, whose presence is what makes the section's first page special. An identity no band of the document carries binds to nothing, so a section pasted from another document arrives without references.
- PageBandSnapshot - A page band in a document snapshot: the band's content as a nested document snapshot, the role and rule that place it, its identity, and an optional name for formats that reference bands by name.
- PageNumberFieldSnapshotNode - Snapshot node for a Avalonia.Controls.Documents.RichPageNumberField. The node's text range holds the field's last calculated result; Avalonia.Controls.Documents.Serialization.Snapshot.PageNumberFieldSnapshotNode.FieldKind is what the field resolves to.
- RunSnapshotNode - Snapshot node for text runs.
- SectionSnapshotNode - Snapshot node for sections. Contains the section's page setup.
- SnapshotNode - Base class for all snapshot nodes. Contains no UI references. All data is owned by the snapshot and safe to access from any thread.
- SnapshotNodeChildren - Lightweight view over a children array with an explicit count. Avoids copying when builder arrays are over-allocated.
- SnapshotNodeChildren.Enumerator - Enumerates the children of a Avalonia.Controls.Documents.Serialization.Snapshot.SnapshotNodeChildren without heap allocation.
- TableSnapshotNode - Snapshot node for tables. Contains table-specific formatting.