Print layout placeholders
In all ASCII text fields or in the rich text editor dialog, placeholders can be used that represent particular information being updated with actual values on generation of the final printout. E.g. the current date and time can be entered using a placeholder.
Placeholders are filtered according to the current context. Only applicable placeholders are shown. To get an overview of the currently available placeholders simply open the context menu by right-clicking into the editor text field. A list of all available placeholders will be shown. Placeholders can be directly selected from the context menu by left-clicking.
Placeholder syntax
Placeholders must be entered using the following syntax:
-
Enter a smaller than symbol (<) to indicate the starting of a placeholder.
-
Enter the name of the placeholder
-
Enter a greater than symbol (>) to indicate the end of a placeholder.
Placeholder syntax example
<PLACEHOLDER_NAME>
Fixed placeholders
A list of all available placeholders in the software is given in the following:
<Date> placeholder
Inserts the current date string according to the regional settings of the operating system.
<DateTime> placeholder
Inserts a long date and time according to the regional settings of the operating system.
<Department> placeholder
Inserts the name of the department. The department can be customized in the Options dialog.
<Objectname> placeholder
Inserts the name of object to be printed.
<Operator> placeholder
Inserts the current operator using the software. The operator can be customized in the Options dialog.
<Page> placeholder
Inserts the current page number in the report.
<Page 0 of 1> placeholder
Inserts the current page number into the variable 0 and the total number of pages of a report into the variable 1 in the report.
<Projectname> placeholder
Inserts the name of the current project.
<Time> placeholder
Inserts the current time string according to the regional settings of the operating system.
<Unique Identifier> placeholder
Inserts a unique identifier number.
Labels as placeholders
For all analytical data objects like 2D- and 3D data objects as well as molecules, labels attached to the object can be addressed using a placeholder named like the label.
Example:
<LABEL_NAME>
For easy access to all available labels of an object simply right-click into the text field. A popup window will show all labels and by selecting a label with a left-click the corresponding label name and placeholder will be automatically copied to the text field.
Object properties placeholders
When printing spectrum objects, all available object properties can be added to the printout by activating the Print Properties flag. Single properties can be easily printed by using placeholders. Simply add a placeholder with the exact object property name to the desired text field. The available object properties for a certain object are listed in the properties tab of the software. Since the object properties are organized in categories, the general syntax for adding a property placeholder looks like this:
<CATEGORY.NAME>
Example: Available properties are for example the name of the object which resides in the category "General" and the x-Axis resolution which resides in the category "X-Axis". The corresponding placeholders look like this:
-
<GENERAL.NAME> will print the object name.
-
<X-AXIS.AXIS RESOLUTION> will print the resolution of the objects x-Axis.
Search quality placeholder
A special placeholder is available when printing the results of a spectrum search. All objects of the search result will have an additional label which holds the search quality:
<SEARCHQUALITY>
Adding this placeholder to one of the printout text fields will print the search quality value of the corresponding object.
In this case, the label remains empty and the report is printed without filling the label.