|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITable
Represents a table in a document.
Method Summary | |
---|---|
TableRow |
addRow()
Adds a new row to table. |
TableRow |
addRow(boolean isCopyFormat)
Adds new row to table. |
TableRow |
addRow(boolean isCopyFormat,
boolean autoPopulateCells)
Adds a row to table with copy format option |
void |
applyHorizontalMerge(int rowIndex,
int startCellIndex,
int endCellIndex)
Applies horizontal merging for cells of table row. |
void |
applyVerticalMerge(int columnIndex,
int startRowIndex,
int endRowIndex)
Applies the vertical merge for table cells. |
TableCell |
get(int row,
int column)
Gets cell by row/column indexes. |
TableRow |
getFirstRow()
Gets the last row in table. |
float |
getIndentFromLeft()
Gets indent from left for the table. |
TableCell |
getLastCell()
Gets the last cell in last row. |
TableRow |
getLastRow()
Gets the last row in table. |
RowCollection |
getRows()
Gets row collection. |
RowFormat |
getTableFormat()
Gets the table format. |
float |
getWidth()
Returns table width. |
void |
removeAbsPosition()
Removes the absolute position data. |
void |
resetCells(int rowsNum,
int columnsNum)
Resets rows / columns numbers. |
void |
resetCells(int rowsNum,
int columnsNum,
RowFormat format,
float cellWidth)
Resets rows / columns numbers. |
void |
setIndentFromLeft(float value)
Sets indent from left for the table. |
Methods inherited from interface com.spire.doc.interfaces.ICompositeObject |
---|
getChildObjects |
Methods inherited from interface com.spire.doc.interfaces.IDocumentObject |
---|
deepClone, getDocument, getDocumentObjectType, getNextSibling, getOwner, getPreviousSibling, isComposite |
Method Detail |
---|
RowCollection getRows()
RowFormat getTableFormat()
TableCell getLastCell()
TableRow getFirstRow()
TableRow getLastRow()
TableCell get(int row, int column)
row
- The index of the specified rowcolumn
- The index of the specified column
float getWidth()
TableRow addRow()
TableRow addRow(boolean isCopyFormat)
isCopyFormat
- Copy the format from the previous row or NOT
TableRow addRow(boolean isCopyFormat, boolean autoPopulateCells)
isCopyFormat
- indicates whether copy format from previous row or notautoPopulateCells
- if it specifies auto populate cells, set to void resetCells(int rowsNum, int columnsNum)
rowsNum
- the rows number.columnsNum
- the columns number.void resetCells(int rowsNum, int columnsNum, RowFormat format, float cellWidth)
rowsNum
- the rows num.columnsNum
- the columns num.format
- the format.cellWidth
- width of the cell.void applyVerticalMerge(int columnIndex, int startRowIndex, int endRowIndex)
columnIndex
- index of the column.startRowIndex
- start index of the row.endRowIndex
- end index of the row.void applyHorizontalMerge(int rowIndex, int startCellIndex, int endCellIndex)
rowIndex
- index of the row.startCellIndex
- start index of the cell.endCellIndex
- end index of the cell.float getIndentFromLeft()
void setIndentFromLeft(float value)
value
- The indentvoid removeAbsPosition()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |