Text is considered to be Rich Text if the first line contains a tag. If this is not the case, and you want the text to be formatted, you need to enclose the entire text in the <qt>...</qt> tag.
The following table lists all supported Rich Text tags and their available attributes:
Tag | Description |
<qt>...</qt> | A rich text document. It understands the following attributes
|
<h1>...</h1> | A top-level heading. |
<h2>...</h2> | A sub-level heading. |
<h3>...</h3> | A sub-sub-level heading. |
<p>...</p> | A left-aligned paragraph. Adjust the alignment with the align attribute. Possible values are left, right and center. |
<center>...</center> | A centered paragraph. |
<blockquote>...</blockquote> | An indented paragraph, useful for quotes. |
<ul>...</ul> | An un-ordered list. You can also pass a type argument to define the bullet style. The default is type=disc, other types are circle and square. |
<ol>...</ol> | An ordered list. You can also pass a type argument to define the enumeration label style. The default is type="1", other types are "a" and "A". |
<li>...</li> | A list item. This tag can only be used within the context of ol or ul. |
<pre>...</pre> | For larger junks of code. Whitespaces in the contents are preserved. For small bits of code, use the inline-style code. |
<a>...</a> | An anchor or link. It understands the following attributes:
|
<em>...</em> | Emphasized (same as <i>...</i>). |
<strong>...</strong> | Strong (same as <b>...</b>). |
<i>...</i> | Italic font style. |
<b>...</b> | Bold font style. |
<u>...</u> | Underlined font style. |
<big>...</big> | A larger font size. |
<small>...</small> | A smaller font size. |
<code>...</code> | Indicates Code. (same as <tt>...</tt>. For larger junks of code, use the block-tag pre. |
<tt>...</tt> | Typewriter font style. |
<font>...</font> | Customizes the font size, family and text color. The tag understands the following attributes:
|
<img...> | An image. This tag understands the following attributes:
|
<hr> | A horizonal line. |
<br> | A line break. |
<nobr>...</nobr> | No break. Prevents word wrap. |
<table>...</table> | A table definition.
The default table is frameless. Specify the boolean attribute
border in order to get a frame. Other attributes are:
|
<tr>...</tr> | A table row. Can only be used within table. Understands the attribute
|
<td>...</td> | A table data cell. Can only be used within tr. Understands the attributes
|
<th>...</th> | A table header cell. Like td but defaults to center-alignment and a bold font. |
<author>...</author> | Marks the author of this text. |
<dl>...</dl> | A definition list. |
<dt>...</dt> | A definition tag. Can only be used within dl. |
<dd>...</dd> | Definition data. Can only be used within dl. |
Tag | Meaning |
< | < |
> | > |
& | & |
| non-breaking space |
ä | ä |
ö | ö |
ü | ü |
Ä | Ä |
Ö | Ö |
Ü | Ü |
ß | ß |
© | © |
° | ° |
µ | µ |
± | ± |
Index | Copyright © 2005 CadSoft Computer GmbH |