Table of Contents

Class OdfListLevelStyle

Namespace
OdfKit.Text
Assembly
OdfKit.dll

Defines a single level configuration of a multi-level list style. 定義多層級清單樣式的單一層級設定。

public sealed class OdfListLevelStyle
Inheritance
OdfListLevelStyle
Inherited Members

Constructors

OdfListLevelStyle()

public OdfListLevelStyle()

Properties

BulletChar

Gets the bullet character (valid only for the Bullet type). 專案符號字元(僅 Bullet 類型有效)

public string? BulletChar { get; init; }

Property Value

string

FirstLineIndent

Gets the first line indent amount (a negative value indicates a hanging indent). 首行縮排量(負值表示懸掛縮排)

public OdfLength FirstLineIndent { get; init; }

Property Value

OdfLength

IndentLeft

Gets the left indent amount. 左側縮排量

public OdfLength IndentLeft { get; init; }

Property Value

OdfLength

Level

Gets the level (1–10). 層級(1–10)

public int Level { get; init; }

Property Value

int

NumFormat

Gets the number format ("1", "a", "A", "i", "I"). 編號格式("1"、"a"、"A"、"i"、"I")

public string NumFormat { get; init; }

Property Value

string

NumPrefix

Gets the number prefix text. 編號前綴文字

public string? NumPrefix { get; init; }

Property Value

string

NumSuffix

Gets the number suffix text (defaults to "."). 編號後綴文字(預設為 ".")

public string? NumSuffix { get; init; }

Property Value

string

Type

Gets the level type (number or bullet). 層級類型(編號或專案符號)

public OdfListLevelType Type { get; init; }

Property Value

OdfListLevelType