|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.xwpf.usermodel.XWPFTableRow
public class XWPFTableRow
Constructor Summary | |
---|---|
XWPFTableRow(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRow row,
XWPFTable table)
|
Method Summary | |
---|---|
XWPFTableCell |
addNewTableCell()
adds a new TableCell at the end of this tableRow |
XWPFTableCell |
createCell()
create a new XWPFTableCell and add it to the tableCell-list of this tableRow |
XWPFTableCell |
getCell(int pos)
|
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRow |
getCtRow()
|
int |
getHeight()
This element specifies the height of the current table row within the current table. |
XWPFTable |
getTable()
|
XWPFTableCell |
getTableCell(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTc cell)
returns the XWPFTableCell which belongs to the CTTC cell if there is no XWPFTableCell which belongs to the parameter CTTc cell null will be returned |
java.util.List<XWPFTableCell> |
getTableCells()
create and return a list of all XWPFTableCell who belongs to this row |
boolean |
isCantSplitRow()
Return true if the "can't split row" value is true. |
boolean |
isRepeatHeader()
Return true if a table's header row should be repeated at the top of a table split across pages. |
void |
removeCell(int pos)
|
void |
setCantSplitRow(boolean split)
This attribute controls whether to allow table rows to split across pages. |
void |
setHeight(int height)
This element specifies the height of the current table row within the current table. |
void |
setRepeatHeader(boolean repeat)
This attribute controls whether to repeat a table's header row at the top of a table split across pages. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XWPFTableRow(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRow row, XWPFTable table)
Method Detail |
---|
@Internal public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRow getCtRow()
public XWPFTableCell createCell()
public XWPFTableCell getCell(int pos)
public void removeCell(int pos)
public XWPFTableCell addNewTableCell()
public void setHeight(int height)
height
- public int getHeight()
public XWPFTable getTable()
public java.util.List<XWPFTableCell> getTableCells()
XWPFTableCell
public XWPFTableCell getTableCell(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTc cell)
public void setCantSplitRow(boolean split)
split
- - if true, don't allow rows to be split. If false, allow
rows to be split.public boolean isCantSplitRow()
public void setRepeatHeader(boolean repeat)
repeat
- - if TRUE, repeat header row at the top of each page of table;
if FALSE, don't repeat header row.public boolean isRepeatHeader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |