@Test
public void testAddRemoveIterateList() {
try {
TextDocument doc = TextDocument.newTextDocument();
Table table = Table.newTable(doc, 3, 3);
ListDecorator bulletDecorator = new BulletDecorator(doc);
ListDecorator numberDecorator = new NumberDecorator(doc);
ListDecorator imageDecorator = new ImageDecorator(doc, ResourceUtilities.getURI("image_list_item.png"));
String[] numberItemContents = { "number item 1", "number item 2", "number item 3" };
// add list.
ListContainer container = table.getCellByPosition(0, 0);
org.odftoolkit.simple.text.list.List bulletList = container.addList(bulletDecorator);