org.apache.poi.xwpf.usermodel
Class XWPFTableRow
java.lang.Object
org.apache.poi.xwpf.usermodel.XWPFTableRow
public class XWPFTableRow
- extends java.lang.Object
- Author:
- gisellabronzetti
Constructor Summary |
XWPFTableRow(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRow row)
|
Method Summary |
XWPFTableCell |
createCell()
|
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. |
void |
setHeight(int height)
This element specifies the height of the current table row within the
current table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XWPFTableRow
public XWPFTableRow(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRow row)
getCtRow
@Internal
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRow getCtRow()
createCell
public XWPFTableCell createCell()
getCell
public XWPFTableCell getCell(int pos)
setHeight
public void setHeight(int height)
- This element specifies the height of the current table row within the
current table. This height shall be used to determine the resulting
height of the table row, which may be absolute or relative (depending on
its attribute values). If omitted, then the table row shall automatically
resize its height to the height required by its contents (the equivalent
of an hRule value of auto).
- Parameters:
height
-
getHeight
public int getHeight()
- This element specifies the height of the current table row within the
current table. This height shall be used to determine the resulting
height of the table row, which may be absolute or relative (depending on
its attribute values). If omitted, then the table row shall automatically
resize its height to the height required by its contents (the equivalent
of an hRule value of auto).
- Returns:
- height
Copyright 2009 The Apache Software Foundation or
its licensors, as applicable.