int maxRowIndex = data.size();
//Add an empty row to the end of the data to simplify detection of merged cells that run to the end of the table
DynamicDataRow blankRow = new DynamicDataRow();
for ( int iCol = 0; iCol < COLUMNS; iCol++ ) {
CellValue cv = new CellValue( null,
maxRowIndex,
iCol );
blankRow.add( cv );
}
data.add( blankRow );