Class
OdfTextListItem
OfficeIMO.OpenDocument
A native list item containing paragraphs and optionally nested lists.
Inheritance
- object
- OdfTextListItem
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
- Method OdfTextList.AddItem
- Property OdfTextList.Items
Methods
public OdfTextList AddList(bool ordered = false) #Adds a nested list with an independent native style at its actual nesting level, up to level ten.
Parameters
- ordered bool = false
Returns
OdfTextListpublic OdfTextParagraph AddParagraph(string? text = null) #Adds a paragraph after existing content.
Parameters
- text string? = null
Returns
OdfTextParagraphpublic XElement ToXml() #Returns a detached copy of the native item, including numbering overrides.
Returns
XElement