public interface ListDecorator
Every list, including sub lists, may have a list style which is applied to its list items and sub lists. ListDecorator holds this style and decides the appearance of a list. List style is applied by invoking decorateList(List), while list item style is applied by invoking decorateListItem(ListItem).
A ListDecorator specified for a sub list overrides the ListDecorator specified for the list in which the sub list is contained.
| Modifier and Type | Interface and Description |
|---|---|
static class |
ListDecorator.ListType
The supported list types till now.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decorateList(List list)
Decorate the specifies
list, of which style is set. |
void |
decorateListItem(ListItem item)
Decorate the specifies
item in a List, of which style is set. |
ListDecorator.ListType |
getListType()
Get the ListType of this ListDecorator.
|
void decorateList(List list)
list, of which style is set.list - the List is decorated.void decorateListItem(ListItem item)
item in a List, of which style is set.item - the ListItem is decorated.ListDecorator.ListType getListType()
Copyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.