Como inserir duas páginas no relatório

Estou enfrentando um problema, tenho doisjrmxl arquivos. Eu quero entrar então em umpdf arquivo, mas cada um em uma página.

Vi algumas dicas abaixo, mas não sei se são as melhores, porque meu primeiro arquivo tem 3 bandas:title, detail esummary. O segundo temdetail esummary.

Então, eu quero manter esse formato, se possível, porque no resumo tem o contador de páginas.

Eu tentei isso, mas minha segunda página está em branco e tem 5 cm de altura.

Listar páginas = new ArrayList <> ();

for (String caminhoRelatorio : caminhoRelatorios) {
    reportPath = JasperCompileManager.compileReport(caminhoRelatorio);
    reportPage = JasperFillManager.fillReport(reportPath, parameters, ds);
    pages.add(reportPage);
}

ByteArrayOutputStream baos = new ByteArrayOutputStream();
JRPdfExporter jrPdfExporter = new JRPdfExporter();
jrPdfExporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, pages);
jrPdfExporter.setParameter(JRExporterParameter.OUTPUT_STREAM, baos);
jrPdfExporter.setParameter(JRPdfExporterParameter.IS_CREATING_BATCH_MODE_BOOKMARKS, Boolean.TRUE);
jrPdfExporter.exportReport(); 

Então o que eu preciso fazer?

questionAnswers(3)

yourAnswerToTheQuestion