public interface TableContainer
Table,
TextDocument,
SpreadsheetDocument| Modifier and Type | Method and Description |
|---|---|
Table |
addTable()
Add a new Table to this container.
|
Table |
addTable(int numRows,
int numCols)
Add a new Table to this container with a specified row number and column number.
|
Table.TableBuilder |
getTableBuilder()
Return the table builder of this document.
|
Table |
getTableByName(String name)
Return an instance of table feature with the specific table name.
|
OdfElement |
getTableContainerElement()
Get the ODF element which can have
|
List<Table> |
getTableList()
Return a list of table features in this document.
|
OdfElement getTableContainerElement()
Table addTable()
Table addTable(int numRows, int numCols)
The table will be inserted at the end of the tableContainer. An unique table name will be
given, you may set a custom table name using the setTableName method.
numRows - the row numbernumCols - the column numberTableTable getTableByName(String name)
name - of the table being searched for.List<Table> getTableList()
Table.TableBuilder getTableBuilder()
Copyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.