Skip to content

What's New In Reportlab 2.3

What's new in Version 2.3 - 4 Feb 2009

NEW FEATURES SINCE V.2.2

RELEASE 2.3 OF THE REPORTLAB COMMERCIAL TOOLKIT SEES A HOST OF BUGFIXES ALONG WITH SOME USEFUL NEW ADDITIONS TO REPORT MARKUP LANGUAGE.

Changes To Commercial Package (Rlextra/Reportlab Plus)

#Release 2.3 Of The Reportlab Commercial Toolkit Sees A Host Of Bugfixes Along With Some Useful New Additions To Report Markup Language.

Firstly, we have dramatically simplified and improved the installation experience, with new 'all in one' installers for Windows users which are backwards compatible to Pythonv2.3. Installation instructions are now clearer, simpler and easier to follow. Encryption has now been removed from the commercial toolkit and added to the open source software, so a license is no longer required to use this feature.

REPORT MARKUP LANGUAGE:

  • Conditional Formatting The major new feature for v2.3 is conditional formatting, which allows you to include and exclude content dynamically, based on factors you might not know in advance, such as the number of pages in your document, or the remaining space left on a page. This allows for far more flexibility in your layouts which can now change as required according to dynamic content. For instance, you might want to pad a document to ensure an even number of pages for printing, or include an illustration depending on whether enough space is available on a page. Such calculations would previously have required complicated programming but are now available with just a few lines of RML.

The new tags are documented in the RML Userguide, and an example can be found in test case 39

Extra elements added to the tag

The new <label> and <labelOffset> tags allow you to easily give your checkboxes an accurately positioned label. <Image> tag improved

This release sees a change to the behaviour of the preserveAspectRatio attribute of the <Image> tag