|
|||||||||
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 |