HidePageBandForTableExport

Description

Hide the page header and footer if the current export type is not a pageable export (like printing, PDF or plain text).
This function accepts two parameters:

  • hidePageBands defaults to true; hides the page header and footer for non-pageable exports.
  • disableRepeatingHeader defaults to false; all group headers, which have the repeat flag set to true get that flag reset to false. On a page break, no repeated header will be printed. As this may be confusing to the user and not always appropriate, this property defaults to false and must be enabled explicitly.

Example

<function class="org.jfree.report.function.HidePageBandForTableExportFunction" name="hidePageHeaderandPageFooter">
  <properties>
    <property name="hidePageBands">true</property>
    <property name="disableReportingHeader">true</property>
  </properties>
</function>