Lists can be created with the following shortcuts.
ODF_Text::createList($child, $attributes); ODF_Text::createListHeader($child, $attributes); ODF_Text::createListItem($child, $attributes);
To create a real list you have to create a listelement first:
$list = ODF_Text::createList();
Now your list needs some items to be really useful.
$entry = ODF_Text::createListItem("My List Item"); $list->appendChild($list);
The list can now be added to your content-body.
In the same way you can create a listheader.
There was an error while loading. Please reload this page.