Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

AsciiDocDelimitedBlock

Namespace OfficeIMO.AsciiDoc
Assembly OfficeIMO.AsciiDoc

Source-preserving common AsciiDoc delimited block.

Inheritance

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Methods

public AsciiDocDocument GetBody(CancellationToken cancellationToken = default) #
Returns: AsciiDocDocument

Loads the typed compound body with cooperative cancellation; verbatim blocks have no child document.

Parameters

cancellationToken System.Threading.CancellationToken = default optionalposition: 0

Properties

public AsciiDocDelimitedBlockKind Kind { get; } #

Delimited block kind.

public String Delimiter { get; } #

Opening and closing delimiter text without a line ending.

public String OpeningText { get; } #

Exact original opening delimiter line.

public String ClosingText { get; } #

Exact original closing delimiter line, or empty when unterminated.

public Boolean IsTerminated { get; } #

True when a matching closing delimiter was present.

public virtual String Content { get; set; } #

Content between delimiters, including its original internal line endings until edited.

public AsciiDocDocument Body { get; } #

Typed editable child document for an example, sidebar, quote, or open block; null for verbatim blocks.

public override Boolean IsModified { get; } #

True when this block or one of its editable children has changed.

public Nullable<AsciiDocAdmonitionKind> AdmonitionKind { get; } #

Admonition kind for a styled compound block, when applicable.

public Boolean IsStem { get; } #

True when this is a display STEM block.