Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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, 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
`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`

Constructor Detail

### XWPFTableRow

    public XWPFTableRow(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRow row,
                        XWPFTable table)

Method Detail

### getCtRow

    @Internal
    public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRow getCtRow()

### createCell

    public XWPFTableCell createCell()

  create a new XWPFTableCell and add it to the tableCell-list of this tableRow

  Returns:
    the newly created XWPFTableCell

### getCell

    public XWPFTableCell getCell(int pos)

### addNewTableCell

    public XWPFTableCell addNewTableCell()

  adds a new TableCell at the end of this tableRow

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

### getTable

    public XWPFTable getTable()

### getTableCells

    public java.util.List<XWPFTableCell> getTableCells()

  create and return a list of all XWPFTableCell who belongs to this row

  Returns:
    a list of `XWPFTableCell`

### getTableCell

    public 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2010 The Apache Software Foundation or its licensors, as applicable.