| SAT/DL Text Item Tags |
|
| Home | SATGUI | SATSHELL | SATFORM | SATFILTER | SATREPORT | SATMYSQL | License | Download | Examples | Contact |
| <action identifier> </action> | Define link to action with identifier. |
| <b> </b> | Set/unset bold text attribute. |
| <color colorname> </color> | Set/unset text color attribute. |
| <font fontname> | Set font to fontname. |
| <i> </i> | Set/unset italic text attribute. |
| <label label> | Set label label as target for link. |
| <link label> </link> | Define link to label. |
| <size fontsize> | Set font size. |
| <u> </u> | Set/unset underline text attribute. |
The <action identifier> tag creates an action link.
The text between the <action identifier> and the matching </action> tags will be displayed in blue text. A single click on the blue text will invoke the action specified by the addText command. The value of the identifier for the action is assigned to the "name" of the text item.
Example:
If the text created by...
addText {example 1,1 20x10 {myaction example}}
...contains a...
<action myaction1>Select This</action>
...tag, a single click on the "Select This" text will invoke the myaction action with the value of the identifier ("myaction1") passed as the first parameter.
The <b> tag turns on the bold text attribute. The matching </b> tag turns it off.
Example:
| This is a <b>bold</b> word. | This is a bold word. |
The <color colorname> tag sets the current text color to colorname. The </color> tag sets the current text color to "black".
Color names supported:-
black, white, grey, red, orange, yellow, green, blue.
Color names may also be prefixed with light or dark (lightred, darkgreen etc).
Example:
Assume the current text color is black.
| Tag | Example text |
| This is some <color green>green</color> text | This is some green text |
The <font fontname> tag sets the current font to fontname.
The following fonts are supported:-
courier, helvetica, times.
Example:
Assume the current font size is helvetica.
| Tag | Example text |
| <font times> | This is some text |
The <i> tag turns on the italic text attribute. The matching </i> tag turns it off.
Example:
| This is an <i>italic</i> word. | This is an italic word. |
The <label label> tag creates a target for a link.
Example:
<label mylink1>
The <link label> tag creates a link to the specified label.
The text between the <link label> and the matching </link> tags will be displayed in blue text. A single click on the blue text will move the display so as to put the target label as close to the top of the text item as possible.
Example:
If the text item contains a...
<link mylink1>Select This</link>
...tag, a single click on the "Select This" text will move the display to the mylink1 label.
The <size fontsize> tag sets the current font size to fontsize.
Examples:
Assume the current font is 10 point times.
| Tag | Example text |
| <size 12> | This is some text |
| <size 8> | This is some text |
The <u> tag turns on the underline text attribute. The matching </u> tag turns it off.
Example:
| This is an <u>underlined</u> word. | This is an underlined word. |