{
final Element element = elements[i];
if (element instanceof SubReport)
{
final InlineSubreportMarker marker =
new InlineSubreportMarker((SubReport) element.clone(), null, SubReportProcessType.BANDED);
inlineSubreports.add(marker);
}
else if (element instanceof Band)
{
collectSubReports((Band) element);