Class RowColHelper

java.lang.Object
com.itextpdf.html2pdf.attach.util.RowColHelper

public class RowColHelper extends Object
Helper class to keep track of the current column / row position in a table.
  • Constructor Details

    • RowColHelper

      public RowColHelper()
  • Method Details

    • newRow

      public void newRow()
      Move to a new row.
    • updateCurrentPosition

      public void updateCurrentPosition (int colspan, int rowspan)
      Update current position based on a colspan and a rowspan.
      Parameters:
      colspan - the colspan
      rowspan - the rowspan
    • moveToNextEmptyCol

      public int moveToNextEmptyCol()
      Move to next empty column.
      Returns:
      the current column position