Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

LatexSourceText

Namespace OfficeIMO.Latex
Assembly OfficeIMO.Latex
Modifiers sealed

Complete decoded LaTeX source with offset mapping.

Inheritance

  • Object
  • LatexSourceText

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 LatexSourceSpan CreateSpan(Int32 start, Int32 end) #
Returns: LatexSourceSpan

Creates a checked half-open span.

Parameters

start System.Int32 requiredposition: 0
end System.Int32 requiredposition: 1
public LatexSourcePosition GetPosition(Int32 offset) #
Returns: LatexSourcePosition

Maps an offset to line and column.

Parameters

offset System.Int32 requiredposition: 0

Properties

public String Text { get; } #

Complete source characters.

public Int32 LineCount { get; } #

Number of logical lines.

public String PreferredLineEnding { get; } #

First source line ending, or environment newline when absent.