home *** CD-ROM | disk | FTP | other *** search
/ Encyclopedia of Graphics File Formats Companion / GFF_CD.ISO / formats / msrtf / spec / rtf.txt < prev   
Text File  |  1994-06-20  |  141KB  |  5,133 lines

  1. Rich-Text Format Specification v. 1.2
  2.  
  3.  
  4.  
  5.  
  6. Introduction    2
  7. RTF Syntax    2
  8. Conventions of an RTF Reader    4
  9. Change Destination    4
  10. Change Formatting Property    5
  11. Insert Special Character    5
  12. Insert Special Character and Perform Action    5
  13. Formal Syntax    5
  14. Contents of an RTF File    5
  15. Header    6
  16. RTF Version    6
  17. Character Set    6
  18. Font Table    6
  19. Code Page Support    8
  20. Font Embedding    8
  21. The File Table    8
  22. Color Table    9
  23. Style Sheet    10
  24. Revision Marks    11
  25. Document Area    12
  26. Information Group    12
  27. Document-Formatting Properties    13
  28. Section Text    17
  29. Section-Formatting Properties    17
  30. Headers and Footers    19
  31. Paragraph Text    20
  32. Paragraph-Formatting Properties    20
  33. Tabs    21
  34. Bullets and Numbering    22
  35. Paragraph Borders    24
  36. Paragraph Shading    24
  37. Absolute-Positioned Objects and Frames    25
  38. Table Definitions    26
  39. Character Text    29
  40. Character-Formatting Properties    29
  41. Associated Character Properties    32
  42. Special Characters    33
  43. Bookmarks    35
  44. Pictures    35
  45. Objects    38
  46. Macintosh Edition Manager Publisher Objects    40
  47. Drawing Objects    40
  48. Footnotes    45
  49. Annotations    46
  50. Fields    46
  51. Index Entries    47
  52. Table of Contents Entries    48
  53. Bidirectional language support    48
  54. Alphabetic List of RTF Keywords    49
  55.  
  56.  
  57.  
  58.  
  59. Introduction
  60.  
  61. The rich-text format (RTF) standard is a method of encoding formatted text 
  62. and graphics for easy transfer between applications. Currently, users 
  63. depend on special translation software to move word-processing 
  64. documents between different MS-DOS, Windows, OS/2 applications, 
  65. and Apple Macintosh applications.
  66.  
  67. The RTF standard provides a format for text and graphics interchange 
  68. that can be used with different output devices, operating environments, 
  69. and operating systems. RTF uses the ANSI, PC-8, Macintosh, or 
  70. IBM PC character set to control the representation and formatting of 
  71. a document, both on the screen and in print. With the RTF standard, 
  72. documents created under different operating systems and with different 
  73. software applications can be transferred among those operating systems 
  74. and applications.
  75.  
  76. Software that takes a formatted file and turns it into an RTF file is 
  77. called a writer. Software that translates an RTF file into a formatted 
  78. file is called a reader. An RTF writer separates the application's control 
  79. information from the actual text and writes a new file containing the text 
  80. and the RTF groups associated with that text. An RTF reader does the 
  81. converse of this procedure.
  82.  
  83. RTF Syntax
  84.  
  85. An RTF file consists of unformatted text, control words, control symbols, 
  86. and groups. For ease of transport, a standard RTF file can consist of 
  87. only 7-bit ASCII characters. (Converters that communicate with Microsoft 
  88. Word for Windows or Microsoft Word for the Macintosh should expect 
  89. 8-bit characters.)
  90.  
  91. A control word is a specially formatted command that RTF uses to mark 
  92. printer control codes and information that applications use to manage 
  93. documents. A control word takes the following form:
  94.  
  95. \ LetterSequence<Delimiter>
  96.  
  97. Note that a backslash begins each control word.
  98.  
  99. The LetterSequence is made up of lowercase alphabetic characters between æ
  100. aÆ and æzÆ inclusive. RTF case sensitive, and all RTF keywords should be 
  101. lowercase.
  102.  
  103. The Delimiter marks the end of an RTF control word, and  can be one of 
  104. the following:
  105.  
  106. * A space. In this case, the space is part of the control word.
  107.  
  108. * A digit or a hyphen (-), which indicates that a numeric parameter 
  109. follows. The subsequent digit sequence is then delimited by a space or 
  110. any character other than a letter or a digit. In other words, the parameter 
  111. can be a positive or negative number. The range of the values for the 
  112. number is -32767 through 32767. However, Microsoft Word for Windows, 
  113. Word for OS/2, and Word for the Macintosh restrict the range to -31680 
  114. through 31680. If a numeric parameter immediately follows the control 
  115. word, this parameter becomes part of the control word. The control word  
  116. is then delimited by a space or a non alphabetic or non-numeric character 
  117. in the same manner as any control word.
  118.  
  119. * Any character other than a letter or a digit. In this case, the 
  120. delimiting character terminates the control word but is not actually 
  121. part of the control word.
  122.  
  123. If a space delimits the control word, space does not appear in the 
  124. document. Any characters following the delimiter, including spaces, 
  125. will appear in the document. For this reason, you should use spaces only 
  126. where necessary; do not use spaces merely to break up RTF code.
  127.  
  128. A control symbol consists of a backslash followed by a single, 
  129. non-alphabetic character. For example, \ ~ represents a non-breaking 
  130. space. Control symbols take no delimiters.
  131.  
  132. A group consists of text and control words or control symbols enclosed in 
  133. braces ({}). The opening brace ({) indicates the start of the group and 
  134. the closing brace (}) indicates the end of the group. Each group 
  135. specifies the text affected by the group and the different attributes 
  136. of that text. The RTF file can also include groups for fonts, styles, 
  137. screen color, pictures, footnotes, annotations, headers and footers, 
  138. summary information, fields, and bookmarks, as well as document-, 
  139. section-, paragraph-, and character-formatting properties. If the font, 
  140. style, screen-color, and summary-information groups and document-
  141. formatting properties are included, they must precede the first plain-text 
  142. character in the document. These groups form the RTF file header. If the 
  143. group for fonts is included, it should precede the group for styles. 
  144. If any group is not used, it can be omitted. The groups are discussed in 
  145. the following sections.
  146.  
  147. Certain control words control properties (such as bold, italic, keep 
  148. together, and so forth) that have only two states. When such a control 
  149. word has no parameter or has a non-zero parameter, it is assumed that the 
  150. control word turns on the property. When such a control word has a 
  151. parameter of 0 (zero), it is assumed that the control word turns off the 
  152. property. For example, \ b turns on bold, whereas \ b0 turns off bold.
  153.  
  154. Certain control words, referred to as destinations, mark the beginning 
  155. of a collection of related text which could appear at another position, 
  156. or destination, within the document. Destinations may also be text which 
  157. is used but should not appear within the document at all. An example of 
  158. a destination is the \ footnote group, where the footnote text follows 
  159. the control word. Destination control words and their following text 
  160. must be enclosed in braces. Destinations added after the RTF specification 
  161. published in the March 1987 Microsoft Systems Journal may be preceded 
  162. by the control symbol \ *. This control symbol identifies destinations 
  163. whose related text should be ignored if the RTF reader does not 
  164. recognize the destination. (RTF writers should follow the convention 
  165. of using this control symbol when adding new destinations or groups.) 
  166. Destinations whose related text should be inserted into the document 
  167. even if the RTF reader does not recognize the destination should not use \ *. 
  168. All destinations that were not included in the March 1987 revision of the 
  169. RTF specification are shown with \ * as part of the control word.
  170.  
  171. Formatting specified within a group affects only the text within that 
  172. group. Generally, text within a group inherits the formatting of the 
  173. text in the preceding group. However, Microsoft implementations of RTF 
  174. assume that the footnote, annotation, header, and footer groups (described 
  175. later in this chapter) do not inherit the formatting of the preceding 
  176. text. Therefore, to ensure that these groups are always formatted 
  177. correctly, you should set the formatting within these groups to the 
  178. default with the \ sectd, \ pard, and \ plain control words, and then 
  179. add any desired formatting.
  180.  
  181. The control words, control symbols, and braces constitute control 
  182. information. All other characters in the file are plain text. Here is 
  183. an example of plain text that does not exist within a group:
  184.  
  185. {\rtf\ansi\deff0{\fonttbl{\f0\froman Tms Rmn;}{\f1\fdecor 
  186. Symbol;}{\f2\fswiss Helv;}}{\colortbl;\red0\green0\blue0;
  187. \red0\green0\blue255;\red0\green255\blue255;\red0\green255\
  188. blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\
  189. green255\blue0;\red255\green255\blue255;}{\stylesheet{\fs20 \snext0Normal;}}{\info{\author 
  190. John Doe}
  191. {\creatim\yr1990\mo7\dy30\hr10\min48}{\version1}{\edmins0}
  192. {\nofpages1}{\nofwords0}{\nofchars0}{\vern8351}}\widoctrl\ftnbj \sectd\linex0\endnhere 
  193. \pard\plain \fs20 This is plain text.\par}
  194.  
  195. The phrase ôThis is plain textö is not part of a group and is treateds
  196. document text.  
  197.  
  198. As previously mentioned, the backslash ( \ ) and braces ({ }) have special 
  199. meaning in RTF. To use these characters as text, precede them with a 
  200. backslash, as in \ \ , \ {, and \ }.
  201.  
  202. Conventions of an RTF Reader
  203.  
  204. The reader of an RTF stream is concerned with the following:
  205.  
  206. * Separating control information from plain text.
  207.  
  208. * Acting on control information.
  209.  
  210. * Collecting and properly inserting text into the document, as directed 
  211. by the current group state.
  212.  
  213. Acting on control information is designed to be a relatively simple 
  214. process. Some control information simply contributes special characters 
  215. to the plain text stream. Other information serves to change the 
  216. program state, which includes properties of the document as a whole, or 
  217. to change any of a collection of group states, which apply to parts of 
  218. the document.
  219.  
  220. As previously mentioned, a group state can specify the following:
  221.  
  222. * The destination, or part of the document that the plain text is constructing.
  223.  
  224. * Character-formatting properties, such as bold or italic.
  225.  
  226. * Paragraph-formatting properties, such as justified or centered.
  227.  
  228. * Section-formatting properties, such as the number of columns.
  229.  
  230. * Table-formatting properties, which define the number of cells and 
  231. dimensions of a table row.
  232.  
  233. In practice, an RTF reader will evaluate each character it reads in 
  234. sequence as follows:
  235.  
  236. * If the character is an opening brace ({), the reader stores its current 
  237. state on the stack. If the character is a closing brace (}), the reader 
  238. retrieves the current state from the stack.
  239.  
  240. * If the character is a backslash, the reader collects the control word 
  241. or control symbol and its parameter, if any, and looks up the control 
  242. word or control symbol in a table that maps control words to actions. 
  243. It then carries out the action prescribed in the table. (The possible 
  244. actions are discussed below.) The read pointer is left before or after 
  245. a control-word delimiter, as appropriate.
  246.  
  247. * If the character is anything other than opening brace ({), closing 
  248. brace (}), or backslash (\) , the reader assumes that the character 
  249. is plain text and writes the character to the current destination using 
  250. current formatting properties.
  251.  
  252. If the RTF reader cannot find a particular control word or control 
  253. symbol in the look-up table described above, the control word  
  254. or control symbol should be ignored. If a control word or control symbol is 
  255. preceded by an opening brace ({), it is part of a group. The current 
  256. state should be saved on the stack, but no state change should occur. 
  257. When a closing brace (}) is encountered, the current state should be 
  258. retrieved from the stack, thereby resetting the current state. If 
  259. the \ * control symbol precedes a control word, then it defines a 
  260. destination group and was itself preceded by an opening brace ({). 
  261. The RTF reader should discard all text up to and including the 
  262. closing brace (}) that closes this group. All RTF readers must recognize 
  263. all destinations defined in the March 1987 RTF specification. The 
  264. reader may skip past the group, but it is not allowed to simply discard 
  265. the control word. Destinations defined since March 1987 are marked 
  266. with the \* control symbol.
  267.  
  268. Note
  269. All RTF readers must implement the \* control symbol to be able to 
  270. read RTF files written by newer RTF writers.
  271.  
  272. For control words or control symbols that the RTF reader can find in 
  273. the look-up table, the possible actions are as follows.
  274.  
  275. Change Destination
  276.  
  277. The RTF reader changes the destination to the destination described in 
  278. the table entry. Destination changes are legal only immediately after 
  279. an opening brace ({). (Other restrictions may also apply; for example, 
  280. footnotes cannot be nested.) Many destination changes imply that the 
  281. current property settings will be reset to their default settings. 
  282. Examples of control words that change destination are \ footnote, 
  283. \ header, \ footer, \ pict, \ info, \ fonttbl, \ stylesheet, 
  284. and \ colortbl. This chapter identifies all destination control words 
  285. where they appear in control-word tables.
  286.  
  287. Change Formatting Property
  288.  
  289. The RTF reader changes the property as described in the table entry. 
  290. The entry will specify whether a parameter is required. ôAlphabetic 
  291. List of RTF Keywords,ö later in this chapter, also specifies which 
  292. control words require parameters. If a parameter is needed and not 
  293. specified, then a default will be used. The default value used depends 
  294. on the control word. If the control word does not specify a default, then 
  295. all RTF readers should assume a default of 0.
  296.  
  297. Insert Special Character
  298.  
  299. The reader inserts into the document the character code or codes 
  300. described in the table entry.
  301.  
  302. Insert Special Character and Perform Action
  303.  
  304. The reader inserts into the document the character code or codes 
  305. described in the table entry and performs whatever other action the entry 
  306. specifies. For example, when Microsoft Word interprets \ par, a paragraph 
  307. mark is inserted in the document and special code is run to record 
  308. the paragraph properties belonging to that paragraph mark.
  309.  
  310. Formal Syntax
  311.  
  312. This chapter describes RTF using the following syntax, based on 
  313. Backus-Naur Form:
  314.  
  315. Syntax        Meaning
  316.  
  317. #PCDATA        Text (without control words)
  318.  
  319. #SDATA        Hexadecimal data
  320.  
  321. #BDATA        Binary data
  322.  
  323. 'c'        A literal 
  324.  
  325. <text>        A non-terminal
  326.  
  327. a        The (terminal) control word a, without a parameter. 
  328.  
  329. a        The (terminal) control word a, with a parameter
  330.  
  331. a?        Item a is optional.
  332.  
  333. a+        One or more repetitions of item a.
  334.  
  335. a*        Zero or more repetitions of item a.
  336.  
  337. a b        Item a followed by item b.
  338.  
  339. a | b        Item a or item b
  340.  
  341. a & b        Item a and/or item b, in any order
  342.  
  343.  
  344. Contents of an RTF File
  345.  
  346. An RTF file has the following syntax:
  347.  
  348. <File>    '{' <header> <document>'}'
  349.  
  350. This syntax is overly strict; all RTF readers must read RTF that does not 
  351. conform to this syntax. However, all RTF readers must correctly read RTF 
  352. written according to this syntax. If you write RTF that conforms 
  353. to this syntax, all correct RTF readers will read it.
  354.  
  355. Header
  356.  
  357. The header has the following syntax:
  358.  
  359. <header>
  360. \ rtf <charset> \ deff? <fonttbl> <colortbl> <stylesheet>?
  361.  
  362.  
  363. RTF Version
  364.  
  365. An entire RTF file is considered a group and must be enclosed in 
  366. braces. The control word \ rtfN must follow the opening brace. The 
  367. numeric parameter N identifies the version of the RTF standard used. The 
  368. RTF standard described in this chapter corresponds to RTF Specification 
  369. Version 1.
  370.  
  371. Character Set
  372.  
  373. After specifying the RTF version, you must declare the character set 
  374. used in this document. The control word for the character set must 
  375. precede any plain text or any table control words. The RTF specification 
  376. currently supports the following character sets:
  377.  
  378. Control word    Character set
  379.  
  380. \ ansi        ANSI (default)
  381.  
  382. \ mac        Apple Macintosh
  383.  
  384. \ pc        IBM PC code page 437
  385.  
  386. \ pca        IBM PC code page 850, used by IBM Personal System/2 
  387.         (not implemented in version 1 of Word for OS/2)
  388.  
  389.  
  390. Font Table
  391.  
  392. The \ fonttbl control word introduces the font table group. This group 
  393. defines the fonts available in the document and has the following syntax:
  394.  
  395. <fonttbl>    '{' \ fonttbl (<fontinfo> | ('{' <fontinfo> '}'))+  '}'
  396.  
  397. <fontinfo>    <fontnum><fontfamily><fcharset><fprq><fontemb>?<codepage>? 
  398.         <fontname><fontaltname> ';' 
  399.  
  400. <fontnum>    \ f 
  401.  
  402. <fontfamily>    \ fnil | \ froman | \ fswiss | \ fmodern | \ fscript | 
  403.         \ fdecor | \ ftech | \ fbidi
  404.  
  405. <fcharset     \ fcharset
  406.  
  407. <fprq>        \ fprq
  408.  
  409. <fontname>    #PCDATA
  410.  
  411. <fontaltname>    '{\*' \falt #PCDATA '}'
  412.  
  413. <fontemb>    '{\ *' \ fontemb <fonttype> <fontfname>? <data>? '}'
  414.  
  415. <fonttype>    \ ftnil | \ fttruetype
  416.  
  417. <fontfname>    '{\ * \ fontfile <codepage>? #PCDATA '}'
  418.  
  419. <codepage>    \ cpg
  420.  
  421.  
  422. Note for <fontemb> that either  <fontname> or <data> must be present, 
  423. although both may be present.  All fonts available to the RTF writer 
  424. can be included in the font table, even if the document doesn't use all 
  425. the fonts.  
  426.  
  427. RTF also supports font families, so that applications can attempt to 
  428. intelligently choose fonts if the exact font is not present on the 
  429. reading system. RTF uses the following control words to describe the various 
  430. font families.
  431.  
  432. Control word    Font family
  433.  
  434. \ fnil        Unknown or default fonts (default)
  435.  
  436. \ froman    Roman, proportionally spaced serif fonts (Tms Rmn, 
  437.         Palatino, etc.)
  438.  
  439. \ fswiss    Swiss, proportionally spaced sans serif fonts (Swiss, etc.)
  440.  
  441. \ fmodern    Fixed-pitch serif and sans serif fonts (Courier, Pica, etc.)
  442.  
  443. \ fscript    Script fonts (Cursive, etc.)
  444.  
  445. \ fdecor    Decorative fonts (Old English, ITC Zapf Chancery, etc.)
  446.  
  447. \ ftech        Technical, symbol, and mathematical fonts (Symbol, etc.)
  448.  
  449. \ fbidi        Arabic, Hebrew, or other bi-directional font (Miriam, etc.)
  450.  
  451.  
  452. If an RTF file uses a default font, the default font number is specified 
  453. with the \ deffN control word, which must precede the font-table group. 
  454. The RTF writer supplies the default font number used in the creation of 
  455. the document as the numeric argument N. The RTF reader then translates 
  456. this number through the font table into the most similar font available 
  457. on the reader's system.
  458.  
  459. The following control words specify the character set and pitch of 
  460. a font in the font table:
  461.  
  462. Control word    Definition
  463.  
  464. \ fcharsetN    Specifies the character set of a font in the font table. 
  465.  
  466. \ fprqN        Specifies the pitch of a font in the font table. 
  467.  
  468.  
  469. If \fcharset is specified, the N argument can be one of the following 
  470. types:
  471.  
  472. Character set        N value
  473.  
  474. ANSI_CHARSET        0
  475.  
  476. SYMBOL_CHARSET        2
  477.  
  478. SHIFTJIS_CHARSET    128
  479.  
  480. GREEK_CHARSET        161
  481.  
  482. TURKISH_CHARSET        162
  483.  
  484. HEBREW_CHARSET        177
  485.  
  486. ARABICSIMPLIFIED_CHARSET 178
  487.  
  488. ARABICTRADITIONAL_CHARSET 179
  489.  
  490. ARABICUSER_CHARSET    180
  491.  
  492. HEBREWUSER_CHARSET    181
  493.  
  494. CYRILLIC_CHARSET    204
  495.  
  496. EASTERNEUROPE_CHARSET    238
  497.  
  498. PC437_CHARSET        254
  499.  
  500. OEM_CHARSET        255
  501.  
  502.  
  503. If \fprq is specified, the N argument can be one of the following 
  504. values:
  505.  
  506. Pitch        Value
  507.  
  508. Default pitch    0
  509.  
  510. Fixed pitch    1
  511.  
  512. Variable pitch    2
  513.  
  514.  
  515. Code Page Support
  516.  
  517. A font may have a different character set from the character set of 
  518. the document. For example, the Symbol font has the same characters in 
  519. the same positions on both the Macintosh and Windows. RTF describes 
  520. this with the \ cpg control word, which names the character set used by 
  521. the font. In addition, file names (used in field instructions and in 
  522. embedded fonts) may not necessarily be the same as the character set of 
  523. the document, and the \ cpg control word can change the character set 
  524. for these file names, as well. However, all RTF documents must still 
  525. declare a character set, to maintain backwards compatibility with 
  526. older RTF readers.
  527.  
  528. The table below describes valid values for \ cpg:
  529.  
  530. Value    Description
  531.  
  532. 437    United States IBM
  533.  
  534. 708    Arabic (ASMO 708)
  535.  
  536. 709    Arabic (ASMO 449+, BCON V4)
  537.  
  538. 710    Arabic (Transparent Arabic)
  539.  
  540. 711    Arabic (Nafitha Enhanced)
  541.  
  542. 720    Arabic (Transparent ASMO)
  543.  
  544. 819    Windows 3.1 (United States & Western Europe)
  545.  
  546. 850    IBM Multilingual
  547.  
  548. 852    Eastern European
  549.  
  550. 860    Portuguese
  551.  
  552. 862    Hebrew
  553.  
  554. 863    French Canadian
  555.  
  556. 864    Arabic
  557.  
  558. 865    Norwegian
  559.  
  560. 866    Soviet Union
  561.  
  562. 932    Japanese
  563.  
  564. 1250    Windows 3.1 (Eastern European)
  565.  
  566. 1251    Windows 3.1 (Soviet Union)
  567.  
  568.  
  569. Font Embedding
  570.  
  571. RTF supports embedded fonts with the \ fontemb group located inside a 
  572. font definition. An embedded font can be specified by a file name, or 
  573. the actual font data may be located inside the group. If a file name is 
  574. specified, it is contained in the \ fontfile group. The \ cpg control 
  575. word can be used to specify the character set for the file name.
  576.  
  577. RTF supports TrueType* and other embedded fonts. The type of the embedded 
  578. font is described by the following control words:
  579.  
  580. Control word    Embedded font type
  581.  
  582. \ ftnil        Unknown or default font type (default)
  583.  
  584. \ fttruetype    TrueType* font
  585.  
  586.  
  587. The File Table
  588.  
  589. The \ filetbl control word introduces the file table destination, a 
  590. new destination. This group defines the files referenced in the document 
  591. and has the following syntax:
  592.  
  593. <filetbl>    '{\ *'  \ filetbl ('{' <fileinfo> '}')+  '}'
  594.  
  595. <fileinfo>    '{' \ file <filenum><relpath>?<osnum>? 
  596.         <filesource>+ <filename> ';}'
  597.  
  598. <filenum>    \ fid 
  599.  
  600. <relpath>    \ frelative 
  601.  
  602. <osnum>        \ fosnum
  603.  
  604. <filesource>    \ fvalidmac | \ fvaliddos | \ fvalidntfs | 
  605.         \ fvalidhpfs | \ fnetwork
  606.  
  607. <filename>    #PCDATA
  608.  
  609.  
  610. Note that the filename can be any valid alphanumeric string for the named 
  611. file system, giving the complete path and filename.
  612.  
  613. Control word    Definition
  614.  
  615. \ filetbl    A structure analogous to the style or font table, the 
  616.         file table is a list of documents referenced by the 
  617.         current document. This is a destination control word 
  618.         output as part of the document header.
  619.  
  620. \ file        This marks the beginning of a file group, which lists 
  621.         relevant information about the referenced file. This is 
  622.         a destination control word.
  623.  
  624. \ fidN        File ID number. Files are referenced later in the document 
  625.         using this number.
  626.  
  627. \ frelativeN    The character position within the path (starting at zero) 
  628.         where the referenced file's path starts to be relative to 
  629.         the path of the owning document. For example, a document is 
  630.         saved to the path c:\ private\ resume\ foo.doc and its 
  631.         file table contains the path c:\ private\ resume\ edu\ bar.doc,
  632.         then that entry in the file table will be \ frelative18, 
  633.         to point at the character 'e' in "edu". This is to allow 
  634.         preservation of relative paths.
  635.  
  636. \ fosnumN    Currently only filled in for paths from the Macintosh 
  637.         file system. It is a OS-specific number for identifying 
  638.         the file, which may be used to speed up access to the file, 
  639.         or find it if it has been moved to another folder on disk. 
  640.         The MacOS name for this number is the "file id". Additional 
  641.         meanings of the \ fosnumN may be defined for other file 
  642.         systems in the future.
  643.  
  644. \ fvalidmac    Macintosh file system.
  645.  
  646. \ fvaliddos    MS-DOS file system.
  647.  
  648. \ fvalidntfs    NTFS file system.
  649.  
  650. \ fvalidhpfs    HPFS file system.
  651.  
  652. \ fnetwork    Network file system. This keyword may be used in conjunction 
  653.         with any of the previous file source keywords.
  654.  
  655.  
  656. Color Table
  657.  
  658. The \ colortbl control word introduces the color table group, which defines 
  659. screen colors, character colors, and other color information. This group has 
  660. the following syntax:
  661.  
  662. <colortbl>    '{' \ colortbl <colordef>+ '}'
  663.  
  664. <colordef>    \ red ? & \ green ? & \ blue ? ';'
  665.  
  666.  
  667. The following are valid control words for this group:
  668.  
  669. Control word    Meaning
  670.  
  671. \ redN        Red index
  672.  
  673. \ greenN    Green index
  674.  
  675. \ blueN        Blue index
  676.  
  677.  
  678. Each definition must be delimited by a semicolon, even if the definition 
  679. is omitted. If a color definition is omitted, the RTF reader uses its 
  680. default color. In the example below, three colors are defined. The first 
  681. color is omitted, as shown by the semicolon following the \ colortbl control 
  682. word.
  683.  
  684. {\colortbl;\red0\green0\blue0;\red0\green0\blue255;}
  685.  
  686. The foreground and background colors use indexes into the color table 
  687. to define a color. For more information on color setup, see your Windows 
  688. documentation.
  689.  
  690. The following example defines a block of text in color (where supported). 
  691. Note that the cf/cb index is the index of an entry in the color table, 
  692. which represents a red/green/blue color combination.  
  693.  
  694. {\f1\cb1\cf2 This is colored text. The background is color
  695. 1 and the foreground is color 2.}
  696.  
  697. If the file is translated for software that does not display color, 
  698. the reader ignores the color-table group.
  699.  
  700. Style Sheet
  701.  
  702. The \ stylesheet control word introduces the style sheet group,  which 
  703. contains definitions and descriptions of the various styles used in the 
  704. document. All styles in the document's style sheet can be included, even if 
  705. not all the styles are used. In RTF, a style is a shorthand used to 
  706. specify a set of character, paragraph, or section formatting.
  707.  
  708. The style-sheet group has the following syntax:
  709.  
  710. <stylesheet>    '{' \ stylesheet <style>+ '}'
  711.  
  712. <style>        '{' <styledef>?<keycode>? <formatting> <additive>? 
  713.         <based>? <next>? <stylename>? ';' 
  714.         '}'
  715.  
  716. <styledef>    \ s  | \ cs  | \ ds 
  717.  
  718. <keycode>    '{' \ keycode <keys> '}'
  719.  
  720. <additive>    \additive
  721.  
  722. <based>        \ sbasedon 
  723.  
  724. <next>        \ snext 
  725.  
  726. <formatting>    (<brdrdef> | <parfmt> | <apoctl> | <tabdef> | 
  727.         <shading> | <chrfmt>)+
  728.  
  729. <stylename>    #PCDATA
  730.  
  731. <keys>        ( \ shift? & \ ctrl? & \ alt?) <key>
  732.  
  733. <key>        \ fn | #PCDATA
  734.  
  735.  
  736. For <style>, both <styledef> and <stylename> are optional; the default 
  737. is paragraph style 0. Note for <stylename> that Microsoft Word for the 
  738. Macintosh interprets commas in #PCDATA as separating style 
  739. synonyms. Also, for <key>, the data must be exactly one character.
  740.  
  741. Control word    Meaning
  742.  
  743. \ additive    Used in a character style definition ({\ *\ cs╝). 
  744.         Indicates that style attributes are to be applied in 
  745.         addition to current attributes, rather than setting the 
  746.         character attributes to only the style definition.
  747.  
  748. \ sbasedonN    Defines the number of the style on which the current style 
  749.         is based (default is 222-no style).
  750.  
  751. \ snextN    Defines the next style associated with the current style; 
  752.         if omitted, the next style is the current style.
  753.  
  754. \ keycode    This group is specified within the description of a style 
  755.         in the style sheet in the RTF header. The syntax for this 
  756.         group is {\ *\ keycode Keys} where Keys are the characters 
  757.         used in the key code. For example, a style, Normal, may 
  758.         be defined {\ s0 {\ *\ keycode \ shift\ ctrl n}Normal;} 
  759.         within the RTF style sheet. See the Special Character control 
  760.         words for the characters outside of the alphanumeric range 
  761.         that may be used.
  762.  
  763. \ alt        The ALT modifier key. Used to describe quick-key codes 
  764.         for styles.
  765.  
  766. \ shift        The SHIFT modifier key. Used to describe quick-key codes 
  767.         for styles.
  768.  
  769. \ ctrl        The CTRL modifier key. Used to describe quick-key codes 
  770.         for styles.
  771.  
  772. \ fnN        Specifies a function key where N is the function key 
  773.         number. Used to describe quick-key codes for styles.
  774.  
  775.  
  776. The following is an example of an RTF style sheet:
  777.  
  778. {\stylesheet{\fs20 \sbasedon222\snext0{\*\keycode \shift\ctrl n} 
  779. Normal;}{\s1\ar \fs20 \sbasedon0\snext1 FLUSHRIGHT;}{\s2\fi-
  780. 720\li720\fs20\ri2880\sbasedon0\snext2 IND;}}
  781.  
  782. and RTF paragraphs to which the styles are applied:
  783.  
  784. \widowctrl\ftnbj\ftnrestart \sectd \linex0\endnhere \pard\plain 
  785. \fs20 This is Normal style.
  786. \par \pard\plain \s1
  787. This is right justified. I call this style FLUSHRIGHT.
  788. \par \pard\plain \s2
  789. This is an indented paragraph. I call this style IND. It produces 
  790. a hanging indent.
  791. \par}
  792.  
  793. In the preceding example, the PostScript style is declared but not used. 
  794. Some of the control words in this example are discussed in later sections.
  795.  
  796. Revision Marks
  797.  
  798. This table allows tracking of multiple authors and reviewers of a document, 
  799. and is used in conjunction with the character properties for revision marks.
  800.  
  801. Control word    Definition
  802.  
  803. \ revtbl    This group consists of subgroups that each identify the 
  804.         author of a revision in the document, as in {Author1;}. 
  805.         This is a destination control word.  Revision conflicts, 
  806.         such as one author deleting another's additions, are stored as 
  807.         one group, in the following form:
  808.  
  809.         CurrentAuthor\'00\'<length of previousauthor's 
  810.         name>PreviousAuthor\'00
  811.         PreviousRevisionTime
  812.  
  813.         The four bytes of the DTTM strucutre are emitted as ASCII 
  814.         characters, so values > 127 should be emitted as quoted hex 
  815.         values.
  816.  
  817. All time references for revision marks use the following bit field 
  818. structure, DTTM:
  819.  
  820. Bit numbers    Information     Range
  821.  
  822. 0-5        Minute        0-59
  823.  
  824. 6-10        Hour        0-23
  825.  
  826. 11-15        Day of month    1-31
  827.  
  828. 16-19        Month        1-12
  829.  
  830. 20-28        Year        = Year - 1900
  831.  
  832. 29-31        Day of week    0 (Sun) - 6 (Sat)
  833.  
  834.  
  835. Document Area
  836.  
  837. Once the RTF header is defined, the RTF reader has enough information 
  838. to correctly read the actual document text. The document area has the 
  839. following syntax:
  840.  
  841. <document>    <info>? <docfmt>* <section>+
  842.  
  843.  
  844. Information Group
  845.  
  846. The \ info control word introduces the information group, which contains 
  847. information about the document. This can include the title, author, 
  848. keywords, comments, and other information specific to the file. This 
  849. information is for use by a document-management utility, if available.
  850. This group has the following syntax:
  851.  
  852. <info>        '{' <title>? & <subject>? & <author>? & <operator>? & 
  853.         <keywords>? & <comment>? & \ version? & <doccomm>? & 
  854.         \ vern? & <creatim>? & <revtim>? & <printim>? & 
  855.         <buptim>? & \ edmins? & \ nofpages? & \ nofwords? & \ id? '}'
  856.  
  857. <title>        '{' \ title #PCDATA '}'
  858.  
  859. <subject>    '{' \ subject #PCDATA '}'
  860.  
  861. <author>    '{' \ author #PCDATA '}'
  862.  
  863. <operator>    '{' \ operator #PCDATA '}'
  864.  
  865. <keywords>    '{' \ keywords #PCDATA '}'
  866.  
  867. <comment>    '{' \ comment #PCDATA '}'
  868.  
  869. <doccomm>    '{' \ doccomm #PCDATA '}'
  870.  
  871. <creatim>    '{' \ creatim <time> '}'
  872.  
  873. <revtim>    '{' \ revtim <time> '}'
  874.  
  875. <printim>    '{' \ printim <time> '}'
  876.  
  877. <buptim>    '{' \ buptim <time> '}'
  878.  
  879. <time>        \ yr? \ mo? \ dy? \ hr? \ min? \ sec?
  880.  
  881.  
  882. Some applications, such as Word, ask a user to type this information when 
  883. saving the document in its native format. If the document is then saved 
  884. as an RTF file or translated into RTF, the RTF writer specifies this 
  885. information using the following control words. These control words 
  886. are destinations and both the control words and the text should be 
  887. enclosed in braces ({}).
  888.  
  889. Control word    Meaning
  890.  
  891. \ title        Title of the document. This is a destination control word.
  892.  
  893. \ subject    Subject of the document. This is a destination control word.
  894.  
  895. \ author    Author of the document. This is a destination control word.
  896.  
  897. \ operator    Person who last made changes to the document. This is a 
  898.         destination control word.
  899.  
  900. \ keywords    Selected keywords for the document. This is a destination 
  901.         control word.
  902.  
  903. \ comment    Comments; text is ignored. This is a destination control word.
  904.  
  905. \ versionN    Version number of the document.
  906.  
  907. \ doccomm    Comments displayed in Word's Edit Summary Info dialog box. 
  908.         This is a destination control word.
  909.  
  910.  
  911. The RTF writer may automatically enter other control words, including the 
  912. following:
  913.  
  914. Control word    Meaning
  915.  
  916. \ vernN        Internal version number
  917.  
  918. \ creatim    Creation time
  919.  
  920. \ revtim    Revision time
  921.  
  922. \ printim    Last print time
  923.  
  924. \ buptim    Backup time
  925.  
  926. \ edminsN    Total editing time (in minutes)
  927.  
  928. \ yrN        Year
  929.  
  930. \ moN        Month
  931.  
  932. \ dyN        Day
  933.  
  934. \ hrN        Hour
  935.  
  936. \ minN        Minute
  937.  
  938. \ secN        Seconds
  939.  
  940. \ nofpagesN    Number of pages
  941.  
  942. \ nofwordsN    Number of words
  943.  
  944. \ nofcharsN    Number of characters
  945.  
  946. \ idN        Internal ID number
  947.  
  948.  
  949. Any control word described in the previous table that does not have 
  950. a numeric parameter specifies a date; all dates are specified with 
  951. the \ yr \ mo \ dy \ hr \ min \ sec controls. An example of an information 
  952. group follows:
  953.  
  954. {\info{\title The Panda's Thumb}{\author Stephen J Gould}{\keywords 
  955. science natural history }}
  956.  
  957. Document-Formatting Properties
  958.  
  959. After the information group (if any), there may be some document formatting 
  960. control words (described as  <docfmt> in the syntax description.). These 
  961. control words specify the attributes of the document, such as margins 
  962. and footnote placement. These attributes must precede the first plain-text 
  963. character in the document.
  964.  
  965. The control words that specify document formatting are listed in the 
  966. following table (measurements are in twips). For omitted control words, 
  967. RTF uses the default values:
  968.  
  969. Control word    Meaning
  970.  
  971. \ deftabN    Default tab width in twips (default is 720).
  972.  
  973. \ hyphhotzN    Hyphenation hot zone in twips (amount of space at the 
  974.         right margin in which words are hyphenated).
  975.  
  976. \ hyphconsecN    N is the maximum number of consecutive lines that will 
  977.         be allowed to end in a hyphen. 0 means no limit.
  978.  
  979. \ hyphcaps    Toggles hyphenation of capitalized words (default is on).  
  980.         Append with 1 or leave keyword by itself to toggle property 
  981.         on; append 0 (zero) to turn it off.
  982.  
  983. \ hyphauto    Toggles automatic hyphenation (default is off).  Append with 
  984.         1 or leave keyword by itself to toggle property on; append 
  985.         0 (zero) to turn it off.
  986.  
  987. \ linestartN    Beginning line number (default is 1).
  988.  
  989. \ fracwidth    Uses fractional character widths when printing (QuickDraw only).
  990.  
  991. \ *\ nextfile    Destination; the argument is the name of the file to print 
  992.         or index next; must be enclosed in braces. This is a 
  993.         destination control word.
  994.  
  995. \ *\ template    Destination; the argument is the name of a related template 
  996.         file; must be enclosed in braces. This is a destination 
  997.         control word.
  998.  
  999. \ makebackup    Backup copy is made automatically when the document is saved.
  1000.  
  1001. \ defformat    Tells the RTF reader that the document should be saved in 
  1002.         RTF format.
  1003.  
  1004. \ psover    Prints PostScript over the text.
  1005.  
  1006. \ doctemp    Document is a boilerplate document. For Word for Windows, 
  1007.         this is a template, for Word for the Macintosh this is 
  1008.         a stationery file.
  1009.  
  1010. \ deflangN    Defines the default language used in the document used 
  1011.         with a \ plain. See the section "Character-Formatting 
  1012.         Properties" for a list of possible values for N.
  1013.  
  1014. Footnotes and endnotes
  1015.  
  1016.  
  1017. \ fetN        Footnote/endnote type. This indicates what type of notes 
  1018.         are present in the document.
  1019.  
  1020.         0    Footnotes only or nothing at all (default).
  1021.         1    Endnotes only.
  1022.         2    Footnotes and endnotes both.
  1023.  
  1024.         For backwards compatibility, if \ fet1 is emitted, 
  1025.         \ endnotes or \ enddoc will be emitted along with 
  1026.         \ aendnotes or \ aenddoc. Readers that understand \ fet will 
  1027.         need to ignore the footnote positioning keywords, and use 
  1028.         the endnote keywords instead.
  1029.  
  1030. \ ftnsep    Text argument separates footnotes from the document. This 
  1031.         is a destination control word.
  1032.  
  1033. \ ftnsepc    Text argument separates continued footnotes from the document. 
  1034.         This is a destination control word.
  1035.  
  1036. \ ftncn        Text argument is a notice for continued footnotes. This is 
  1037.         a destination control word.
  1038.  
  1039. \ aftnsep    Text argument separates endnotes from the document. This is 
  1040.         a destination control word.
  1041.  
  1042. \ aftnsepc    Text argument separates continued endnotes from the document. 
  1043.         This is a destination control word.
  1044.  
  1045. \ aftncn    Text argument is a notice for continued endnotes. This is 
  1046.         a destination control word.
  1047.  
  1048. \ endnotes    Footnotes at the end of the section (default).
  1049.  
  1050. \ enddoc    Footnotes at the end of the document.
  1051.  
  1052. \ ftnj        Footnotes beneath text.
  1053.  
  1054. \ ftnbj        Footnotes at the bottom of the page.
  1055.  
  1056. \ aendnotes    Position endnotes at end of section. (default)
  1057.  
  1058. \ aenddoc    Position endnotes at end of document.
  1059.  
  1060. \ aftnbj    Position endnotes at bottom of page (bottom justified).
  1061.  
  1062. \ aftntj    Position endnotes beneath text (top justified).
  1063.  
  1064. \ ftnstartN    Beginning footnote number (default is 1).
  1065.  
  1066. \ aftnstartN    Beginning endnote number (default is 1).
  1067.  
  1068. \ ftnrstpg    Restart footnote numbering each page.
  1069.  
  1070. \ ftnrestart    Footnote numbers restart at each section. Microsoft Word for 
  1071.         the Macintosh uses this control to restart footnote numbering 
  1072.         at each page.
  1073.  
  1074. \ ftnrstcont    Continuous footnote numbering. (default)
  1075.  
  1076. \ aftnrestart    Restart endnote numbering each section.
  1077.  
  1078. \ aftnrstcont    Continuous endnote numbering (default).
  1079.  
  1080. \ ftnnar    Footnote numbering - Arabic numbering (1, 2, 3, ╝)
  1081.  
  1082. \ ftnnalc    Footnote numbering - Alphabetic lowercase (a, b, c, ╝)
  1083.  
  1084. \ ftnnauc    Footnote numbering - Alphabetic uppercase (A, B, C, ╝)
  1085.  
  1086. \ ftnnrlc    Footnote numbering - Roman lowercase (i, ii, iii, ╝)
  1087.  
  1088. \ ftnnruc    Footnote numbering - Roman uppercase (I, II, III, ╝)
  1089.  
  1090. \ ftnnchi    Footnote numbering - Chicago Manual of Style (*, å, ç, º)
  1091.  
  1092. \ aftnnar    Endnote numbering - Arabic numbering (1, 2, 3, ╝)
  1093.  
  1094. \ aftnnalc    Endnote numbering - Alphabetic lowercase (a, b, c, ╝)
  1095.  
  1096. \ aftnnauc    Endnote numbering - Alphabetic uppercase (A, B, C, ╝)
  1097.  
  1098. \ aftnnrlc    Endnote numbering - Roman lowercase (i, ii, iii, ╝)
  1099.  
  1100. \ aftnnruc    Endnote numbering - Roman uppercase (I, II, III, ╝)
  1101.  
  1102. \ aftnnchi    Endnote numbering - Chicago Manual of Style (*, å, ç, º)
  1103.  
  1104.  
  1105. Page information
  1106.  
  1107. \ paperwN    Paper width in twips (default is 12,240).
  1108.  
  1109. \ paperhN    Paper height in twips (default is 15,840).
  1110.  
  1111. \ pszN        Used to disambiguate between paper sizes with identical 
  1112.         dimensions under Windows NT. Values 1û41 correspond to paper 
  1113.         sizes defiend in DRIVINI.H in the Windows 3.1 SDK 
  1114.         (DMPAPER_ values). Values >=42 correspond to user-
  1115.         defined forms under Windows NT.
  1116.  
  1117. \ marglN    Left margin in twips (default is 1,800).
  1118.  
  1119. \ margrN    Right margin in twips (default is 1,800).
  1120.  
  1121. \ margtN    Top margin in twips (default is 1,440).
  1122.  
  1123. \ margbN    Bottom margin in twips (default is 1,440).
  1124.  
  1125. \ facingp    Facing pages (activates odd/even headers and gutters).
  1126.  
  1127. \ gutterN    Gutter width in twips (default is 0).
  1128.  
  1129. \ margmirror    Switches margin definitions on left and right pages.
  1130.  
  1131. \ landscape    Landscape format.
  1132.  
  1133. \ pgnstartN    Beginning page number (default is 1).
  1134.  
  1135. \ widowctrl    Enable widow and orphan control.
  1136.  
  1137.  
  1138. Linked styles
  1139.  
  1140. \ linkstyles    Update document styles automatically based on template. 
  1141.  
  1142.  
  1143. Compatibility options
  1144.  
  1145. \ notabind    Don't add automatic tab stop for hanging indent.
  1146.  
  1147. \ wraptrsp    Wrap trailing spaces onto the next line.
  1148.  
  1149. \ prcolbl    Print all colors as black.
  1150.  
  1151. \ noextrasprl    Don't add extra space to line height for showing 
  1152.         raised/lowered characters.
  1153.  
  1154. \ nocolbal    Don't balance columns.
  1155.  
  1156. \ cvmme        Treat old-style escaped quotation marks (\ ") as current 
  1157.         style ("") in mail merge data documents.
  1158.  
  1159. \ sprstsp    Suppress extra line spacing at top of page. Basically, 
  1160.         this means to ignore any line spacing larger than Auto 
  1161.         at the top of a page.
  1162.  
  1163. \ sprsspbf    Suppress space before paragraph property after hard page 
  1164.         or column break.
  1165.  
  1166. \ otblrul    Combine table borders like Word for Macintosh 5.x. 
  1167.         Contradictory table border information is resolved in 
  1168.         favor of the first cell.
  1169.  
  1170. \ transmf    Metafiles are considered transparent; don't blank the area 
  1171.         behind metafiles. 
  1172.  
  1173. \ swpbdr    If a paragraph has a left border (not a box) and the 
  1174.         Different Odd And Even or Mirror Margins check box is 
  1175.         selected, Word will print the border on the right for 
  1176.         odd-numbered pages.
  1177.  
  1178. \ brkfrm    Show hard (manual) page breaks and column breaks in frames.
  1179.  
  1180.  
  1181. Forms
  1182.  
  1183. \ formprot    This document is protected for forms.
  1184.  
  1185. \ allprot    This document has no unprotected areas.
  1186.  
  1187. \ formshade    This document has form field shading on.
  1188.  
  1189. \ formdisp    This document currently has a forms drop down or check box 
  1190.         selected.
  1191.  
  1192. \ printdata    This document has print form data only on.
  1193.  
  1194.  
  1195. Revision marks
  1196.  
  1197. \ revprot    This document is protected for revisions. The user can 
  1198.         edit the document, but revision marking cannot be disabled.
  1199.  
  1200. \ revisions    Turns on revision marking.
  1201.  
  1202. \ revpropN    Argument indicates how revised text will be displayed: 
  1203.         0 for no properties shown; 1 for bold; 2 for italic; 
  1204.         3 for underline (default); 4 for double underline.
  1205.  
  1206. \ revbarN    Vertical lines mark altered text, based on the argument: 
  1207.         0 for no marking; 1 for left margin; 2 for right margin; 
  1208.         3 for outside (left on left pages, right on right pages; 
  1209.         default).
  1210.  
  1211.  
  1212. Annotations
  1213.  
  1214. \ annotprotq    This document is protected for annotations. The user cannot 
  1215.         edit the document, but can insert annotations.
  1216.  
  1217.  
  1218. Bidirectional controls
  1219.  
  1220. \ rtldoc    This document will be formatted to have Arabic style pagination.
  1221.  
  1222. \ ltrdoc    This document will have English style pagination. This is 
  1223.         the default.
  1224.  
  1225.  
  1226. Note that the three document protections keywords (\ formprot, \ revprot, 
  1227. and \ annotprot)  are mutually exclusive; only one of the three can apply 
  1228. to any given document. Also, there is currently no method for passing 
  1229. passwords in RTF, so any document which associates a password with a 
  1230. protection level will lose the password protection in RTF.
  1231.  
  1232. For more information about bidirection controls, see ôBidirectional
  1233. Writing Order,ö later in this chapter.
  1234.  
  1235. Section Text
  1236.  
  1237. Each section in the RTF file has the following syntax:
  1238.  
  1239. <section>    <secfmt>* <hdrftr>? <para>+ ( \ sect <section>)?
  1240.  
  1241.  
  1242. Section-Formatting Properties
  1243.  
  1244. At the beginning of each section, there may be some section formatting 
  1245. control words (described as <secfmt> in the syntax description). These control 
  1246. words specify section-formatting properties, which apply to the text following 
  1247. the control word, with the exception of the section-break control words (those 
  1248. beginning with \ sbk). Section-break control words describe the break 
  1249. preceding the text. These control words can appear anywhere in the section, 
  1250. not just at the start.
  1251.  
  1252. Note that if the \sectd control word is not present, the current 
  1253. section inherits all section properties defined in the previous section.
  1254.  
  1255. The section-formatting control words are listed in the following table:
  1256.  
  1257. Control word    Meaning
  1258.  
  1259. \ sectd        Reset to default section properties.
  1260.  
  1261. \ endnhere    Endnotes included in the section.
  1262.  
  1263. \ binfsxnN    N is the printer bin used for the first page of the 
  1264.         section. If this control is not defined then the first 
  1265.         page uses the same printer bin as defined by the \ binsxnN 
  1266.         control.
  1267.  
  1268. \ binsxnN    N is the printer bin used for the pages of the section.
  1269.  
  1270. \ dsN        Designates section style; if a section style is specified, 
  1271.         style properties must be specified with the section.
  1272.  
  1273. \ sectunlocked    This section is unlocked for forms.
  1274.  
  1275.  
  1276. Section break
  1277.  
  1278. \ sbknone    No section break.
  1279.  
  1280. \ sbkcol    Section break starts a new column.
  1281.  
  1282. \ sbkpage    Section break starts a new page (default).
  1283.  
  1284. \ sbkeven    Section break starts at an even page.
  1285.  
  1286. \ sbkodd    Section break starts at an odd page.
  1287.  
  1288.  
  1289. Columns
  1290.  
  1291. \ colsN        Number of columns for "snaking" (default is 1).
  1292.  
  1293. \ colsxN    Space between columns in twips (default is 720).
  1294.  
  1295. \ colnoN    Column number to be formatted; used to specify 
  1296.         formatting for variable-width columns.
  1297.  
  1298. \ colsrN    Space to right of column in twips; used to specify 
  1299.         formatting for variable-width columns.
  1300.  
  1301. \ colwN        Width of column in twips; used to override the default 
  1302.         constant width setting for variable-width columns.
  1303.  
  1304. \ linebetcol    Line between columns.
  1305.  
  1306.  
  1307. Line numbering
  1308.  
  1309. \ linemodN    Line-number modulus-amount to increase each line number 
  1310.         (default is 1).
  1311.  
  1312. \ linexN    Distance from the line number to the left text margin in 
  1313.         twips (default is 360). The automatic distance is 0.
  1314.  
  1315. \ linestartsN    Beginning line number (default is 1).
  1316.  
  1317. \ linerestart    Line numbers restart at \ linestarts value.
  1318.  
  1319. \ lineppage    Line numbers restart on each page.
  1320.  
  1321. \ linecont    Line numbers continue from the preceding section.
  1322.  
  1323.  
  1324. Page information
  1325.  
  1326. \ pgwsxnN    N is the page width in twips. A \ sectd resets the value 
  1327.         to that specified by \ paperwN in the document properties.
  1328.  
  1329. \ pghsxnN    N is the page height in twips. A \ sectd resets the value 
  1330.         to that specified by \ paperhN in the document properties.
  1331.  
  1332. \ marglsxnN    N is the left margin of the page in twips. A \ sectd 
  1333.         resets the value to that specified by \ marglN in the 
  1334.         document properties.
  1335.  
  1336. \ margrsxnN    N is the right margin of the page in twips. A \ sectd 
  1337.         resets the value to that specified by \ margrN in the 
  1338.         document properties.
  1339.  
  1340. \ margtsxnN    N is the right margin of the page in twips. A \ sectd 
  1341.         resets the value to that specified by \ margrN in the document 
  1342.         properties.
  1343.  
  1344. \ margbsxnN    N is the top margin of the page in twips. A \ sectd resets 
  1345.         the value to that specified by \ margtN in the document 
  1346.         properties.
  1347.  
  1348. \ guttersxnN    N is the width of the gutter margin for the section in 
  1349.         twips. A \ sectd resets the value to that specified by 
  1350.         \ gutterN from the document properties. If Facing Pages 
  1351.         is turned off, the gutter will be added to the left 
  1352.         margin of all pages. If Facing Pages is turned on, the 
  1353.         gutter will be added to the left side of odd-numbered pages 
  1354.         and the right side of even-numbered pages.
  1355.  
  1356. \ lndscpsxn    Page orientation is in landscape format. In order to mix 
  1357.         portrait and landscape sections within a document, the 
  1358.         \ landscape control should not be used so that the 
  1359.         default for a section is portrait which may be overridden by 
  1360.         the \ lndscpsxn control.
  1361.  
  1362. \ titlepg    First page has a special format.
  1363.  
  1364. \ headeryN    Header is n twips from the top of the page (default is 720).
  1365.  
  1366. \ footeryN    Footer is n twips from the bottom of the page (default is 720).
  1367.  
  1368.  
  1369. Page numbers
  1370.  
  1371. \ pgnstartsN    Beginning page number (default is 1).
  1372.  
  1373. \ pgncont    Continuous page numbering (default).
  1374.  
  1375. \ pgnrestart    Page numbers restart at \ pgnstarts value.
  1376.  
  1377. \ pgnxN        Page-number is n twips from the right margin (default is 720).
  1378.  
  1379. \ pgnyN        Page-number is n twips from the top margin (default is 720).
  1380.  
  1381. \ pgndec    Page-number format is decimal.
  1382.  
  1383. \ pgnucrm    Page-number format is uppercase roman numeral.
  1384.  
  1385. \ pgnlcrm    Page-number format is lowercase roman numeral.
  1386.  
  1387. \ pgnucltr    Page-number format is uppercase letter.
  1388.  
  1389. \ pgnlcltr    Page-number format is lowercase letter.
  1390.  
  1391. \ pgnhnN     Indicates which heading level to prepend to the page number. 
  1392.         0 specifies to not show heading level (default). Values 
  1393.         1-9 correspond to heading levels 1 through 9. This is 
  1394.         a destination control word.
  1395.  
  1396. \ pgnhnsh    Hyphen separator character.
  1397.  
  1398. \ pgnhnsp    Period separator character.
  1399.  
  1400. \ pgnhnsc    Colon separator character.
  1401.  
  1402. \ pgnhnsm    Em-dash separator character.
  1403.  
  1404. \ pgnhnsn    En-dash separator character.
  1405.  
  1406. \ pnseclvlN    Used for multilevel lists. This property sets the default 
  1407.         numbering style for each corresponding \ pnlvlN (bullets 
  1408.         and numbering property for paragraphs) within that section. 
  1409.         This is a destination control word.
  1410.  
  1411.  
  1412. Vertical alignment
  1413.  
  1414. \ vertalt    Text is top-aligned (default).
  1415.  
  1416. \ vertalb    Text is bottom-aligned.
  1417.  
  1418. \ vertalc    Text is centered vertically.
  1419.  
  1420. \ vertalj    Text is justified vertically.
  1421.  
  1422.  
  1423. Bidirectional controls
  1424.  
  1425. \ rtlsect    This section will thread columns from right to left.
  1426.  
  1427. \ ltrsect    This section will thread columns from left to right. This 
  1428.         is the default.
  1429.  
  1430. Headers and Footers
  1431.  
  1432. Headers and footers are RTF destinations. Each section in the document may 
  1433. have its own set of headers and footers. If no headers or footers are 
  1434. defined for a given section, the headers and footers from the previous 
  1435. section (if any) are used. The syntax for headers and footers are as follows:
  1436.  
  1437. <hdrftr>    '{' <hdrctl> <para>+ '}' <hdrftr>?
  1438.  
  1439. <hdrctl>    \ header | \ footer | \ headerl | \ headerr | 
  1440.         \ headerf | \ footerl | \ footerr | \ footerf
  1441.  
  1442.  
  1443. Note that each separate <hdrftr> group must have a distinct <hdrctl> 
  1444. introducing it.
  1445.  
  1446. Control word    Meaning
  1447.  
  1448. \ header    Header on all pages. This is a destination control word.
  1449.  
  1450. \ footer    Footer on all pages. This is a destination control word.
  1451.  
  1452. \ headerl    Header on left pages only. This is a destination control word.
  1453.  
  1454. \ headerr    Header on right pages only. This is a destination control word.
  1455.  
  1456. \ headerf    Header on first page only. This is a destination control word.
  1457.  
  1458. \ footerl    Footer on left pages only. This is a destination control word.
  1459.  
  1460. \ footerr    Footer on right pages only. This is a destination control word.
  1461.  
  1462. \ footerf    Footer on first page only. This is a destination control word.
  1463.  
  1464. The \ headerl, \ headerr, \ footerl and \ footerr control words are used 
  1465. in conjunction with the \ facingp control word, and the \ headerf and 
  1466. \ footerf control words are used in conjunction with the \ titlepg 
  1467. control word. Many RTF readers will not function correctly if the 
  1468. appropriate document properties are not set. In particular, if \facingp 
  1469. is not set, then only \header  and \footer should be used; if \facingp is set, 
  1470. then only \headerl, \headerr, \footerl, and \footerr should be used. 
  1471. You should not use \header to set the headers for both pages when 
  1472. \facingp is set. You can use \headerf if \titlepg is not set, but no 
  1473. header will appear. For more information, see "Document-Formatting Properties" 
  1474. and "Section-Formatting Properties".
  1475.  
  1476. If the previous section had a first page header or footer and had \ titlepg 
  1477. set, and the current section does not, then the previous section's first 
  1478. page header or footer is disabled. It is not, however destroyed; if 
  1479. subsequent sections have \ titlepg set, then the first page header or 
  1480. footer will be restored.
  1481.  
  1482. Paragraph Text
  1483.  
  1484. There are two kinds of paragraphs: plain paragraphs and table paragraphs. 
  1485. A table is a collection of paragraphs and a table row is a continuous 
  1486. sequence of paragraphs partitioned into cells. The \ intbl paragraph-
  1487. formatting control word identifies the paragraph as part of a table. 
  1488. For more information, see "Table Definitions". This control is inherited 
  1489. between paragraphs which do not have paragraph properties reset with a \ pard.
  1490.  
  1491. <para>        <textpar> | <row>
  1492.  
  1493. <textpar>    <pn>? <brdrdef>? <parfmt>* <apoctl>* <tabdef>? <shading>? 
  1494.         (\subdocument | <char>+) ( \ par <para>)?
  1495.  
  1496. <row>        <tbldef> <cell>+ \ row
  1497.  
  1498. <cell>        <textpar>+ \ cell
  1499.  
  1500.  
  1501. Paragraph-Formatting Properties
  1502.  
  1503. These control words (described as <parfmt> in the syntax description) specify 
  1504. generic paragraph formatting properties. These control words can appear 
  1505. anywhere in the body of the paragraph, not just at the beginning.
  1506.  
  1507. Note that if the \pard control word is not present, the current paragraph 
  1508. inherits all paragraph properties defined in the previous paragraph.
  1509.  
  1510. The paragraph formatting control words are listed in the following table:
  1511.  
  1512. Control word    Meaning
  1513.  
  1514. \ pard        Resets to default paragraph properties.
  1515.  
  1516. \ sN        Designates paragraph style; if a paragraph style is 
  1517.         specified, style properties must be specified with the 
  1518.         paragraph.
  1519.  
  1520. \ hyphpar    Toggles automatic hyphenation for the paragraph.  Append 
  1521.         with 1 or leave keyword by itself to toggle property on; 
  1522.         append 0 (zero) to turn it off.
  1523.  
  1524. \ intbl        Paragraph is part of a table.
  1525.  
  1526. \ keep        Keep paragraph intact.
  1527.  
  1528. \ nowidctlpar    No widow/orphan control. This is a paragraph-level property 
  1529.         and is used to override the document-level \ widowctrl.
  1530.  
  1531. \ keepn        Keep paragraph with the next paragraph.
  1532.  
  1533. \ levelN    N is the outline level of the paragraph.
  1534.  
  1535. \ noline    No line numbering.
  1536.  
  1537. \ pagebb    Break page before the paragraph.
  1538.  
  1539. \ sbys        Side-by-side paragraphs.
  1540.  
  1541.  
  1542. Alignment
  1543.  
  1544. \ ql        Left-aligned (default).
  1545.  
  1546. \qr        Right-aligned.
  1547.  
  1548. \ qj        Justified.
  1549.  
  1550. \ qc        Centered.
  1551.  
  1552. Indentation
  1553.  
  1554.  
  1555. \ fiN        First-line indent (default is 0).
  1556.  
  1557. \ liN        Left indent (default is 0).
  1558.  
  1559. \ riN        Right indent (default is 0).
  1560.  
  1561.  
  1562. Spacing
  1563.  
  1564. \ sbN        Space before (default is 0).
  1565.  
  1566. \ saN        Space after (default is 0).
  1567.  
  1568. \ slN        Space between lines: if this control word is missing or 
  1569.         if \ s1000 is used, the line spacing is automatically 
  1570.         determined by the tallest character in the line; if n is a 
  1571.         positive value, uses this size only if it is taller than 
  1572.         the tallest character (otherwise uses the tallest character); 
  1573.         if n is a negative value, uses the absolute value of n, 
  1574.         even if it is shorter than the tallest character.
  1575.  
  1576. \ slmultN    Line spacing multiple; indicates that the current line 
  1577.         spacing is a multiple of "Single" line spacing. This 
  1578.         keyword can only follow the \ sl keyword and works in 
  1579.         conjunction with it. 
  1580.  
  1581.         0    "At Least" or "Exactly" line spacing.
  1582.         1    Multiple line spacing, relative to "Single".
  1583.  
  1584. Subdocuments
  1585.  
  1586. \ subdocumentN    This indicates that a subdocument in a Master Document/
  1587.         Subdocument relationship should occur here. N represents 
  1588.         an index into the file table. This control word must 
  1589.         be the only item in a paragraph.
  1590.  
  1591.  
  1592. Bidirectional controls
  1593.  
  1594. \ rtlpar    Text in this paragraph will be displayed with right to left 
  1595.         precedence.
  1596.  
  1597. \ ltrpar    Text in this paragraph will be displayed with left to right 
  1598.         precedence. This is the default.
  1599.  
  1600. Tabs
  1601.  
  1602. Any paragraph may have its own set of tabs. Tabs must follow this syntax:
  1603.  
  1604. <tabdef>    (<tab> | <bartab>) +
  1605.  
  1606. <tab>        <tabkind>? <tablead>? \ tx 
  1607.  
  1608. <bartab>    <tablead>? \ tb
  1609.  
  1610. <tabkind>    \ tqr | \ tqc | \ tqdec 
  1611.  
  1612. <tablead>    \ tldot | \ tlhyph | \ tlul | \ tleq
  1613.  
  1614.  
  1615. Control word    Meaning
  1616.  
  1617. \ txN        Tab position in twips from the left margin.
  1618.  
  1619. \ tqr        Flush-right tab.
  1620.  
  1621. \ tqc        Centered tab.
  1622.  
  1623. \ tqdec        Decimal tab.
  1624.  
  1625. \ tbN        Bar tab position in twips from the left margin.
  1626.  
  1627. \ tldot        Leader dots.
  1628.  
  1629. \ tlhyph    Leader hyphens.
  1630.  
  1631. \ tlul        Leader underline.
  1632.  
  1633. \ tlth        Leader thick line.
  1634.  
  1635. \ tleq        Leader equal sign.
  1636.  
  1637.  
  1638. Bullets and Numbering
  1639.  
  1640. To provide compatibility with existing RTF readers, all applications with 
  1641. the ability to automatically bullet or number paragraphs will also emit 
  1642. the generated text as plain text in the \ pntext group. This will 
  1643. allow existing RTF readers to capture the plain text, and safely ignore 
  1644. the autonumber instructions. This group precedes all bulleted or numbered 
  1645. paragraphs, and will contain all the text and formatting that 
  1646. would be auto-generated. It should precede the {\ *\ pn ╝ } destination, 
  1647. and it is the responsibility of RTF readers that understand the 
  1648. {\ *\ pn ╝ } destination to ignore the \ pntext group.
  1649.  
  1650. <pn>        <pnseclvl> | <pnpara>
  1651.  
  1652. <pnseclvl>    {\*' \pnseclvl <pndesc>'}'
  1653.  
  1654. <pnpara>    <pntext> <pnprops>
  1655.  
  1656. <pntext>    '{' \pntext <char> '}'
  1657.  
  1658. <pnprops>    \*' \pn <pnlevel> <pndesc>'}'
  1659.  
  1660. <pnlevel>    \pnlvl | \pnlvlblt | \pnlvlbody | \pnlvlcont
  1661.  
  1662. <pndesc>    <pnnstyle> & <pnchrfmt> & <pntxtb> & <pntxta> & <pnfmt>
  1663.  
  1664. <pnnstyle>    \pncard | \pndec | \pnucltr | \pnucrm | \pnlcltr | 
  1665.         \pnlcrm | \pnord | \pnordt
  1666.  
  1667. <pnchrfmt>    \pnf? & \pnfs? & \pnb? & \pni? & \pncaps? & \pnscaps? 
  1668.         & <pnul>? & \pnstrike? & \pncf?
  1669.  
  1670. <pnul>        \pnul | \pnuld | \pnuldb | \pnulnone | \pnulw
  1671.  
  1672. <pnfmt>        \pnnumonce? & \pnacross? & \pnindent? & \pnsp? & \pnprev? 
  1673.         & <pnjust>? & \pnstart? & \pnhang? & \pnrestart?
  1674.  
  1675. <pnjust>    \pnqc | \pnql | \pnqr
  1676.  
  1677. <pntxtb>    '{' \pntxtb #PCDATA'}'
  1678.  
  1679. <pntxta>    '{' \pntxta #PCDATA'}'
  1680.  
  1681.  
  1682. Settings marked with an asterisk can be turned off by appending 0 (zero) 
  1683. to the control word.
  1684.  
  1685. Control word    Definition
  1686.  
  1687. \ pntext    This group precedes all numbered/bulleted paragraphs, 
  1688.         and contains all auto-generated text and formatting. It should 
  1689.         precede the {\ *\ pn ╝ } destination, and it is the 
  1690.         responsibility of RTF readers that understand the 
  1691.         {\ *\ pn ╝ } destination to ignore this preceding group. 
  1692.         This is a destination control word.
  1693.  
  1694. \ pn        Turns on paragraph numbering. This is a destination control 
  1695.         word.
  1696.  
  1697. \ pnlvlN    Paragraph level, where N is a level from 1 to 9. Default 
  1698.         set by \pnseclvlN section-formatting property.
  1699.  
  1700. \ pnlvlblt    Bulleted paragraph (corresponds to level 11). The actual 
  1701.         character used for the bullet is stored in the \ pntxtb group.
  1702.  
  1703. \ pnlvlbody    Simple paragraph numbering (corresponds to level 10).
  1704.  
  1705. \ pnlvlcont    Continue numbering, but do not display number (ôskip
  1706.          numberingö).
  1707.  
  1708. \ pnnumonce    Number each cell only once in a table (default is to number 
  1709.         each paragraph in a table).
  1710.  
  1711. \ pnacross    Number across rows (Default is to number down columns).
  1712.  
  1713. \ pnhang    Paragraph uses a hanging indent.
  1714.  
  1715. \ pnrestart    Restart numbering after each section break. Note that this 
  1716.         keyword is only used in conjunction with Heading Numbering 
  1717.         (applying multilevel numbering to Heading style definitions).
  1718.  
  1719. \ pncard    Cardinal numbering (One, Two, Three).
  1720.  
  1721. \ pndec        Decimal numbering (1, 2, 3).
  1722.  
  1723. \ pnucltr    Uppercase alphabetic numbering (A, B, C).
  1724.  
  1725. \ pnucrm    Uppercase roman numbering (I, II, III).
  1726.  
  1727. \ pnlcltr    Lowercase alphabetic numbering (a, b, c).
  1728.  
  1729. \ pnlcrm    Lowercase roman numbering. (i, ii, iii).
  1730.  
  1731. \ pnord        Ordinal numbering (1st, 2nd, 3rd).
  1732.  
  1733. \ pnordt    Ordinal text numbering (First, Second, Third).
  1734.  
  1735. \ pnb        Bold numbering.*
  1736.  
  1737. \ pni        Italic numbering.*
  1738.  
  1739. \ pncaps    All Caps numbering.*
  1740.  
  1741. \ pnscaps    Small Caps numbering.*
  1742.  
  1743. \ pnul        Continuous underline.*
  1744.  
  1745. \ pnuld        Dotted underline.
  1746.  
  1747. \ pnuldb    Double underline.
  1748.  
  1749. \ pnulnone    Turns off underlining.
  1750.  
  1751. \ pnulw        Word underline.
  1752.  
  1753. \ pnstrike    Strikethrough numbering.*
  1754.  
  1755. \ pncfN        Foreground color - index into color table. Default is zero.
  1756.  
  1757. \ pnfN        Font number.
  1758.  
  1759. \ pnfsN        Font size (in half-points).
  1760.  
  1761. \ pnindentN    Minimum distance from margin to body text.
  1762.  
  1763. \ pnspN        Distance from number text to body text.
  1764.  
  1765. \ pnprev    Used for multilevel lists. Include information from previous 
  1766.         level in this level; for example, 1, 1.1, 1.1.1, 1.1.1.1
  1767.  
  1768. \ pnqc        Centered numbering.
  1769.  
  1770. \ pnql        Left justified numbering.
  1771.  
  1772. \ pnqr        Right justified numbering.
  1773.  
  1774. \ pnstartN    Start At number.
  1775.  
  1776. \ pntxta    Text after. This group contains the text that succeeds the 
  1777.         number. This is a destination control word.
  1778.  
  1779. \ pntxtb    Text before. This group contains the text that precedes 
  1780.         the number. This is a destination control word. 
  1781.  
  1782.  
  1783. Note that there is a limit of 32 characters total for the sum of text 
  1784. before and text after for simple numbering. Mulilevel numbering has a 
  1785. limit of 64 characters total for the sum of all levels.
  1786.  
  1787. Paragraph Borders
  1788.  
  1789. Paragraph borders have the following syntax:
  1790.  
  1791. <brdrdef>    (<brdrseg> <brdr> )+
  1792.  
  1793. <brdrseg>    \ brdrt | \ brdrb | \ brdrl | \ brdrr | \ brdrbtw | 
  1794.         \ brdrbar | \ box
  1795.  
  1796. <brdr>        <brdrk>  \ brdrw? \ brsp? \ brdrcf?
  1797.  
  1798. <brdrk>        \ brdrs | \ brdrth | \ brdrsh | \ brdrdb | \ brdrdot 
  1799.         | \brdrdash | \ brdrhair 
  1800.  
  1801.  
  1802. Control word    Meaning
  1803.  
  1804. \ brdrt        Border top.
  1805.  
  1806. \ brdrb        Border bottom.
  1807.  
  1808. \ brdrl        Border left.
  1809.  
  1810. \ brdrr        Border right.
  1811.  
  1812. \ brdrbtw    Consecutive paragraphs with identical border formatting are 
  1813.         considered to be part of a single group with the border 
  1814.         information applying to the entire group. In order to have 
  1815.         borders around individual paragraphs within the group, 
  1816.         the \ brdrbtw control must be specified for that paragraph.
  1817.  
  1818. \ brdrbar    Border outside (right side of odd-numbered pages, left 
  1819.         side of even-numbered pages).
  1820.  
  1821. \ box        Border around the paragraph (box paragraph).
  1822.  
  1823. \ brdrs        Single-thickness border.
  1824.  
  1825. \ brdrth    Double-thickness border.
  1826.  
  1827. \ brdrsh    Shadowed border.
  1828.  
  1829. \ brdrdb    Double border.
  1830.  
  1831. \ brdrdot    Dotted border.
  1832.  
  1833. \brdrdash    Dashed border.
  1834.  
  1835. \ brdrhair    Hairline border.
  1836.  
  1837. \ brdrwN    N is the width in twips of the pen used to draw the 
  1838.         paragraph border line. 
  1839.  
  1840. \ brdrcfN    N is the color of the paragraph border; specified as an 
  1841.         index into the color table in the RTF header. 
  1842.  
  1843. \ brspN        Space in twips between borders and the paragraph.
  1844.  
  1845.  
  1846. Paragraph Shading
  1847.  
  1848. Paragraph shading has the following syntax: 
  1849.  
  1850. <shading>    ( \ shading | <pat>) \ cfpat? \ cbpat?
  1851.  
  1852. <pat>        \ bghoriz | \ bgvert | \ bgfdiag | \ bgbdiag | \ bgcross 
  1853.         | \ bgdkhoriz | \ bgdkvert | 
  1854.         \ bgdkfdiag | \ bgdkbdiag | \ bgdkcross | \ bgdkdcross 
  1855.  
  1856.  
  1857. Control word    Meaning
  1858.  
  1859. \ shadingN    N is the shading of the paragraph in hundredths of a percent.
  1860.  
  1861. \ bghoriz    Specifies a horizontal background pattern for the paragraph.
  1862.  
  1863. \ bgvert    Specifies a vertical background pattern for the paragraph.
  1864.  
  1865. \ bgfdiag    Specifies a forward diagonal background pattern for the 
  1866.         paragraph ( \ \ \ \ )
  1867.  
  1868. \ bgbdiag    Specifies a backward diagonal background pattern for the 
  1869.         paragraph (//// ).
  1870.  
  1871. \ bgcross    Specifies a cross background pattern for the paragraph.
  1872.  
  1873. \ bgdcross    Specifies a diagonal cross background pattern for the paragraph.
  1874.  
  1875. \ bgdkhoriz    Specifies a dark horizontal background pattern for the 
  1876.         paragraph.
  1877.  
  1878. \ bgdkvert    Specifies a dark vertical background pattern for the paragraph.
  1879.  
  1880. \ bgdkfdiag    Specifies a dark forward diagonal background pattern for the 
  1881.         paragraph ( \ \ \ \ )
  1882.  
  1883. \ bgdkbdiag    Specifies a dark backward diagonal background pattern for the 
  1884.         paragraph (//// ).
  1885.  
  1886. \ bgdkcross    Specifies a dark cross background pattern for the paragraph.
  1887.  
  1888. \ bgdkdcross    Specifies a dark diagonal cross background pattern for the 
  1889.         paragraph.
  1890.  
  1891. \ cfpatN    N is the line color of the background pattern, specified as 
  1892.         an index into the document's color table.
  1893.  
  1894. \ cbpatN    N is the background color of the background pattern, 
  1895.         specified as an index into the document's color table.
  1896.  
  1897.  
  1898. Absolute-Positioned Objects and Frames
  1899.  
  1900. The following paragraph-formatting control words specify the location of 
  1901. a paragraph on the page. Consecutive paragraphs with the same frame 
  1902. formatting are considered to be part of the same frame. In order for 
  1903. two framed paragraphs to appear at the same position on a page, they 
  1904. must be separated by a paragraph with different, or no frame information.
  1905.  
  1906. Note that if any paragraph in a table row has any of these control words 
  1907. specified, then all paragraphs in the table row must have the same control 
  1908. words specified, either by inheriting the properties from the previous 
  1909. paragraph or by respecifying the controls.
  1910.  
  1911. Paragraph positioning has the following syntax:
  1912.  
  1913. <apoctl>    <framesize> & <horzpos> & <vertpos> & <txtwrap> & <dropcap>
  1914.  
  1915. <framesize>    \ absw? & \ absh?
  1916.  
  1917. <horzpos>    <hframe> & <hdist>
  1918.  
  1919. <vertpos>    <vframe> & <vdist>
  1920.  
  1921. <txtwrap>    \ nowrap? & \ dxfrtext? & \ dfrmtxtx? &\ dfrmtxty?
  1922.  
  1923. <dropcap>    \dropcapli? & \dropcapt?
  1924.  
  1925. <hframe>    \ phmrg? | \ phpg? | \ phcol?
  1926.  
  1927. <hdist>        \ posx? | \ posnegx? | \ posxc? | \ posxi? | \ posxo? 
  1928.         | \ posxl? | \ posxr?
  1929.  
  1930. <vframe>    \ pvmrg? | \ pvpg? | \ pvpara?
  1931.  
  1932. <vdist>        \ posy? | \ posnegy? | \ posyt? | \ posyil? | \ posyb? 
  1933.         | \ posyc?
  1934.  
  1935.  
  1936. Control word    Meaning
  1937.  
  1938. \ abswN        N is the width of the frame in twips. 
  1939.  
  1940. \ abshN        N is the height of the frame in twips. A positive number 
  1941.         indicates the minimum height of the frame and a negative 
  1942.         number indicates the exact height of the frame. A value 
  1943.         of zero indicates that the height of the frame adjusts 
  1944.         to the contents of the frame. This is the default for 
  1945.         frames where no height is given.
  1946.  
  1947.  
  1948. Horizontal position
  1949.  
  1950. \ phmrg        Use the margin as the horizontal reference frame
  1951.  
  1952. \ phpg        Use the page as the horizontal reference frame
  1953.  
  1954. \ phcol        Use the column as the horizontal reference frame. This is 
  1955.         the default if no horizontal reference frame is given.
  1956.  
  1957. \ posxN        Positions the frame n twips from the left edge of the 
  1958.         reference frame.
  1959.  
  1960. \ posnegxN    Same as \ posx, but allows arbitrary negative values. 
  1961.  
  1962. \ posxc        Centers the frame horizontally within the reference frame.
  1963.  
  1964. \ posxi        Positions the paragraph horizontally inside the reference 
  1965.         frame.
  1966.  
  1967. \ posxo        Positions the paragraph horizontally outside the reference 
  1968.         frame.
  1969.  
  1970. \ posxr        Positions the paragraph to the right within the reference frame.
  1971.  
  1972. \ posxl        Positions the paragraph to the left within the reference 
  1973.         frame. This is the default if no horizontal positioning 
  1974.         information is given.
  1975.  
  1976.  
  1977. Vertical position
  1978.  
  1979. \ pvmrg        Positions the reference frame vertically relative to the 
  1980.         margin. This is the default if no vertical frame positioning 
  1981.         information is given.
  1982.  
  1983. \ pvpg        Positions the reference frame vertically relative to the page.
  1984.  
  1985. \ pvpara    Positions the reference frame vertically relative to the top 
  1986.         of the top left corner of the next unframed paragraph in 
  1987.         the RTF stream.
  1988.  
  1989. \ posyN        Positions the paragraph n twips from the top edge of the 
  1990.         reference frame.
  1991.  
  1992. \ posnegyN    Same as \ posy, but allows arbitrary negative values.
  1993.  
  1994. \ posyil    Positions the paragraph vertically to be in-line.
  1995.  
  1996. \ posyt        Positions the paragraph at the top of the reference frame.
  1997.  
  1998. \ posyc        Centers the paragraph vertically within the reference frame.
  1999.  
  2000. \ posyb        Positions the paragraph at the bottom of the reference frame.
  2001.  
  2002.  
  2003. Text wrapping
  2004.  
  2005. \ nowrap    Prevents text from flowing around the APO.
  2006.  
  2007. \ dxfrtextN    Distance in twips of an absolute-positioned paragraph from 
  2008.         text in the main text flow in all directions.
  2009.  
  2010. \ dfrmtxtxN    N is the horizontal distance in twips from text on both 
  2011.         sides of the frame.
  2012.  
  2013. \ dfrmtxtyN    N is the vertical distance in twips from text on both sides 
  2014.         of the frame.
  2015.  
  2016.  
  2017. Drop caps
  2018.  
  2019. \ dropcapliN    Number of lines drop cap is to occupy. Range is 1 through 10.
  2020.  
  2021. \ dropcaptN    Type of drop cap:
  2022.  
  2023.         1    In-text drop cap.
  2024.         2    Margin drop cap.
  2025.  
  2026. The following is an example of absolute-positioned text in a document:
  2027.  
  2028. \par \pard \pvpg\phpg\posxc\posyt\absw5040\dxfrtest173 First APO para
  2029. \par \pard \phmrg\posxo\posyc\dxfrtext1152 Second APO para
  2030.  
  2031. Table Definitions
  2032.  
  2033. There is no RTF table group; instead, tables are specified as paragraph 
  2034. properties. A table is represented as a sequence of table rows. A table 
  2035. row is a continuous sequence of paragraphs partitioned into cells. The 
  2036. table row begins with the \ trowd control word and ends with the 
  2037. \ row control word. Every paragraph that is contained in a table row 
  2038. must have the \ intbl control word specified or inherited from the previous 
  2039. paragraph. A cell may have more than one paragraph in it; the cell is 
  2040. terminated by a cell mark (the \ cell control word), and the row is 
  2041. terminated by a row mark (the \ row control word). Table rows can also be 
  2042. absolutely positioned. In this case, every paragraph in a table row must 
  2043. have the same positioning controls (see the <apoctl> controls in 
  2044. ôAbsolute-Positioned Objects and Framesö). Table properties may be 
  2045. inherited from the previous row; therefore, a series of table rows may 
  2046. be introduced by a single <tbldef>.
  2047.  
  2048. An RTF table row has the following syntax, as shown in the general 
  2049. paragraph-text syntax given earlier.
  2050.  
  2051. <row>    <tbldef> <cell>+ \ row
  2052.  
  2053. <cell>    <textpar>+ \ cell
  2054.  
  2055.  
  2056. A table definition has the following syntax:
  2057.  
  2058. <tbldef>    \ trowd \ trgaph <rowjust>?  & <rowwrite>? & \ trleft? 
  2059.         \trheader? & \trkeep? 
  2060.         <celldef>+
  2061.  
  2062. <rowjust>    \ trql | \ trqr | \ trqc 
  2063.  
  2064. <celldef>    ( \ clmgf? & \ clmrg? <celltop>? & <cellleft>? & 
  2065.         <cellbot>? & <cellright>? & 
  2066.         <cellshad>?) \ cellx
  2067.  
  2068. <celltop>    \ clbrdrt <brdr>
  2069.  
  2070. <cellleft>    \ clbrdrl <brdr>
  2071.  
  2072. <cellbot>    \ clbrdrb <brdr>
  2073.  
  2074. <cellright>    \ clbrdrr <brdr>
  2075.  
  2076. <cellshad>    <cellpat>? \ clcfpat? & \ clcbpat? & \ clshdng 
  2077.  
  2078. <cellpat>    \ clbghoriz | \ clbgvert | \ clbgfdiag | \ clbgbdiag | 
  2079.         \ clbgcross | \ clbgdkhor | 
  2080.         \ clbgdkvert | \ clbgdkfdiag | \ clbgdkbdiag | 
  2081.         \ clbgdkcross | \ clbgdkdcross 
  2082.  
  2083. <rowwrite>    \ ltrrow | \ rtlrow
  2084.  
  2085.  
  2086. Note for <tbldef> that the number of cellxs must match the number of 
  2087. \cells in the \row.
  2088.  
  2089. The following control words further define options for each row of the table:
  2090.  
  2091. Control word    Meaning
  2092.  
  2093. \ trowd        Sets table row defaults.
  2094.  
  2095. \ trgaphN    Half the space between the cells of a table row in twips.
  2096.  
  2097. \ cellxN    Defines the right boundary of a table cell, including its 
  2098.         half of the space between cells.
  2099.  
  2100. \ clmgf        The first cell in a range of table cells to be merged.
  2101.  
  2102. \ clmrg        Contents of the table cell are merged with those of the 
  2103.         preceding cell.
  2104.  
  2105.  
  2106. Row formatting
  2107.  
  2108. \ trql        Left-justifies a table row with respect to its containing 
  2109.         column.
  2110.  
  2111. \ trqr        Right-justifies a table row with respect to its containing 
  2112.         column.
  2113.  
  2114. \ trqc        Centers a table row with respect to its containing column.
  2115.  
  2116. \ trleftN    Position of the leftmost edge of the table with respect to 
  2117.         the left edge of its column.
  2118.  
  2119. \ trrhN        Height of a table row in twips; when 0, the height is 
  2120.         sufficient for all the text in the line; when positive, 
  2121.         the height is guaranteed to be at least the specified height; 
  2122.         when negative, the absolute value of the height is used, 
  2123.         regardless of the height of the text in the line.
  2124.  
  2125. \ trhdr        Table row header; this row should appear at the top of 
  2126.         every page the current table appears on.
  2127.  
  2128. \ trkeep    Table row keep; this row cannot be split by a page break. 
  2129.         This property is assumed off unless the keyword is present.
  2130.  
  2131.  
  2132. Bidirectional controls
  2133.  
  2134. \ rtlrow    Cells in this table row will have right to left precedence.
  2135.  
  2136. \ ltrrow    Cells in this table row will have right to left precedence. 
  2137.         This is the default.
  2138.  
  2139.  
  2140. Row borders
  2141.  
  2142. \ trbrdrt    Table row border top.
  2143.  
  2144. \ trbrdrl    Table row border left.
  2145.  
  2146. \ trbrdrb    Table row border bottom.
  2147.  
  2148. \ trbrdrr    Table row border right.
  2149.  
  2150. \ trbrdrh    Table row border horizontal (inside).
  2151.  
  2152. \ trbrdrv    Table row border vertical (inside).
  2153.  
  2154.  
  2155. Cell borders
  2156.  
  2157. \ clbrdrb    Bottom table cell border.
  2158.  
  2159. \ clbrdrt    Top table cell border.
  2160.  
  2161. \ clbrdrl    Left table cell border.
  2162.  
  2163. \ clbrdrr    Right table cell border.
  2164.  
  2165.  
  2166. Cell shading and background pattern
  2167.  
  2168. \ clshdngN    N is the shading of a table cell in hundredths of a percent. 
  2169.         This control should be included in RTF along with cell 
  2170.         border information.
  2171.  
  2172. \ clbghoriz    Specifies a horizontal background pattern for the cell.
  2173.  
  2174. \ clbgvert    Specifies a vertical background pattern for the cell.
  2175.  
  2176. \ clbgfdiag    Specifies a forward diagonal background pattern for the 
  2177.         cell ( \ \ \ \ )
  2178.  
  2179. \ clbgbdiag    Specifies a backward diagonal background pattern for the 
  2180.         cell (//// ).
  2181.  
  2182. \ clbgcross    Specifies a cross background pattern for the cell.
  2183.  
  2184. \ clbgdcross    Specifies a diagonal cross background pattern for the cell.
  2185.  
  2186. \ clbgdkhor    Specifies a dark horizontal background pattern for the cell.
  2187.  
  2188. \ clbgdkvert    Specifies a dark vertical background pattern for the cell.
  2189.  
  2190. \ clbgdkfdiag    Specifies a dark forward diagonal background pattern for 
  2191.         the cell ( \ \ \ \ )
  2192.  
  2193. \ clbgdkbdiag    Specifies a dark backward diagonal background pattern for 
  2194.         the cell (//// ).
  2195.  
  2196. \ clbgdkcross    Specifies a dark cross background pattern for the cell.
  2197.  
  2198. \ clbgdkdcross    Specifies a dark diagonal cross background pattern for the cell.
  2199.  
  2200. \ clcfpatN    N is the line color of the background pattern.
  2201.  
  2202. \ clcbpatN    N is the background color of the background pattern.
  2203.  
  2204.  
  2205. The following is an example of table text:
  2206.  
  2207. \par \trowd \trqc\trgaph108\trrh280\trleft36
  2208. \clbrdrt\brdrth \clbrdrl\brdrth \clbrdrb\brdrdb
  2209. \clbrdrr\brdrdb \cellx3636\clbrdrt\brdrth
  2210. \clbrdrl\brdrdb \clbrdrb\brdrdb \clbrdrr\brdrdb
  2211. \cellx7236\clbrdrt\brdrth \clbrdrl\brdrdb
  2212. \clbrdrb\brdrdb \clbrdrr\brdrdb \cellx10836\pard \intbl
  2213. \cell \pard \intbl \cell \pard \intbl \cell \pard \intbl \row
  2214. \trowd \trqc\trgaph108\trrh280\trleft36 \clbrdrt\brdrdb
  2215. \clbrdrl\brdrth \clbrdrb \brdrsh\brdrs \clbrdrr\brdrdb
  2216. \cellx3636\clbrdrt\brdrdb \clbrdr \brdrdb
  2217. \clbrdrb\brdrsh\brdrs \clbrdrr\brdrdb
  2218. \cellx7236\clbrdrt\brdrdb \clbrdr \brdrdb
  2219. \clbrdrb\brdrsh\brdrs \clbrdrr\brdrdb \cellx10836\pard
  2220. \intbl \cell \pard \intbl \cell \pard \intbl \cell \pard
  2221. \intbl \row \pard
  2222.  
  2223. Character Text
  2224.  
  2225. Character text has the following syntax:
  2226.  
  2227. <char>        <ptext> | <atext> | '{' <char> '}'
  2228.  
  2229. <ptext>        (<chrfmt>* <data>+ )+
  2230.  
  2231. <data>        #PCDATA | <spec> | <pict> | <obj> | <do> | <foot> 
  2232.         | <annot> | <field> | <idx> | <toc> | <book>
  2233.  
  2234.  
  2235. Character-Formatting Properties
  2236.  
  2237. These control words (described as <chrfmt> in the syntax description) 
  2238. change character-formatting properties. A control word preceding plain 
  2239. text turns on the specified attribute. Some control words (indicated 
  2240. in the following table by an asterisk following the description) can 
  2241. be turned off by the control word followed by 0 (zero). For example, 
  2242. \ b turns on bold, while \ b0 turns off bold.  
  2243.  
  2244. The character-formatting control words are listed in the following table:
  2245.  
  2246. Control word    Meaning
  2247.  
  2248. \ plain        Reset character-formatting properties to a default value 
  2249.         defined by the application. The associated character 
  2250.         formatting properties (described in the section "Associated 
  2251.         Character Properties") are also reset.
  2252.  
  2253. \ b        Bold*
  2254.  
  2255. \ caps        All capitals*
  2256.  
  2257. \ deleted    Marks the text as deletion revision marked*
  2258.  
  2259. \ dnN        Subscript position in half-points (default is 6)
  2260.  
  2261. \ sub        Subscripts text and shrinks point size according to font 
  2262.         information.
  2263.  
  2264. \ nosupersub    Turns off superscripting or subscripting.
  2265.  
  2266. \ expndN    Expansion or compression of the space between characters 
  2267.         in quarter-points; a negative value compresses (default is 0)
  2268.  
  2269. \ expndtwN    Expansion or compression of the space between characters in 
  2270.         twips; a negative value compresses. For backwards 
  2271.         compatibility, both \ expndtw and \ expnd should be emitted.
  2272.  
  2273. \ kerningN    Point size (in half-points) above which to kern character 
  2274.         pairs. \ kerning0 turns off kerning.
  2275.  
  2276. \ fN        Font number
  2277.  
  2278. \ fsN        Font size in half-points (default is 24)
  2279.  
  2280. \ i        Italic*
  2281.  
  2282. \ outl        Outline*
  2283.  
  2284. \ revised    Text has been added since revision marking was turned on
  2285.  
  2286. \ revauthN    Index into the revision table. The content of the Nth group 
  2287.         in the revision table is considered to be the author of 
  2288.         that revision.
  2289.  
  2290. \ revdttmN    Time of the revision. The 32-bit DTTM structure is emitted 
  2291.         as a long integer.
  2292.  
  2293. \ scaps        Small capitals*
  2294.  
  2295. \ shad        Shadow*
  2296.  
  2297. \ strike    Strikethrough*
  2298.  
  2299. \ ul        Continuous underline. \ ul0 turns off all underlining
  2300.  
  2301. \ uld        Dotted underline
  2302.  
  2303. \ uldb        Double underline
  2304.  
  2305. \ ulnone    Stops all underlining
  2306.  
  2307. \ ulw        Word underline
  2308.  
  2309. \ upN        Superscript position in half-points (default is 6)
  2310.  
  2311. \ super        Superscripts text and shrinks point size according to font 
  2312.         information.
  2313.  
  2314. \ v        Hidden text*
  2315.  
  2316. \ cfN        Foreground color (default is 0)
  2317.  
  2318. \ cbN        Background color (default is 0)
  2319.  
  2320. \ rtlch        The character data following this control word will be 
  2321.         treated as a right to left run.
  2322.  
  2323. \ ltrch        The character data following this control word will be 
  2324.         treated as a left to right run. This is the default.
  2325.  
  2326. \ csN        Designates character style; if a character style is 
  2327.         specified, style properties must be specified with the 
  2328.         character run.
  2329.  
  2330. \ cchsN        Indicates any characters not belonging to the default 
  2331.         document character set and which character set they do 
  2332.         belong to. Macintosh character sets are represented by values 
  2333.         greater than 255. The values for N correspond to the values 
  2334.         for the \ fcharset keyword.
  2335.  
  2336. \ langN        Applies a language to a character. N is a number 
  2337.         corresponding to a language. A \ plain resets the language 
  2338.         property to the language defined by \ deflangN in the document 
  2339.         properties.
  2340.  
  2341.  
  2342. The following table defines the standard languages used by Microsoft. This 
  2343. table was generated by the Unicode group for use with TrueType and Unicode. 
  2344.  
  2345. Language name        Language ID
  2346.  
  2347. No Language        0x0400
  2348.  
  2349. Albanian        0x041c
  2350.  
  2351. Arabic            0x0401
  2352.  
  2353. Bahasa            0x0421
  2354.  
  2355. Belgian Dutch        0x0813
  2356.  
  2357. Belgian French        0x080c
  2358.  
  2359. Brazilian Portuguese    0x0416
  2360.  
  2361. Bulgarian        0x0402
  2362.  
  2363. Catalan            0x0403
  2364.  
  2365. Croato-Serbian (Latin)    0x041a
  2366.  
  2367. Czech            0x0405
  2368.  
  2369. Danish            0x0406
  2370.  
  2371. Dutch            0x0413
  2372.  
  2373. English (Aus.)        0x0c09
  2374.  
  2375. English (UK)        0x0809
  2376.  
  2377. English (US)        0x0409
  2378.  
  2379. Finnish            0x040b
  2380.  
  2381. French            0x040c
  2382.  
  2383. French (Canadian)    0x0c0c
  2384.  
  2385. German            0x0407
  2386.  
  2387. Greek            0x0408
  2388.  
  2389. Hebrew            0x040d
  2390.  
  2391. Hungarian        0x040e
  2392.  
  2393. Icelandic        0x040f
  2394.  
  2395. Italian            0x0410
  2396.  
  2397. Japanese        0x0411
  2398.  
  2399. Korean            0x0412
  2400.  
  2401. Norwegian (Bokmal)    0x0414
  2402.  
  2403. Norwegian (Nynorsk)    0x0814
  2404.  
  2405. Polish            0x0415
  2406.  
  2407. Portuguese        0x0816
  2408.  
  2409. Rhaeto-Romanic        0x0417
  2410.  
  2411. Romanian        0x0418
  2412.  
  2413. Russian            0x0419
  2414.  
  2415. Serbo-Croatian (Cyrillic) 0x081a
  2416.  
  2417. Simplified Chinese    0x0804
  2418.  
  2419. Slovak            0x041b
  2420.  
  2421. Spanish (Castilian)    0x040a
  2422.  
  2423. Spanish (Mexican)    0x080a
  2424.  
  2425. Swedish            0x041d
  2426.  
  2427. Swiss French        0x100c
  2428.  
  2429. Swiss German        0x0807
  2430.  
  2431. Swiss Italian        0x0810
  2432.  
  2433. Thai            0x041e
  2434.  
  2435. Traditional Chinesei    0x0404
  2436.  
  2437. Turkish            0x041f
  2438.  
  2439. Urdu            0x0420
  2440.  
  2441.  
  2442. To read negative \ expnd values from Word for the Macintosh, an RTF 
  2443. reader should use only the low- order 6 bits of the value read. Word for 
  2444. the Macintosh does not emit negative values for \ expnd. Instead, 
  2445. it treats values from 57 through 63 as -7 through -1, respectively 
  2446. (the low-order 6 bits of 57 through 63 are the same as -7 through -1).
  2447.  
  2448. Associated Character Properties
  2449.  
  2450. Bi-directional aware text processors often need to associate a Latin 
  2451. (or other left to right) font with an Arabic or Hebrew (or other right to 
  2452. left) font. The association is needed to match commonly used pairs of 
  2453. fonts in name, size and other attributes. While RTF defines a broad variety 
  2454. of associated character properties, any implementation may choose to not 
  2455. implement a particular associated character property and share the property 
  2456. between the Latin and Arabic fonts.
  2457.  
  2458. Property association uses the following syntax:
  2459.  
  2460. <atext>        <ltrrun> | <rtlrun> 
  2461.  
  2462. <ltrrun>    \ rtlch \ af & <aprops>* \ ltrch <ptext>
  2463.  
  2464. <rtlrun>    \ ltrch \ af & <aprops>* \ rtlch <ptext>
  2465.  
  2466. Here are some examples of property association:
  2467.  
  2468. \ ltrch\ af2\ ab\ au\ rtlch\ u Sample Text
  2469.  
  2470. This is a right-to-left run. Text will use the default bi-directional font, 
  2471. and will be underlined. The left-to-right font associated with this run is 
  2472. font 2 (in the font table) with bolding and underlining.
  2473.  
  2474. \ plain\ rtlch\ ltrch Sample Text 
  2475.  
  2476. This is a left to right run. The right to left font and the left to right 
  2477. font use the default font (specified by \ deff).    
  2478.  
  2479. \ rtlch\ af5\ ab\ ai\ ltrch\ u Sample Text
  2480.  
  2481. This is a left to right run. The right to left font is font 5, bold and 
  2482. italicized. The left to right font is the default font, underlined. If 
  2483. the reader does not support underlining in the associated font, then both fonts 
  2484. will be underlined.  The property association control words (described as 
  2485. <aprops> in the syntax description) are listed in the following table. 
  2486. Some control words (indicated in the following table by an asterisk 
  2487. following the description) can be turned off by the control word followed by 
  2488. 0 (zero).
  2489.  
  2490. Control word    Meaning
  2491.  
  2492. \ ab        Associated font is Bold*
  2493.  
  2494. \ acaps        Associated font is All capitals*
  2495.  
  2496. \ acfN        Associated Foreground color (default is 0)
  2497.  
  2498. \ adnN        Associated font is Subscript position in half-points 
  2499.         (default is 6)
  2500.  
  2501. \ aexpndN    Expansion or compression of the space between characters in 
  2502.         quarter-points; a negative value compresses (default is 0)
  2503.  
  2504. \ afN        Associated Font number (default is 0)
  2505.  
  2506. \ afsN        Associated Font size in half-points (default is 24)
  2507.  
  2508. \ ai        Associated font is Italic*
  2509.  
  2510. \ alangN    Language ID for the Associated font. (This uses the same 
  2511.         language ID codes described above.)
  2512.  
  2513. \ aoutl        Associated font is Outline*
  2514.  
  2515. \ ascaps    Associated font is Small capitals*
  2516.  
  2517. \ ashad        Associated font is Shadow*
  2518.  
  2519. \ astrike    Associated font is Strikethrough*
  2520.  
  2521. \ aul        Associated font is continuous underlined. \ aul0 turns off 
  2522.         all underlining for the alternate font.
  2523.  
  2524. \ auld        Associated font is dotted underlined
  2525.  
  2526. \ auldb        Associated font is double underlined
  2527.  
  2528. \ aulnone    Associated font is no longer underlined.
  2529.  
  2530. \ aulw        Associated font is word underlined.
  2531.  
  2532. \ aupN        Superscript position in half-points (default is 6)
  2533.  
  2534.  
  2535. Special Characters
  2536.  
  2537. The RTF standard includes control words for special characters (described 
  2538. as <spec> in the syntax description). If a special-character control word is 
  2539. not recognized by the RTF reader, it is ignored and the text following it 
  2540. is considered plain text. The RTF specification is flexible enough to allow 
  2541. new special characters to be added for interchange with other software.
  2542. The special RTF characters are listed in the following table:
  2543.  
  2544. Control word    Meaning
  2545.  
  2546. \ chdate    Current date (as in headers).
  2547.  
  2548. \ chdpl        Current date in long format, e.g. Thursday, October 28, 1993
  2549.  
  2550. \ chdpa        Current date in abbreviated format, e.g. Thu, Oct 28, 1993
  2551.  
  2552. \ chtime    Current time (as in headers).
  2553.  
  2554. \ chpgn        Current page number (as in headers).
  2555.  
  2556. \ sectnum    Current section number (as in headers).
  2557.  
  2558. \ chftn        Automatic footnote reference (footnotes follow in a group).
  2559.  
  2560. \ chatn        Annotation reference (annotation text follows in a group).
  2561.  
  2562. \ chftnsep    Anchoring character for footnote separator.
  2563.  
  2564. \ chftnsepc    Anchoring character for footnote continuation.
  2565.  
  2566. \ cell        End of table cell.
  2567.  
  2568. \ row        End of table row.
  2569.  
  2570. \ par        End of paragraph.
  2571.  
  2572. \ sect        End of section and paragraph.
  2573.  
  2574. \ page        Required page break.
  2575.  
  2576. \ column    Required column break.
  2577.  
  2578. \ line        Required line break (no paragraph break).
  2579.  
  2580. \ softpage    Non-required page break. Emitted as it appears in galley view.
  2581.  
  2582. \ softcol    Non-required column break. Emitted as it appears in galley view.
  2583.  
  2584. \ softline    Non-required line break. Emitted as it appears in galley view.
  2585.  
  2586. \ softlheightN    Non-required line height. This is emitted as a prefix to 
  2587.         each line.
  2588.  
  2589. \ tab        Tab character; same as ASCII 9.
  2590.  
  2591. \ emdash    Em-dash (long hyphen).
  2592.  
  2593. \ endash    En-dash (short hyphen).
  2594.  
  2595. \ emspace    Non-breaking space equal to width of character "m" in current 
  2596.         font.
  2597.  
  2598. \ enspace    Non-breaking space equal to width of character "n" in 
  2599.         current font.
  2600.  
  2601. \ bullet    Bullet character.
  2602.  
  2603. \ lquote    Left single quotation mark.
  2604.  
  2605. \ rquote    Right single quotation mark.
  2606.  
  2607. \ ldblquote    Left double quotation mark.
  2608.  
  2609. \ rdblquote    Right double quotation mark.
  2610.  
  2611. \ |        Formula character.
  2612.  
  2613. \ ~        Non-breaking space.
  2614.  
  2615. \ -        Optional hyphen.
  2616.  
  2617. \ _        Non-breaking hyphen.
  2618.  
  2619. \ :        Specifies a sub-entry in an index entry.
  2620.  
  2621. \ *        Marks a destination whose text should be ignored if not 
  2622.         understood by the RTF reader.
  2623.  
  2624. \ 'hh        A hexadecimal value, based on the specified character set (
  2625.         may be used to identify 8-bit values).
  2626.  
  2627. \ ltrmark    The following characters should be displayed from left to 
  2628.         right; usually found at the start of \ltrch runs.
  2629.  
  2630. \ rtlmark    The following characters should be displayed from right to 
  2631.         left; usually found at the start of \rtlch runs.
  2632.  
  2633. \ zwj        Zero Width Joiner. This is used to ligate words.
  2634.  
  2635. \ zwnj        Zero-Width Non-Joiner. This is used for unligating a word. 
  2636.  
  2637.  
  2638. Note that an ASCII 9 is accepted as a tab character. A carriage return 
  2639. (character value 13) or line feed (character value 10) will be treated as 
  2640. a \ par control if the character is preceded by a backslash. You must 
  2641. include the backslash or RTF ignores the control word. (You may also want 
  2642. to insert a carriage-return/line-feed pair without backslashes at least every 
  2643. 255 characters for better text transmission over communication lines.)
  2644.  
  2645. Here are the code values for the following special characters:
  2646.  
  2647. Keyword        Word for Windows and OS/2    Apple Macintosh
  2648.  
  2649. \ bullet    149                0xA5
  2650.  
  2651. \ endash    150                0xD1
  2652.  
  2653. \ emdash    151                0xD0
  2654.  
  2655. \ lquote    145                0xD4
  2656.  
  2657. \ rquote    146                0xD5
  2658.  
  2659. \ ldblquote    147                0xD2
  2660.  
  2661. \ rdblquote    148                0xD3
  2662.  
  2663.  
  2664. Bookmarks
  2665.  
  2666. This destination may specify one of two control words: \ *\ bkmkstart, 
  2667. which indicates the start of the specified bookmark, and \ *\ bkmkend, 
  2668. which indicates the end of the specified bookmark.
  2669.  
  2670. Bookmarks have the following syntax:
  2671.  
  2672. <book>        <bookstart> | <bookend>
  2673.  
  2674. <bookstart>    '{\ *' \ bkmkstart ( \ bkmkcolf? &  \ bkmkcoll?) #PCDATA '}'
  2675.  
  2676. <bookend>    '{\ *' \ bkmkend #PCDATA '}'
  2677.  
  2678. A bookmark is shown in the following example:
  2679.  
  2680. \pard\plain \fs20 Kuhn believes that science, rather than 
  2681. discovering in experience certain structured 
  2682. relationships, actually creates (or already participates in) 
  2683. a presupposed structure to which it fits the data. 
  2684. {\bkmkstart paradigm} Kuhn calls such a presupposed 
  2685. structure a paradigm.{\bkmkend paradigm}
  2686.  
  2687. The bookmark start and the bookmark end are matched via the bookmark tag. 
  2688. In the example, the bookmark tag was paradigm. Each bookmark start should 
  2689. have a matching bookmark end; however, the bookmark start and the bookmark 
  2690. end may be in any order.
  2691.  
  2692. \ bkmkcolfN is used to denote the first column of a table covered by a 
  2693. bookmark. If it is not included then the first column will be assumed. 
  2694. \ bkmkcollN is used to denote the last column. If it is not used then the 
  2695. last column will be assumed. These controls are used within the 
  2696. \ *\ bkmkstart destination following the \ bkmkstart control. For 
  2697. example, {\ *\ bkmkstart\ bkmkcolf2\ bkmkcoll5 Table1} will place the bookmark 
  2698. "Table1" on columns two through five of a table.
  2699.  
  2700. Pictures
  2701.  
  2702. An RTF file can include pictures created with other applications. These 
  2703. pictures can be in hexadecimal (default) or binary format. Pictures are 
  2704. destinations, and begin with the \ pict control word. A picture destination 
  2705. has the following syntax:
  2706.  
  2707. <pict>        '{' \ pict (<brdr>? & <shading>? & <picttype> & <pictsize> 
  2708.         & <metafileinfo>?) <data> 
  2709.         '}'
  2710.  
  2711. <picttype>    \ macpict | \ pmmetafile | \ wmetafile | \ dibitmap 
  2712.         <bitmapinfo> | \ wbitmap <bitmapinfo>
  2713.  
  2714. <bitmapinfo>    \ wbmbitspixel  & \ wbmplanes & \ wbmwidthbytes
  2715.  
  2716. <pictsize>    ( \ picw? & \ pich?) \ picscalex? & \ picscaley? & 
  2717.         \ picscaled? & \ piccropt? & \ piccropb? 
  2718.         & \ piccropr? & \ piccropl?
  2719.  
  2720. <metafileinfo>    \picbmp & \picbpp
  2721.  
  2722. <data>        ( \ bin #BDATA) | #SDATA
  2723.  
  2724.  
  2725. These control words are described in the following table (some measurements 
  2726. in this table are in twips; a twip is one-twentieth of a point):
  2727.  
  2728. Control word    Meaning
  2729.  
  2730. \ macpict    Source of the picture is QuickDraw.
  2731.  
  2732. \ pmmetafileN    Source of the picture is an OS/2 metafile; the n argument 
  2733.         identifies the metafile type.
  2734.  
  2735. \ wmetafileN    Source of the picture is a Windows metafile; the n argument 
  2736.         identifies the metafile type (default is 1).
  2737.  
  2738. \ dibitmapN    Source of the picture is a Windows Device Independent bitmap; 
  2739.         the n argument identifies the bitmap type (default is 0).
  2740.  
  2741. \ wbitmapN    Source of the picture is a Windows Device dependent bitmap; 
  2742.         the n argument identifies the bitmap type (default is 
  2743.         0-monochrome bitmap).
  2744.  
  2745.  
  2746. Bitmap information
  2747.  
  2748. \ wbmbitspixelN        Number of adjacent color bits on each plane 
  2749.             needed to define a pixel (default is 1)
  2750.  
  2751. \ wbmplanesN        Number of bitmap color planes (default is 1).
  2752.  
  2753. \ wbmwidthbytesN    Specifies the number of bytes in each raster line. 
  2754.             This value must be an even number since the Windows 
  2755.             graphics device interface (GDI) assumes that the bit 
  2756.             values of a bitmap form an array of integer (two-byte) 
  2757.             values. In other words, wbmwidthbytes x 8 must be the 
  2758.             next multiple of 16 greater than or equal to the 
  2759.             picw (bitmap width in pixels) value.
  2760.  
  2761.  
  2762. Picture size, scaling, and cropping
  2763.  
  2764. \ picwN        xExt field if the picture is a metafile; picture width in 
  2765.         pixels if the picture is a bitmap or from QuickDraw.
  2766.  
  2767. \ pichN        yExt field if the picture is a metafile; picture height in 
  2768.         pixels if the picture is a bitmap or from QuickDraw.
  2769.  
  2770. \ picwgoalN    Desired width of the picture in twips.
  2771.  
  2772. \ pichgoalN    Desired height of the picture in twips.
  2773.  
  2774. \ picscalexN    Horizontal scaling value; the n argument is a value 
  2775.         representing a percentage (default is 100).
  2776.  
  2777. \ picscaleyN    Vertical scaling value; the n argument is a value representing 
  2778.         a percentage (default is 100).
  2779.  
  2780. \ picscaled    Scales the picture to fit within the specified frame; used 
  2781.         only with \ macpict pictures.
  2782.  
  2783. \ piccroptN    Top cropping value in twips; a positive value crops toward 
  2784.         the center of the picture; a negative value crops away 
  2785.         from the center, adding a space border around picture 
  2786.         (default is 0).
  2787.  
  2788. \ piccropbN    Bottom cropping value in twips; a positive value crops toward 
  2789.         the center of the picture; a negative value crops away from 
  2790.         the center, adding a space border around picture (default is 0).
  2791.  
  2792. \ piccroplN    Left cropping value in twips; a positive value crops toward 
  2793.         the center of the picture; a negative value crops away from 
  2794.         the center, adding a space border around picture (default is 0).
  2795.  
  2796. \ piccroprN    Right cropping value in twips; a positive value crops toward 
  2797.         the center of the picture; a negative value crops away from 
  2798.         the center, adding a space border around picture (default is 0).
  2799.  
  2800.  
  2801. Metafile information
  2802.  
  2803. \ picbmp    Specifies whether a metafile contains a bitmap.
  2804.  
  2805. \ picbppN    Specifies the bits per pixel in a metafile bitmap. Valid 
  2806.         range is 1û32, with 1, 4, 8, and 24 being recognized.
  2807.  
  2808.  
  2809. Picture data
  2810.  
  2811. \ binN        Picture is in binary format; the numeric parameter n is 
  2812.         the number of bytes that follow. Unlike all other controls, 
  2813.         this keyword takes a 32-bit parameter.
  2814.  
  2815. The \ wbitmap control word is optional; if no other picture type is 
  2816. specified, the picture is assumed to be a Windows bitmap. If \ wmetafile is 
  2817. specified, the n argument can be one of the following types:
  2818.  
  2819. Type        n argument
  2820.  
  2821. MM_TEXT        1
  2822.  
  2823. MM_LOMETRIC    2
  2824.  
  2825. MM_HIMETRIC    3
  2826.  
  2827. MM_LOENGLISH    4
  2828.  
  2829. MM_HIENGLISH    5
  2830.  
  2831. MM_TWIPS    6
  2832.  
  2833. MM_ISOTROPIC    7
  2834.  
  2835. MM_ANISOTROPIC    8
  2836.  
  2837. For more information about these types, see Volume 1 of the Programmer's 
  2838. Reference in the Microsoft Windows 3.1 SDK.
  2839.  
  2840. If \ pmmetafile is specified, the n argument can be one of the following 
  2841. types:
  2842.  
  2843. Type        n argument
  2844.  
  2845. PU_ARBITRARY    0x0004
  2846.  
  2847. PU_PELS        0x0008
  2848.  
  2849. PU_LOMETRIC    0x000C
  2850.  
  2851. PU_HIMETRIC    0x0010
  2852.  
  2853. PU_LOENGLISH    0x0014
  2854.  
  2855. PU_HIENGLISH    0x0018
  2856.  
  2857. PU_TWIPS    0x001C
  2858.  
  2859.  
  2860. For more information about these types, see Volume 2 of the OS/2 ProgrammerÆs 
  2861. Reference.  
  2862.  
  2863. Be careful with spaces following control words when dealing with pictures 
  2864. in binary format. When reading files, RTF considers the first space after 
  2865. a control word the delimiter and subsequent spaces part of the document text. 
  2866. Therefore, any extra spaces are attached to the picture, with unpredictable 
  2867. results.  RTF writers should not use the carriage-return/line-feed (CRLF) 
  2868. combination to break up pictures in binary format. If they do, the CRLF 
  2869. is treated as literal text and considered part of the picture data.  
  2870. The picture in hexadecimal or binary format follows the picture-destination 
  2871. control words. 
  2872.  
  2873. The following example illustrates the destination format:
  2874.  
  2875. {\pict\wbitmap0\picw170\pich77\wbmbitspixel1\wbmplanes1\wmbwidthbytes22
  2876. \picwgoal505
  2877. \pichgoal221
  2878. \picscalex172
  2879. \picscaley172
  2880. 49f2000000000273023d1101a030
  2881. 3901000a000000000273023d98
  2882. 0048000200000275
  2883. 02040000200010275023e000000000
  2884. 273023d000002b90002b90002
  2885. b90002b90002b9
  2886. 0002b90002b90002b90002b90002b90002
  2887. b92222b90002b90002b90
  2888. 002b90002b9
  2889. 0002b90002b90002b90002b9000
  2890.  
  2891. Objects
  2892.  
  2893. Microsoft OLE Links, Microsoft OLE Embedded Objects, and Macintosh Edition 
  2894. Manager Subscriber Objects are represented in RTF as objects. Objects 
  2895. are destinations that contain a data part and a result part. The data 
  2896. part is generally hidden to the application that produced the document. 
  2897. A separate application uses the data and supplies the appearance of 
  2898. the data. This appearance is the result part of the object.
  2899.  
  2900. The representation of objects in RTF is designed to allow RTF readers 
  2901. that don't understand objects or don't use a particular type of object 
  2902. to use the current result in place of the object. This allows the 
  2903. appearance of the object to be maintained through the conversion even 
  2904. though the object functionality is lost. Each object comes with optional 
  2905. information about the object, a required destination that contains the 
  2906. object data, and an optional result that contains the current appearance 
  2907. of the object. This result contains standard RTF. It is an important 
  2908. responsibility of the RTF writer to provide the result so that existing RTF 
  2909. readers that either do not support objects or that do not support 
  2910. the particular type of object will be able to display the object.
  2911.  
  2912. When the object is an OLE embedded or linked object, the data part of the 
  2913. object is the structure produced by the OLESaveToStream function. Some 
  2914. OLE clients rely on the OLE system to render the object and a 
  2915. copy of the result is not available to the RTF writer for that 
  2916. application. For these cases, the object result may be extracted from 
  2917. the structure produced by the OLESaveToStream function. For information about 
  2918. the OLESaveToStream function, see the Microsoft Object Linking and 
  2919. Embedding SDK.
  2920.  
  2921. The syntax for this destination is:
  2922.  
  2923. <obj>        ( '{' \ object (<objtype> & <objmod>? & <objclass>? & 
  2924.         <objname>? & <objtime>? & <objsize>? & <rsltmod>?) 
  2925.         <objdata> <result> '}' ) | <pubobject>
  2926.  
  2927. <objtype>    \ objemb | \ objlink | \ objautlink | \ objsub | \ objpub 
  2928.         | \ objicemb
  2929.  
  2930. <objmod>    \ linkself? & \ objlock? | \objupdate?
  2931.  
  2932. <objclass>    '{\ *' \ objclass #PCDATA '}'
  2933.  
  2934. <objname>    '{\ *' \ objname #PCDATA '}'
  2935.  
  2936. <objtime>    '{\ *' \ objtime <time> '}'
  2937.  
  2938. <rsltmod>    \ rsltmerge? & <rslttype>?
  2939.  
  2940. <rslttype>    \ rsltrtf | \ rslttxt | \ rsltpict | \ rsltbmp
  2941.  
  2942. <objsize>    \ objsetsize? & \ objalign? & \ objtransy? & <objhw>? & 
  2943.         \ objcropt? & \ objcropb? & \ objcropl? & \ objcropr? & 
  2944.         \ objscalex? & \ objscaley?
  2945.  
  2946. <objhw>        \ objh & \ objw
  2947.  
  2948. <objdata>    '{\ *' \ objdata (<objalias>? & <objsect>?) <data> '}'
  2949.  
  2950. <objalias>    '{\ *' \ objalias <data> '}'
  2951.  
  2952. <objsect>    '{\ *' \ objsect <data> '}'
  2953.  
  2954. <result>    '{' \ result <para>+ '}'
  2955.  
  2956.  
  2957. Control word    Meaning
  2958.  
  2959.  
  2960. Object type
  2961.  
  2962. \ objemb    An object type of OLE embedded object. If no type is given 
  2963.         for the object then the object is assumed to be of type 
  2964.         \ objemb.
  2965.  
  2966. \ objlink    An object type of OLE link
  2967.  
  2968. \ objautlink    An object type of OLE autolink
  2969.  
  2970. \ objsub    An object type of Macintosh Edition Manager Subscriber
  2971.  
  2972. \ objpub    An object type of Macintosh Edition Manager Publisher
  2973.  
  2974. \ objicemb    An object type of MS Word for the Macintosh IC Embedder
  2975.  
  2976.  
  2977. Object information
  2978.  
  2979. \ linkself    The object is a link to another part of the same document.
  2980.  
  2981. \ objlock    Locks the object from any updates.
  2982.  
  2983. \ objupdate    Force an update to the object before displaying it.
  2984.  
  2985. \ objclass    The text argument is the object class to use for this 
  2986.         object; ignore the class specified in the object data. 
  2987.         This is a destination control word.
  2988.  
  2989. \ objname    The text argument is the name of this object. This is a 
  2990.         destination control word.
  2991.  
  2992. \ objtime    Describes the time that the object was last updated.
  2993.  
  2994.  
  2995. Object size, position, 
  2996. cropping, and scaling
  2997.  
  2998. \ objhN        N is the original object height in twips, assuming the object 
  2999.         has a graphical representation.
  3000.  
  3001. \ objwN        N is the original object width in twips, assuming the object 
  3002.         has a graphical representation.
  3003.  
  3004. \ objsetsize    Forces the object server to set the object's dimensions to 
  3005.         that specified by the client
  3006.  
  3007. \ objalignN    N is the distance in twips from the left edge of the 
  3008.         objects that should be aligned on a tab stop. This will be 
  3009.         needed to place Math Type equations correctly in line. 
  3010.  
  3011. \ objtransyN    N is the distance in twips the objects should be moved 
  3012.         vertically with respect to the baseline. This will be 
  3013.         needed to place Math Type equations correctly in line. 
  3014.  
  3015. \ objcroptN    N is the top cropping distance in twips.
  3016.  
  3017. \ objcropbN    N is the bottom cropping distance in twips.
  3018.  
  3019. \ objcroplN    N is the left cropping distance in twips.
  3020.  
  3021. \ objcroprN    N is the right cropping distance in twips.
  3022.  
  3023. \ objscalexN    N is the horizontal scaling percentage.
  3024.  
  3025. \ objscaleyN    N is the vertical scaling percentage.
  3026.  
  3027.  
  3028. Object data
  3029.  
  3030. \ objdata    This sub-destination contains the data for the object in 
  3031.         the appropriate format; OLE objects are in OLESaveToStream 
  3032.         format. This is a destination control word.
  3033.  
  3034. \ objalias    This sub-destination contains the Alias Record for the 
  3035.         publisher object for the Macintosh Edition Manager. This 
  3036.         is a destination control word.
  3037.  
  3038. \ objsect    This sub-destination contains the Section Record for the 
  3039.         publisher object for the Macintosh Edition Manager. This 
  3040.         is a destination control word.
  3041.  
  3042.  
  3043. Object result
  3044.  
  3045. \ rsltrtf    Forces the result to be Rich Text, if possible.
  3046.  
  3047. \ rsltpict    Forces the result to be a Windows metafile or MacPict image, 
  3048.         if possible.
  3049.  
  3050. \ rsltbmp    Forces the result to be a bitmap, if possible.
  3051.  
  3052. \ rslttxt    Forces the result to be plain text, if possible.
  3053.  
  3054. \ rsltmerge    Uses the formatting of the current result whenever a new 
  3055.         result is obtained.
  3056.  
  3057. \ result    The result destination is optional in the \ object 
  3058.         destination. It contains the last update of the result of 
  3059.         the object. The data of the result destination should be 
  3060.         standard RTF so that RTF readers which don't understand 
  3061.         objects or the type of object represented will be able to 
  3062.         use the current result in the objects place to maintain 
  3063.         appearance. This is a destination control word.
  3064.  
  3065.  
  3066. Macintosh Edition Manager Publisher Objects
  3067.  
  3068. Word for the Macintosh writes Publisher Objects for the Macintosh Edition 
  3069. Manager in terms of bookmarks (see "Bookmarks" earlier in the document). 
  3070. The range of Publisher objects are marked as bookmarks so these controls 
  3071. are all used within the \ bkmkstart destination. The RTF syntax for a 
  3072. Publisher Object is:
  3073.  
  3074. <pubobject>    '{\ *' \ bkmkstart \ bkmkpub \ pubauto? (<objalias>? 
  3075.         & <objsect>) #PCDATA '}'
  3076.  
  3077.  
  3078. Control word    Meaning
  3079.  
  3080. \ bkmkpub    The bookmark marks a Macintosh Edition Manager Publisher Object.
  3081.  
  3082. \ pubauto    The publisher object will update all Macintosh Edition Manager 
  3083.         Subscribers of this object automatically whenever it is edited.
  3084.  
  3085.  
  3086. Drawing Objects
  3087.  
  3088. Drawing objects and the drawn primitives enumerated within drawing object 
  3089. groups use the syntax described by the following tables.
  3090.  
  3091. <do>        '{\ *' \ do <dohead> <dpinfo>'}'
  3092.  
  3093. <dohead>    <dobx> <doby> <dodhgt> <dolock>?
  3094.  
  3095. <dobx>        \ dobxpage | \ dobxcolumn | \ dobxmargin
  3096.  
  3097. <doby>        \ dobypage | \ dobypara | \ dobymargin
  3098.  
  3099. <dodhgt>    \ dodhgt
  3100.  
  3101. <dolock>    \ dolock
  3102.  
  3103. <dpinfo>    <dpgroup> | <dpcallout> | <dpsimple>
  3104.  
  3105. <dpgroup>    \ dpgroup \ dpcount <dphead> <dpinfo>+ \ dpendgroup <dphead> 
  3106.  
  3107. <dpcallout>    \ dpcallout <cotype> <coangle>? <coaccent>? <cosmartattach>? 
  3108.         <cobestfit>? <cominusx>? <cominusy>? <coborder>? <codescent>? 
  3109.         \ dpcooffset \ dpcolength <dphead> <dppolyline> <dphead> 
  3110.         <dpprops> <dptextbox> <dphead> <dpprops>
  3111.  
  3112. <dpsimple>    <dpsimpledpk> <dphead> <dpprops>
  3113.  
  3114. <dpsimpledpk>    <dpline> | <dprect> | <dptextbox> | <dpellipse> | 
  3115.         <dppolyline> | <dparc>
  3116.  
  3117. <dpline>    \ dpline <dppt> <dppt>
  3118.  
  3119. <dprect>    \ dprect (\ dproundr)?
  3120.  
  3121. <dptextbox>    \ dptxbx \ dptxbxmar '{' \ dptxbxtext <para>+'}'
  3122.  
  3123. <dpellipse>    \ dpellipse
  3124.  
  3125. <dparc>        \ dparc \ dparcflipx? \ dparcflipy?
  3126.  
  3127. <dppolyline>    \ dppolyline (\ dppolygon)? \ dppolycount <dppt>+
  3128.  
  3129. <dppt>        \ dpptx \ dppty
  3130.  
  3131. <dphead>    \ dpx \ dpy \ dpxsize \ dpysize
  3132.  
  3133.  
  3134. Note that in <dpgroup> the number of <dpinfo>s is equal to the argument of 
  3135. \ dpcount, while in <dppolyline> the number of <dppt>s is equal to the 
  3136. argument of \ dppolycount.  The following elements of the drawing object 
  3137. syntax pertain specifically to callout objects:
  3138.  
  3139. <cotype>    \ dpcotright | \ dpcotsingle | \ dpcotdouble | \ dpcottriple
  3140.  
  3141. <coangle>    \ dpcoa
  3142.  
  3143. <coaccent>    \ dpcoaccent
  3144.  
  3145. <cosmartattach>    \ dpcosmarta
  3146.  
  3147. <cobestfit>    \ dpcobestfit
  3148.  
  3149. <cominusx>    \ dpcominusx
  3150.  
  3151. <cominusy>    \ dpcominusy
  3152.  
  3153. <coborder>    \ dpcoborder
  3154.  
  3155. <codescent>    \ dpcodtop | \ dpcodcenter | \ dpcodbottom | \ dpcodabs
  3156.  
  3157.  
  3158. The remaining elements of the drawing object syntax are properties applied 
  3159. to individual drawn primitives:
  3160.  
  3161. <dpprops>    <lineprops>? <fillprops>? <endstylestart>? <endstyleend>? 
  3162.         <shadow>?
  3163.  
  3164. <lineprops>    <linestyle> <linecolor> \ dplinew
  3165.  
  3166. <linestyle>    \ dplinesolid | \ dplinehollow | \ dplinedash | \ dplinedot | 
  3167.         \ dplinedado | \ dplinedadodo
  3168.  
  3169. <linecolor>    <linegray> | <linergb>
  3170.  
  3171. <linegray>    \ dplinegray
  3172.  
  3173. <linergb>    \ dplinecor \ dplinecog \ dplinecob<linepal>?
  3174.  
  3175. <linepal>    \ dplinepal
  3176.  
  3177. <fillprops>    <fillcolorfg> <fillcolorbg> \ dpfillpat
  3178.  
  3179. <fillcolorfg>    <fillfggray> | <fillfgrgb>
  3180.  
  3181. <fillfggray>    \ dpfillfggray
  3182.  
  3183. <fillfgrgb>    \ dpfillfgcr \ dpfillfgcg \ dpfillfgcb<fillfgpal>?
  3184.  
  3185. <fillfgpal>    \ dpfillfgpal
  3186.  
  3187. <fillcolorbg>    <fillbggray> | <fillbgrgb>
  3188.  
  3189. <fillbggray>    \ dpfillbggray
  3190.  
  3191. <fillbgrgb>     \ dpfillbgcr \ dpfillbgcg \ dpfillbgcb<fillbgpal>?
  3192.  
  3193. <fillbgpal>     \ dpfillbgpal
  3194.  
  3195. <endstylestart>    <arrowstartfill> \ dpastartl \ dpastartw
  3196.  
  3197. <arrowstartfill    \ dpastartsol | \ dpastarthol
  3198.  
  3199. <endstyleend>    <arrowendfill> \ dpaendl \ dpaendw
  3200.  
  3201. <arrowendfill>    \ dpaendsol | \ dpaendhol
  3202.  
  3203. <shadow>    \ dpshadow \ dpshadx \ dpshady
  3204.  
  3205.  
  3206. The following table describes the control words for the drawing object group 
  3207. in detail. All color values are RGB values between 0-255. All distances 
  3208. are in twips. All other values are as indicated.
  3209.  
  3210. Control word    Definition
  3211.  
  3212. \ do        Indicates a drawing object (drawing object) is to be 
  3213.         inserted at this point in the character stream. This is 
  3214.         a destination control word.
  3215.  
  3216. \ dolock    The drawing object's anchor is locked and cannot be moved.
  3217.  
  3218. \ dobxpage    The drawing object is page relative in the x-direction.
  3219.  
  3220. \ dobxcolumn    The drawing object is column relative in the x-direction.
  3221.  
  3222. \ dobxmargin    The drawing object is margin relative in the x-direction.
  3223.  
  3224. \ dobypage    The drawing object is page relative in the y-direction.
  3225.  
  3226. \ dobypara    The drawing object is paragraph relative in the y-direction.
  3227.  
  3228. \ dobymargin    The drawing object is margin relative in the y-direction.
  3229.  
  3230. \ dodhgtN    The drawing object is positioned at the following numeric 
  3231.         address in the z-ordering.
  3232.  
  3233.  
  3234. Drawing primitives
  3235.  
  3236. \ dpgroup    Begin group of drawing primitives.
  3237.  
  3238. \ dpcountN    Number of drawing primitives in current group.
  3239.  
  3240. \ dpendgroup    End group of drawing primitives.
  3241.  
  3242. \ dparc        Arc drawing primitive.
  3243.  
  3244. \ dpcallout    Callout drawing primitive, which consists of both a 
  3245.         polyline and a textbox.
  3246.  
  3247. \ dpellipse    Ellipse drawing primitive.
  3248.  
  3249. \ dpline    Line drawing primitive.
  3250.  
  3251. \ dppolygon    Polygon drawing primitive (closed polyline).
  3252.  
  3253. \ dppolyline    Polyline drawing primitive.
  3254.  
  3255. \ dprect    Rectangle drawing primitive.
  3256.  
  3257. \ dptxbx    Text box drawing primitive.
  3258.  
  3259.  
  3260. Position and size
  3261.  
  3262. \ dpxN        X-offset of the drawing primitive from its anchor.
  3263.  
  3264. \ dpxsizeN    X-size of the drawing primitive.
  3265.  
  3266. \ dpyN        Y-offset of the drawing primitive from its anchor.
  3267.  
  3268. \ dpysizeN    Y-size of the drawing primitive.
  3269.  
  3270.  
  3271. Callouts
  3272.  
  3273. \ dpcoaN    Angle of callout's diagonal line is restricted to one of 
  3274.         the following: 0, 30, 45, 60, or 90. If this keyword is 
  3275.         absent, the callout has an arbitrary angle, indicated by the 
  3276.         coordinates of its primitives.
  3277.  
  3278. \ dpcoaccent    Accent bar on callout. (Vertical bar between polyline and 
  3279.         textbox).
  3280.  
  3281. \ dpcobestfit    Best fit callout. (X-length of each line in callout is similar).
  3282.  
  3283. \ dpcoborder    Visible border on callout textbox.
  3284.  
  3285. \ dpcodabsN    Absolute distance attached polyline. N is the offset in 
  3286.         twips from the corner that a auto-attached callout would 
  3287.         attach to.
  3288.  
  3289. \ dpcodbottom    Bottom attached polyline.
  3290.  
  3291. \ dpcodcenter    Center attached polyline.
  3292.  
  3293. \ dpcodtp    Top attached callout.
  3294.  
  3295. \ dpcolengthN    Length of callout.
  3296.  
  3297. \ dpcominusx    Textbox falls in quadrants II or III relative to polyline 
  3298.         origin.
  3299.  
  3300. \ dpcominusy    Textbox falls in quadrants III or IV relative to polyline 
  3301.         origin.
  3302.  
  3303. \ dpcooffsetN    Offset of callout. This is the distance between the end of 
  3304.         the polyline and the edge of the textbox.
  3305.  
  3306. \ dpcosmarta    Auto-attached callout. Polyline will attach to either the 
  3307.         top or bottom of the textbox depending on the relative quadrant.
  3308.  
  3309. \ dpcotdouble    Double line callout.
  3310.  
  3311. \ dpcotright    Right angle callout.
  3312.  
  3313. \ dpcotsingle    Single line callout.
  3314.  
  3315. \ dpcottriple    Triple line callout.
  3316.  
  3317.  
  3318. Text boxes and rectangles
  3319.  
  3320. \ dptxbxmarN    Internal margin of the text box.
  3321.  
  3322. \ dptxbxtext    Group that contains the text of the text box.
  3323.  
  3324. \ dproundr    Rectangle is a round rectangle.
  3325.  
  3326.  
  3327. Lines and 
  3328. polylines
  3329.  
  3330. \ dpptxN    X-coordinate of the current vertex (only for lines and 
  3331.         polylines). The coordinate order for a point must be x, y.
  3332.  
  3333. \ dpptyN    Y-coordinate of the current vertex (only for lines and 
  3334.         polylines). The coordinate order for a point must be x, y.
  3335.  
  3336. \ dppolycountN    Number of vertices in polyline drawing primitive.
  3337.  
  3338.  
  3339. Arcs
  3340.  
  3341. \ dparcflipx    This indicates that the end point of the arc is to the 
  3342.         right of the start point. Arcs are drawn counter-clockwise.
  3343.  
  3344. \ dparcflipy    This indicates that the end point of the arc is below the 
  3345.         start point. Arcs are drawn counter-clockwise.
  3346.  
  3347.  
  3348. Line style
  3349.  
  3350. \ dplinecobN    Blue value for line color.
  3351.  
  3352. \ dplinecogN    Green value for line color.
  3353.  
  3354. \ dplinecorN    Red value for line color.
  3355.  
  3356. \ dplinepal    Render line color using the PALETTERGB macro instead of the 
  3357.         RGB macro in Windows.
  3358.  
  3359. \ dplinedado    Dashed-dotted line style.
  3360.  
  3361. \ dplinedadodo    Dashed-dotted-dotted line style.
  3362.  
  3363. \ dplinedash    Dashed line style.
  3364.  
  3365. \ dplinedot    Dotted line style.
  3366.  
  3367. \ dplinegrayN    Grayscale value for line color (in half-percentages).
  3368.  
  3369. \ dplinehollow    Hollow line style (no line color).
  3370.  
  3371. \ dplinesolid    Solid line style.
  3372.  
  3373. \ dplinewN    Thickness of line (in twips).
  3374.  
  3375.  
  3376. Arrow style
  3377.  
  3378. \ dpaendhol    Hollow end arrow (lines only).
  3379.  
  3380. \ dpaendlN    Length of end arrow, relative to pen width:
  3381.         1    Small
  3382.         2    Medium
  3383.         3    Large
  3384.  
  3385. \ dpaendsol    Solid end arrow (lines only).
  3386.  
  3387. \ dpaendwN    Width of end arrow, relative to pen width:
  3388.         1    Small
  3389.         2    Medium
  3390.         3    Large
  3391.  
  3392. \ dpastarthol    Hollow start arrow (lines only)
  3393.  
  3394. \ dpastartlN    Length of start arrow, relative to pen width
  3395.         1    Small
  3396.         2    Medium
  3397.         3    Large
  3398.  
  3399. \ dpastartsol    Solid start arrow (lines only)
  3400.  
  3401. \ dpastartwN    Width of start arrow, relative to pen width:
  3402.         1    Small
  3403.         2    Medium
  3404.         3    Large
  3405.  
  3406.  
  3407. Fill pattern
  3408.  
  3409. \ dpfillbgcbN    Blue value for background fill color.
  3410.  
  3411. \ dpfillbgcgN    Green value for background fill color.
  3412.  
  3413. \ dpfillbgcrN    Red value for background fill color.
  3414.  
  3415. \ dpfillbgpal    Render fill background color using the PALETTERGB macro 
  3416.         instead of the RGB macro in Windows.
  3417.  
  3418. \ dpfillbggrayN    Grayscale value for background fill (in half-percentages).
  3419.  
  3420. \ dpfillfgcbN    Blue value for foreground fill color.
  3421.  
  3422. \ dpfillfgcgN    Green value for foreground fill color.
  3423.  
  3424. \ dpfillfgcrN    Red value for foreground fill color.
  3425.  
  3426. \ dpfillfgpal    Render fill foreground color using the PALETTERGB macro 
  3427.         instead of the RGB macro in Windows.
  3428.  
  3429. \ dpfillfggrayN    Grayscale value for foreground fill (in half-percentages).
  3430.  
  3431. \ dpfillpatNx     Index into a list of fill patterns. See below for list.
  3432.  
  3433.  
  3434. Shadow
  3435.  
  3436. \ dpshadow    Current drawing primitive has a shadow.
  3437.  
  3438. \ dpshadxN    X-offset of the shadow.
  3439.  
  3440. \ dpshadyN    Y-offset of the shadow.
  3441.  
  3442.  
  3443. The following values are available for specifying fill patterns in drawing 
  3444. objects with the \dpfillpat control word:
  3445.  
  3446. Value        Fill Pattern
  3447.  
  3448. 0 (zero)    Clear (no pattern)
  3449.  
  3450. 1        Solid (100%)
  3451.  
  3452. 2        5%
  3453.  
  3454. 3        10%
  3455.  
  3456. 4        20%
  3457.  
  3458. 5        25%
  3459.  
  3460. 6        30%
  3461.  
  3462. 7        40%
  3463.  
  3464. 8        50%
  3465.  
  3466. 9        60%
  3467.  
  3468. 10        70%
  3469.  
  3470. 11        75%
  3471.  
  3472. 12        80%
  3473.  
  3474. 13        90%
  3475.  
  3476. 14        Dark horizontal lines
  3477.  
  3478. 15        Dark vertical lines
  3479.  
  3480. 16        Dark left-diagonal lines (\\\)
  3481.  
  3482. 17        Dark right-diagonal lines (///)
  3483.  
  3484. 18        Dark grid lines
  3485.  
  3486. 19        Dark trellis lines
  3487.  
  3488. 20        Light horizontal lines
  3489.  
  3490. 21        Light vertical lines
  3491.  
  3492. 22        Light left-diagonal lines (\\\)
  3493.  
  3494. 23        Light right-diagonal lines (///)
  3495.  
  3496. 24        Light grid lines
  3497.  
  3498. 25        Light trellis lines
  3499.  
  3500.  
  3501. Footnotes
  3502.  
  3503. The \ footnote control word introduces a footnote. Footnotes are 
  3504. destinations in RTF. A footnote is anchored to the character that 
  3505. immediately precedes the footnote destination (that is, the footnote moves 
  3506. with the character to which it is anchored). If automatic footnote numbering 
  3507. is defined, the destination can be preceded by a footnote reference character, 
  3508. identified by the control word \ chftn. No Microsoft product supports 
  3509. footnotes within headers, footers, or annotations. Placing a footnote within 
  3510. headers, footers, or annotations will often result in a corrupt document.
  3511.  
  3512. Footnotes have the following syntax:
  3513.  
  3514. <foot>    '{\ *' \ footnote <para>+ '}'
  3515.  
  3516. Here is an example of a destination containing footnotes.
  3517.  
  3518. \ftnbj\ftnrestart \sectd \linemod0\linex0\endnhere \pard\plain
  3519. \ri1170 \fs20 {\pu6 Mead's landmark study has been amply annotated.\chftn
  3520. {\*\footnote \pard\plain \s246 \fs20 {\up6\chftn }See Sahlins, Bateson, and 
  3521. Geertz for a complete bibliography.}
  3522. It was here work in America during the Second World War, however, that forms
  3523. the basis for the paper. As others have noted, \chftn
  3524. {\*\footnote \pard\plain \s246 \fs20 {\up6\chftn}
  3525. A complete bibliography will be found at the end of this chapter.}
  3526. this period was a turning point for Margaret Mead.}
  3527. \par
  3528.  
  3529. To indicate endnotes, the following combination is emitted: 
  3530. \ footnote\ ftnalt. Existing readers will ignore the \ ftnalt keyword 
  3531. and treat everything as a footnote. 
  3532.  
  3533. For other control words relating to footnotes, see the sections entitled 
  3534. "Document-Formatting Properties",  "Section-Formatting Properties",  and 
  3535. "Special Characters".
  3536.  
  3537. Annotations
  3538.  
  3539. RTF annotations have two parts; the author ID (introduced by the control 
  3540. word \ atnid) and the annotation text (introduced by the control word 
  3541. \ annotation ); there is no group enclosing both parts. No Microsoft 
  3542. product supports annotations within headers, footers, or footnotes. Placing 
  3543. an annotation within headers, footers, or footnotes will often result in a 
  3544. corrupt document. Each part of the annotation is an RTF destination. 
  3545. Annotations are anchored to the character that immediately precedes the 
  3546. annotation.
  3547.  
  3548. If an annotation is associated with an annotation bookmark, the following 
  3549. two destination control words precede and follow the bookmark. The 
  3550. alphanumeric string N, such as a long integer, represents the bookmark name.
  3551.  
  3552. <atrfstart>    '{\ *' \ atrfstart N '}'
  3553.  
  3554. < atrfend>    '{\ *' \ atrfend N '}'
  3555.  
  3556. Annotations have the following syntax:
  3557.  
  3558. <annot>        <annotid> <atnauthor> <atntime>? \ chatn <atnicn>? <annotdef>
  3559.  
  3560. <annotid>    '{\ *' \ atnid #PCDATA '}'
  3561.  
  3562. < atnauthor>    '{\*' \atnauthor #PCDATA '}'
  3563.  
  3564. <annotdef>    '{\ *' \ annotation <atnref> <para>+ '}'
  3565.  
  3566. < atnref>    '{\ *' \ atnref N '}'
  3567.  
  3568. <atntime>    '{\ *' \ atntime <time> '}'
  3569.  
  3570. <atnicn>    '{\ *' \ atnicn <pict> '}'
  3571.  
  3572.  
  3573. An example of annotation text follows:
  3574.  
  3575. An example of a paradigm might be Newtonian physics or
  3576. Darwinian biology.{\v\fs16 {\atnid bz}\chatn{\*\annotation
  3577. \pard\plain \s224 \fs20 {\field{\fldinst page \\#'"Page: 
  3578. '#'\line'"}{\fldrslt}}{\fs16 \chatn }
  3579. How about some examples that deal with social science? 
  3580. That's what this paper is about.}}
  3581.  
  3582. Annotations may have optional time stamps (contained in the \ atntime 
  3583. destination) or icons (contained in the \ atnicn destination).
  3584.  
  3585. Fields
  3586.  
  3587. The \ field control word introduces a field destination, which contains the 
  3588. text of Word for Windows fields. 
  3589.  
  3590. Fields have the following syntax:
  3591.  
  3592. <field>        '{' \ field <fieldmod>? <fieldinst> <fieldrslt> '}'
  3593.  
  3594. <fieldmod>    \ flddirty? & \ fldedit? & \ fldlock? & \ fldpriv?
  3595.  
  3596. <fieldinst>    '{\ *' \ fldinst <char>+ <fldalt>? '}'
  3597.  
  3598. <fldalt>    \ fldalt
  3599.  
  3600. <fieldrslt>    '{\ *' \ fldrslt <para>+ '}'
  3601.  
  3602. There are several control words that alter the interpretation of the field. 
  3603. These control words are:
  3604.  
  3605. Control word    Meaning
  3606.  
  3607. \ flddirty    Formatting change has been made to the field result since 
  3608.         the field was last updated.
  3609.  
  3610. \ fldedit    Text has been added to, or removed from, the field result 
  3611.         since the field was last updated.
  3612.  
  3613. \ fldlock    Field is locked and cannot be updated.
  3614.  
  3615. \ fldpriv    Result is not in a form suitable for display (for example, 
  3616.         binary data used by fields whose result is a picture).
  3617.  
  3618. Two sub-destinations are required within the \ field destination. They must 
  3619. be enclosed in braces ({}) and begin with the following control words:
  3620.  
  3621. Control word    Meaning
  3622.  
  3623. \ fldinst    Field instructions. This is a destination control word.
  3624.  
  3625. \ fldrslt    Most recent calculated result of the field. This is a 
  3626.         destination control word.
  3627.  
  3628. If the instruction for a field contains a file name, then the \ cpg control 
  3629. can be used to define the character set of the file name. See ôCode Page 
  3630. Supportö for details.
  3631.  
  3632. The \ fldrslt control word should be included even if no result has been 
  3633. calculated, because even readers that do not recognize fields can generally 
  3634. include the value of the \ fldrslt destination in the document.
  3635.  
  3636. An example of some field text follows:
  3637.  
  3638. {\field\fldedit{\fldinst author}{\fldrslt Joe Smith}}\par\pard
  3639. {\field{\fldinst time \\@ "h:mm AM/PM"}{\fldrslt 8:12 AM}}
  3640.  
  3641. You can use the \fldalt keyword to specify that the given field reference 
  3642. is to an endnote. For example, the following field in RTF is a reference 
  3643. to a footnote:
  3644.  
  3645. {\ field{\ *\ fldinst NOTEREF _RefNumber } {\ fldrslt 1}}
  3646.  
  3647. The following is an example of a reference to an endnote:
  3648.  
  3649. {\ field{\ *\ fldinst NOTEREF _RefNumber \ fldalt } {\ fldrslt I}}
  3650.  
  3651. If the specified field is a form field, the \*\datafield destination appears 
  3652. as a part of <char> and contains the binary data of a form field instruction. 
  3653. For example:
  3654.  
  3655. {\ field{\*\fldinst {\*\bkmkstart Text1} FORMTEXT {{\*\datafield 
  3656. 00000000000000000554657874310008476565207768697a0000000000000000000000}}}{\fldrslt Default 
  3657. Result}}{\*\bkmkend Text1}
  3658.  
  3659. Note that the \datafield destination requires the \* prefix.
  3660.  
  3661. Index Entries
  3662.  
  3663. The \ xe control word introduces an index entry. Index entries in RTF are 
  3664. destinations. An index entry has the following syntax:
  3665.  
  3666. <idx>    '{' \ xe (\xef? & \ bxe? & \ ixe?) <char>+ (<txe> | <rxe>)? '}'
  3667.  
  3668. <txe>    '{' \ txe <char>+ '}'
  3669.  
  3670. <rxe>    '{' \ rxe #PCDATA '}'
  3671.  
  3672. If the text of the index entry is not formatted as hidden text with the 
  3673. \ v control word, the text is put into the document as well as into the 
  3674. index. For more information on the \ v control word, see "Character-
  3675. Formatting Properties". Similarly, the text of the \ txe sub-destination, 
  3676. described later in this section, becomes part of the document if it is 
  3677. not formatted as hidden text.  The following control words may also be used:
  3678.  
  3679. Control word    Meaning
  3680.  
  3681. \ xefN        Allows multiple indices within the same document. N is 
  3682.         an integer that corresponds to the ASCII value of a letter 
  3683.         between A and Z.
  3684.  
  3685. \ bxe        Formats the page number or cross-reference in bold.
  3686.  
  3687. \ ixe        Formats the page number or cross-reference in italic.
  3688.  
  3689. \ txe Text    Text argument to be used instead of a page number. This is 
  3690.         a destination control word.
  3691.  
  3692. \ rxe BookmarkName  Text argument is a bookmark for the range of page 
  3693.         numbers. This is a destination control word.
  3694.  
  3695.  
  3696. Table of Contents Entries
  3697.  
  3698. The \ tc control word introduces a table of contents entry, which can be used 
  3699. to build the actual table of contents. The \tcn control word marks a table of 
  3700. contents entry that will not have a page number associated with it; this 
  3701. is used in place of \ tc for such entries. Table of contents entries 
  3702. are destinations, and they have the following syntax:
  3703.  
  3704. <toc>    '{' \ tc | \tcn ( \ tcf? & \ tcl?) <char>+ '}'
  3705.  
  3706. As with index entries, text that is not formatted as hidden with the 
  3707. \ v character-formatting control word is put into the document. The 
  3708. following control words can also be used in this destination:
  3709.  
  3710. Control word    Meaning
  3711.  
  3712. \ tcfN        Type of table being compiled; n is mapped by existing 
  3713.         Microsoft software to a letter between A and Z (default is 
  3714.         67, which maps to C, used for tables of contents).
  3715.  
  3716. \ tclN        Level number (default is 1).
  3717.  
  3718.  
  3719. Bidirectional language support
  3720.  
  3721. RTF supports bidirectional writing orders for languages such as Arabic. 
  3722. The controls are described below (as well as in the appropriate sections). 
  3723. Also refer to the associated character properties defined in ôAssociated 
  3724. Character Properties,ö earlier in this chapter.  All the control words 
  3725. relating to bidirectional language support are repeated here for convenience.
  3726.  
  3727. Control word    Meaning
  3728.  
  3729. \ rtlch        The character data following this control word will be 
  3730.         treated as a right to left run.
  3731.  
  3732. \ ltrch        The character data following this control word will be 
  3733.         treated as a left to right run. This is the default.
  3734.  
  3735. \ rtlmark    The following characters should be displayed from right to left.
  3736.  
  3737. \ ltrmark    The following characters should be displayed from left to right.
  3738.  
  3739. \ rtlpar    Text in this paragraph will be displayed with right to left 
  3740.         precedence
  3741.  
  3742. \ ltrpar    Text in this paragraph will be displayed with left to right 
  3743.         precedence. This is the default.
  3744.  
  3745. \ rtlrow    Cells in this table row will have right to left precedence.
  3746.  
  3747. \ ltrrow    Cells in this table row will have left to right precedence. 
  3748.         This is the default.
  3749.  
  3750. \ rtlsect    This section will thread columns from right to left.
  3751.  
  3752. \ ltrsect    This section will thread columns from left to right. This is 
  3753.         the default.
  3754.  
  3755. \ rtldoc    Text in this document will be displayed from right to left 
  3756.         unless overridden by a more specific control.
  3757.  
  3758. \ ltrdoc    Text in this document will be displayed from left to right 
  3759.         unless overridden by a more specific control. This is the 
  3760.         default.
  3761.  
  3762. \ zwj        Zero Width Joiner. This is used for ligating words.
  3763.  
  3764. \ zwnj        Zero-Width Non-Joiner. This is used for unligating a word. 
  3765.  
  3766.  
  3767. Alphabetic List of RTF Keywords
  3768.  
  3769. The following table contains a list of all RTF keywords, the name of the 
  3770. section where it may be found, and a brief description of the type of 
  3771. keyword. The types are described in the following table:
  3772.  
  3773. Type        Description
  3774.  
  3775. Flag        The keyword ignores any parameter.
  3776.  
  3777. Destination    This keyword starts a group or destination. It ignores any 
  3778.         parameter.
  3779.  
  3780. Symbol        This keyword represents a special character.
  3781.  
  3782. Toggle        This keyword distinguishes between 
  3783.  
  3784. Value        This keyword requires a parameter.
  3785.  
  3786.  
  3787. Note
  3788. In the following comprehensive table, the names of all control words that 
  3789. are new to Microsoft Word version 6.0 are followed by an asterisk (*).
  3790.  
  3791. Control word        Described in section        Type
  3792.  
  3793. \ '            Special Character        Symbol
  3794.  
  3795. \ *            Special Character        Symbol
  3796.  
  3797. \ -            Special Character        Symbol
  3798.  
  3799. \ :            Special Character        Symbol
  3800.  
  3801. \ \            Special Character        Symbol
  3802.  
  3803. \ _            Special Character        Symbol
  3804.  
  3805. \ {            Special Character        Symbol
  3806.  
  3807. \ |            Special Character        Symbol
  3808.  
  3809. \ }            Special Character        Symbol
  3810.  
  3811. \ ~            Special Character        Symbol
  3812.  
  3813. \ ab            Character            Toggle
  3814.  
  3815. \ absh            Frame                Value
  3816.  
  3817. \ absw            Frame                Value
  3818.  
  3819. \ acaps            Character            Toggle
  3820.  
  3821. \ acf            Character            Value
  3822.  
  3823. \ additive *        Style Sheet            Flag
  3824.  
  3825. \ adn            Character            Value
  3826.  
  3827. \ aenddoc *        Document            Flag
  3828.  
  3829. \ aendnotes *        Document            Flag
  3830.  
  3831. \ aexpnd        Character            Value
  3832.  
  3833. \ af            Character            Value
  3834.  
  3835. \ afs            Character            Value
  3836.  
  3837. \ aftnbj *        Document            Flag
  3838.  
  3839. \ aftncn *        Document            Destination
  3840.  
  3841. \ aftnnalc *        Document            Flag
  3842.  
  3843. \ aftnnar *        Document            Flag
  3844.  
  3845. \ aftnnauc *        Document            Flag
  3846.  
  3847. \ aftnnchi *        Document            Flag
  3848.  
  3849. \ aftnnrlc *        Document            Flag
  3850.  
  3851. \ aftnnruc *        Document            Flag
  3852.  
  3853. \ aftnrestart *        Document            Flag
  3854.  
  3855. \ aftnrstcont *        Document            Flag
  3856.  
  3857. \ aftnsep *        Document            Destination
  3858.  
  3859. \ aftnsepc *        Document            Destination
  3860.  
  3861. \ aftnstart *        Document            Value
  3862.  
  3863. \ aftntj *        Document            Flag
  3864.  
  3865. \ ai            Character            Toggle
  3866.  
  3867. \ alang            Character            Value
  3868.  
  3869. \ allprot *        Document            Flag
  3870.  
  3871. \ alt            Style Sheet            Flag
  3872.  
  3873. \ annotation        Annotation            Destination
  3874.  
  3875. \ annotprot *        Document            Flag
  3876.  
  3877. \ ansi            Character Set            Flag
  3878.  
  3879. \ aoutl            Character            Toggle
  3880.  
  3881. \ ascaps        Character            Toggle
  3882.  
  3883. \ ashad            Character            Toggle
  3884.  
  3885. \ astrike        Character            Toggle
  3886.  
  3887. \ atnauthor *        Annotations            Destination
  3888.  
  3889. \ atnicn        Annotation            Destination
  3890.  
  3891. \ atnid            Annotation            Destination
  3892.  
  3893. \ atnref *        Annotations            Destination
  3894.  
  3895. \ atntime        Annotation            Destination
  3896.  
  3897. \ atrfend *        Annotations            Destination
  3898.  
  3899. \ atrfstart *        Annotations            Destination
  3900.  
  3901. \ aul            Character            Toggle
  3902.  
  3903. \ auld            Character            Toggle
  3904.  
  3905. \ auldb            Character            Toggle
  3906.  
  3907. \ aulnone        Character            Toggle
  3908.  
  3909. \ aulw            Character            Toggle
  3910.  
  3911. \ aup            Character            Value
  3912.  
  3913. \ author        Info                Destination
  3914.  
  3915. \ b            Character            Toggle
  3916.  
  3917. \ bgbdiag        Shading                Flag
  3918.  
  3919. \ bgcross        Shading                Flag
  3920.  
  3921. \ bgdcross        Shading                Flag
  3922.  
  3923. \ bgdkbdiag        Shading                Flag
  3924.  
  3925. \ bgdkcross        Shading                Flag
  3926.  
  3927. \ bgdkdcross        Shading                Flag
  3928.  
  3929. \ bgdkfdiag        Shading                Flag
  3930.  
  3931. \ bgdkhoriz        Shading                Flag
  3932.  
  3933. \ bgdkvert        Shading                Flag
  3934.  
  3935. \ bgfdiag        Shading                Flag
  3936.  
  3937. \ bghoriz        Shading                Flag
  3938.  
  3939. \ bgvert        Shading                Flag
  3940.  
  3941. \ bin            Picture                Value
  3942.  
  3943. \ binfsxn        Section                Value
  3944.  
  3945. \ binsxn        Section                Value
  3946.  
  3947. \ bkmkcolf        Bookmark            Value
  3948.  
  3949. \ bkmkcoll        Bookmark            Value
  3950.  
  3951. \ bkmkend        Bookmark            Destination
  3952.  
  3953. \ bkmkpub        Object                Flag
  3954.  
  3955. \ bkmkstart        Bookmark            Destination
  3956.  
  3957. \ blue            Color table            Value
  3958.  
  3959. \ box            Border                Flag
  3960.  
  3961. \ brdrb            Border                Flag
  3962.  
  3963. \ brdrbar        Border                Flag
  3964.  
  3965. \ brdrbtw        Border                Flag
  3966.  
  3967. \ brdrcf        Border                Value
  3968.  
  3969. \ brdrdash *        Border                Flag
  3970.  
  3971. \ brdrdb        Border                Flag
  3972.  
  3973. \ brdrdot        Border                Flag
  3974.  
  3975. \ brdrhair        Border                Flag
  3976.  
  3977. \ brdrl            Border                Flag
  3978.  
  3979. \ brdrr            Border                Flag
  3980.  
  3981. \ brdrs            Border                Flag
  3982.  
  3983. \ brdrsh        Border                Flag
  3984.  
  3985. \ brdrt            Border                Flag
  3986.  
  3987. \ brdrth        Border                Flag
  3988.  
  3989. \ brdrw            Border                Value
  3990.  
  3991. \ brkfrm *        Document            Flag
  3992.  
  3993. \ brsp            Border                Value
  3994.  
  3995. \ bullet        Special Character        Symbol
  3996.  
  3997. \ buptim        Info                Destination
  3998.  
  3999. \ bxe            Index                Flag
  4000.  
  4001. \ caps            Character            Toggle
  4002.  
  4003. \ cb            Character            Value
  4004.  
  4005. \ cbpat            Shading                Value
  4006.  
  4007. \ cchs *        Character            Value
  4008.  
  4009. \ cell            Special Character        Symbol 
  4010.  
  4011. \ cellx            Table                Value 
  4012.  
  4013. \ cf            Character            Value
  4014.  
  4015. \ cfpat            Shading             Value
  4016.  
  4017. \ chatn            Special Character        Symbol
  4018.  
  4019. \ chdate        Special Character        Symbol
  4020.  
  4021. \ chdpa            Special Character        Symbol
  4022.  
  4023. \ chdpl            Special Character        Symbol
  4024.  
  4025. \ chftn            Special Character        Symbol
  4026.  
  4027. \ chftnsep        Special Character        Symbol
  4028.  
  4029. \ chftnsepc        Special Character        Symbol
  4030.  
  4031. \ chpgn            Special Character        Symbol
  4032.  
  4033. \ chtime        Special Character        Symbol
  4034.  
  4035. \ clbgbdiag        Table                Flag
  4036.  
  4037. \ clbgcross        Table                Flag
  4038.  
  4039. \ clbgdcross        Table                Flag
  4040.  
  4041. \ clbgdkbdiag        Table                Flag
  4042.  
  4043. \ clbgdkcross        Table                Flag
  4044.  
  4045. \ clbgdkdcross        Table                Flag
  4046.  
  4047. \ clbgdkfdiag        Table                Flag
  4048.  
  4049. \ clbgdkhor        Table                Flag
  4050.  
  4051. \ clbgdkvert        Table                Flag
  4052.  
  4053. \ clbgfdiag        Table                Flag
  4054.  
  4055. \ clbghoriz        Table                Flag
  4056.  
  4057. \ clbgvert        Table                Flag
  4058.  
  4059. \ clbrdrb        Table                Flag
  4060.  
  4061. \ clbrdrl        Table                Flag
  4062.  
  4063. \ clbrdrr        Table                Flag
  4064.  
  4065. \ clbrdrt        Table                Flag
  4066.  
  4067. \ clcbpat        Table                Value
  4068.  
  4069. \ clcfpat        Table                Value
  4070.  
  4071. \ clmgf            Table                Flag
  4072.  
  4073. \ clmrg            Table                Flag
  4074.  
  4075. \ clshdng        Table                Value
  4076.  
  4077. \ colno *        Section                Value
  4078.  
  4079. \ colortbl        Color Table            Destination
  4080.  
  4081. \ cols            Section                Value
  4082.  
  4083. \ colsr *        Section                Value
  4084.  
  4085. \ colsx            Section                Value
  4086.  
  4087. \ column        Special Character        Symbol
  4088.  
  4089. \ colw *        Section                Value
  4090.  
  4091. \ comment        Info                Destination
  4092.  
  4093. \ cpg            Font                Value
  4094.  
  4095. \ creatim        Info                Destination
  4096.  
  4097. \ cs            Character            Value
  4098.  
  4099. \ ctrl            Style Sheet            Flag
  4100.  
  4101. \ cvmme *        Document            Flag
  4102.  
  4103. \ datafield *        Field                Destination
  4104.  
  4105. \ deff            Font                Value
  4106.  
  4107. \ defformat        Document            Flag
  4108.  
  4109. \ deflang        Document            Value
  4110.  
  4111. \ deftab        Document            Value
  4112.  
  4113. \ deleted        Character            Toggle
  4114.  
  4115. \ dfrmtxtx        Frame                Value
  4116.  
  4117. \ dfrmtxty        Frame                Value
  4118.  
  4119. \ dibitmap        Picture                Value
  4120.  
  4121. \ dn            Character            Value
  4122.  
  4123. \ do *            Drawing Object            Destination
  4124.  
  4125. \ dobxcolumn *        Drawing Object            Flag
  4126.  
  4127. \ dobxmargin *        Drawing Object            Flag
  4128.  
  4129. \ dobxpage *        Drawing Object            Flag
  4130.  
  4131. \ dobymargin *        Drawing Object            Flag
  4132.  
  4133. \ dobypage *        Drawing Object            Flag
  4134.  
  4135. \ dobypara *        Drawing Object            Flag
  4136.  
  4137. \ doccomm        Info                Destination
  4138.  
  4139. \ doctemp        Document            Flag
  4140.  
  4141. \ dodhgt  *        Drawing Object            Value
  4142.  
  4143. \ dolock *        Drawing Object            Flag
  4144.  
  4145. \ dpaendhol *        Drawing Object            Flag
  4146.  
  4147. \ dpaendl  *        Drawing Object            Value
  4148.  
  4149. \ dpaendsol *        Drawing Object            Flag
  4150.  
  4151. \ dpaendw  *        Drawing Object            Value
  4152.  
  4153. \ dparc  *        Drawing Object            Flag
  4154.  
  4155. \ dparcflipx *        Drawing Object            Flag
  4156.  
  4157. \ dparcflipy *        Drawing Object            Flag
  4158.  
  4159. \ dpastarthol *        Drawing Object            Flag
  4160.  
  4161. \ dpastartl  *        Drawing Object            Value
  4162.  
  4163. \ dpastartsol *        Drawing Object            Flag
  4164.  
  4165. \ dpastartw  *        Drawing Object            Value
  4166.  
  4167. \ dpcallout *        Drawing Object            Flag
  4168.  
  4169. \ dpcoa  *        Drawing Object            Value
  4170.  
  4171. \ dpcoaccent *        Drawing Object            Flag
  4172.  
  4173. \ dpcobestfit *        Drawing Object            Flag
  4174.  
  4175. \ dpcoborder *        Drawing Object            Flag
  4176.  
  4177. \ dpcodabs *        Drawing Object            Value
  4178.  
  4179. \ dpcodbottom *        Drawing Object            Flag
  4180.  
  4181. \ dpcodcenter *        Drawing Object            Flag
  4182.  
  4183. \ dpcodtop *        Drawing Object            Flag
  4184.  
  4185. \ dpcolength  *        Drawing Object            Value
  4186.  
  4187. \ dpcominusx *        Drawing Object            Flag
  4188.  
  4189. \ dpcominusy *        Drawing Object            Flag
  4190.  
  4191. \ dpcooffset  *        Drawing Object            Value
  4192.  
  4193. \ dpcosmarta *        Drawing Object            Flag
  4194.  
  4195. \ dpcotdouble *        Drawing Object            Flag
  4196.  
  4197. \ dpcotright *        Drawing Object            Flag
  4198.  
  4199. \ dpcotsingle *        Drawing Object            Flag
  4200.  
  4201. \ dpcottriple *        Drawing Object            Flag
  4202.  
  4203. \ dpcount  *        Drawing Object            Value
  4204.  
  4205. \ dpellipse *        Drawing Object            Flag
  4206.  
  4207. \ dpendgroup *        Drawing Object            Flag
  4208.  
  4209. \ dpfillbgcb  *        Drawing Object            Value
  4210.  
  4211. \ dpfillbgcg  *        Drawing Object            Value
  4212.  
  4213. \ dpfillbgcr  *        Drawing Object            Value
  4214.  
  4215. \ dpfillbggray  *    Drawing Object            Value
  4216.  
  4217. \ dpfillbgpal *        Drawing Object            Flag
  4218.  
  4219. \ dpfillfgcb  *        Drawing Object            Value
  4220.  
  4221. \ dpfillfgcg  *        Drawing Object            Value
  4222.  
  4223. \ dpfillfgcr  *        Drawing Object            Value
  4224.  
  4225. \ dpfillfggray  *    Drawing Object            Value
  4226.  
  4227. \ dpfillfgpal *        Drawing Object            Flag
  4228.  
  4229. \ dpfillpat  *        Drawing Object            Value
  4230.  
  4231. \ dpgroup  *        Drawing Object            Flag
  4232.  
  4233. \ dpline  *        Drawing Object            Flag
  4234.  
  4235. \ dplinecob  *        Drawing Object            Value
  4236.  
  4237. \ dplinecog  *        Drawing Object            Value
  4238.  
  4239. \ dplinecor  *        Drawing Object            Value
  4240.  
  4241. \ dplinedado *        Drawing Object            Flag
  4242.  
  4243. \ dplinedadodo  *    Drawing Object            Flag
  4244.  
  4245. \ dplinedash  *        Drawing Object            Flag
  4246.  
  4247. \ dplinedot  *        Drawing Object            Flag
  4248.  
  4249. \ dplinegray  *        Drawing Object            Value
  4250.  
  4251. \ dplinehollow  *    Drawing Object            Flag
  4252.  
  4253. \ dplinepal *        Drawing Object            Flag
  4254.  
  4255. \ dplinesolid  *    Drawing Object            Flag
  4256.  
  4257. \ dplinew  *        Drawing Object            Value
  4258.  
  4259. \ dppolycount  *    Drawing Object            Value
  4260.  
  4261. \ dppolygon  *        Drawing Object            Flag
  4262.  
  4263. \ dppolyline  *        Drawing Object            Flag
  4264.  
  4265. \ dpptx  *        Drawing Object            Value
  4266.  
  4267. \ dppty  *        Drawing Object            Value
  4268.  
  4269. \ dprect  *        Drawing Object            Flag
  4270.  
  4271. \ dproundr *        Drawing Object            Flag
  4272.  
  4273. \ dpshadow  *        Drawing Object            Flag
  4274.  
  4275. \ dpshadx  *        Drawing Object            Value
  4276.  
  4277. \ dpshady  *        Drawing Object            Value
  4278.  
  4279. \ dptxbx  *        Drawing Object            Flag
  4280.  
  4281. \ dptxbxmar  *        Drawing Object            Value
  4282.  
  4283. \ dptxbxtext  *        Drawing Object            Destination
  4284.  
  4285. \ dpx  *        Drawing Object            Value
  4286.  
  4287. \ dpxsize  *        Drawing Object            Value
  4288.  
  4289. \ dpy  *        Drawing Object            Value
  4290.  
  4291. \ dpysize  *        Drawing Object            Value
  4292.  
  4293. \ dropcapli  *        Frame                Value
  4294.  
  4295. \ dropcapt  *        Frame                Value
  4296.  
  4297. \ ds            Section                Value
  4298.  
  4299. \ dxfrtext        Frame                Value
  4300.  
  4301. \ dy            Info                Value
  4302.  
  4303. \ edmins        Info                Value
  4304.  
  4305. \ emdash        Special Character        Symbol
  4306.  
  4307. \ emspace *        Special Character        Symbol
  4308.  
  4309. \ endash        Special Character        Symbol
  4310.  
  4311. \ enddoc        Document            Flag
  4312.  
  4313. \ endnhere        Section                Flag
  4314.  
  4315. \ endnotes        Document            Flag
  4316.  
  4317. \ enspace *        Special Character        Symbol
  4318.  
  4319. \ expnd            Character            Value
  4320.  
  4321. \ expndtw *        Character            Value
  4322.  
  4323. \ f            Character            Value
  4324.  
  4325. \ facingp        Document            Flag
  4326.  
  4327. \ falt *        Font Table            Destination
  4328.  
  4329. \ fbidi            Font Table            Flag
  4330.  
  4331. \ fcharset  *        Font Table            Value
  4332.  
  4333. \ fdecor        Font Table            Flag
  4334.  
  4335. \ fet *            Document            Value
  4336.  
  4337. \ fi            Paragraph            Value
  4338.  
  4339. \ fid *            File Table            Value
  4340.  
  4341. \ field            Field                Destination
  4342.  
  4343. \ file *        File Table            Destination
  4344.  
  4345. \ filetbl *        File Table            Destination
  4346.  
  4347. \ fldalt *        Document            Flag
  4348.  
  4349. \ flddirty        Field                Flag
  4350.  
  4351. \ fldedit        Field                Flag
  4352.  
  4353. \ fldinst        Field                Destination
  4354.  
  4355. \ fldlock        Field                Flag
  4356.  
  4357. \ fldpriv        Field                Flag
  4358.  
  4359. \ fldrslt        Field                Destination
  4360.  
  4361. \ fmodern        Font Table            Flag
  4362.  
  4363. \ fn            Style Sheet            Value
  4364.  
  4365. \ fnetwork *        File Table            Flag
  4366.  
  4367. \ fnil            Font Table            Flag
  4368.  
  4369. \ fontemb        Font                Destination
  4370.  
  4371. \ fontfile        Font                Destination
  4372.  
  4373. \ fonttbl        Font Table            Destination
  4374.  
  4375. \ footer        Header/Footer            Destination
  4376.  
  4377. \ footerf        Header/Footer            Destination
  4378.  
  4379. \ footerl        Header/Footer            Destination
  4380.  
  4381. \ footerr        Header/Footer            Destination
  4382.  
  4383. \ footery        Section                Value
  4384.  
  4385. \ footnote        Footnote            Destination
  4386.  
  4387. \ formdisp *        Document            Flag
  4388.  
  4389. \ formprot *        Document            Flag
  4390.  
  4391. \ formshade *        Document            Flag
  4392.  
  4393. \ fosnum *        File Table            Value
  4394.  
  4395. \ fprq  *        Font Table            Value
  4396.  
  4397. \ fracwidth        Document            Flag
  4398.  
  4399. \ frelative *        File Table            Value
  4400.  
  4401. \ froman        Font Table            Flag
  4402.  
  4403. \ fs            Character            Value
  4404.  
  4405. \ fscript        Font Table            Flag
  4406.  
  4407. \ fswiss        Font Table            Flag
  4408.  
  4409. \ ftech            Font Table            Flag
  4410.  
  4411. \ ftnalt *        Document            Flag
  4412.  
  4413. \ ftnbj            Document            Flag
  4414.  
  4415. \ ftncn            Document            Destination
  4416.  
  4417. \ ftnil            Font                Flag
  4418.  
  4419. \ ftnnalc *        Document            Flag
  4420.  
  4421. \ ftnnar *        Document            Flag
  4422.  
  4423. \ ftnnauc *        Document            Flag
  4424.  
  4425. \ ftnnchi *        Document            Flag
  4426.  
  4427. \ ftnnrlc *        Document            Flag
  4428.  
  4429. \ ftnnruc *        Document            Flag
  4430.  
  4431. \ ftnrestart        Document            Flag
  4432.  
  4433. \ ftnrstcont *        Document            Flag
  4434.  
  4435. \ ftnrstpg *        Document            Flag
  4436.  
  4437. \ ftnsep        Document            Destination
  4438.  
  4439. \ ftnsepc        Document            Destination
  4440.  
  4441. \ ftnstart        Document            Value
  4442.  
  4443. \ ftntj            Document            Flag
  4444.  
  4445. \ fttruetype        Font                Flag
  4446.  
  4447. \ fvaliddos *        File Table            Flag
  4448.  
  4449. \ fvalidhpfs *        File Table            Flag
  4450.  
  4451. \ fvalidmac *        File Table            Flag
  4452.  
  4453. \ fvalidntfs *        File Table            Flag
  4454.  
  4455. \ green            Color table            Value
  4456.  
  4457. \ gutter        Document            Value
  4458.  
  4459. \ guttersxn        Section                Value
  4460.  
  4461. \ header        Header/Footer            Destination
  4462.  
  4463. \ headerf        Header/Footer            Destination
  4464.  
  4465. \ headerl        Header/Footer            Destination
  4466.  
  4467. \ headerr        Header/Footer            Destination
  4468.  
  4469. \ headery        Section                Value
  4470.  
  4471. \ hr            Info                Value
  4472.  
  4473. \ hyphauto *        Document            Toggle
  4474.  
  4475. \ hyphcaps *        Document            Toggle
  4476.  
  4477. \ hyphconsec *        Document            Value
  4478.  
  4479. \ hyphhotz        Document            Value
  4480.  
  4481. \ hyphpar *        Paragraph            Toggle
  4482.  
  4483. \ i            Character            Toggle
  4484.  
  4485. \ id            Info                Value
  4486.  
  4487. \ info            Info                Destination
  4488.  
  4489. \ intbl            Paragraph            Flag
  4490.  
  4491. \ ixe            Index                Flag
  4492.  
  4493. \ keep            Paragraph            Flag
  4494.  
  4495. \ keepn            Paragraph            Flag
  4496.  
  4497. \ kerning *        Character            Value
  4498.  
  4499. \ keycode        Style Sheet            Destination
  4500.  
  4501. \ keywords        Info                Destination
  4502.  
  4503. \ landscape        Document            Flag
  4504.  
  4505. \ lang            Character            Value
  4506.  
  4507. \ ldblquote        Special Character        Symbol
  4508.  
  4509. \ level            Paragraph            Value
  4510.  
  4511. \ li            Paragraph            Value
  4512.  
  4513. \ line            Special Character        Symbol
  4514.  
  4515. \ linebetcol        Section                Flag
  4516.  
  4517. \ linecont        Section                Flag
  4518.  
  4519. \ linemod        Section                Value
  4520.  
  4521. \ lineppage        Section                Flag
  4522.  
  4523. \ linerestart        Section                Flag
  4524.  
  4525. \ linestart        Document            Value
  4526.  
  4527. \ linestarts        Section                Value
  4528.  
  4529. \ linex            Section                Value
  4530.  
  4531. \ linkself        Object                Flag
  4532.  
  4533. \ linkstyles *        Document            Flag
  4534.  
  4535. \ lndscpsxn        Section                Flag
  4536.  
  4537. \ lquote        Special Character        Symbol
  4538.  
  4539. \ ltrch            Character            Flag
  4540.  
  4541. \ ltrdoc        Document            Flag
  4542.  
  4543. \ ltrmark        Character            Symbol
  4544.  
  4545. \ ltrpar        Paragraph            Flag
  4546.  
  4547. \ ltrrow        Table                Flag
  4548.  
  4549. \ ltrsect        Section                Flag
  4550.  
  4551. \ mac            Character Set            Flag
  4552.  
  4553. \ macpict        Picture                Flag
  4554.  
  4555. \ makebackup        Document            Flag
  4556.  
  4557. \ margb            Document            Value
  4558.  
  4559. \ margbsxn        Section                Value
  4560.  
  4561. \ margl            Document            Value
  4562.  
  4563. \ marglsxn        Section                Value
  4564.  
  4565. \ margmirror        Document            Flag
  4566.  
  4567. \ margr            Document            Value
  4568.  
  4569. \ margrsxn        Section                Value
  4570.  
  4571. \ margt            Document            Value
  4572.  
  4573. \ margtsxn        Section                Value
  4574.  
  4575. \ min            Info                Value
  4576.  
  4577. \ mo            Info                Value
  4578.  
  4579. \ nextfile        Document            Destination
  4580.  
  4581. \ nocolbal *        Document            Flag
  4582.  
  4583. \ noextrasprl *        Document            Flag
  4584.  
  4585. \ nofchars        Info                Value
  4586.  
  4587. \ nofpages        Info                Value
  4588.  
  4589. \ nofwords        Info                Value
  4590.  
  4591. \ noline        Paragraph            Flag
  4592.  
  4593. \ nosupersub *        Character            Flag
  4594.  
  4595. \ notabind *        Document            Flag
  4596.  
  4597. \ nowidctlpar *        Paragraph            Flag
  4598.  
  4599. \ nowrap        Frame                Flag
  4600.  
  4601. \ objalias        Object                Destination
  4602.  
  4603. \ objalign        Object                Value
  4604.  
  4605. \ objautlink        Object                Flag
  4606.  
  4607. \ objclass        Object                Destination
  4608.  
  4609. \ objcropb        Object                Value
  4610.  
  4611. \ objcropl        Object                Value
  4612.  
  4613. \ objcropr        Object                Value
  4614.  
  4615. \ objcropt        Object                Value
  4616.  
  4617. \ objdata        Object                Destination
  4618.  
  4619. \ object        Object                Destination
  4620.  
  4621. \ objemb        Object                Flag
  4622.  
  4623. \ objh            Object                Value
  4624.  
  4625. \ objicemb        Object                Flag
  4626.  
  4627. \ objlink        Object                Flag
  4628.  
  4629. \ objlock        Object                Flag
  4630.  
  4631. \ objname        Object                Destination
  4632.  
  4633. \ objpub        Object                Flag
  4634.  
  4635. \ objscalex        Object                Value
  4636.  
  4637. \ objscaley        Object                Value
  4638.  
  4639. \ objsect        Object                Destination
  4640.  
  4641. \ objsetsize        Object                Flag
  4642.  
  4643. \ objsub        Object                Flag
  4644.  
  4645. \ objtime        Object                Destination
  4646.  
  4647. \ objtransy        Object                Value
  4648.  
  4649. \ objupdate *        Object                Flag
  4650.  
  4651. \ objw            Object                Value
  4652.  
  4653. \ operator        Info                Destination
  4654.  
  4655. \ otblrul *        Document            Flag
  4656.  
  4657. \ outl            Character            Toggle
  4658.  
  4659. \ page            Special Character        Symbol
  4660.  
  4661. \ pagebb        Paragraph            Flag
  4662.  
  4663. \ paperh        Document            Value
  4664.  
  4665. \ paperw        Document            Value
  4666.  
  4667. \ par            Special Character        Symbol
  4668.  
  4669. \ pard            Paragraph            Flag
  4670.  
  4671. \ pc            Character Set            Flag
  4672.  
  4673. \ pca            Character Set            Flag
  4674.  
  4675. \ pghsxn        Section                Value
  4676.  
  4677. \ pgncont        Section                Flag
  4678.  
  4679. \ pgndec        Section                Flag
  4680.  
  4681. \ pgnhn  *        Section                Value
  4682.  
  4683. \ pgnhnsc *        Section                Flag
  4684.  
  4685. \ pgnhnsh *        Section                Flag
  4686.  
  4687. \ pgnhnsm *        Section                Flag
  4688.  
  4689. \ pgnhnsn *        Section                Flag
  4690.  
  4691. \ pgnhnsp *        Section                Flag
  4692.  
  4693. \ pgnlcltr        Section                Flag
  4694.  
  4695. \ pgnlcrm        Section                Flag
  4696.  
  4697. \ pgnrestart        Section                Flag
  4698.  
  4699. \ pgnstart        Document            Value
  4700.  
  4701. \ pgnstarts        Section                Value
  4702.  
  4703. \ pgnucltr        Section                Flag
  4704.  
  4705. \ pgnucrm        Section                Flag
  4706.  
  4707. \ pgnx            Section                Value
  4708.  
  4709. \ pgny            Section                Value
  4710.  
  4711. \ pgwsxn        Section                Value
  4712.  
  4713. \ phcol            Frame                Flag
  4714.  
  4715. \ phmrg            Frame                Flag
  4716.  
  4717. \ phpg            Frame                Flag
  4718.  
  4719. \ picbmp *        Picture                Flag
  4720.  
  4721. \ picbpp *        Picture                Value
  4722.  
  4723. \ piccropb        Picture                Value
  4724.  
  4725. \ piccropl        Picture                Value
  4726.  
  4727. \ piccropr        Picture                Value
  4728.  
  4729. \ piccropt        Picture                Value
  4730.  
  4731. \ pich            Picture                Value
  4732.  
  4733. \ pichgoal        Picture                Value
  4734.  
  4735. \ picscaled        Picture                Flag
  4736.  
  4737. \ picscalex        Picture                Value
  4738.  
  4739. \ picscaley        Picture                Value
  4740.  
  4741. \ pict            Picture                Destination
  4742.  
  4743. \ picw            Picture                Value
  4744.  
  4745. \ picwgoal        Picture                Value
  4746.  
  4747. \ plain            Character            Flag
  4748.  
  4749. \ pmmetafile        Picture                Value
  4750.  
  4751. \ pn *            Bullets and Numbering        Destination
  4752.  
  4753. \ pnacross *        Bullets and Numbering        Flag
  4754.  
  4755. \ pnb *            Bullets and Numbering        Toggle
  4756.  
  4757. \ pncaps *        Bullets and Numbering        Toggle
  4758.  
  4759. \ pncard *        Bullets and Numbering        Flag
  4760.  
  4761. \ pncf *        Bullets and Numbering        Value
  4762.  
  4763. \ pndec *        Bullets and Numbering        Flag
  4764.  
  4765. \ pnf *            Bullets and Numbering        Value
  4766.  
  4767. \ pnfs *        Bullets and Numbering        Value
  4768.  
  4769. \ pnhang *        Bullets and Numbering        Flag
  4770.  
  4771. \ pni *            Bullets and Numbering        Toggle
  4772.  
  4773. \ pnindent *        Bullets and Numbering        Value
  4774.  
  4775. \ pnlcltr *        Bullets and Numbering        Flag
  4776.  
  4777. \ pnlcrm *        Bullets and Numbering        Flag
  4778.  
  4779. \ pnlvl *        Bullets and Numbering        Value
  4780.  
  4781. \ pnlvlblt *        Bullets and Numbering        Flag
  4782.  
  4783. \ pnlvlbody *        Bullets and Numbering        Flag
  4784.  
  4785. \ pnlvlcont *        Bullets and Numbering        Flag
  4786.  
  4787. \ pnnumonce *        Bullets and Numbering        Flag
  4788.  
  4789. \ pnord *        Bullets and Numbering        Flag
  4790.  
  4791. \ pnordt *        Bullets and Numbering        Flag
  4792.  
  4793. \ pnprev *        Bullets and Numberingq        Flag
  4794.  
  4795. \ pnqc *        Bullets and Numbering        Flag
  4796.  
  4797. \ pnql *        Bullets and Numbering        Flag
  4798.  
  4799. \ pnqr *        Bullets and Numbering        Flag
  4800.  
  4801. \ pnrestart *        Bullets and Numbering        Flag
  4802.  
  4803. \ pnscaps *        Bullets and Numbering        Toggle
  4804.  
  4805. \ pnseclvl *        Bullets and Numbering        Destination
  4806.  
  4807. \ pnsp *        Bullets and Numbering        Value
  4808.  
  4809. \ pnstart *        Bullets and Numbering        Value
  4810.  
  4811. \ pnstrike *        Bullets and Numbering        Toggle
  4812.  
  4813. \ pntext *        Bullets and Numbering        Destination
  4814.  
  4815. \ pntxta *        Bullets and Numbering        Destination
  4816.  
  4817. \ pntxtb *        Bullets and Numbering        Destination
  4818.  
  4819. \ pnucltr *        Bullets and Numbering        Flag
  4820.  
  4821. \ pnucrm *        Bullets and Numbering        Flag
  4822.  
  4823. \ pnul *        Bullets and Numbering        Toggle
  4824.  
  4825. \ pnuld *        Bullets and Numbering        Flag
  4826.  
  4827. \ pnuldb *        Bullets and Numbering        Flag
  4828.  
  4829. \ pnulnone *        Bullets and Numbering        Flag
  4830.  
  4831. \ pnulw *        Bullets and Numbering        Flag
  4832.  
  4833. \ posnegx  *        Frame                Value
  4834.  
  4835. \ posnegy  *        Frame                Value
  4836.  
  4837. \ posx            Frame                Value
  4838.  
  4839. \ posxc            Frame                Flag
  4840.  
  4841. \ posxi            Frame                Flag
  4842.  
  4843. \ posxl            Frame                Flag
  4844.  
  4845. \ posxo            Frame                Flag
  4846.  
  4847. \ posxr            Frame                Flag
  4848.  
  4849. \ posy            Frame                Value
  4850.  
  4851. \ posyb            Frame                Flag
  4852.  
  4853. \ posyc            Frame                Flag
  4854.  
  4855. \ posyil        Frame                Flag
  4856.  
  4857. \ posyt            Frame                Flag
  4858.  
  4859. \ prcolbl *        Document            Flag
  4860.  
  4861. \ printdata *        Document            Flag
  4862.  
  4863. \ printim        Info                Destination
  4864.  
  4865. \ psover        Document            Flag
  4866.  
  4867. \ psz *            Document            Value
  4868.  
  4869. \ pubauto        Object                Flag
  4870.  
  4871. \ pvmrg            Frame                Flag
  4872.  
  4873. \ pvpara        Frame                Flag
  4874.  
  4875. \ pvpg            Frame                Flag
  4876.  
  4877. \ qc            Paragraph            Flag
  4878.  
  4879. \ qj            Paragraph            Flag
  4880.  
  4881. \ ql            Paragraph            Flag
  4882.  
  4883. \ qr            Paragraph            Flag
  4884.  
  4885. \ rdblquote        Special Character        Symbol
  4886.  
  4887. \ red            Color table            Value
  4888.  
  4889. \ result        Object                Destination
  4890.  
  4891. \ revauth *        Character            Value
  4892.  
  4893. \ revbar        Document            Value
  4894.  
  4895. \ revdttm *        Character            Value
  4896.  
  4897. \ revised        Character            Toggle
  4898.  
  4899. \ revisions        Document            Flag
  4900.  
  4901. \ revprop        Document            Value
  4902.  
  4903. \ revprot *        Document            Flag
  4904.  
  4905. \ revtbl *        Revision Marks            Destination
  4906.  
  4907. \ revtim        Info                Destination
  4908.  
  4909. \ ri            Paragraph            Value
  4910.  
  4911. \ row            Special Character        Symbol
  4912.  
  4913. \ rquote        Special Character        Symbol
  4914.  
  4915. \ rsltbmp        Object                Flag
  4916.  
  4917. \ rsltmerge        Object                Flag
  4918.  
  4919. \ rsltpict        Object                Flag
  4920.  
  4921. \ rsltrtf        Object                Flag
  4922.  
  4923. \ rslttxt        Object                Flag
  4924.  
  4925. \ rtf            File                Destination
  4926.  
  4927. \ rtlch            Character            Flag
  4928.  
  4929. \ rtldoc        Document            Flag
  4930.  
  4931. \ rtlmark        Character            Symbol
  4932.  
  4933. \ rtlpar        Paragraph            Flag
  4934.  
  4935. \ rtlrow        Table                Flag
  4936.  
  4937. \ rtlsect        Section                Flag
  4938.  
  4939. \ rxe            Index                Destination
  4940.  
  4941. \ s            Paragraph            Value
  4942.  
  4943. \ sa            Paragraph            Value
  4944.  
  4945. \ sb            Paragraph            Value
  4946.  
  4947. \ sbasedon        Style Sheet            Value
  4948.  
  4949. \ sbkcol        Section                Flag
  4950.  
  4951. \ sbkeven        Section                Flag
  4952.  
  4953. \ sbknone        Section                Flag
  4954.  
  4955. \ sbkodd        Section                Flag
  4956.  
  4957. \ sbkpage        Section                Flag
  4958.  
  4959. \ sbys            Paragraph            Flag
  4960.  
  4961. \ scaps            Character            Toggle
  4962.  
  4963. \ sec            Info                Value
  4964.  
  4965. \ sect            Special Character        Symbol
  4966.  
  4967. \ sectd            Section                Flag
  4968.  
  4969. \ sectnum        Special Character        Symbol
  4970.  
  4971. \ sectunlocked *    Section                Flag
  4972.  
  4973. \ shad            Character            Toggle
  4974.  
  4975. \ shading        Shading                Value
  4976.  
  4977. \ shift            Style Sheet            Flag
  4978.  
  4979. \ sl            Paragraph            Value
  4980.  
  4981. \ slmult *        Paragraph            Value
  4982.  
  4983. \ snext            Style Sheet            Value
  4984.  
  4985. \ softcol *        Special Character        Flag
  4986.  
  4987. \ softlheight *        Special Character        Value
  4988.  
  4989. \ softline *        Special Character        Flag
  4990.  
  4991. \ softpage *        Special Character        Flag
  4992.  
  4993. \ sprsspbf *        Document            Flag
  4994.  
  4995. \ sprstsp *        Document            Flag
  4996.  
  4997. \ strike        Character            Toggle
  4998.  
  4999. \ stylesheet        Style Sheet            Destination
  5000.  
  5001. \ sub *            Character            Flag
  5002.  
  5003. \ subdocument *        Pargraph            Value
  5004.  
  5005. \ subject        Info                Destination
  5006.  
  5007. \ super *        Character            Flag
  5008.  
  5009. \ swpbdr *        Document            Flag
  5010.  
  5011. \ tab            Special Character        Symbol
  5012.  
  5013. \ tb            Tab                Value
  5014.  
  5015. \ tc            Table of Contents        Destination
  5016.  
  5017. \ tcf            Table of Contents        Value
  5018.  
  5019. \ tcl            Table of Contents        Value
  5020.  
  5021. \ tcn *            Table of Contents        Flag
  5022.  
  5023. \ template        Document            Destination
  5024.  
  5025. \ title            Info                Destination
  5026.  
  5027. \ titlepg        Section                Flag
  5028.  
  5029. \ tldot            Tab                Flag
  5030.  
  5031. \ tleq            Tab                Flag
  5032.  
  5033. \ tlhyph        Tab                Flag
  5034.  
  5035. \ tlth            Tab                Flag
  5036.  
  5037. \ tlul            Tab                Flag
  5038.  
  5039. \ tqc            Tab                Flag
  5040.  
  5041. \ tqdec            Tab                Flag
  5042.  
  5043. \ tqr            Tab                Flag
  5044.  
  5045. \ transmf *        Document            Flag
  5046.  
  5047. \ trbrdrb *        Table                Flag
  5048.  
  5049. \ trbrdrh *        Table                Flag
  5050.  
  5051. \ trbrdrl *        Table                Flag
  5052.  
  5053. \ trbrdrr *        Table                Flag
  5054.  
  5055. \ trbrdrt *        Table                Flag
  5056.  
  5057. \ trbrdrv *        Table                Flag
  5058.  
  5059. \ trgaph        Table                Value
  5060.  
  5061. \ trhdr *        Table                Flag
  5062.  
  5063. \ trkeep *        Table                Flag
  5064.  
  5065. \ trleft        Table                Value
  5066.  
  5067. \ trowd            Table                Flag
  5068.  
  5069. \ trqc            Table                Flag
  5070.  
  5071. \ trql            Table                Flag
  5072.  
  5073. \ trqr            Table                Flag
  5074.  
  5075. \ trrh            Table                Value
  5076.  
  5077. \ tx            Tab                Value
  5078.  
  5079. \ txe            Index                Destination
  5080.  
  5081. \ ul            Character            Toggle
  5082.  
  5083. \ uld            Character            Flag
  5084.  
  5085. \ uldb            Character            Flag
  5086.  
  5087. \ ulnone        Character            Flag
  5088.  
  5089. \ ulw            Character            Flag
  5090.  
  5091. \ up            Character            Value
  5092.  
  5093. \ v            Character            Toggle
  5094.  
  5095. \ vern            Info                Value
  5096.  
  5097. \ version        Info                Value
  5098.  
  5099. \ vertalb        Section                Flag
  5100.  
  5101. \ vertalc        Section                Flag
  5102.  
  5103. \ vertalj        Section                Flag
  5104.  
  5105. \ vertalt        Section                Flag
  5106.  
  5107. \ wbitmap        Picture                Value
  5108.  
  5109. \ wbmbitspixel        Picture                Value
  5110.  
  5111. \ wbmplanes        Picture                Value
  5112.  
  5113. \ wbmwidthbytes        Picture                Value
  5114.  
  5115. \ widowctrl        Document            Flag
  5116.  
  5117. \ wmetafile        Picture                Value
  5118.  
  5119. \ wraptrsp *        Document            Flag
  5120.  
  5121. \ xe            Index                Destination
  5122.  
  5123. \ xef *            Index                Value
  5124.  
  5125. \ yr            Info                Value
  5126.  
  5127. \ zwj            Special Character        Symbol
  5128.  
  5129. \ zwnj            Special Character        Symbol
  5130.  
  5131.  
  5132.  
  5133.