private void iterateSection(final Section s)
{
final int elementCount = s.getElementCount();
for (int i = 0; i < elementCount; i++)
{
final ReportElement e = s.getElement(i);
if (e instanceof SubReport)
{
continue;
}
if (e instanceof RootLevelBand)
{
final CachedLayoutData layoutData = ModelUtility.getCachedLayoutData((Element) e);
final double height = StrictGeomUtility.toExternalValue(layoutData.getHeight());
e.setAttribute(ReportDesignerBoot.DESIGNER_NAMESPACE, "visual-height", new Double(height)); // NON-NLS
}
if (e instanceof Section)
{
iterateSection((Section) e);