Class XSLFTableRow

    • Method Detail

      • getXmlObject

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

        public double getHeight()
      • setHeight

        public void setHeight​(double height)
      • insertCell

        public XSLFTableCell insertCell​(int colIdx)
        Insert a new cell at the given index.
        Parameters:
        colIdx - the column index.
        Since:
        POI 4.1.2
      • removeCell

        public void removeCell​(int colIdx)
        Remove the cell at the given index.
        Parameters:
        colIdx - the column index.
        Since:
        POI 4.1.2
      • 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