Jump to content
JasperReports Library 7.0 is now available ×

imoehld

Members
  • Posts

    5
  • Joined

  • Last visited

Community Answers

  1. imoehld's post in Ignore Page Width Depending on File Export Type was marked as the answer   
    I got this to work by setting the IS_IGNORE_PAGINATION parameter to false when our format was "PDF" and to true when our format was anything else:
    if(format.equals("PDF")){ parameters.put(JRParameter.IS_IGNORE_PAGINATION, Boolean.FALSE); } else { parameters.put(JRParameter.IS_IGNORE_PAGINATION, Boolean.TRUE); }[/code]Where "parameters" is the Map<String, Object> that is sent to Jasper.
×
×
  • Create New...