title: Why are compiled dynamic reports (.jasper) not reflecting the changes?
body: <p>I'm creating a Jasper Report using Dynamic Reports library.
  I'm trying to compile the dynamic reports, to use compiled version later. But the compiled version of my report is not reflecting the changes that are made dynamic reports</p>
  
  <p>This is my code:</p>
  
  <pre><code>JasperReportBuilder report = report();
  report.setTemplateDesign(new File("Template.jrxml"));
  report.setParameters(parameters);
  
  List&lt;TextColumnBuilder&gt; lsColumns = getDRColumnsFromRecordset(rs);
  for (TextColumnBuilder tcbColumn : lsColumns) {
      report.addColumn(tcbColumn);
  }
  report.ignorePageWidth();
  report.ignorePagination();
  report.setDataSource(rs);
  report.toXlsx();
  
  //At the end, i compile the dynamic report
  File compiledTemplate = new File("CompiledTemplate.jasper");
  JasperCompileManager.compileReportToFile(report.toJasperDesign(), compiledTemplate.getPath());
  </code></pre>
  
  <p>In the above code, it generates correctly (when i run <code>.toXlsx()</code>)</p>
  
  <p>But, at another point of the application, i check if the compiled template exists. If it exists, i use the compiled template to generate the report.</p>
  
  <p>However, when I try to generate template using compiled version, it returns empty.</p>
  
  <p><strong>It is generating without the record set columns - who I have added dynamically in the above code</strong>.</p>
  
  <p><strong>Updating status</strong><br>
  <strong>31/08/2016</strong><br>
  My situation is: I have a procedure that contain dynamic output (depending of the parameter you receive). Hence when the procedure receive @Cod = 1 argument, for example, it will have a particular SQL output. 
  I want the first time you run the Dynamic Reports, generates the compiled report (.jasper) based on the procedure output. 
  And in subsequent times, I can reuse the compiled report (.jasper) to generate new reports using it only.</p>
  
  <p>I solved part of the problem. When it runs at second time, there was no SQL within the jrxml template. So, I inserted the following code in that template jrxml:</p>
  
  <pre><code>
      &lt;parameter name=&quot;QUERY&quot; class=&quot;java.lang.String&quot; isForPrompting=&quot;false&quot;/&gt;
      &lt;queryString&gt;
          &lt;![CDATA[$P!{QUERY}]]&gt;
      &lt;/queryString&gt;
  </code></pre>
  
  <p>And i've insert the following code in my program (when using .jasper generated in DynamicReports):</p>
  
  <pre><code>JasperReport jasperReport = (JasperReport) JRLoader.loadObject(compiledTemplate);        
  parameters.put("QUERY", "dbo.pr_test_procedure @Cod=" + parameters.get("COD")); 
          JasperPrint jasperPrint
                  = JasperFillManager.fillReport(jasperReport,
                          parameters,
                          conn);
  </code></pre>
  
  <p>Now the report brings the results of the query (as featured in Dynamic Reports). 
  Now, the problem is another: It does not display the column header. Only displays the records.
  When i generate by Dynamic Reports, show the both. When generates using compiled jasper, show only the records.</p>
  
  <p>My results now:
  This is the report in Dynamic Reports (without compiling): <a href="https://s21.postimg.org/arh0w5isn/relatorio_1.jpg" rel="nofollow">https://s21.postimg.org/arh0w5isn/relatorio_1.jpg</a>
  This is the report after being compiled, generated in Jasper <a href="https://s17.postimg.org/iozct8mwf/relatorio_2.jpg" rel="nofollow">https://s17.postimg.org/iozct8mwf/relatorio_2.jpg</a></p>
  
  <p>This is the jrxml of compiled file:</p>
  
  <pre><code>
  &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;!-- Created with Jaspersoft Studio version 6.1.1.final using JasperReports Library version 6.1.1  --&gt;
  &lt;!-- 2016-08-31T14:20:33 --&gt;
  &lt;jasperReport xmlns=&quot;http://jasperreports.sourceforge.net/jasperreports&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd&quot; name=&quot;Template_Basico&quot; pageWidth=&quot;1392&quot; pageHeight=&quot;595&quot; orientation=&quot;Landscape&quot; whenNoDataType=&quot;AllSectionsNoDetail&quot; columnWidth=&quot;1352&quot; leftMargin=&quot;20&quot; rightMargin=&quot;20&quot; topMargin=&quot;20&quot; bottomMargin=&quot;20&quot; isIgnorePagination=&quot;true&quot; uuid=&quot;8a465670-cc4a-4270-965f-8efb86e33b71&quot;&gt;
      &lt;property name=&quot;template.engine&quot; value=&quot;tabular_template&quot;/&gt;
      &lt;property name=&quot;net.sf.jasperreports.export.xls.detect.cell.type&quot; value=&quot;true&quot;/&gt;
      &lt;property name=&quot;net.sf.jasperreports.export.xls.show.gridlines&quot; value=&quot;false&quot;/&gt;
      &lt;template&gt;&lt;![CDATA[$P{PATH_PADRAODSM} + &quot;/&quot; + &quot;Template_Basico.jrtx&quot;]]&gt;&lt;/template&gt;
      &lt;style name=&quot;TabelaCabecalho&quot; mode=&quot;Opaque&quot; backcolor=&quot;#4692F0&quot; scaleImage=&quot;FillFrame&quot; isBlankWhenNull=&quot;true&quot; fontName=&quot;SansSerif&quot; fontSize=&quot;13&quot; isBold=&quot;true&quot;&gt;
          &lt;pen lineStyle=&quot;Solid&quot; lineColor=&quot;#000000&quot;/&gt;
          &lt;box&gt;
              &lt;topPen lineWidth=&quot;1.0&quot;/&gt;
              &lt;leftPen lineWidth=&quot;1.0&quot;/&gt;
              &lt;bottomPen lineWidth=&quot;1.0&quot;/&gt;
              &lt;rightPen lineWidth=&quot;1.0&quot;/&gt;
          &lt;/box&gt;
      &lt;/style&gt;
      &lt;style name=&quot;style_36_&quot; forecolor=&quot;#000000&quot; isBlankWhenNull=&quot;true&quot; fontName=&quot;SansSerif&quot; fontSize=&quot;10&quot;&gt;
          &lt;box topPadding=&quot;2&quot; leftPadding=&quot;2&quot; bottomPadding=&quot;2&quot; rightPadding=&quot;2&quot;/&gt;
      &lt;/style&gt;
      &lt;style name=&quot;Fonte&quot; pattern=&quot;&quot; isBlankWhenNull=&quot;true&quot; fontName=&quot;Verdana&quot; fontSize=&quot;11&quot; isBold=&quot;false&quot;/&gt;
      &lt;subDataset name=&quot;tableDataset&quot; uuid=&quot;73560e0d-a48c-4cef-a6c7-dc2799080847&quot;&gt;
          &lt;property name=&quot;com.jaspersoft.studio.data.defaultdataadapter&quot; value=&quot;One Empty Record&quot;/&gt;
          &lt;queryString&gt;
              &lt;![CDATA[]]&gt;
          &lt;/queryString&gt;
      &lt;/subDataset&gt;
      &lt;scriptlet name=&quot;DYNAMICREPORTS&quot; class=&quot;net.sf.dynamicreports.jasper.base.JasperScriptlet&quot;/&gt;
      &lt;parameter name=&quot;CODPEDIDO&quot; class=&quot;java.lang.Integer&quot;&gt;
          &lt;parameterDescription&gt;&lt;![CDATA[C&#243;digo do pedido do relat&#243;rio]]&gt;&lt;/parameterDescription&gt;
          &lt;defaultValueExpression&gt;&lt;![CDATA[90200]]&gt;&lt;/defaultValueExpression&gt;
      &lt;/parameter&gt;
      &lt;parameter name=&quot;PATH&quot; class=&quot;java.lang.String&quot; isForPrompting=&quot;false&quot;&gt;
          &lt;parameterDescription&gt;&lt;![CDATA[]]&gt;&lt;/parameterDescription&gt;
          &lt;defaultValueExpression&gt;&lt;![CDATA[&quot;/home/diego.queres/Desenv/Relat&#243;rios Clientes/PadraoDSM_Templates&quot;]]&gt;&lt;/defaultValueExpression&gt;
      &lt;/parameter&gt;
      &lt;parameter name=&quot;TITULO&quot; class=&quot;java.lang.String&quot;&gt;
          &lt;defaultValueExpression&gt;&lt;![CDATA[&quot;Relat&#243;rio&quot;]]&gt;&lt;/defaultValueExpression&gt;
      &lt;/parameter&gt;
      &lt;parameter name=&quot;LOGOTIPO_1&quot; class=&quot;java.lang.String&quot; isForPrompting=&quot;false&quot;&gt;
          &lt;parameterDescription&gt;&lt;![CDATA[]]&gt;&lt;/parameterDescription&gt;
          &lt;defaultValueExpression&gt;&lt;![CDATA[&quot;logo-vagas.png&quot;]]&gt;&lt;/defaultValueExpression&gt;
      &lt;/parameter&gt;
      &lt;parameter name=&quot;PATH_PADRAODSM&quot; class=&quot;java.lang.String&quot;&gt;
          &lt;defaultValueExpression&gt;&lt;![CDATA[&quot;/home/diego.queres/Desenv/Relat&#243;rios Clientes/PadraoDSM_Templates&quot;]]&gt;&lt;/defaultValueExpression&gt;
      &lt;/parameter&gt;
      &lt;parameter name=&quot;QUERY&quot; class=&quot;java.lang.String&quot; isForPrompting=&quot;false&quot;/&gt;
      &lt;parameter name=&quot;CUSTOM_VALUES&quot; class=&quot;net.sf.dynamicreports.jasper.base.JasperCustomValues&quot;/&gt;
      &lt;queryString&gt;
          &lt;![CDATA[$P!{QUERY}]]&gt;
      &lt;/queryString&gt;
      &lt;field name=&quot;Codigo do candidato&quot; class=&quot;java.lang.Integer&quot;&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[Codigo do candidato]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name=&quot;Nome&quot; class=&quot;java.lang.String&quot;&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[Nome]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name=&quot;E-mail&quot; class=&quot;java.lang.String&quot;&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[E-mail]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name=&quot;Idade&quot; class=&quot;java.lang.Integer&quot;&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[Idade]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name=&quot;Telefone(s) Contato&quot; class=&quot;java.lang.String&quot;&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[Telefone(s) Contato]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name=&quot;Cidade e Estado&quot; class=&quot;java.lang.String&quot;&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[Cidade e Estado]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name=&quot;Tipo de Forma&#231;&#227;o 1&quot; class=&quot;java.lang.String&quot;&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[Tipo de Forma&#231;&#227;o 1]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name=&quot;Forma&#231;&#227;o 1&quot; class=&quot;java.lang.String&quot;&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[Forma&#231;&#227;o 1]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name=&quot;Institui&#231;&#227;o 1&quot; class=&quot;java.lang.String&quot;&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[Institui&#231;&#227;o 1]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name=&quot;Tipo de Forma&#231;&#227;o 2&quot; class=&quot;java.lang.String&quot;&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[Tipo de Forma&#231;&#227;o 2]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name=&quot;Forma&#231;&#227;o 2&quot; class=&quot;java.lang.String&quot;&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[Forma&#231;&#227;o 2]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name=&quot;Institui&#231;&#227;o 2&quot; class=&quot;java.lang.String&quot;&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[Institui&#231;&#227;o 2]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name=&quot;Hist&#243;rico profissional (2 &#250;ltimas empresas)&quot; class=&quot;java.lang.String&quot;&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[Hist&#243;rico profissional (2 &#250;ltimas empresas)]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;title&gt;
          &lt;band height=&quot;76&quot; splitType=&quot;Stretch&quot;&gt;
              &lt;image scaleImage=&quot;RetainShape&quot;&gt;
                  &lt;reportElement x=&quot;22&quot; y=&quot;32&quot; width=&quot;100&quot; height=&quot;40&quot; uuid=&quot;6047dd6f-0536-4689-bafa-083c4dad3a84&quot;/&gt;
                  &lt;imageExpression&gt;&lt;![CDATA[$P{PATH_PADRAODSM} + &quot;/&quot; + $P{LOGOTIPO_1}]]&gt;&lt;/imageExpression&gt;
              &lt;/image&gt;
              &lt;textField&gt;
                  &lt;reportElement x=&quot;140&quot; y=&quot;40&quot; width=&quot;800&quot; height=&quot;25&quot; uuid=&quot;0282ba00-7352-4d77-bb8b-c0bb0ba0e585&quot;/&gt;
                  &lt;textElement verticalAlignment=&quot;Bottom&quot;&gt;
                      &lt;font size=&quot;16&quot;/&gt;
                  &lt;/textElement&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$P{TITULO}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
          &lt;/band&gt;
      &lt;/title&gt;
      &lt;pageHeader&gt;
          &lt;band height=&quot;36&quot;&gt;
              &lt;line&gt;
                  &lt;reportElement mode=&quot;Transparent&quot; x=&quot;0&quot; y=&quot;12&quot; width=&quot;100&quot; height=&quot;1&quot; forecolor=&quot;#FFFFFF&quot; uuid=&quot;99aed6f5-8941-4876-a95c-1ee23bd1dc0a&quot;&gt;
                      &lt;propertyExpression name=&quot;net.sf.jasperreports.export.xls.sheet.name&quot;&gt;&lt;![CDATA[&quot;Dados&quot;]]&gt;&lt;/propertyExpression&gt;
                  &lt;/reportElement&gt;
              &lt;/line&gt;
          &lt;/band&gt;
      &lt;/pageHeader&gt;
      &lt;columnHeader&gt;
          &lt;band height=&quot;16&quot;&gt;
              &lt;frame&gt;
                  &lt;reportElement key=&quot;columnHeader.list1&quot; positionType=&quot;Float&quot; x=&quot;0&quot; y=&quot;0&quot; width=&quot;1352&quot; height=&quot;16&quot; uuid=&quot;46d7f64e-9ba3-4fa3-b6f4-f4cde887a658&quot;/&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;columnHeader.column_Codigo do candidato.title1&quot; style=&quot;TabelaCabecalho&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;0&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; uuid=&quot;4e458915-229a-4de2-8cdc-ca86d9721252&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$P{CUSTOM_VALUES}.getValue(&quot;simpleExpression_10_&quot;)]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;columnHeader.column_Nome.title1&quot; style=&quot;TabelaCabecalho&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;104&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; uuid=&quot;95caf451-7a8b-41a6-a942-21cb7e3e6110&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$P{CUSTOM_VALUES}.getValue(&quot;simpleExpression_12_&quot;)]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;columnHeader.column_E-mail.title1&quot; style=&quot;TabelaCabecalho&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;208&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; uuid=&quot;f1b3ad3f-c55d-478d-b4b5-9c73fb414477&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$P{CUSTOM_VALUES}.getValue(&quot;simpleExpression_14_&quot;)]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;columnHeader.column_Idade.title1&quot; style=&quot;TabelaCabecalho&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;312&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; uuid=&quot;df361b4f-cad3-4770-b75c-38bfe3f1c281&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$P{CUSTOM_VALUES}.getValue(&quot;simpleExpression_16_&quot;)]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;columnHeader.column_Telefone(s) Contato.title1&quot; style=&quot;TabelaCabecalho&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;416&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; uuid=&quot;4dc88b66-dcd6-4626-a788-7da1f70f7f6b&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$P{CUSTOM_VALUES}.getValue(&quot;simpleExpression_18_&quot;)]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;columnHeader.column_Cidade e Estado.title1&quot; style=&quot;TabelaCabecalho&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;520&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; uuid=&quot;011ca35b-fe81-484e-aa1b-d383053452df&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$P{CUSTOM_VALUES}.getValue(&quot;simpleExpression_20_&quot;)]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;columnHeader.column_Tipo de Forma&#231;&#227;o 1.title1&quot; style=&quot;TabelaCabecalho&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;624&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; uuid=&quot;1e31895e-9fcf-4bb0-8e40-bd419c0af763&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$P{CUSTOM_VALUES}.getValue(&quot;simpleExpression_22_&quot;)]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;columnHeader.column_Forma&#231;&#227;o 1.title1&quot; style=&quot;TabelaCabecalho&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;728&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; uuid=&quot;86ed4ae1-7600-4df3-966f-401f1967e93b&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$P{CUSTOM_VALUES}.getValue(&quot;simpleExpression_24_&quot;)]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;columnHeader.column_Institui&#231;&#227;o 1.title1&quot; style=&quot;TabelaCabecalho&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;832&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; uuid=&quot;1ce1e9dc-816a-410f-b4f0-71550c59ceeb&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$P{CUSTOM_VALUES}.getValue(&quot;simpleExpression_26_&quot;)]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;columnHeader.column_Tipo de Forma&#231;&#227;o 2.title1&quot; style=&quot;TabelaCabecalho&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;936&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; uuid=&quot;e589cd82-0758-468a-92e8-dc1a81f793ba&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$P{CUSTOM_VALUES}.getValue(&quot;simpleExpression_28_&quot;)]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;columnHeader.column_Forma&#231;&#227;o 2.title1&quot; style=&quot;TabelaCabecalho&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;1040&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; uuid=&quot;e719543b-a0e6-4f36-b265-82b0f6dbb11e&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$P{CUSTOM_VALUES}.getValue(&quot;simpleExpression_30_&quot;)]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;columnHeader.column_Institui&#231;&#227;o 2.title1&quot; style=&quot;TabelaCabecalho&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;1144&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; uuid=&quot;d06d26bc-71a4-4444-b061-4e05bb1b7168&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$P{CUSTOM_VALUES}.getValue(&quot;simpleExpression_32_&quot;)]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;columnHeader.column_Hist&#243;rico profissional (2 &#250;ltimas empresas).title1&quot; style=&quot;TabelaCabecalho&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;1248&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; uuid=&quot;0cd532cc-f4fb-47e9-aeff-cc1c61bd8a6c&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$P{CUSTOM_VALUES}.getValue(&quot;simpleExpression_34_&quot;)]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
              &lt;/frame&gt;
          &lt;/band&gt;
      &lt;/columnHeader&gt;
      &lt;detail&gt;
          &lt;band height=&quot;16&quot;&gt;
              &lt;frame&gt;
                  &lt;reportElement key=&quot;detail.list1&quot; positionType=&quot;Float&quot; x=&quot;0&quot; y=&quot;0&quot; width=&quot;1352&quot; height=&quot;16&quot; uuid=&quot;6d7ecd54-a04a-477e-9848-3247fb8ef789&quot;/&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; pattern=&quot;#,##0&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;detail.column_Codigo do candidato1&quot; style=&quot;style_36_&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;0&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; isPrintInFirstWholeBand=&quot;true&quot; uuid=&quot;640caec8-b919-41e2-aa57-93db114b9aec&quot;/&gt;
                      &lt;textElement textAlignment=&quot;Right&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$F{Codigo do candidato}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;detail.column_Nome1&quot; style=&quot;style_36_&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;104&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; isPrintInFirstWholeBand=&quot;true&quot; uuid=&quot;78c8ddc7-82c5-4b8e-8ae2-a0c6be535dc7&quot;/&gt;
                      &lt;textElement textAlignment=&quot;Left&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$F{Nome}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;detail.column_E-mail1&quot; style=&quot;style_36_&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;208&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; isPrintInFirstWholeBand=&quot;true&quot; uuid=&quot;c687dc47-b312-45d1-8f8f-af0952d2e0ad&quot;/&gt;
                      &lt;textElement textAlignment=&quot;Left&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$F{E-mail}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; pattern=&quot;#,##0&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;detail.column_Idade1&quot; style=&quot;style_36_&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;312&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; isPrintInFirstWholeBand=&quot;true&quot; uuid=&quot;74fe0b04-c84b-4a82-96e8-1fa83acf5989&quot;/&gt;
                      &lt;textElement textAlignment=&quot;Right&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$F{Idade}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;detail.column_Telefone(s) Contato1&quot; style=&quot;style_36_&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;416&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; isPrintInFirstWholeBand=&quot;true&quot; uuid=&quot;f25f3fbd-3d07-4865-9ba0-9196281a3536&quot;/&gt;
                      &lt;textElement textAlignment=&quot;Left&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$F{Telefone(s) Contato}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;detail.column_Cidade e Estado1&quot; style=&quot;style_36_&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;520&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; isPrintInFirstWholeBand=&quot;true&quot; uuid=&quot;2bef953f-ea52-4750-af77-0a8bc3efc3a0&quot;/&gt;
                      &lt;textElement textAlignment=&quot;Left&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$F{Cidade e Estado}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;detail.column_Tipo de Forma&#231;&#227;o 11&quot; style=&quot;style_36_&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;624&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; isPrintInFirstWholeBand=&quot;true&quot; uuid=&quot;a614443a-b729-4037-943c-d16f3ba8d1e9&quot;/&gt;
                      &lt;textElement textAlignment=&quot;Left&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$F{Tipo de Forma&#231;&#227;o 1}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;detail.column_Forma&#231;&#227;o 11&quot; style=&quot;style_36_&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;728&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; isPrintInFirstWholeBand=&quot;true&quot; uuid=&quot;ac8d1676-a360-439f-925d-262df7f356e2&quot;/&gt;
                      &lt;textElement textAlignment=&quot;Left&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$F{Forma&#231;&#227;o 1}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;detail.column_Institui&#231;&#227;o 11&quot; style=&quot;style_36_&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;832&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; isPrintInFirstWholeBand=&quot;true&quot; uuid=&quot;e35aeb7c-a96d-41d3-a1c0-1c707c890d19&quot;/&gt;
                      &lt;textElement textAlignment=&quot;Left&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$F{Institui&#231;&#227;o 1}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;detail.column_Tipo de Forma&#231;&#227;o 21&quot; style=&quot;style_36_&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;936&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; isPrintInFirstWholeBand=&quot;true&quot; uuid=&quot;e8421e2e-5aa8-4ef5-b304-f49f708cc7df&quot;/&gt;
                      &lt;textElement textAlignment=&quot;Left&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$F{Tipo de Forma&#231;&#227;o 2}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;detail.column_Forma&#231;&#227;o 21&quot; style=&quot;style_36_&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;1040&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; isPrintInFirstWholeBand=&quot;true&quot; uuid=&quot;c43405f4-08ef-484a-aa7b-de76c850bd48&quot;/&gt;
                      &lt;textElement textAlignment=&quot;Left&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$F{Forma&#231;&#227;o 2}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;detail.column_Institui&#231;&#227;o 21&quot; style=&quot;style_36_&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;1144&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; isPrintInFirstWholeBand=&quot;true&quot; uuid=&quot;3f1903a0-30a2-430b-bd57-7c8ce1211a82&quot;/&gt;
                      &lt;textElement textAlignment=&quot;Left&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$F{Institui&#231;&#227;o 2}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField isStretchWithOverflow=&quot;true&quot; isBlankWhenNull=&quot;true&quot;&gt;
                      &lt;reportElement key=&quot;detail.column_Hist&#243;rico profissional (2 &#250;ltimas empresas)1&quot; style=&quot;style_36_&quot; positionType=&quot;Float&quot; stretchType=&quot;RelativeToTallestObject&quot; x=&quot;1248&quot; y=&quot;0&quot; width=&quot;104&quot; height=&quot;16&quot; isPrintInFirstWholeBand=&quot;true&quot; uuid=&quot;f07d5d11-9422-4c35-b8f5-3904982ca456&quot;/&gt;
                      &lt;textElement textAlignment=&quot;Left&quot;/&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[$F{Hist&#243;rico profissional (2 &#250;ltimas empresas)}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
              &lt;/frame&gt;
          &lt;/band&gt;
      &lt;/detail&gt;
      &lt;pageFooter&gt;
          &lt;band height=&quot;38&quot; splitType=&quot;Stretch&quot;/&gt;
      &lt;/pageFooter&gt;
      &lt;summary&gt;
          &lt;band height=&quot;46&quot; splitType=&quot;Stretch&quot;&gt;
              &lt;property name=&quot;local_mesure_unitheight&quot; value=&quot;pixel&quot;/&gt;
              &lt;textField pattern=&quot;&quot;&gt;
                  &lt;reportElement x=&quot;0&quot; y=&quot;34&quot; width=&quot;560&quot; height=&quot;12&quot; uuid=&quot;4ca54330-fb17-4ef6-8d18-3ceace2083b9&quot;/&gt;
                  &lt;textElement textAlignment=&quot;Left&quot;/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[&quot;Relat&#243;rio gerado por VAGAS Tecnologia de Software em &quot; + new SimpleDateFormat(&quot;dd/MM/yy HH:mm:ss&quot;).format(new java.util.Date())]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
          &lt;/band&gt;
      &lt;/summary&gt;
  &lt;/jasperReport&gt;
  
  </code></pre>