...
Supported tokens by RTF | ||
---|---|---|
Token | Notice | |
Text properties | ||
Bold | \b | Turn on bold |
\b0 | Turn off bold | |
Italic | \i | Turn on italic |
\i0 | Turn offitalicoff italic | |
Underline | \ul | Turn onunderlineon underline |
\ul0 | Turn offunderlineoff underline | |
StrikeThru | \strike | Turn onstrikethru on strikethru |
\strike0 | Turn off strikethru | |
Superscript | \super | Turn on superscript |
Subscript | \sub | Turn on subscript |
Color | \cfN |
|
Back Color | \cbN |
|
\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 |
|
Text indent | \fiN | \fi420 - first-line indent in twips |
Tab size | \deftabN | \deftab - first-line indent in twips |
Border | \brdrcfN | \brdrcf1 - index in color table |
\brspN | \brsp200 - space between boder and text in twips | |
\brdrwN | \brdrw20 - border width in twips | |
| None border | |
| Dot border | |
| Dash border | |
| Dash dot border | |
| Dash dot border | |
| Dash dot dot border | |
| Solid border | |
Control tokens | ||
Tabelator | \tab | |
CRLF | \line | |
Paragraph | \par | |
\pard | Reset paragraph properties | |
\plain | Reset text properties |
...