Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
show-titlefalse
titleDescription

The macro runs a calculation and renders the result. It can be used in the context of a property value.

It references the properties of the current document (the document it is specified on) and the homepage of the space this document is part of as sources for property values. The space homepage can be replaced by another projectdoc document.


projectdoc-section
titleParameters
intro-textThe macro is configured by the following parameters.


Section
titleDocument

Specify a document to provide default property values.

If not specified, this defaults to the space homepage.

Note that only properties from the document are used. Not the space properties, as this would require a search and would prevent the use of this macro as a property value.


Section
titleFormat

Specify the format to render the number value.

The value is a valid number format in Java and defaults to decimal.

Valid values are integer, decimal, currency, and anything that can be parsed by DecimalFormat.


...