public void startSection() { final String layoutMode; if (metaData.isFeatureSupported(OutputProcessorFeature.STRICT_COMPATIBILITY)) { layoutMode = BandStyleKeys.LAYOUT_BLOCK; } else { layoutMode = BandStyleKeys.LAYOUT_AUTO; } final RenderBox renderBox = renderNodeFactory.produceSectionBox(layoutMode, null); if (isAllowMergeSection()) { this.context = new BandSectionLayoutModelBuilderContext(this.metaData, this.context, renderBox); } else { this.context = new DefaultLayoutModelBuilderContext(this.context, renderBox); } this.context.setEmpty(true); if (legacySectionName != null) { this.context.getRenderBox().setName(legacySectionName); } this.textProducer.startText(); }