Report editor, window
Settings > Reports > Display 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.
Save | Saves the report. | – |
Insert image | Inserts an image that is available on the computer. | – |
Import from file | Imports an XML file containing a report that has previously been exported. | – |
Export to file | Exports the report as an XML file. | – |
Check syntax | Checks the XML code in the report. If it is not correct, an error message is displayed at the top of the edit window. | – |
Line numbers | Shows/hides row numbers on the left of the edit field. | |
Tabs | Shows/hides tabs. | |
Spaces | Shows/hides spaces. | |
End of line | Shows/hides the end of rows. | |
Search bar | Search 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 CASE | The search is case sensitive. | Not enabled. |
Replace | Displays 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. |
Copy | Copies selected text. | – |
Cut | Cuts selected text. | – |
Paste | Pastes copied or cut text. The down arrow can be used to insert what you copied most recently in the report you closed last. | – |
| Converts text to a comment in the XML code. Comments do not appear in the generated printout or message. | – |
| Converts 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. | – |
Indent | Inserts indents for each level in the XML code. | – |
Outdent | Deletes all indents. | – |
Text field
The appearance of the text field differs slightly depending on the type of report being edited.
- Normal: a field with colour marking in accordance with XML syntax.
- Text: a free text field for the entire message.
- HTML: divided into subject line and body text.
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.
Length | Total number of characters in the report, including spaces. | – |
Lines | Total number of rows in the report, including blank rows. | – |
Line | The row the cursor is on. | – |
Column | The position of the cursor on the row. | – |
| Makes the text larger or smaller. | 100% |