Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OdfTextList

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Modifiers sealed

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

Inheritance

  • Object
  • OdfTextList

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Methods

public OdfTextListItem AddItem(String text = null) #
Returns: OdfTextListItem

Adds an item containing one paragraph.

Parameters

text System.String = null optionalposition: 0
public XElement ToXml() #
Returns: XElement

Returns a detached copy of the native list.

Properties

public String StyleName { get; set; } #

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

public Boolean 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.