Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OdtListItem

OfficeIMO.OpenDocument

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

An XML-backed ODT list item.

Inheritance

  • object
  • OdtListItem

Usage

Explore 2 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 2

Methods

public OdtList AddList(bool ordered = false) #

Adds a list nested one level below this item, after its paragraphs.

Parameters

ordered bool = false optional
True for a numbered list; false for bullets.

Returns

OdtList
public OdtParagraph AddParagraph(string? text = null) #

Adds another paragraph to this item.

Parameters

text string? = null optional

Properties

public long? StartValue { get; set; } #

Number this item shows in an ordered list, restarting the count; null continues the list's count.

public IReadOnlyList<OdtParagraph> Paragraphs { get; } #

Paragraphs directly contained by this item.