{
throw new InvalidReportStateException("Uncommited content encountered");
}
final long contentOffset = contentProducer.getContentOffset(row, col);
final TableRectangle rect = sheetLayout.getTableBounds
(content.getX(), content.getY() + contentOffset,
content.getWidth(), content.getHeight(), null);
if (rect.isOrigin(col, row) == false)
{
// A spanned cell ..
continue;
}
final CellBackground bg = cellBackgroundProducer.getBackgroundForBox(pageBox, sheetLayout,
rect.getX1(), rect.getY1(), rect.getColumnSpan(), rect.getRowSpan(), false, sectionType, content);
recordInlineImageDimensions(content);
gridLayout.addContent(content.getInstanceId(), new CellLayoutInfo(rect, bg));
content.setFinishedTable(true);