table.getStyle().setStyleProperty(ElementStyleKeys.POS_X, 50f);
report.getReportHeader().addElement(table);
final LogicalPageBox logicalPageBox = DebugReportRunner.layoutSingleBand(report, report.getReportHeader(), false, false);
final RenderNode table1 = MatchFactory.findElementByName(logicalPageBox, "table");
assertEquals(StrictGeomUtility.toInternalValue(300), table1.getWidth());
assertEquals(StrictGeomUtility.toInternalValue(40), table1.getHeight());
final RenderNode row1 = MatchFactory.findElementByName(logicalPageBox, "r-0");
assertEquals(StrictGeomUtility.toInternalValue(300), row1.getWidth());
assertEquals(StrictGeomUtility.toInternalValue(20), row1.getHeight());
final RenderNode row2 = MatchFactory.findElementByName(logicalPageBox, "r-1");
assertEquals(StrictGeomUtility.toInternalValue(300), row2.getWidth());
assertEquals(StrictGeomUtility.toInternalValue(20), row2.getHeight());
final RenderNode cell1 = MatchFactory.findElementByName(logicalPageBox, "hr-0-0");
assertEquals(StrictGeomUtility.toInternalValue(150), cell1.getWidth());
assertEquals(StrictGeomUtility.toInternalValue(20), cell1.getHeight());
final RenderNode cell1a = MatchFactory.findElementByName(logicalPageBox, "hr-0-1");
assertEquals(StrictGeomUtility.toInternalValue(150), cell1a.getWidth());
assertEquals(StrictGeomUtility.toInternalValue(20), cell1a.getHeight());
final RenderNode cell2 = MatchFactory.findElementByName(logicalPageBox, "dr-0-0");
assertEquals(StrictGeomUtility.toInternalValue(150), cell2.getWidth());
assertEquals(StrictGeomUtility.toInternalValue(20), cell2.getHeight());
final RenderNode cell2a = MatchFactory.findElementByName(logicalPageBox, "dr-0-1");
assertEquals(StrictGeomUtility.toInternalValue(150), cell2a.getWidth());
assertEquals(StrictGeomUtility.toInternalValue(20), cell2a.getHeight());
}