Class
CslProcessor
OfficeIMO.Bibliography
A managed CSL processor over an immutable citation-data snapshot. Rendering has no filesystem, network, or executable dependency.
Inheritance
- object
- CslProcessor
Constructors
public CslProcessor(BibliographyDocument document, CslStyle style, CslRenderOptions? options = null, CancellationToken cancellationToken = default) #Creates a processor by copying the bibliography data and rendering options. Keys must be nonempty and unique.
Parameters
- document OfficeIMO.Bibliography.BibliographyDocument
- style OfficeIMO.Bibliography.CslStyle
- options OfficeIMO.Bibliography.CslRenderOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Methods
public CslRenderResult Render(IEnumerable<CslCitation> citations, bool includeUncitedItems = false, CancellationToken cancellationToken = default) #Renders a complete document citation sequence, recalculating numbers, positions, disambiguation, and bibliography order.
Parameters
- citations System.Collections.Generic.IEnumerable<OfficeIMO.Bibliography.CslCitation>
- includeUncitedItems bool = false
- cancellationToken System.Threading.CancellationToken = default
Returns
CslRenderResultpublic IReadOnlyList<CslRenderedEntry> RenderBibliography(CancellationToken cancellationToken = default) #Renders all records as a bibliography without requiring document citations.
Parameters
- cancellationToken System.Threading.CancellationToken = default
Returns
IReadOnlyList<CslRenderedEntry>Inherited Methods
Properties
public BibliographyConversionReport DataConversionReport { get; } #Fidelity evidence for projecting the source bibliography into the processor's CSL data snapshot.