API Reference
Class
OdfTextListItem
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
- Method OdfTextList.AddItem
- Property OdfTextList.Items
Methods
public OdfTextList AddList(Boolean ordered = false) #Returns:
OdfTextListAdds a nested list with an independent native style at its actual nesting level, up to level ten.
Parameters
- ordered System.Boolean = false
public OdfTextParagraph AddParagraph(String text = null) #Returns:
OdfTextParagraphAdds a paragraph after existing content.
Parameters
- text System.String = null
public XElement ToXml() #Returns:
XElementReturns a detached copy of the native item, including numbering overrides.
Inherited Methods
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.