{
final MasterReport masterReport = getReport();
final Configuration configuration = masterReport.getConfiguration();
final ContentLocation contentLocation = getBodyContentLocation();
final NameGenerator nameGenerator = getBodyNameGenerator();
final ContentItem contentItem =
contentLocation.createItem(nameGenerator.generateName(null, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"));
final OutputStream outputStream = contentItem.getOutputStream();
try
{
final PageableExcelOutputProcessor outputProcessor =