if (formatFactoryClass != null) jasperPrint.setFormatFactoryClass(formatFactoryClass);
jasperPrint.setFormatFactoryClass(jasperReport.getFormatFactoryClass()); jasperPrint.setLocaleCode(JRDataUtils.getLocaleCode(getLocale())); jasperPrint.setTimeZoneId(JRDataUtils.getTimeZoneId(getTimeZone()));
jasperPrint.setFormatFactoryClass(report.getFormatFactoryClass());