Docsv3.31.0
Back to API Reference
Class

ListModifier

Inherits:BaseModifier

Renders list markers (bullets or numbers) for text items with automatic indentation.

Remarks

Parameter: optional level,number,marker. Without a number, renders a bullet; a marker text replaces the bullet or number. Features: - Supports nested lists with configurable indentation per level - Bullet markers are customizable per nesting level - Ordered lists support decimal, alphabetic, and Roman numeral styles - Automatically handles RTL text direction
public int Level{ get; set }

Nesting level default. A per-range value overrides it; this is the default for a bare tag or whole-text use.

public int Number{ get; set }

Display number for ordered items; -1 renders a bullet. A per-range value overrides it; this is the default for a bare tag or whole-text use.

public string Marker{ get; set }

Text shown as the marker instead of the bullet or number, as LaTeX's \item[label] gives it; empty for the bullet or number. A per-range value overrides it; this is the default for a bare tag or whole-text use.

public ListMarkerPlacement MarkerPlacement{ get; set }

Places markers inline or against a fixed content column. Changing it reflows the list.

protected override void OnEnable()
protected override void OnDisable()
protected override void OnDestroy()
protected override void BeforeApply()
protected override void OnApply(in RangeApplyContext context)

See Also