for (Iterator iterator = positions.iterator(); iterator.hasNext();) {
HorizontalBandAlignment currentAlignment = (HorizontalBandAlignment) iterator.next();
int yOffset = 0;
for (Iterator iter = getReport().getAutoTexts().iterator(); iter.hasNext();) {
AutoText text = (AutoText) iter.next();
if (text.getPosition() == AutoText.POSITION_HEADER && text.getAlignment().equals(currentAlignment)) {
CommonExpressionsHelper.add(yOffset,getDesign(), getReport(), headerband, text);
yOffset += text.getHeight().intValue();
}
}
}
/** END */