Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

CslStyle

OfficeIMO.Bibliography

Namespace
OfficeIMO.Bibliography
Assembly
OfficeIMO.Bibliography
Source revision
5e5a2dda74b3 with working tree changes
Modifiers
sealed

An immutable parsed CSL style. Styles and their parent aliases are resolved from caller-supplied data.

Inheritance

  • object
  • CslStyle

Usage

Explore 2 API references to this type

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

Returned or exposed by 1

Accepted by parameters 1

Methods

public static CslStyle Parse(string xml, CslStyleLoadOptions? options = null, CancellationToken cancellationToken = default) #

Parses bounded CSL XML, prohibits external entities, resolves local parent styles, and rejects recursive macros.

Parameters

xml string required
options OfficeIMO.Bibliography.CslStyleLoadOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

CslStyle

Properties

public string Id { get; } #

Style identifier from its metadata.

public string Title { get; } #

Style title from its metadata.

public string DefaultLocale { get; } #

Effective default language dialect, including a dependent style override.

public bool IsNoteStyle { get; } #

Whether citations are intended for notes.