Authoring Namespace
Namespace Avalonia.Controls.Documents.Serialization.Authoring
Types
- BoldInlineDraft - Inline draft for bold formatting.
- CustomInlineDraft - Inline draft for custom (non-built-in) node kinds. Accepts an arbitrary Avalonia.Controls.Documents.TextModel.TextDocumentNodeKind registered via Avalonia.Controls.Documents.TextModel.TextDocumentNodeKind.Register(string,Avalonia.Controls.Documents.TextModel.NodeKindFlags).
- FootnoteCitationInlineDraft - Inline draft for a further citation of a note that already has its anchor. The builder inserts a single object replacement character for it, as it does for the anchor: the number both show is the note's position among the document's notes, resolved at render time rather than stored.
- FootnoteReferenceInlineDraft - Inline draft for a footnote anchor. The builder inserts a single object replacement character for it: the number the anchor shows is its note's position among the document's notes, resolved at render time rather than stored.
- HyperlinkInlineDraft - Inline draft for hyperlinks.
- ImageInlineDraft - Inline draft for embedded images. The builder inserts an object replacement character (U+FFFC) for the image, giving the resulting Avalonia.Controls.Documents.Serialization.Snapshot.ImageSnapshotNode a length of one.
- InlineDraft - Base class for mutable inline draft elements consumed by Avalonia.Controls.Documents.Serialization.Snapshot.DocumentSnapshotBuilder. Drafts are pre-offset authoring DTOs that the builder converts into immutable Avalonia.Controls.Documents.Serialization.Snapshot.InlineSnapshotNode instances.
- InlineWrapper - One level of an inline wrapper chain: the kind of the wrapping element and the formatting it carries. The value-type counterpart of a wrapper Avalonia.Controls.Documents.Serialization.Authoring.InlineDraft, for Avalonia.Controls.Documents.Serialization.Snapshot.DocumentSnapshotBuilder.AddRun(ReadOnlyMemory{char},Avalonia.Controls.Documents.TextModel.Formatting.InlineFormatting,Avalonia.Controls.Documents.TextModel.Formatting.TextElementFormatting,ReadOnlySpan{Avalonia.Controls.Documents.Serialization.Authoring.InlineWrapper},object).
- ItalicInlineDraft - Inline draft for italic formatting.
- LineBreakInlineDraft - Inline draft for line breaks.
- PageNumberFieldInlineDraft - Inline draft for a page-number field. The builder inserts a single object replacement character for it: the number the field shows depends on the page it lands on, so it is resolved at render time rather than stored.
- RunInlineDraft - Inline draft for text runs.
- SpanInlineDraft - Inline draft for spans.
- SubscriptInlineDraft - Inline draft for subscript formatting.
- SuperscriptInlineDraft - Inline draft for superscript formatting.
- UnderlineInlineDraft - Inline draft for underline formatting.