Class PdfPTable.FittingRows

java.lang.Object
com.itextpdf.text.pdf.PdfPTable.FittingRows
Enclosing class:
PdfPTable

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

    • firstRow

      public final int firstRow
    • lastRow

      public final int lastRow
    • height

      public final float height
    • completedRowsHeight

      public final float completedRowsHeight
    • correctedHeightsForLastRow

      private final Map<Integer,Float> correctedHeightsForLastRow
  • Constructor Details

    • FittingRows

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

    • 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)