Class PdfPTable.FittingRows

  • Enclosing class:
    PdfPTable

    public static class PdfPTable.FittingRows
    extends Object
    Since:
    iText 5.4.3
    • Field Detail

      • firstRow

        public final int firstRow
      • lastRow

        public final int lastRow
      • height

        public final float height
      • completedRowsHeight

        public final float completedRowsHeight
    • Constructor Detail

      • FittingRows

        public FittingRows​(int firstRow,
                           int lastRow,
                           float height,
                           float completedRowsHeight,
                           Map<Integer,​Float> correctedHeightsForLastRow)
    • Method Detail

      • correctLastRowChosen

        public void correctLastRowChosen​(PdfPTable table,
                                         int k)
        Correct chosen last fitting row so that the content of all cells with open rowspans will fit on the page, i.e. the cell content won't be split. (Only to be used with splitLate == true)