Package org.apache.poi.xslf.usermodel
Class XSLFTableRow
- java.lang.Object
-
- org.apache.poi.xslf.usermodel.XSLFTableRow
-
- All Implemented Interfaces:
Iterable<XSLFTableCell>
public class XSLFTableRow extends Object implements Iterable<XSLFTableCell>
Represents a table in a .pptx presentation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XSLFTableCell
addCell()
List<XSLFTableCell>
getCells()
double
getHeight()
CTTableRow
getXmlObject()
Iterator<XSLFTableCell>
iterator()
void
mergeCells(int firstCol, int lastCol)
Merge cells of a table row, inclusive.void
setHeight(double height)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getXmlObject
public CTTableRow getXmlObject()
-
iterator
public Iterator<XSLFTableCell> iterator()
- Specified by:
iterator
in interfaceIterable<XSLFTableCell>
-
getCells
public List<XSLFTableCell> getCells()
-
getHeight
public double getHeight()
-
setHeight
public void setHeight(double height)
-
addCell
public XSLFTableCell addCell()
-
mergeCells
public void mergeCells(int firstCol, int lastCol)
Merge cells of a table row, inclusive. Indices are 0-based.- Parameters:
firstCol
- 0-based index of first column to merge, inclusivelastCol
- 0-based index of last column to merge, inclusive
-
-