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 Details

    • getXmlObject

      public org.openxmlformats.schemas.drawingml.x2006.main.CTTableRow getXmlObject()
    • iterator

      public Iterator<XSLFTableCell> iterator()
      Specified by:
      iterator in interface Iterable<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, inclusive
      lastCol - 0-based index of last column to merge, inclusive