Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OdfTabStop

OfficeIMO.OpenDocument

Namespace
OfficeIMO.OpenDocument
Assembly
OfficeIMO.OpenDocument
Source revision
1f76172c94d1 with working tree changes
Modifiers
sealed

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.

Accepted by parameters 1

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 required
type string = "left" optional
character string? = null optional

Methods

public OdfTabStop WithLeader(string? text) #

Returns an independent stop with a textual leader; null removes it.

Parameters

text string? required

Returns

OdfTabStop
public 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? required

Returns

OdfTabStop
public OdfTabStop WithLineLeader(OdfTabLineLeader? leader) #

Returns an independent stop with line declarations; null clears them without changing text paint.

Parameters

leader OfficeIMO.OpenDocument.OdfTabLineLeader? required

Returns

OdfTabStop

Properties

public OdfLength Position { get; } #

Absolute distance from the native paragraph tab origin.

public string Type { get; } #

Native alignment token.

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.