Footer extends Component implements TableContainer, VariableContainer { public java.util.List<Table> getTableList() { return getTableContainerImpl().getTableList(); } Footer(StyleFooterElement element); StyleFooterElement getOdfElement(); boolean isVisible(); void setVisible(boolean isVisible); Table addTable(); Table addTable(int numRows, int numCols); Table getTableByName(String name); java.util.List<Table> getTableList(); TableBuilder getTableBuilder(); OdfElement getTableContainerElement(); OdfElement getVariableContainerElement(); VariableField declareVariable(String name, VariableType type); VariableField getVariableFieldByName(String name); Section appendSection(String name);  }
@Test public void testGetTableList() { try { TextDocument doc = TextDocument.newTextDocument(); Footer footer = doc.getFooter(); Table tab = footer.addTable(); List<Table> tabList = footer.getTableList(); Assert.assertEquals(tab, tabList.get(0)); } catch (Exception e) { Logger.getLogger(FooterTest.class.getName()).log(Level.SEVERE, null, e); Assert.fail(e.getMessage()); } }