API Reference
Class
ListBuilder
Builder for lists.
Inheritance
- Object
- ListBuilder
Methods
public ListBuilder BulletCharacter(String character) #Returns:
ListBuilderSets a custom bullet character for the current list level.
Parameters
- character System.String
- Bullet character to use.
public ListBuilder Bulleted(WordListStyle style = Bulleted) #Returns:
ListBuilderStarts a bulleted list using the specified style.
Parameters
- style OfficeIMO.Word.WordListStyle = Bulleted
- Optional list style.
public ListBuilder Item(String text) #Returns:
ListBuilderAdds an item to the list at the current level.
Parameters
- text System.String
- Item text.
public ListBuilder ItemLink(String text, String url, Boolean style = false) #Returns:
ListBuilderAdds a hyperlink item to the list (Markdown parity helper).
Parameters
- text System.String
- url System.String
- style System.Boolean = false
public ListBuilder ItemTask(String text, Boolean done = false) #Returns:
ListBuilderAdds a task (checkbox) item to the list (Markdown parity helper).
Parameters
- text System.String
- done System.Boolean = false
public ListBuilder Level(Int32 level) #Returns:
ListBuilderSets the nesting level for subsequent items.
Parameters
- level System.Int32
- The explicit level to apply.
public ListBuilder Numbered(WordListStyle style = Numbered) #Returns:
ListBuilderStarts a numbered list using the specified style.
Parameters
- style OfficeIMO.Word.WordListStyle = Numbered
- Optional numbered list style.
public ListBuilder NumberFormat(NumberFormatValues format) #Returns:
ListBuilderSets the numbering format for the current list level.
Parameters
- format DocumentFormat.OpenXml.Wordprocessing.NumberFormatValues
- Number format to apply.
public ListBuilder StartAt(Int32 start) #Returns:
ListBuilderSets the starting number for the list.
Parameters
- start System.Int32
- Starting number.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object