}
final int count = rootLevelBand.getElementCount();
for (int i = 0; i < count; i++)
{
final ReportElement element = rootLevelBand.getElement(i);
if (element instanceof SubReport)
{
if (list == null)
{
list = new LinkedMap();
}
list.put(element.getObjectID(),
new InlineSubreportMarker((SubReport) element, DUMMY_SUBREPORT_MARKER, SubReportProcessType.INLINE));
}
else if (element instanceof Section)
{
list = collectSubReportMarkers((Section) element, list);