Text format - RTF

Keyword is <RTF>.

Supported tokens by RTF

TokenNotice Version
 Paper properties
 Width\paperwPaper width in twips17.3
 Height\paperhPaper height in twips17.3
 Margin left\marglMargin left in twips  17.3
 Margin right\margrMargin right in twips 17.3
 Margin top\margtMargin top in twips  17.3
 Margin bottom\margbMargin bottom in twips  17.3
Text properties
Bold \bTurn on bold
\b0Turn off bold
Italic \iTurn on italic
\i0Turn off italic
Underline \ulTurn on underline
\ul0Turn off underline
StrikeThru  \strikeTurn on strikethru 
\strike0Turn off strikethru
Superscript\superTurn on superscript
Subscript\subTurn on subscript 

 \nosupersubTurn 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
\highlight\highlight1 - index in color table20.0.0
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   \qlLeft alignment 
\qrRight alignment 
\qcCenter alignment  
\qjBlock/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 
Page break \page 
17.3
Section\sect 
17.3
Objects
Lines, shapes, images \shp  17.3 
\pict




Extended tokens by XFRX    

TokenNotice 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\*\super0Turn off superscript
Subscript\*\sub0Turn off subscript 




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>