Dynamic texts

Text modules and text macros play a role wherever texts are used. These can be used in free text, table headings, legend headings and file names.

text modules

EasyMap offers the possibility to save and reuse text modules. Right-click to open a context menu in a text box. In addition to the standard Windows commands, the following commands are also available:

Text macros

Text macros are texts with variable wording. They are inserted as placeholders, whose actual content EasyMap determines for the first time when the macro is inserted and updates in the further course of processing (e.g. date, file name, etc.).

Text macros simplify labeling at the many places where text can be inserted. At the same time they support the automation of map generation. EasyMap automatically inserts a text macro into the heading of legends for analyses. For analyses that are based on only one data column (e.g. area coloring), the macro returns the name of the underlying data column; for analyses that are based on several data columns (e.g. circle sector diagrams), the macro returns the name of the corresponding analysis.

Text macros can be recognized by curly braces {}. To create macros, EasyMap offers an expression generator that lists the available macros. EasyMap makes a difference:

  • global text macros (e.g. date or user name)
  • document-related text macros (e.g. file name, title, author or date saved)
  • Element related text macros (e.g. descriptions of analyses, tables, data columns)
  • user-defined text modules

User-defined text modules are texts or text fragments that are freely defined by the user (see Properties in menu File, tab Variables). These can be used, for example, to enter texts that are used in different places (e.g. on each sheet) once (e.g. name of department, data source, copyright).

Expression Categories

The following expression categories are available for text macros. Via Advanced... you reach a printout generator that offers further categories.

Error when evaluating expressions