Tuesday, September 27, 2016

New Config Option for Footer Optimization Distance in Aspose.Words for JasperReports 2.8.1

What’s new in this release?

The long awaited version of Aspose.Words for JasperReports 2.8.1 has been released. It includes new configuration option to optimize footer distance. By default, Aspose.Word for JasperReports tries to optimize footer contents for better fitting footer on the page. This optimization takes place when a bottom-most page element is too low on page by a) decreasing font size of last paragraph break of the footer and b) decreasing footer distance. If you do not like the view of footers, you can disable this footers optimization by setting OPTIMIZE_FOOTERS parameter to false. Users can also set explicit minimal distance between bottom-most element and bottom page margin. This is controlled by OPTIMIZE_FOOTER_DISTANCE parameter. By default, its value is 12.0. However, users can set any value between 12.0 and 36.0. Therefore, if the distance between bottom margin of the bottom-most element and page bottom margin is less or equal to this parameter value – then footer is optimized, otherwise nothing happens.  The list of new & improved features in this release are listed below
  • Introduce new config option for footer optimization distance
  • Compatibility Mode in Word 2010/2013
  • LastPageFooter band does not export as Word document's footer
Starting from release 1.9.0 there are now several versions of the JAR library (this is necessary for better support of older versions of JasperReports):
  • for JasperReports 6.3.0 and higher (aspose.words.jasperreports-6.3.0.jar)
  • for JasperReports 5.6.0 … 6.2.0 (aspose.words.jasperreports-6.2.0.jar)
  • for JasperReports 4.7.0 … 5.5.0 (aspose.words.jasperreports-5.5.0.jar)
  • for JasperReports 3.7.2 … 4.5.0 (aspose.words.jasperreports-4.5.0.jar)
  • for JasperReports 3.7.1 and lower (aspose.words.jasperreports-3.7.1.jar)
Please copy only one jar library according to the version of installed JasperReports.

Overview: Aspose.Words for JasperReports

Aspose.Words for JasperReports makes it possible exporting reports from JasperReports and JasperServer to Microsoft Word document (DOC), Office Open XML (OOXML, DOCX), Web page (HTML) and plain text (TXT) formats. It is written purely in Java and is provided as a single JAR file that can easily be deployed on the machines running JasperReports or JasperServer. Aspose.Words for JasperReports exports flow layout documents that are easy to further edit in Microsoft Word, if necessary.

No comments:

Post a Comment