Jump to content
We've recently updated our Privacy Statement, available here ×

JRXlsxExporter fails to apply FONT_SIZE_FIX


r3n4n

Recommended Posts

  Even if I set JRXlsExporterParameter.IS_FONT_SIZE_FIX_ENABLED for JRXlsxExporter, the font size don't change.

* JRXlsExporterParameter.SHEET_NAMES also fails.

...JRXlsxExporter exporter = new JRXlsxExporter();exporter.setParameter( JRExporterParameter.JASPER_PRINT_LIST, jprintList);exporter.setParameter( JRExporterParameter.CHARACTER_ENCODING, "UTF-8"   );exporter.setParameter( JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, Boolean.TRUE);exporter.setParameter( JRXlsExporterParameter.IS_DETECT_CELL_TYPE,   Boolean.TRUE);exporter.setParameter( JRXlsExporterParameter.IS_ONE_PAGE_PER_SHEET, Boolean.TRUE);exporter.setParameter( JRXlsExporterParameter.IS_FONT_SIZE_FIX_ENABLED, Boolean.TRUE);exporter.setParameter( JRXlsExporterParameter.MAXIMUM_ROWS_PER_SHEET, MAX_ROWS_PER_SHEET);exporter.setParameter( JRXlsExporterParameter.SHEET_NAMES, arraySheetNames);exporter.setParameter( JRXlsExporterParameter.OUTPUT_STREAM, bos);exporter.exportReport();...

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...