Interface Table
- All Known Implementing Classes:
StandardTable
public interface Table
Represents a table in a document that can be manipulated by the office stamper. This interface provides methods for
table-level operations such as removal.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresents a row within a table that can be manipulated by the office stamper. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a row to the table at the specified index.voidAdds all the given rows to the table starting at the specified index.intReturns the index of the given row within the table.voidremove()Removes the entire table from the document.
-
Method Details
-
remove
void remove()Removes the entire table from the document. This operation is irreversible and will delete all rows and content within the table. -
indexOf
Returns the index of the given row within the table.- Parameters:
row- the row to find the index of- Returns:
- the index of the row, or -1 if not found
-
addAll
-
add
Adds a row to the table at the specified index.- Parameters:
index- the index at which to add the rowrow- the row to add
-