Class PdfPTable.FittingRows

  • Enclosing class:
    PdfPTable

    public static class PdfPTable.FittingRows
    extends java.lang.Object
    Since:
    iText 5.4.3
    • Constructor Summary

      Constructors 
      Constructor Description
      FittingRows​(int firstRow, int lastRow, float height, float completedRowsHeight, java.util.Map<java.lang.Integer,​java.lang.Float> correctedHeightsForLastRow)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • firstRow

        public final int firstRow
      • lastRow

        public final int lastRow
      • height

        public final float height
      • completedRowsHeight

        public final float completedRowsHeight
      • correctedHeightsForLastRow

        private final java.util.Map<java.lang.Integer,​java.lang.Float> correctedHeightsForLastRow
    • Constructor Detail

      • FittingRows

        public FittingRows​(int firstRow,
                           int lastRow,
                           float height,
                           float completedRowsHeight,
                           java.util.Map<java.lang.Integer,​java.lang.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)