Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 10
Next »
Keyword is <RTF>.
Supported tokens by RTF |
---|
| Token | Notice | Version |
---|
Paper properties |
Width | \paperw | Paper width in twips | 17.3 |
Height | \paperh | Paper height in twips | 17.3 |
Margin left | \margl | Margin left in twips | 17.3 |
Margin right | \margr | Margin right in twips | 17.3 |
Margin top | \margt | Margin top in twips | 17.3 |
Margin bottom | \margb | Margin bottom in twips | 17.3 |
Text properties |
Bold | \b | Turn on bold | |
\b0 | Turn off bold | |
Italic | \i | Turn on italic | |
\i0 | Turn off italic | |
Underline | \ul | Turn on underline | |
\ul0 | Turn off underline | |
StrikeThru | \strike | Turn on strikethru | |
\strike0 | Turn off strikethru | |
Superscript | \super | Turn on superscript | |
Subscript | \sub | Turn on subscript | |
| \nosupersub | Turn on superscript and subscript | 17.3 |
Color | \cfN | \cf1 - index in color table
| |
Back Color | \cbN | \cb1 - index in color table
| |
\chcbpatN | \chcbpat1 - index in color table | |
Font Name | \fN | \f0 - index in font table | |
Font Size | \fsN | \fs40 - font size*2 | |
Code page | \ansicpgN | \ansicpg1252 | |
Paragraph properties |
Margin top | \sbN | \sb420 - space before paragraph in twips | |
Margin bottom | \saN | \sa420 - space after paragraph in twips | |
Margin left | \liN | \li420 - space from left paragraph in twips | |
Margin right | \riN | \ri420 - space from right paragraph in twips | |
Line height | \slN | \sl1500 - line height paragraph in twips/multiple | |
\slmultN | \slmult0 - lne height \slmult1 - Multiple line hieght | |
Text alignment | \ql | Left alignment | |
\qr | Right alignment | |
\qc | Center alignment | |
\qj | Block/justify alignment | |
Tab stops | \txN | \tx2000 - left tab stop in twips | |
| \tqr | \tqr\tx2000 - right tab stop in twips | |
| \tqc | \tqc\tx2000 - center tab stop in twips | |
Back Color | \cbpatN | \cbpat1 - index in color table
| |
Text indent | \fiN | \fi420 - first-line indent in twips | |
Tab size | \deftabN | \deftab - fdefault tab size in twips | |
Border | \brdrcfN | \brdrcf1 - index in color table | |
\brspN | \brsp200 - space between boder and text in twips | |
\brdrwN | \brdrw20 - border width in twips | |
\brdrnone
| None border | |
\brdrdot
| Dot border | |
\brdrdash
| Dash border | |
\brdrdashd
| Dash dot border | |
\brdrdashdot
| Dash dot border | |
\brdrdashdd
| Dash dot dot border | |
\brdrs
| Solid border | |
Control tokens |
Tabelator | \tab |
| |
CRLF | \line | | |
Paragraph | \par | | |
| \pard | Reset paragraph properties | |
| \plain | Reset text properties | |
Extended tokens by XFRX |
| Token | Notice | CSS attributes |
---|
VFP Expression | \*\vfpev | {\vfpev {DTOC(DATE())+" "+TIME()}} | |
VFP Expression with conversion format | {\vfpev {\pictureformat99.99} {\xlsf#0.00} {10}}
| |
Expand by source alias | \*\template | {\template {alias_expression}} | |
Superscript | \*\super0 | Turn off superscript |
|
Subscript | \*\sub0 | Turn off subscript |
|
|
| | |
Rectangle | <rectangle> | <rectangle style=""></rectangle> | float; margin; width; height; border-width; border-style; background-color; curvature; color; left; right;
|
Image | <img> | <img>field</img> <img style="">field</img> | float; margin; width; height; stretch; position; left; right;
|
Horizontal line | <hr> | <hr></hr> <hr style=""></hr>
| float; margin; border-width; border-style; width; position; left; right;
|
Vertical line | <vr> | <vr></vr> <vr style=""></vr>
| float; margin; border-width; border-style; height; position; left; right; |
Quote | <quote> | <quote></quote> <quote name=""></quote> | text-align; margin; padding; border-width; border-style; background-color; tab-stops; curvature; text-indent; direction; charset; tab-size; color; font-name; font-size; font-style; font-weight; text-decoration; line-height; |
Code | <code> | | text-align; margin; padding; border-width; border-style; background-color; tab-stops; curvature; text-indent; direction; charset; tab-size; color; font-name; font-size; font-style; font-weight; text-decoration; line-height;
|
Preformated text | <pre> | | text-align; margin; padding; border-width; border-style; background-color; tab-stops; curvature; text-indent; direction; charset; tab-size; color; font-name; font-size; font-style; font-weight; text-decoration; line-height;
|
Ordered list | <ol> | <ol style=""> <li>First</li> <li>Second</li> </ol> | list-style-type; text-align; margin; padding; border-width; border-style; background-color; tab-stops; curvature; text-indent; direction; charset; tab-size; color; font-name; font-size; font-style; font-weight; text-decoration;
|
Unorder list | <ul> | <ul style=""> <li>First</li> <li>Second</li> </ul> | list-style-image; text-align; margin; padding; border-width; border-style; background-color; tab-stops; curvature; text-indent; direction; charset; tab-size; color; font-name;
fontt-size; font-style; font-weight; text-decoration; |
| <list>
| <list style=""> <li>First</li> <li>Second</li> </list> | list-style-image; text-align; margin; padding; border-width; border-style; background-color; tab-stops; curvature; text-indent; direction; charset; tab-size; color; font-name font-size; font-style; font-weight; text-decoration;
|
Item list | <li> | <li style=""> </li>
| list-style-image; text-align; margin; padding; border-width; border-style; background-color; tab-stops; curvature; text-indent; direction; charset; tab-size; color; font-name; font-size; font-style; font-weight; text-decoration;
|
Hyperlink | <a href=""> | <a href="static address"></a> <a href="'string expression'"></a> <a href="field"></a> | |
| <a name=""> | <a name="#static name"></a> <a name="'#string expression'"></a> <a name="'#'+field"></a> | |
Options block | <options> | <options>TF_LIST_ITEM_CHAR=CHR(168)</options> | |
Table | <table> | <table> < tr>< th>< /th>< th>< /th>< /tr> < tr>< td>< /td>< td>< /td>< /tr> < /table>
|
|
Expand row by source alias | template="alias_expression" | <table> <tr><th></th><th></th>< /tr> < tr template="alias_expression"> <td><vfpev>Expression </vfpev></td> < /tr> < /table>
| |
<ul> < li template="alias_expression"><vfpev>Expression </vfpev><
/li> < /ul>
| |
<p template="alias_expression"> <vfpev>Expression</vfpev><
/p > | |
CSS attributes |
Name | Values | Notice |
---|
left | size | percent | 10pt or 12px or 1cm
10% |
top | size | percent | 10pt or 12px or 1cm
10% |
width | size | percent | 10pt or 12px or 1cm
10% |
height | size | percent | 10pt or 12px or 1cm
10% |
right | size | percent | 10pt or 12px or 1cm
10% |
| | |
position | static | relative | absolute | relative-paragraph |
|
stretch | clip | isometric | stretch |
|
curvature | number | without units |
float | left | right | text-top-bottom | text-rectangle | For values left | right can be position only static.
For values text-top-bottom | text-rectangle can be position only absolute | relative-paragraph. |
| | |
list-style-type
| decimal |
decimal with bracket |
upper roman |
upper roman with bracket |
upper latin |
upper latin with bracket |
lower latin |
lower latin with bracket |
upper roman |
upper roman with bracket
| |
list-style-image
| url('') | url('filename.png')
'expression' |
|
direction | ltr | rtl |
|