Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OdfTextListItem

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Modifiers sealed

A native list item containing paragraphs and optionally nested lists.

Inheritance

  • Object
  • OdfTextListItem

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 OdfTextList AddList(Boolean ordered = false) #
Returns: OdfTextList

Adds a nested list with an independent native style at its actual nesting level, up to level ten.

Parameters

ordered System.Boolean = false optionalposition: 0
public OdfTextParagraph AddParagraph(String text = null) #
Returns: OdfTextParagraph

Adds a paragraph after existing content.

Parameters

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

Returns a detached copy of the native item, including numbering overrides.

Properties

public Nullable<Int64> StartValue { get; set; } #

Optional nonnegative numbering restart for this item. Null uses the list counter.

public IReadOnlyList<OdfTextParagraph> Paragraphs { get; } #

Direct paragraphs and headings in this item.

public IReadOnlyList<OdfTextList> Lists { get; } #

Direct nested lists.