{
return hasHeader(printSettings) || hasFooter(printSettings);
}
private boolean hasHeader(JRXlsAbstractExporter.SheetInfo.SheetPrintSettings printSettings)
{
<BUG>return StringUtils.isNotBlank(printSettings.getHeaderLeft())
|| StringUtils.isNotBlank(printSettings.getHeaderCenter())
|| StringUtils.isNotBlank(printSettings.getHeaderRight());
}</BUG>
private boolean hasFooter(JRXlsAbstractExporter.SheetInfo.SheetPrintSettings printSettings)

{
write("&amp;L");
write(JRStringUtil.xmlEncode(printSettings.getFooterLeft()));
}
if (printSettings.getFooterCenter() != null && !printSettings.getFooterCenter().trim().isEmpty())
{
