Package com.storedobject.office
Class ODT.TableCell
java.lang.Object
com.storedobject.office.ODT.Element
com.storedobject.office.ODT.TextElement
com.storedobject.office.ODT.TableCell
Represents a cell within a table.
A
TableCell is a specific type of TextElement that belongs to a parent TableRow.
It encapsulates the behavior and properties specific to a single cell in a table structure.- Author:
- Syam
-
Method Summary
Methods inherited from class com.storedobject.office.ODT.TextElement
getImage, getImage, getImagesCount, getSection, getSection, getSectionCount, getTable, getTable, getTableCountMethods inherited from class com.storedobject.office.ODT.Element
getCell, getDocument, getName, getParent, getParentCell, getParentRow, getParentSection, getParentTable
-
Method Details
-
getData
Get the data associated with this cell's row.- Returns:
- Data associated with this cell's row.
-
getColumnIndex
public int getColumnIndex()Get the column index of this cell within its parent table row.- Returns:
- Column index of this cell.
-
getRowIndex
public int getRowIndex()Get the row index of this cell within its parent table.- Returns:
- Row index of this cell.
-
remove
public boolean remove()Description copied from class:ODT.ElementRemoves this element from the output.- Overrides:
removein classODT.TextElement- Returns:
- Returns
trueunless the element was already removed.
-