Updated JasperExportFormat to stop using deprecated methods.