Last updated: 25.06.2020

Applies from: 2020.05.00 and later

Report editor, window

Settings > ReportsDisplay Editor

Settings > Messages > for a message in the list

The report editor can be opened from the Messages and Reports windows, as well as from the preview wherever you can preview reports. The report editor consists of a number of menu options and a text field.

Menu options

When editing Text and HTML type reports, only the Save and Close menu options are available. For Normal type reports, the following menu options are available.

FunctionExplanationDefault setting
SaveSaves the report.
Insert imageInserts an image that is available on the computer.
Import from fileImports an XML file containing a report that has previously been exported.
Export to fileExports the report as an XML file.
Check syntaxChecks the XML code in the report. If it is not correct, an error message is displayed at the top of the edit window.
Line numbersShows/hides row numbers on the left of the edit field.
TabsShows/hides tabs.
SpacesShows/hides spaces.
End of lineShows/hides the end of rows.
Search barSearch in the report, in both the XML code and the text content.
Next search result.
Previous search result.
Next search result. The search result that is selected and the total number of hits, e.g. ”3/17”, are displayed to the right of the button.
Match lower case/UPPER CASEThe search is case sensitive.Not enabled.
ReplaceDisplays a text field in which you can enter text to replace what is being searched for. The Replace button replaces the search result selected in the report. The Replace All button replaces all search results in the report.Not enabled.
CopyCopies selected text.
CutCuts selected text.
PastePastes copied or cut text. The down arrow can be used to insert what you copied most recently in the report you closed last.
Convert selected rows into commentsConverts text to a comment in the XML code. Comments do not appear in the generated printout or message.
Reconvert selected rows into normal textConverts comments to text in the XML code. The entire comment must be selected, including <!-- and -->, for the comment to be converted. The text converted from a comment appears in the generated printout or message.
IndentInserts indents for each level in the XML code.
OutdentDeletes all indents.

Text field

The appearance of the text field differs slightly depending on the type of report being edited.

In the text field, type what will be displayed when the report is generated. In addition to plain text, you can add tags that retrieve information from Opter, such as times and names. For more information, see Förteckning över taggar.

Information about the report is available at the bottom of the window.

FunctionExplanationDefault setting
LengthTotal number of characters in the report, including spaces.
LinesTotal number of rows in the report, including blank rows.
LineThe row the cursor is on.
ColumnThe position of the cursor on the row.
Makes the text larger or smaller.100%