Project: QGIS

Version: 2.0.0

Feature: Expressions in composer labels

The composer label item in 1.8 was quite limited and only allowed a single token $CURRENT_DATE to be used. In 2.0 full expression support has been added too greater power and control of the final labels.

A label with an expression such as:

This was printed on: [% format_date( $now, 'dd.MM.yyyy')%]

will be evaluated at print time (and display time) to generate:

 This was printed on: 06.09.2013

When atlas generation is enabled the currently active features' attribute values will also be accessible in the expressions allowing such things as:

Asset ID [% "ID" %] and the Tree Type is [% "TreeType" %]