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

rino.covelli

Members
  • Posts

    4
  • Joined

  • Last visited

rino.covelli's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I'm using the default setting in IReport. My IReport page is 842x595 and the margins are 20.
  2. Dear friends, I'm building a report using JasperReport 5.0.0 and IReport 5.1.0. Now my trouble is that when i try to export a docx file through DocxExporter,t I can't set margins of sheet. I'm exporting the document in this way: JasperReport reportCompiled = JasperCompileManager.compileReport(pathJrxmlFile); JasperPrint reportFilled = JasperFillManager.fillReport(reportCompiled, null, dataSource); JRDocxExporter exp = new JRDocxExporter(); exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME,pathFile); exporter.setParameter(JRExporterParameter.JASPER_PRINT,reportFilled); exporter.exportReport(); but this doesn't work. And then when i try to print if from MS word i get this message "margins of section 1 are set outside the printable area of the page". Where do I wrong?
×
×
  • Create New...