OdfTabStop
OfficeIMO.OpenDocument
An explicit native paragraph tab stop with optional text or line paint.
Inheritance
- object
- OdfTabStop
Usage
Explore 4 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 3
- Method OdfTabStop.WithLeader
- Method OdfTabStop.WithLeaderTextStyle
- Method OdfTabStop.WithLineLeader
Accepted by parameters 1
- Method OdfTextParagraph.SetTabStops
Constructors
public OdfTabStop(OdfLength position, string type = "left", string? character = null) #Creates an absolute tab position with left, center, right or character alignment.
Parameters
- position OfficeIMO.OpenDocument.OdfLength
- type string = "left"
- character string? = null
Methods
public OdfTabStop WithLeader(string? text) #Returns an independent stop with a textual leader; null removes it.
Parameters
- text string?
Returns
OdfTabStoppublic OdfTabStop WithLeaderTextStyle(OdfStyle? style) #Returns an independent stop bound to a text style; null clears the binding while retaining the glyph and line declarations.
Parameters
- style OfficeIMO.OpenDocument.OdfStyle?
Returns
OdfTabStoppublic OdfTabStop WithLineLeader(OdfTabLineLeader? leader) #Returns an independent stop with line declarations; null clears them without changing text paint.
Parameters
- leader OfficeIMO.OpenDocument.OdfTabLineLeader?
Returns
OdfTabStopInherited Methods
Properties
public OdfLength Position { get; } #Absolute distance from the native paragraph tab origin.
public string? Character { get; } #Character delimiter, or null for non-character stops.
public string? LeaderText { get; private set; } #Optional single Unicode character repeated in the tab gap.
public OdfTabLineLeader? LineLeader { get; private set; } #Optional native line declarations. A declared OdfTabStop.LeaderText takes precedence.
public OdfStyle? LeaderTextStyle { get; private set; } #Referenced text style for a textual leader, or null for the active tab formatting.