final int columnSlotNumber = event.getState().getCurrentDataItem() - beginOfGroup;
final Renderer renderer = outputFunction.getRenderer();
final LayoutBuilder builder = renderer.createBufferedLayoutBuilder();
final int gidx = event.getState().getCurrentGroupIndex();
final CrosstabColumnGroup g = (CrosstabColumnGroup) event.getReport().getGroup(gidx);
final RenderBox titleBox = preparedCrosstabLayout.getColumnHeaderTitleBox();
final RenderBox titleColumnSlot = CrosstabLayoutUtil.getSlot(titleBox, columnSlotNumber);
final RenderBox titleSlot = CrosstabLayoutUtil.getSlot(titleColumnSlot, slotNumber);
titleSlot.clear();
builder.startSection(titleSlot, true);
builder.add(titleSlot, g.getTitleHeader(), outputFunction.getRuntime(), event.getState().getProcessKey());
outputFunction.addSubReportMarkers(builder.endSection(titleSlot, titleSlot));
final RenderBox headerBox = preparedCrosstabLayout.getColumnHeaderBox();
final RenderBox headerColumnSlot = CrosstabLayoutUtil.getSlot(headerBox, columnSlotNumber);
final RenderBox headerSlot = CrosstabLayoutUtil.getSlot(headerColumnSlot, slotNumber);
headerSlot.clear();
builder.startSection(headerSlot, true);
builder.add(headerSlot, g.getHeader(), outputFunction.getRuntime(), event.getState().getProcessKey());
outputFunction.addSubReportMarkers(builder.endSection(headerSlot, headerSlot));
}