This documentation is archived and is not being maintained.

Formal Syntax

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
 

This RTF Specification describes RTF using the following syntax, based on Backus-Naur Form.

SyntaxMeaning
#PCDATAText (without control words).
#SDATAHexadecimal data.
#BDATABinary data.
'c'A literal.
<text>A nonterminal.
AThe (terminal) control word a, without a parameter.
a or aNThe (terminal) control word a, with a parameter.
a?Item a is optional.
a+One or more repetitions of item a.
a*Zero or more repetitions of item a.
a bItem a followed by item b.
a | bItem a or item b.
a & bItem a and/or item b, in any order.
Show: