Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OdfTextList

OfficeIMO.OpenDocument

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

A native Draw text list with preserved levels, numbering, and continuation declarations.

Inheritance

  • object
  • OdfTextList

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 4

Methods

public OdfTextListItem AddItem(string? text = null) #

Adds an item containing one paragraph.

Parameters

text string? = null optional
public XElement ToXml() #

Returns a detached copy of the native list.

Returns

XElement

Properties

public string? StyleName { get; set; } #

Referenced list style name. A nested list without a style inherits its enclosing list's style.

public bool IsOrdered { get; } #

Whether the effective native list-level style is numbered.

public IReadOnlyList<OdfTextListItem> Items { get; } #

Direct list items; headers remain preserved separately in native XML.