Class RowColHelper
java.lang.Object
com.itextpdf.html2pdf.attach.util.RowColHelper
Helper class to keep track of the current column / row position in a table.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Move to next empty column.void
newRow()
Move to a new row.void
updateCurrentPosition
(int colspan, int rowspan) Update current position based on a colspan and a rowspan.
-
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
-