Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

CslStyle

Namespace OfficeIMO.Bibliography
Assembly OfficeIMO.Bibliography
Modifiers sealed

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

Inheritance

  • Object
  • CslStyle

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

Accepted by parameters

Methods

public static CslStyle Parse(String xml, CslStyleLoadOptions options = null, CancellationToken cancellationToken = default) #
Returns: CslStyle

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

Parameters

xml System.String requiredposition: 0
options OfficeIMO.Bibliography.CslStyleLoadOptions = null optionalposition: 1
cancellationToken System.Threading.CancellationToken = default optionalposition: 2

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 Boolean IsNoteStyle { get; } #

Whether citations are intended for notes.