1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
|
{\rtf1\mac\deff2 {\fonttbl{\f0\fswiss Chicago;}{\f3\fswiss Geneva;}{\f4\fmodern Monaco;}{\f13\fnil Zapf Dingbats;}{\f14\fnil Bookman;}{\f15\fnil N Helvetica Narrow;}{\f16\fnil Palatino;}{\f18\fnil Zapf Chancery;}{\f20\froman Times;}{\f21\fswiss Helvetica;}
{\f22\fmodern Courier;}{\f23\ftech Symbol;}{\f33\fnil Avant Garde;}{\f34\fnil New Century Schlbk;}{\f200\fnil Dingbats;}{\f201\fnil Footnote;}{\f2006\fnil Architect;}}{\colortbl\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;
\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;}{\stylesheet{\s243\tqc\tx4320\tqr\tx8640 \f20\fs20 \sbasedon0\snext243 footer;}{\s244\tqc\tx4320\tqr\tx8640 \f20\fs20 \sbasedon0\snext244
header;}{\s255\sb240 \b\i\f21 \sbasedon0\snext0 heading 1;}{\f20\fs20 \sbasedon222\snext0 Normal;}{\s2 \f22\fs20 \sbasedon0\snext2 rtf encoding,re;}{\s3 \f22\fs20 \sbasedon0\snext3 rtf;}{\s4 \b\i\f21 \sbasedon0\snext4 Title;}{\s5\fi360\li2880 \f20\fs20
\sbasedon0\snext5 body text;}}
\margr1080\widowctrl\ftnbj \sectd \linemod0\linex0\cols1\endnhere\titlepg
\pard\plain\sb1000\sa1000\qc\f20\b\fs72 Microsoft\line
Rich Text Format Specification\par
\pard\plain\li960\ri960\sa120\f21\i {\b Note: }This document was edited for distribution
with the XcRichText widget by Dan Connolly <connolly@convex.com>.
The cover pages have been reproduced
by hand.
\par
\fi0 Annotations in Helvetica italic discuss the format as implemented by
the XcRichText widget.
\page
\pard\plain\sb180\f20 Information in this document is subject to change without notice
and does not represent a commitment on the part of Microsoft Corporation.
\par
You have the royalty-free right to reproduce and distribute
products that use RTF (Rich Text Format) as a file conversion
medium provided that you: (a) do not use Microsoft's name, logo,
or trademarks to market your software product; and (b) agree to
indemnify, hold harmless, and defend Microsoft from and against
any claims or lawsuits, including attorneys' fees, that arise
from the use or distribution of your software.
\par
You may reproduce and distribute this specification provided that
it is preproduced in its entirety including this copyright page.
\par
If you have suggestions for enhancements or extensions to the RTF
Specification, have developed an application using RTF, or wish
to receive the most up-to-date copy of the RTF specification,
please write:
\par
Microsoft Corporation\line
Department: RTF\line
16011 NE 36th Way\line
Box 97017\line
Redmond, WA 98073-9717\line
\par
(C) Copyright Microsoft Corporation, 1987-1989
\par
\par
\page
{\header \pard\plain \s244\tqc\tx4320\tqr\tx8640 \f20\fs20 \tab \tab Rich Text Format \chpgn \par
}
\pard\plain \s4 \b\i\f21 Rich Text Format\par
\pard\plain \f20\fs20 \par
\pard\plain \s255\sb240 \b\i\f21 RTF Syntax\par
\pard\plain \f20\fs20 \par
{\pard\plain\li960\ri960\sa240\f21\i {\b Note: }The implementation of the
basic RTF syntax is a C++ adaptation of Paul DuBois' RTF-Stuff distribution.
\par}
\pard\plain\f20 The Rich Text Format (RTF) standard is a method of encoding formatted text and graphics for easy transfer between applications. Currently, users depend on special translation software to move word processing documents between
different DOS applications, and between DOS applications and Apple Macintosh applications.\par
\pard \par
\pard
The RTF standard provides a standard format for text and graphics interchange that can be used with different output devices, operating environments, and operating systems. RTF uses the ANSI, Macintosh, or IBM PC character set to control the representatio
n and formatting of a document, both on the screen and in print. With the RTF standard, documents composed under different operating systems and with different software applications can be transferred between those operating systems and applications.
\par
\pard \par
\pard An RTF file consists of unformatted text, "control words," "control symbols," and "groups." A standard RTF file consists of only 7-bit ASCII characters for ease of transport.\par
\pard \par
\pard A "control word" is a specially formatted command that RTF uses to mark printer control codes and information that applications use to manage documents. A control word consists of a backslash followed by an alphabetic string and a delimiter, as sho
wn in the following example\:\par
\pard \par
\pard\plain \s2 \f22\fs20 \\rtf1...\par
\pard\plain \f20\fs20 \par
A B C\par
\par
A\tab Backslash begins each control word\par
C\tab Alphabetic string\par
C\tab Numeric delimiter\par
\par
\pard
The delimiter can be a space or one or more nonalphabetic characters. If a numeric parameter immediately follows the control word, this parameter is the delimiter, and is itself followed by a delimiter, also consisting of a space or one or more nonalphabet
ic characters.\par
\pard \page \par
\pard A "control symbol" consists of a backslash followed by a single, nonalphabetic character. For example, {\f22 \\~} represents a nonbreaking space. Control symbols take no delimiters.\par
\pard \par
\pard A "group" consists of text and control words or control symbols enclosed in braces (\{\}
). Formatting specified within a group affects only the text within the group. Generally, text within a group inherits any formatting of the text preceding the group. How
ever, Microsoft implementations of RTF assume that the footnote, header/footer, and annotation groups (described later in this document) do not inherit formatting of the preceding text. Therefore,
to ensure that these groups will always be formatted correctly, you should set the formatting within these groups to the default with the {\f22 \\sectd}, {\f22 \\pard}, and {\f22 \\plain} control words, and then add any desired formatting.\par
\pard \par
\pard Any other characters in the file are plain text. As mentioned above, the backslash (\\) and braces (\{\}) have special meaning in RTF. To use these characters as text, precede them with a backslash.\par
\pard \par
\pard Software that takes a formatted file and turns it into an RTF file is called a "writer." Softwar
e that translates an RTF file into a formatted file is called a "reader." An RTF writer separates the application's control information from the plain text and writes a new file containing the plain text and the RTF groups associated with that text. An RTF
reader does the converse of this procedure.\par
\pard \par
\pard An entire RTF file is considered a group and must be enclosed in braces. The control word {\f22 \\rtf}{\i\f22 n} must follow the first open brace. The numeric parameter identifies the version of the RTF standard used. The RTF s
tandard described in this document corresponds to version 1.\par
\pard \par
\pard The order of groups within an RTF file is important. Each group specifies the part of the document affected by the group and the different attributes of that text. An RTF file must begin with the following two control words in the following order\:
\par
\pard \par
\'b7 RTF version ({\f22 \\rtf}{\i\f22 n})\par
\par
\'b7 Character set\par
\par
\pard The RTF file can also include groups for fonts, styles, screen color, pictures, footnotes, annotations, headers and footers, summary information, fields, and boo
kmarks, as well as document, section, paragraph, and character formatting properties. If the font, style, screen color, and summary information groups and document formatting properties are included, they must precede the first plain text character in the
document. If included, the group for fonts should precede the group for styles.\par
\pard \par
The groups are discussed in the following sections. If a group isn't used, it can be omitted.\par
\par
\pard Certain groups, referred to as "destinations," mark the beginning of a collection of related text. An example of this is the {\f22 \\footnote}
group, where the footnote text follows the control word. Destinations added after the RTF specification published in the March 1987 Microsoft Systems Journal may be preceded by the control symbol {\f22 \\*}
. This control symbol identifies destinations whose related text should be ignored if the RTF reader does not recognize the destination. RTF writers should follow this convention when adding new control words. Destinations whose related text should be ins
erted into the document even if the destination is not recognized should not use {\f22 \\*}. In this document, all destinations that use {\f22 \\*} will be shown with {\f22 \\*} as part of the control word.\par
\pard \page \par
\pard\plain \s255\sb240 \b\i\f21 The Character Set\par
\pard\plain \f20\fs20 \par
\pard After specifying the RTF writer you must declare the character set. The RTF specification currently supports the following character sets\:\par
\pard \par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2880\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Character set\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx2880\clbrdrt\brdrs \cellx8640\pard
\intbl {\f22 \\ansi}\cell \pard \intbl ANSI (default)\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2880\cellx8640\pard \intbl {\f22 \\mac}\cell \pard \intbl Apple Macintosh\cell \pard \intbl \row \pard \intbl {\f22 \\pc}\cell \pard \intbl
IBM PC\cell \pard \intbl \row \pard \intbl {\f22 \\pca}\cell \pard \intbl IBM PC page 850, used by IBM Personal System/2\cell \pard \intbl \row \pard \par
{\pard\plain\li960\ri960\sa240\f21\i {\b Note: }The XcRichText widget
currently ignores character set specifications. The character set used
by the RTF file is assumed to match the character set of the X font.
\par}
\pard\plain \s255\sb240 \b\i\f21 The Font Table\par
\pard\plain \f20\fs20 \par
\pard This group contains descriptions of fonts and begins with the control word {\f22 \\fonttbl}. All fonts available to the RTF writer can be included in the font table, even if the document doesn't use all the fonts.\par
\pard \par
\pard A font is defined by its name, a font number, and a font family, as shown in the following example. Semicolons are used as delimiters between fonts.\par
\pard \par
{\f22 \{\\fonttbl\\f0\\froman Tms Rmn;\}}...\par
\par
\par
A B C D\par
\par
A Control word\par
B Font number\par
C Font family\par
D Font name\par
\par
\pard The font numbers represent the full font definitions in the group, and vary with each document. The font families are listed below\:\par
\pard \par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx1800\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Font family\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx1800\clbrdrt\brdrs \cellx8640\pard
\intbl {\f22 \\fnil\cell }\pard \intbl Unknown or default fonts (default)\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx1800\cellx8640\pard \intbl {\f22 \\froman\cell }\pard \intbl
Roman, proportionally spaced serif fonts (TmsRmn, Palatino, etc.)\cell \pard \intbl \row \pard \intbl {\f22 \\fswiss\cell }\pard \intbl Swiss, proportionally spaced sans serif fonts (Swiss, etc.)\cell \pard \intbl \row \pard \intbl {\f22 \\fmodern\cell
}\pard \intbl Fixed-pitch serif and sans serif fonts (Courier, Elite, Pica, etc.)\cell \pard \intbl \row \pard \intbl {\f22 \\fscript\cell }\pard \intbl Script fonts (Cursive, etc.)\cell \pard \intbl \row \pard \intbl {\f22 \\fdecor\cell }\pard \intbl
Decorative fonts (Old English Zapf Chancery, etc.)\cell \pard \intbl \row \pard \intbl {\f22 \\ftech\cell }\pard \intbl Technical, symbol, and mathematical fonts (Symbol, etc.)\cell \pard \intbl \row \pard \par
\pard If an RTF file uses a default font, the default font number is specified with the {\f22 \\deff}{\i\f22 n}
control word which must precede the font table group. The RTF writer supplies the default font number used in the creation of the document as the numeric argument. The RTF reader then translates this number through the font table into the most similar fon
t available on the reader's system.\par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }The XcRichText widget
uses its fontPatterns resource to translate RTF font families
to groups of X fonts. See the man page for details.
\par}
\pard \page \par
\pard\plain \s255\sb240 \b\i\f21 The Style Sheet\par
\pard\plain \f20\fs20 \par
\pard The style sheet group begins with the control word {\f22 \\stylesheet}. This group contains definitions and
descriptions of the various styles used in the document. The style sheet is declared only once, in the RTF file header. All styles in the document's style sheet can be included, even if not all the styles are used.\par
\pard \par
\pard In some applications, styles are based on, or are the basis for, other styles. In these cases, two other control words can be used\:\par
\pard \par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx1440\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx1440\clbrdrt\brdrs \cellx8640\pard \intbl {
\f22 \\sbasedon}{\i\f22 n}{\f22 \cell }\pard \intbl Defines the number of the style on which current style is based\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx1440\cellx8640\pard \intbl {\f22 \\snext}{\i\f22 n}{\f22 \cell }\pard \intbl
Defines next style associated with current style; if omitted, next style is the current style\cell \pard \intbl \row \pard \par
\pard An example of an RTF style sheet and styles is shown in the following example. In this example, Postscript is declared but not used. Some of the control words in this example are discussed in the following sections.\par
\pard \par
...\par
\par
\pard\plain \s3 \f22\fs20 \{\\stylesheet\{\\fs20 \\sbasedon222\\snext0 Normal;\}\{\\s1\\qr\\fs20\par
A\'bb \\sbasedon0\\snext1 FLUSHRlGHT;\}\{\\s2\\fi-720\\li720\\fs20\\ri2880\\fs20\par
\\sbasedon0\\snext2 IND;\}\}\par
\pard\plain \f20\fs20 \par
...\par
\par
\pard\plain \s3 \f22\fs20 \\widowctrl\\ftnbj\\ftnrestart\\sectd\\linex0\\endnhere\par
\\pard\\plain\\fs20 This is Normal style.\par
\\par\\pard\\plain\\s1\par
B\'bb This is right justified. I call this style FLUSHRIGHT.\par
\\par\\pard\\plain\\s2\par
\pard \s3 This is an indented paragraph. I call this style IND. It produces a hanging indent.\par
\pard \s3 \par
\\par\}\par
\pard\plain \f20\fs20 \par
This is Normal Style.\par
\par
This is right justified. I call this style FLUSHRIGHT.\par
This is an indented paragraph. I call this style IND.\par
It produces a hanging indent.\par
\par
A Style sheet\par
B Styles applied to text\par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }The stylesheet is
mostly an editing feature. The XcRichText widget ignores stylsheets.
\par}
\pard \page \par
\pard \par
\par
\pard\plain \s255\sb240 \b\i\f21 The Color Table\par
\pard\plain \f20\fs20 \par
\par
\pard Screen colors, character colors, and other color information are contained in the color table group. The control word {\f22 \\colortbl}
begins this group. Values for red, green, blue, and the foreground and background colors are shown in the following list. These parameter values correspond to the color indexes used by Microsoft Windows (0-255). Each color table entry is defined by the am
ount of red, green, and blue it has. For more information on color setup, see your Windows documentation.\par
\pard \par
The following are valid control words for this group\:\par
\par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2160\clbrdrb\brdrs \cellx6480\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx2160\clbrdrt\brdrs \cellx6480\pard \intbl {
\f22 \\red}{\i\f22 n}{\f22 \cell }\pard \intbl Red index\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2160\cellx6480\pard \intbl {\f22 \\green}{\i\f22 n}{\f22 \cell }\pard \intbl Green index\cell \pard \intbl \row \pard \intbl {\f22 \\blue}{
\i\f22 n}{\f22 \cell }\pard \intbl Blue index\cell \pard \intbl \row \pard \intbl {\f22 \\cf}{\i\f22 n}{\f22 \cell }\pard \intbl Foreground color (default is 0)\cell \pard \intbl \row \pard \intbl {\f22 \\cb}{\i\f22 n}{\f22 \cell }\pard \intbl
Background color (default is 0)\cell \pard \intbl \row \pard \par
\par
\pard
Each definition must be delimited by a semicolon, even if the definition is omitted. If a color definition is omitted, the RTF reader uses its default color. In the example below, three colors are defined. The first color is omitted, as shown by the semico
lon following the {\f22 \\colortbl} control word.\par
\pard \par
\pard\plain \s3 \f22\fs20 \{\\colortbl;\\red0\\green0\\blue0;\\red0\\green0\\blue255;\}\par
\pard\plain \f20\fs20 \par
\pard The following example defines a block of text in color (where supported). Note that the cf/cb index is the index of an entry in the color table, which represents a red/green/blue color combination.\par
\pard \par
...\par
\par
\pard\plain \s3 \f22\fs20 \{\\f1\\cb1\\cf2 This is colored text. The background is color 1 and the foreground is color 2.\}\par
\pard\plain \f20\fs20 \par
If the file is translated by software that does not display color, this group is ignored.\par
\par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Foreground colors
are supported by the XcRichText widget. The \\red, \\green, and \\blue
values are scaled and used as arguments to XAllocColor (using the colormap
from the widget's core resources).
\par}
\pard\plain \s255\sb240 \b\i\f21 Pictures\par
\pard\plain \f20\fs20 \par
\pard An RTF file can include picture files composed with other applications. These files are in hexadecimal (default) or binary format. The control word {\f22 \\pict} begins this group. Control words tha
t define and describe the picture parameters follow the {\f22 \\pict} control word.\par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Picture groups
are assumed to be hex encoded Sun Raster images, either 1- or 8-bit, with
RLE encoding. Most RTF picture control words are not supported. Supported
control words are indicated by [X].
\par}
\pard \page \par
\pard \par
\pard These control words are listed in the table that follows. Some measurements in this table are in twips; a twip is one-twentieth of a printer's point. The control words for picture border patterns ({\f22 \\brdrs}, {\f22 \\brdrdb}, {\f22 \\brdrth}, {
\f22 \\brdrsh}, {\f22 \\brdrdot}, and {\f22 \\brdrhair}) are ignored when translated into Microsoft Word for the Macintosh, which uses character properties to make borders.\par
\pard \par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2160\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2160\cellx8640\pard \intbl {\f22 \\brdrs\cell }\pard \intbl
Single border for picture\cell \pard \intbl \row \pard \intbl {\f22 \\brdrdb\cell }\pard \intbl Double border for picture\cell \pard \intbl \row \pard \intbl {\f22 \\brdrth\cell }\pard \intbl Thick border for picture\cell \pard \intbl \row \pard \intbl {
\f22 \\brdrsh\cell }\pard \intbl Shadow border for picture\cell \pard \intbl \row \pard \intbl {\f22 \\brdrdot\cell }\pard \intbl Dotted border for picture\cell \pard \intbl \row \pard \intbl {\f22 \\brdrhair\cell }\pard \intbl Hairline border for picture
\cell \pard \intbl \row \pard \intbl {\f22 \\macpict\cell }\pard \intbl Source of picture is Macintosh Quick Draw\cell \pard \intbl \row \pard \intbl {\f22 \\wmetafile}{\i\f22 n}{\f22 \cell }\pard \intbl
Source of picture is Windows metafile; argument identifies the metafile type; default is 1 (MM_TEXT)\cell \pard \intbl \row \pard \intbl {\f22 \\wbitmap}{\i\f22 n}{\f22 \cell }\pard \intbl
Source of picture is a bitmap; argument identifies the bitmap type; default is 0 (logical bitmap)\cell \pard \intbl \row \pard \intbl {\f22 \\picw}{\i\f22 n}{\f22 \cell }{\f21 [X]}\pard \intbl xExt field if picture is metafile; picture width in pi
xels if picture is bitmap or from Macintosh Quick Draw\cell \pard \intbl \row \pard \intbl {\f22 \\pich}{\i\f22 n}{\f22 \cell }{\f21 [X]}\pard \intbl yExt field if picture is metafile; picture height in pixels if picture is bitmap or from Macintosh Quick Draw\cell
\pard \intbl \row \pard \intbl {\f22 \\picwGoal}{\i\f22 n}{\f22 \cell }\pard \intbl Desired width of picture in twips\cell \pard \intbl \row \pard \intbl {\f22 \\pichGoal}{\i\f22 n}{\f22 \cell }\pard \intbl Desired height of picture in twips\cell \pard
\intbl \row \pard \intbl {\f22 \\picscalex}{\i\f22 n}{\f22 \cell }\pard \intbl Horizontal scaling value; argument is a value between 1 and 100 (default is 10)\cell \pard \intbl \row \pard \intbl {\f22 \\picscaley}{\i\f22 n}{\f22 \cell }\pard \intbl
Vertical scaling value; argument is a value between 1 and 100 (default is 10)\cell \pard \intbl \row \pard \intbl {\f22 \\picscaled\cell }\pard \intbl Scales picture to fit within specified frame; used only with \\macpict pictures\cell \pard \intbl \row
\pard \intbl {\f22 \\piccropt}{\i\f22 n}{\f22 \cell }\pard \intbl Top cropping value in twips; positive value crops toward center of picture; negative value crops away from center, adding space border around picture (default is 0)\cell \pard \intbl \row
\pard \intbl {\f22 \\piccropb}{\i\f22 n}{\f22 \cell }\pard \intbl Bottom cropping value in twips; positive value crops toward center of picture; negative value crops away from center, adding space border around picture (default is 0)\cell \pard \intbl
\row \pard \intbl {\f22 \\piccropl}{\i\f22 n}{\f22 \cell }\pard \intbl Left cropping value in twips; positive value crops toward center of picture; negative value crops away from center, adding space border around picture (default is 0)\cell \pard \intbl
\row \pard \intbl {\f22 \\piccropr}{\i\f22 n}{\f22 \cell }\pard \intbl Right cropping value in twips; positive value crops toward center of picture; negative value crops away from center, adding space border around picture (default is 0)\cell \pard
\intbl \row \pard \intbl {\f22 \\wbmbitspixel}{\i\f22 n}{\f22 \cell }\pard \intbl Bitmap bits/pixel (default is 1)\cell \pard \intbl \row \pard \intbl {\f22 \\wbmplanes}{\i\f22 n}{\f22 \cell }\pard \intbl Number of bitmap planes (default is 1)\cell \pard
\intbl \row \pard \intbl {\f22 \\wbmwidthbytes}{\i\f22 n}{\f22 \cell }\pard \intbl Bitmap width in bytes\cell \pard \intbl \row \pard \intbl {\f22 \\bin}{\i\f22 n}{\f22 \cell }\pard \intbl
Picture is in binary format; numeric parameter is number of bytes to follow\cell \pard \intbl \row \pard \par
\pard \page \par
\pard The {\f22 \\wbitmap} control word is optional; if neither {\f22 \\wmetafile} nor {\f22 \\macpict} is specified, the picture is assumed to be a Windows bitmap.\par
\pard \par
\pard
Be careful with spaces following control words when dealing with pictures in binary format. When reading files, RTF considers the first space the delimiter and subsequent spaces part of the document text. Therefore, any extra white space is attached to t
he picture, with unpredictable results.\par
\pard \par
\pard RTF writers should not use the carriage-return-line-feed (CRLF) combination to break up pictures in binary format. In this case, the CRLF will be treated as literal text and considered part of the picture data.\par
\pard \par
\pard The picture in hexadecimal or binary format follows the picture group control words. The following example illustrates the group format and the result.\par
\pard \par
\pard\plain \s3 \f22\fs20 \{\\pict\\wbitmap0\\picw170\\pich77\\wbmbitspixel1\\wbmplanes1\par
\\wbmwidthbytes22\\picwgoal505\par
\\pichgoal221\par
\\picscalex172\par
\\picscaley172\par
4912000000000273023d1101a030\par
3901000a000000000273023d98\par
0048000200000275\par
0240000200010275023e000000000\par
273023dO00002b90002b90002\par
b90002b90002b9\par
0002b90002b90002b90002b90002b90002\par
b92222b90002b90002b90\par
002b90002b9\par
D002b90002b90002b90002b9000\par
\pard\plain \ri-3600\tx576 \f20\fs20 {\b \par
}\pard A Source\par
B Width\par
C Height\par
D Bits per pixel\par
E Bitmap planes\par
F Width of picture in bytes\par
G Desired picture width\par
H Desired picture height\par
I Horizontal scaling value\par
J Vertical scaling value\par
K Hexadecimal data\par
\par
\pard\plain \s255\sb240 \b\i\f21 Footnotes\par
\pard\plain \f20\fs20 {\i \par
}\pard The group containing footnote text begins with the control word {\f22 \\footnote}{\b . }Footnotes are anchored to the character that immediately precedes the footnote group. If automatic footnoting is defined, the grou
p can be preceded by a footnote reference character, identified by the control word {\f22 \\chftn}{\b .\par
}\pard \tqc\tx720\tqc\tx1440\tqc\tx2160\tqc\tx2880\tx0 \page \par
\pard The following is an example of a group containing footnotes\:\par
\par
\pard\plain \s3 \f22\fs20 \\ftnbj\\ftnrestart\\sectd \\linemod0\\linex0\\endnhere \\pard\\plain \\ri1170 \\fs20 \{\\up6 Mead's landmark study has been amply annotated.\\chftn \par
(footnote \\pard\\plain \\s246 \\fs20 \{\\up6\\chftn \}See Sahlins, Bateson, and Geertz for a complete bibliography.\}\par
It was her work in America during the Second World War, however, that forms the basis for this paper. As others have noted, \\chftn\par
\pard \s3 \{\\footnote \\pard\\plain \\s246 \\fs20 \{\\up6\\chftn\}\par
\pard \s3 A complete bibliography will be found at the end of this chapter.\} this period was a turning point for Margaret Mead. \par
\pard \s3 \\par\par
\pard\plain \f20\fs20 \par
\pard Mead's landmark study has been amply annotated.{\up6 1} It was her work in America during the Second World War. however. that forms the basis for this paper. As others have noted{\up6 2} this period was a turning point for Margaret Mead.\par
\pard \par
\pard {\up6 1}See Sahlins, Bateson, and Geertz for a complete bibliography.\par
{\up6 2}A complete bibliography will be found at the end of this chapter.\par
\pard \par
A Footnotes\par
\par
\pard See "Section Formatting Properties," "Document Formatting Properties," and "Special Characters" later in this document for other control words relating to footnotes.\par
\pard \par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Footnotes are ignored
by the XcRichText widget.
\par}
\pard\plain \s255\sb240 \b\i\f21 Annotations{\plain \b\f21 \par
}\pard\plain \f20\fs20 {\i \par
}\pard The group containing annotation text begins with the control word {\f22 \\*\\annotation}{\b . }
Annotations are anchored to the character that immediately precedes the annotation group. The group must be preceded by an annotation reference character, identified by the control word {\f22 \\chatn}, which
itself must be preceded by a group that begins with the control word {\f22 \\*\\atnid}, and contains the identification text for the author of the annotation.\par
\pard \par
An example of annotation text follows\:\par
\par
\pard\plain \s3 \f22\fs20 ...\par
\par
\pard \s3 An example of a paradigm might be Newtonian physics or Darwinian biology.\{\\v\\fs16\{\\atnid bz\}\\chatn\{\\annotation \par
\\pard\\plain \\s224 \\fs20 \{\\field\{\\fldinst page \\\\#"'Page\: '#'\\line"'\}\{\\fldrslt\}\}\{\\fs16 \\chatn \} \par
How about some examples that deal with social science? That's what this paper is about.\}\}\par
\pard \s3 ...\par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Annotations are ignored
by the XcRichText widget.
\par}
\pard\plain \f20\fs20 {\i \page \par
}\pard\plain \s255\sb240 \b\i\f21 Headers and Footers{\plain \b\f21 \par
}\pard\plain \f20\fs20 {\i \par
}\pard Headers and footers are treated as separate groups in RTF. These groups must precede the first plain text character in the given document section. The control words {\f22 \\header} and {\f22 \\footer} begin these groups.\par
\pard \par
\pard Headers and footers can be defined for each section. If none is defined for a given section, the headers and footers from the previous section (if any) are used.\par
\pard \par
The control words {\f22 \\header} and {\f22 \\footer} can be replaced by the following control words, as appropriate\:\par
\par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2160\clbrdrb\brdrs \cellx6480\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx2160\clbrdrt\brdrs \cellx6480\pard \intbl {
\f22 \\headerl\cell }\pard \intbl Header on left pages only\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2160\cellx6480\pard \intbl {\f22 \\headerr\cell }\pard \intbl Header on right pages only\cell \pard \intbl \row \pard \intbl {\f22 \\
headerf\cell }\pard \intbl Header on first page only\cell \pard \intbl \row \pard \intbl {\f22 \\footerl\cell }\pard \intbl Footer on left pages only\cell \pard \intbl \row \pard \intbl {\f22 \\footerr\cell }\pard \intbl Footer on right pages only\cell
\pard \intbl \row \pard \intbl {\f22 \\footerf\cell }\pard \intbl Footer on first page only\cell \pard \intbl \row \pard \par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Headers and footers are ignored
by the XcRichText widget.
\par}
\pard\plain \s255\sb240 \b\i\f21 Information\par
\pard\plain \f20\fs20 \par
\pard
The RTF file can also contain an information group, which is translated but not displayed with the text. This information can include the title, author, key words, comments, and other information specific to the file. This information can be used when a do
cument management utility is available.\par
\pard \par
\pard This group begins with the control word {\f22 \\info}{\b . }
Some applications, such as Word, ask a user to type this docurnent information when saving the document in native format. When the document is then saved or translated into RTF, the RTF writer specifies this information using the following control words. T
hese control words are destinations, and should be enclosed in braces (\{\}).\par
\pard \par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2160\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx2160\clbrdrt\brdrs \cellx8640\pard \intbl {
\f22 \\title\cell }\pard \intbl Title of document\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2160\cellx8640\pard \intbl {\f22 \\subject\cell }\pard \intbl Subject of document\cell \pard \intbl \row \pard \intbl {\f22 \\author\cell }\pard
\intbl Author of document\cell \pard \intbl \row \pard \intbl {\f22 \\operator\cell }\pard \intbl Person who last made changes to document\cell \pard \intbl \row \pard \intbl {\f22 \\keywords\cell }\pard \intbl Selected key words for document\cell \pard
\intbl \row \pard \intbl {\f22 \\comment\cell }\pard \intbl Comments; text is ignored\cell \pard \intbl \row \pard \intbl {\f22 \\version\cell }\pard \intbl Version number of document\cell \pard \intbl \row \pard \intbl {\f22 \\doccomm\cell }\pard \intbl
Comments displayed in Edit Summary Info dialog box\cell \pard \intbl \row \pard \page \par
\pard The RTF writer may automatically enter other control words, as shown in the following list\:\par
\par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2160\clbrdrb\brdrs \cellx6480\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx2160\clbrdrt\brdrs \cellx6480\pard \intbl {
\f22 \\vern}{\i\f22 n}{\f22 \cell }\pard \intbl Internal version number\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2160\cellx6480\pard \intbl {\f22 \\creatim\cell }\pard \intbl Creation time\cell \pard \intbl \row \pard \intbl {\f22 \\revtim
\cell }\pard \intbl Revision time\cell \pard \intbl \row \pard \intbl {\f22 \\printim\cell }\pard \intbl Last print time\cell \pard \intbl \row \pard \intbl {\f22 \\buptim\cell }\pard \intbl Backup time\cell \pard \intbl \row \pard \intbl {\f22 \\edmins}{
\i\f22 n}{\f22 \cell }\pard \intbl Total editing time (in minutes)\cell \pard \intbl \row \pard \intbl {\f22 \\yr}{\i\f22 n}{\f22 \cell }\pard \intbl Year\cell \pard \intbl \row \pard \intbl {\f22 \\mo}{\i\f22 n}{\f22 \cell }\pard \intbl Month\cell \pard
\intbl \row \pard \intbl {\f22 \\dy}{\i\f22 n}{\f22 \cell }\pard \intbl Day\cell \pard \intbl \row \pard \intbl {\f22 \\hr}{\i\f22 n}{\f22 \cell }\pard \intbl Hour\cell \pard \intbl \row \pard \intbl {\f22 \\min}{\i\f22 n}{\f22 \cell }\pard \intbl Minute
\cell \pard \intbl \row \pard \intbl {\f22 \\nofpages}{\i\f22 n}{\f22 \cell }\pard \intbl Number of pages\cell \pard \intbl \row \pard \intbl {\f22 \\nofwords}{\i\f22 n}{\f22 \cell }\pard \intbl Number of words\cell \pard \intbl \row \pard \intbl {\f22 \\
nofchars}{\i\f22 n}{\f22 \cell }\pard \intbl Number of characters\cell \pard \intbl \row \pard \intbl {\f22 \\id}{\i\f22 n}{\f22 \cell }\pard \intbl Internal ID number\cell \pard \intbl \row \pard \par
\pard Entries without the n parameter have the {\f22 \\yr \\mo \\dy \\hr \\min}{\b }format. An example of an information group follows.\par
\pard \par
\pard\plain \s3 \f22\fs20 \{\\info\{\\title The Panda's Thumb\}\{\\author Stephen J. Gould\}\{\\keywords science natural history \}\}\par
\pard\plain \f20\fs20 \par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }The information group is
ignored by the XcRichText widget.
\par}
\pard\plain \s255\sb240 \b\i\f21 Fields{\plain \b\f21 \par
}\pard\plain \f20\fs20 {\i \par
}The field group contains the text of Word fields. The field group begins with the control word {\f22 \\field}.\par
\par
The following control words can follow the {\f22 \\field} control word\:\par
\par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2160\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx2160\clbrdrt\brdrs \cellx8640\pard \intbl {
\f22 \\flddirty\cell }\pard \intbl Change has been made to the field result since the field was last updated\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2160\cellx8640\pard \intbl {\f22 \\fldedit\cell }\pard \intbl
Text has been added to, or removed from, the field result since the field was last updated\cell \pard \intbl \row \pard \intbl {\f22 \\fldlock\cell }\pard \intbl Field is locked and cannot be updated\cell \pard \intbl \row \pard \intbl {\f22 \\fldpriv
\cell }\pard \intbl Result is not in a form suitable for display (for example, binary data used by fields whose result is a picture)\cell \pard \intbl \row \pard \page \par
\pard \par
\pard Two subgroups are available within the {\f22 \\field} group. They must be enclosed in braces (\{\}) and begin with the following control words\:\par
\pard \par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2160\clbrdrb\brdrs \cellx6480\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2160\cellx6480\pard \intbl {\f22 \\*\\fldinst\cell }\pard
\intbl Field instructions\cell \pard \intbl \row \pard \intbl {\f22 \\fldrslt\cell }\pard \intbl Most recently calculated result of the field\cell \pard \intbl \row \pard \par
\pard The {\f22 \\fldrslt} control word should be included even if no result has been calculated. This simplifies the RTF reader's task, because even readers that do not recognize fields can generally include the value of the {\f22 \\fldrslt}
group in the document.\par
\pard \par
An example of some field text follows\:\par
\par
\pard \ri5184\tx1440\tx2880 IA\tab |C\tab IC\par
\par
\pard 1 I\par
\par
\pard\plain \s3 \f22\fs20 \{\\field\\fldedit\{\\fldinst author\}\{\\fldrslt Joe Smith\}\}\\par\\pard \{\\field\{\\fldinst time\\\\@"h\:mm AM/PM"\}\{\\fldrslt 8\:12 AM\}\}\par
\pard\plain \f20\fs20 \par
{\i A Begins fieId group }\par
{\i B Field instructions\par
C Field result\par
\par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Field instructuions are ignored
by the XcRichText widget. The {\f22 \\fldrslt} group is displayed.
\par}
}\pard\plain \s255\sb240 \b\i\f21 Index Entries{\plain \b\f21 \par
}\pard\plain \f20\fs20 {\i \par
}\pard The index entry group begins with the control word {\f22 \\xe}. Following this control word is the text of the index entry and other, optional control words that further define the index entry.\par
\pard \par
\pard If the text of the index entry is not formatted as hidden text with the {\f22 \\v} control word (see "Character Formatting Properties," later in this document), the text is put into the document as well as into the index. Similarly, the text of the
{\f22 \\txe} subgroup, described later, becomes part of the document if it is not formatted as hidden text.\par
\pard \par
The following control words may also be used\:\par
\par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2160\clbrdrb\brdrs \cellx6480\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx2160\clbrdrt\brdrs \cellx6480\pard \intbl {
\f22 \\bxe\cell }\pard \intbl Formats the page number or cross-reference bold\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2160\cellx6480\pard \intbl {\f22 \\ixe\cell }\pard \intbl Formats the page number or cross-reference italic\cell \pard
\intbl \row \pard \par
\pard The following control words are destinations within the {\f22 \\xe} group and are followed by text arguments. These control words and their arguments must be enclosed in braces (\{\})\:\par
\pard \par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2520\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx2520\clbrdrt\brdrs \cellx8640\pard \intbl {
\f22 \\txe }{\i\f22 text}{\f22 \cell }\pard \intbl Uses text instead of a page number\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2520\cellx8640\pard \intbl {\f22 \\rxe }{\i\f22 bookmark-name}{\f22 \cell }\pard \intbl
Generates page numbers for the range of text specified by bookmark-name\cell \pard \intbl \row\par
{\pard\plain\pard\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Index entries are treated
as normal text by the XcRichText widget. That is, unless they are formatted
as invisible text, they will be displayed.
\par}
\pard \page \par
\pard \tqc\tx720\tqc\tx1440\tqc\tx2160\tqc\tx2880\tqc\tx0 \par
\pard\plain \s255\sb240 \b\i\f21 Table of Contents Entries{\plain \b\f21 \par
}\pard\plain \f20\fs20 {\i \par
}\pard The table of contents entry group begins with the control word {\f22 \\tc}. It is followed by the text of the table of contents entry and optional switches.\par
\pard \par
\pard As with index entries, text that is not formatted as hidden with the {\f22 \\v} character formatting control word should be put into the document.\par
\pard \par
The following control words can also be used in this group\:\par
\par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx1800\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx1800\clbrdrt\brdrs \cellx8640\pard \intbl {
\f22 \\tcf}{\i\f22 n}{\f22 \cell }\pard \intbl Type of table being compiled; n is mapped by existing Microsoft software to a Ietter between A and Z; default is 67, which maps to C, used for tables of contents\cell \pard \intbl \row \trowd
\trgaph80\trleft-80 \cellx1800\cellx8640\pard \intbl {\f22 \\tcl}{\i\f22 n}{\f22 \cell }\pard \intbl Level number (default is l)\cell \pard \intbl \row \pard \par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Table of contents entries are treated
as normal text by the XcRichText widget. That is, unless they are formatted
as invisible text, they will be displayed.
\par}
\pard\plain \s255\sb240 \b\i\f21 Bookmarks\par
\pard\plain \f20\fs20 \par
\pard This group contains two control words\: {\f22 \\*\\bkmkstart},{\b }to indicate the start of the specified bookmark, and {\f22 \\*\\bkmkend},{\b }to indicate the end of the specified bookmark. A bookmark is shown in the following example\:\par
\pard \par
\pard\plain \s3 \f22\fs20 ...\par
\par
\pard \s3 \\pard\\plain \\fs20 Kuhn believes that science, rather than discovering in experience certain structured relationships, actually creates (or already participates in) a presupposed structure to which it fits the data. \{\\bkmkstart paradigm\}
Kuhn calls such a presupposed{\b }structure a paradigm.\{\\bkmkend paradigm\}\par
\pard \s3 \par
...\par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Bookmark groups
are ignored.
\par}
\pard\plain \s255\sb240 \b\i\f21 Document Formatting Properties{\plain \b\f21 \par
}\pard\plain \f20\fs20 \par
\pard This section lists the control words that act on the attributes of a document, such as margins and footnote placement. These attributes must precede the first plain text character in the document.\par
\pard \par
\pard The following control words specify document formatting. If you omit a control word, RTF uses the default value shown in parentheses. Measurements are in twips.\par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Most document formatting
properties don't apply to text displayed in an X window. These control
words are not supported, except {\f22 \\deftab}.
\par}
\pard \par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2160\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl {\b \row }\trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx2160\clbrdrt\brdrs \cellx8640\pard
\intbl {\f22 \\paperw}{\i\f22 n}{\f22 \cell }\pard \intbl Paper width (12,240)\cell {\f20 overridden by window width}\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2160\cellx8640\pard \intbl {\f22 \\paperh}{\i\f22 n}{\f22 \cell }\pard \intbl Paper height (15,840)\cell \pard \intbl
\row \pard \intbl {\f22 \\margl}{\i\f22 n}{\f22 \cell }\pard \intbl Left margin (1,800)\cell \pard \intbl \row \pard \intbl {\f22 \\margr}{\i\f22 n}{\f22 \cell }\pard \intbl Right margin (1,800)\cell \pard \intbl \row \pard \intbl {\f22 \\margt}{\i\f22 n}
{\f22 \cell }\pard \intbl Top margin (1,440)\cell \pard \intbl \row \pard \intbl {\f22 \\margb}{\i\f22 n}{\f22 \cell }\pard \intbl Bottom margin (1,440)\cell \pard \intbl \row \pard \intbl {\f22 \\facingp\cell }\pard \intbl
Facing pages (activates odd/even headers and gutters)\cell \pard \intbl \row \pard \intbl {\f22 \\gutter}{\i\f22 n}{\f22 \cell }\pard \intbl Gutter width (0)\cell \pard \intbl \row \pard \page \par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2160\clbrdrb\brdrs \cellx8640\pard \intbl {\b\f22 Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx2160\clbrdrt\brdrs \cellx8640\pard
\intbl {\f22 \\deftab}{\i\f22 n}{\f22 \cell }\pard \intbl Default tab width (720)\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2160\cellx8640\pard \intbl {\f22 \\widowctrl\cell }\pard \intbl Widow control\cell \pard \intbl \row \pard \intbl {
\f22 \\hyphhotz\cell }\pard \intbl Hyphenation hot zone ( amount of space at right margin in which words are hyphenated)\cell \pard \intbl \row \pard \intbl {\f22 \\ftnsep\cell }\pard \intbl Text argument separates footnotes from document\cell \pard
\intbl \row \pard \intbl {\f22 \\ftnsepc\cell }\pard \intbl Text argument separates continued footnotes from document\cell \pard \intbl \row \pard \intbl {\f22 \\ftncn\cell }\pard \intbl Text argument is a notice for continued footnotes\cell \pard \intbl
\row \pard \intbl {\f22 \\endnotes\cell }\pard \intbl Footnotes at end of section (default)\cell \pard \intbl \row \pard \intbl {\f22 \\enddoc\cell }\pard \intbl Footnotes at end of document\cell \pard \intbl \row \pard \intbl {\f22 \\ftntj\cell }\pard
\intbl Footnotes beneath text\cell \pard \intbl \row \pard \intbl {\f22 \\ftnbj\cell }\pard \intbl Footnotes at bottom of page\cell \pard \intbl \row \pard \intbl {\f22 \\ftnstart}{\i\f22 n}{\f22 \cell }\pard \intbl Beginning footnote number ( 1 )\cell
\pard \intbl \row \pard \intbl {\f22 \\ftnrestart\cell }\pard \intbl Footnote numbers restart on each page\cell \pard \intbl \row \pard \intbl {\f22 \\pgnstart}{\i\f22 n}{\f22 \cell }\pard \intbl Beginning page number ( 1 )\cell \pard \intbl \row \pard
\intbl {\f22 \\linestart}{\i\f22 n}{\f22 \cell }\pard \intbl Beginning line number ( 1 )\cell \pard \intbl \row \pard \intbl {\f22 \\landscape\cell }\pard \intbl Landscape format\cell \pard \intbl \row \pard \intbl {\f22 \\fracwidth\cell }\pard \intbl
Uses fractional character widths when printing (Macintosh (tm)\cell \pard \intbl \row \pard \intbl {\f22 \\*\\nextfile\cell }\pard \intbl Destination; argument is file name of file to print or index next; must be enclosed in braces ( \{\} )\cell \pard
\intbl \row \pard \intbl {\f22 \\*\\template\cell }\pard \intbl Destination; argument is file name of related template file; must be enclosed in braces ( \{\} )\cell \pard \intbl \row \pard \intbl {\f22 \\makeback\cell }\pard \intbl
Backup copy is made automatically when document is saved\cell \pard \intbl \row \pard \intbl {\f22 \\defformat\cell }\pard \intbl Tells RTF reader that document should be saved in RTF format\cell \pard \intbl \row \pard \intbl {\f22 \\revisions\cell
}\pard \intbl Turns on revision marking\cell \pard \intbl \row \pard \intbl {\f22 \\margmirror\cell }\pard \intbl Switches margin definitions on left and right pages\cell \pard \intbl \row \pard \intbl {\f22 \\revprop}{\i\f22 n}{\f22 \cell }\pard \intbl
Argument indicates how revised text will be displayed; 0, no properties shown; 1, bold; 2, italic; 3, underline (default); 4, double underline\cell \pard \intbl \row \pard \intbl {\f22 \\revbar}{\i\f22 n}{\f22 \cell }\pard \intbl
Vertical lines mark altered text, based on the argument 0, no marking; 1, Ieft margin; 2 right mugin; 3, outside (Ieft on Ieft pages, right on right pages; default)\cell \pard \intbl \row \pard \par
\pard\plain \s255\sb240 \b\i\f21 Section Formatting Properties{\plain \b\f21 \par
}\pard\plain \f20\fs20 \par
\pard The following control words are used to specify section formatting properties. Default values are shown in parentheses.\par
\pard \par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Most section formatting
properties are beyond the scope of the XcRichText widget. These control
words are not supported.
\par}
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2160\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2160\cellx8640\pard \intbl {\f22 \\sectd\cell }\pard \intbl
Reset to default section properties\cell \pard \intbl \row \pard \intbl {\f22 \\sbknone\cell }\pard \intbl No section break\cell \pard \intbl \row \pard \intbl {\f22 \\sbkcol\cell }\pard \intbl Section break starts new column\cell \pard \intbl \row \pard
\intbl {\f22 \\sbkpage\cell }\pard \intbl Section break starts new page (default)\cell \pard \intbl \row \pard \page \par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx2160\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \cellx2160\cellx8640\pard \intbl {\f22 \\sbkeven\cell }\pard
\intbl Section break starts at even page\cell \pard \intbl \row \pard \intbl {\f22 \\sbkodd\cell }\pard \intbl Section break starts at odd page\cell \pard \intbl \row \pard \intbl {\f22 \\pgnstarts}{\i\f22 n}{\f22 \cell }\pard \intbl
Beginning page number (1)\cell \pard \intbl \row \pard \intbl {\f22 \\pgncont\cell }\pard \intbl Continuous page numbering (default)\cell \pard \intbl \row \pard \intbl {\f22 \\pgnrestart\cell }\pard \intbl Page numbers restart at {\f22 \\pgnstarts} value
\cell \pard \intbl \row \pard \intbl {\f22 \\pgndec\cell }\pard \intbl Page number format is decimal\cell \pard \intbl \row \pard \intbl {\f22 \\pgnucrm\cell }\pard \intbl Page number format is uppercase roman numeral\cell \pard \intbl \row \pard \intbl {
\f22 \\pgnlcrm\cell }\pard \intbl Page number format is lowercase roman numeral\cell \pard \intbl \row \pard \intbl {\f22 \\pgnucltr\cell }\pard \intbl Page number format is upper case Ietter\cell \pard \intbl \row \pard \intbl {\f22 \\pgnlcltr\cell
}\pard \intbl Page number format is lower case letter\cell \pard \intbl \row \pard \intbl {\f22 \\pgnx}{\i\f22 n}{\f22 \cell }\pard \intbl Page number is n twips from Ieft margin (720)\cell \pard \intbl \row \pard \intbl {\f22 \\pgny}{\i\f22 n}{\f22
\cell }\pard \intbl Page number is n twips from bottom margin ( 720)\cell \pard \intbl \row \pard \intbl {\f22 \\headery}{\i\f22 n}{\f22 \cell }\pard \intbl Header is n twips from top of page (1080)\cell \pard \intbl \row \pard \intbl {\f22 \\footery}{
\i\f22 n}{\f22 \cell }\pard \intbl Footer is n twips from bottom of page (1080)\cell \pard \intbl \row \pard \intbl {\f22 \\linemod}{\i\f22 n}{\f22 \cell }\pard \intbl Line number modulus (amount to increase each line number) (1)\cell \pard \intbl \row
\pard \intbl {\f22 \\linex}{\i\f22 n}{\f22 \cell }\pard \intbl Distance from line number to left text margin in twips (360)\cell \pard \intbl \row \pard \intbl {\f22 \\linestarts}{\i\f22 n}{\f22 \cell }\pard \intbl Beginning line number (1)\cell \pard
\intbl \row \pard \intbl {\f22 \\linerestart\cell }\pard \intbl Line numbers restart at {\f22 \\linestarts}{\b }value\cell \pard \intbl \row \pard \intbl {\f22 \\lineppage\cell }\pard \intbl Line numbers restart each page\cell \pard \intbl \row \pard
\intbl {\f22 \\linecont\cell }\pard \intbl Line numbers continued from preceding section\cell \pard \intbl \row \pard \intbl {\f22 \\vertalt\cell }\pard \intbl Text is top aligned (default)\cell \pard \intbl \row \pard \intbl {\f22 \\vertal\cell }\pard
\intbl Text is bottom aligned\cell \pard \intbl \row \pard \intbl {\f22 \\vertalc\cell }\pard \intbl Text is centered vertically\cell \pard \intbl \row \pard \intbl {\f22 \\vertalj\cell }\pard \intbl Text is justified vertically\cell \pard \intbl \row
\pard \intbl {\f22 \\cols}{\i\f22 n}{\f22 \cell }\pard \intbl Number of columns (snaking) (1)\cell \pard \intbl \row \pard \intbl {\f22 \\colsx}{\i\f22 n}{\f22 \cell }\pard \intbl Space between columns in twips (720)\cell \pard \intbl \row \pard \intbl {
\f22 \\linebetcol\cell }\pard \intbl Line between columns\cell \pard \intbl \row \pard \intbl {\f22 \\endnhere\cell }\pard \intbl Endnotes included in section\cell \pard \intbl \row \pard \intbl {\f22 \\titlepg\cell }\pard \intbl
Title page has special format\cell \pard \intbl \row \pard \par
\pard\plain \s255\sb240 \b\i\f21 Paragraph Formatting Properties\par
\pard\plain \f20\fs20 {\i \par
}\pard The following control words are used to specify paragraph formatting properties. Default values are shown in parentheses. When specifying border properties, the border segment control word ({\f22 \\brdrt}, {\f22 \\brdrb}, {\f22 \\brdrl}, {\f22 \\
brdrr}, or {\f22 \\box}) must precede the control word(s) specifymg the pattern for the border, to ensure compatibility with previous versions of RTF.\par
\pard \par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Basic paragraph formatting
is supported by the XcRichText widget. Borders are not supported.
Tables are supported to a limited extent.
\par}
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx1800\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl {\b \row }\trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx1800\clbrdrt\brdrs \cellx8640\pard
\intbl {\f22 \\pard\cell }\pard \intbl Resets to default paragraph properties\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx1800\cellx8640\pard \intbl {\f22 \\s}{\i\f22 n}{\f22 \cell }\pard \intbl
Designates style; if a style is specified style properties must be specified with the paragraph\cell \pard \intbl \row \pard \intbl {\f22 \\ql\cell }\pard \intbl Left aligned (default)\cell \pard \intbl \row \pard \page \par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx1800\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx1800\clbrdrt\brdrs \cellx8640\pard \intbl {
\f22 \\qr\cell }\pard \intbl Right aligned\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx1800\cellx8640\pard \intbl {\f22 \\qj\cell }\pard \intbl Justified\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\qc\cell }\pard \intbl Centered\cell \pard
\intbl \row \pard \intbl {\f22 \\fi}{\i\f22 n}{\f22 \cell }\pard \intbl First-line indent (0)\cell \pard \intbl \row \pard \intbl {\f22 \\li}{\i\f22 n}{\f22 \cell }\pard \intbl Left indent (0)\cell \pard \intbl \row \pard \intbl {\f22 \\ri}{\i\f22 n}{
\f22 \cell }\pard \intbl Right indent (0)\cell \pard \intbl \row \pard \intbl {\f22 \\sb}{\i\f22 n}{\f22 \cell }\pard \intbl Space before (0){\i \cell }\pard \intbl {\i \row }\pard \intbl {\f22 \\sa}{\i\f22 n}{\f22 \cell }\pard \intbl Space after (0)
\cell \pard \intbl \row \pard \intbl {\f22 \\sl}{\i\f22 n}{\f22 \cell }\pard \intbl Space between lines (if this control word is missing or if {\f22 \\sl000}
is used, line spacing is automatically determined by tallest character in line); if positive value, use this size if it is greater than the tallest character, otherwise use tallest character; if negative value, use the absolute value of number, even if ta
llest character is taller\cell {\f21\i Only positive values supported.}
\pard \intbl \row \pard \intbl {\f22 \\intbl\cell }\pard \intbl Paragraph is part of a table\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\keep\cell }\pard \intbl Keep paragraph intact\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {
\f22 \\keepn\cell }\pard \intbl Keep paragraph with next\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\sbys\cell }\pard \intbl Side-by-side paragraphs\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\pagebb\cell }\pard \intbl Break page before the paragraph
\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\noline\cell }\pard \intbl No line numbering\cell \pard \intbl \row \pard \intbl {\f22 \\tx}{\i\f22 n}{\f22 \cell }\pard \intbl Tab position in twips from left margin\cell \pard \intbl \row \pard \intbl {\f22 \\
tqr\cell }\pard \intbl Flush-right tab\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\tqc\cell }\pard \intbl Centered tab\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\tqdec\cell }\pard \intbl Decimal tab\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\tb\cell
}\pard \intbl Bar tab\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\brdrt\cell }\pard \intbl Border top\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\brdrb\cell }\pard \intbl Border bottom\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\brdrl\cell }\pard \intbl
Border left\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\brdrr\cell }\pard \intbl Border right\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\box\cell }\pard \intbl Border around paragraph (box paragraph)\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\brdrs
\cell }\pard \intbl Single-thickness border\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\brdrth\cell }\pard \intbl Thick border\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\brdrsh\cell }\pard \intbl Shadowed border\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22
\\brdrdb\cell }\pard \intbl Double border\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\brdrdot\cell }\pard \intbl Dotted border\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\brdrhair\cell }\pard \intbl Hairline border\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {
\f22 \\brsp}{\i\f22 n}{\f22 \cell }\pard \intbl Space in twips between borders and object\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\tldot\cell }\pard \intbl Leader dots\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\tlhyph\cell }\pard \intbl Leader hyphens
\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\tlul\cell }\pard \intbl leader underline\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\tlth\cell }\pard \intbl leader thick line\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard {\i \page \par
}\pard\plain \s255\sb240 \b\i\f21 Absolute-Positioned Objects\par
\pard\plain \f20\fs20 {\i \par
}These paragraph formatting control words specify the location of the paragraph on the\par
page.\par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Absolute positioned
objects are note supported by the XcRichText widget.
\par}
\par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx1800\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx1800\clbrdrt\brdrs \cellx8640\pard \intbl {
\f22 \\posx}{\i\f22 n}{\f22 \cell }\pard \intbl Positions paragraph n twips from left edge of reference frame\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx1800\cellx8640\pard \intbl {\f22 \\posxc\cell }\pard \intbl
Centers paragraph horizontally within reference frame\cell \pard \intbl \row \pard \intbl {\f22 \\posxi\cell }\pard \intbl Positions paragraph horizontally inside reference frame\cell \pard \intbl \row \pard \intbl {\f22 \\posxl\cell }\pard \intbl
Positions paragraph to left within reference frame\cell \pard \intbl \row \pard \intbl {\f22 \\posxo\cell }\pard \intbl Positions paragraph horizontally outside reference frame\cell \pard \intbl \row \pard \intbl {\f22 \\posxr\cell }\pard \intbl Positions
paragraph to right within reference frame\cell \pard \intbl \row \pard \intbl {\f22 \\posy}{\i\f22 n}{\f22 \cell }\pard \intbl Positions paragraph n twips from top edge of reference frame\cell \pard \intbl \row \pard \intbl {\f22 \\posyil\cell }\pard
\intbl Positions paragraph vertically to be in-line\cell \pard \intbl \row \pard \intbl {\f22 \\posyt\cell }\pard \intbl Positions paragraph at top of reference frame\cell \pard \intbl \row \pard \intbl {\f22 \\posyc\cell }\pard \intbl
Centers paragraph vertically within reference frame\cell \pard \intbl \row \pard \intbl {\f22 \\posyb\cell }\pard \intbl Positions paragraph at bottom of reference frame\cell \pard \intbl \row \pard \intbl {\f22 \\absw}{\i\f22 n}{\f22 \cell }\pard \intbl
Absolute width of paragraph text in twips\cell \pard \intbl \row \pard \intbl {\f22 \\dxfrtext}{\i\f22 n}{\f22 \cell }\pard \intbl Horizontal distance in twips of an absolutely postioned paragraph from text in main text flow\cell \pard \intbl \row \pard
\intbl {\f22 \\pvmrg\cell }\pard \intbl Position vertically relative to margin\cell \pard \intbl \row \pard \intbl {\f22 \\pvpg\cell }\pard \intbl Position vertically relative to page\cell \pard \intbl \row \pard \intbl {\f22 \\phmrg\cell }\pard \intbl
Position horizontally relative to margin\cell \pard \intbl \row \pard \intbl {\f22 \\phpg\cell }\pard \intbl Position horizontally relative to page\cell \pard \intbl \row \pard \intbl {\f22 \\phcol\cell }\pard \intbl
Position horizontally relative to column\cell \pard \intbl \row \pard \ri4896\tx2448 \par
\pard The following is an example of absolute-positioned text in a document\par
\par
\pard\plain \s3 \f22\fs20 ...\par
\pard \s3 \\par \\pard \\pvpg\\phpg\\posxc\\posyt\\absw5040\\dxfrtextl73 {\ul abs} {\ul pos} {\ul paral}\par
\\par \\pard \\phmrg\\posxo\\posyc \\dxfrtext1 152 {\ul abs} {\ul pos} {\ul para2}\par
\pard \s3 \par
...\par
\pard\plain \f20\fs20 \par
{\i A Text to be positioned\par
\par
}\pard\plain \s255\sb240 \b\i\f21 Tables{\plain \b\f21 \par
}\pard\plain \f20\fs20 {\i \par
}\pard A table is a collection of paragraphs. A table row is a continuous sequence of paragraphs partitioned into cells. The last paragraph of a cell is terminated by a cell mark (the {\f22 \\cell}
control word), and the row is terminated by a row mark (the {\f22 \\row} control word) There is no RTF table group; the {\f22 \\intbl} paragraph formatting control word identifies the paragraph as part of a table.\par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }Tables are not
really supported by the XcRichText widget. {\f22 \\cell} is treated
like {\f22 \\tab}, and {\f22 \\row} is treated like {\f22 \\par}.
\par}
\pard \tqc\tx720\tqc\tx1440\tqc\tx2160\tqc\tx2880\tqc\tx0 \page \par
\pard {\i \par
}\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx1800\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx1800\clbrdrt\brdrs \cellx8640\pard \intbl {
\f22 \\clbrdrb\cell }\pard \intbl Bottom table cell border\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx1800\cellx8640\pard \intbl {\f22 \\clbrdrt\cell }\pard \intbl Top table cell border\cell \pard \intbl \row \pard \intbl {\f22 \\clbrdrl
\cell }\pard \intbl Left table cell border\cell \pard \intbl \row \pard \intbl {\f22 \\clbrdrr\cell }\pard \intbl Right table cell border\cell \pard \intbl \row \pard \intbl {\f22 \\trowd\cell }\pard \intbl Sets table row defaults\cell \pard \intbl \row
\pard \intbl {\f22 \\trql\cell }\pard \intbl Left justifies table row with respect to its table column\cell \pard \intbl \row \pard \intbl {\f22 \\trqr\cell }\pard \intbl Right justifies table row with respect to its containing column\cell \pard \intbl
\row \pard \intbl {\f22 \\trqc\cell }\pard \intbl Centers table row with respect to its containing column\cell \pard \intbl \row \pard \intbl {\f22 \\trgaph}{\i\f22 n}{\f22 \cell }\pard \intbl Half the space between cells of a table row in twips\cell
\pard \intbl \row \pard \intbl {\f22 \\trrh}{\i\f22 n}{\f22 \cell }\pard \intbl
Height of a table row in twips; when 0, height is sufficient for all text in line; when positive, height is guaranteed to be at least the specified height; when negative, the absolute value of the height is used, regardless of the height o
f the text in the line\cell \pard \intbl \row \pard \intbl {\f22 \\trleft}{\i\f22 n}{\f22 \cell }\pard \intbl Position of Ieftmost edge of table with respect to the left edge of its column\cell \pard \intbl \row \pard \intbl {\f22 \\cellx}{\i\f22 n}{\f22
\cell }\pard \intbl Moves the right boundary of a table cell, including its half of the space between cells\cell \pard \intbl \row \pard \intbl {\f22 \\clmgf\cell }\pard \intbl The first cell in a range of table cells to be merged\cell \pard \intbl \row
\pard \intbl {\f22 \\clmrg\cell }\pard \intbl Contents of table cell are merged with preceding cell\cell \pard \intbl \row \pard \par
The following example shows some table text\:\par
\par
\pard\plain \s3 \f22\fs20 ...\par
\\par\\trowd\\trqc\\trgaph108\\trrh280\\trleft36\par
\\clbrdrt\\brdrth\\clbrdrn\\brdrth\\clbrdrb\\brdrdb\par
\\clbrdr\\brdrdb\\celbx3636\\clbrdrt\\brdrth\par
\\clbrdrl\\brdrdb \\clbrdrb\\brdrdb \\dbrdrr\\brdrdb\par
\\cellx7236\\clbrdrt\\brdrth\\dbrdrl\\brdrdb\par
\\clbrdrb\\brdrdb\\clbrdr\\brdrdb\\cellx10836\\pard \\intbl\par
\\cell \\pard \\intbl \\cell \\pard \\intbl \\cell \\pard \\intbl \\row\par
\\trowd \\trqc\\trgaph108\\trrh280\\trleft36 \\dbrdrt\\brdrdb\par
\\clbrdrl\\brdrth \\clbrdrb \\brdrsh\\brdrs \\dbrdrr\\brdrdb\par
\\cellx3636\\clbrdr\\brdrdb \\dbrdr\\brdrdb\par
\\clbrdrb\\brdrsh\\brdrs \\dbrdrr\\brdrdb\par
\\cellx7236\\clbrdrt \\brdrdb \\dbrdr \\brdrdb\par
\\clbrdrb\\brdrsh\\brdrs \\clbrdrr\\brdrdb \\celbx10836\\pard\par
\\intbl \\cell \\pard \\intbl \\cell \\pard \\intbl \\cell \\pard\par
\\intbl \\row \\pard\par
...\par
\pard\plain \tqc\tx720\tqc\tx1440\tqc\tx2160\tqc\tx2880\tqc\tx0 \f20\fs20 \par
\pard \tqc\tx720\tqc\tx1440\tqc\tx2160\tqc\tx2880\tqc\tx0 \page \par
\pard\plain \s255\sb240 \b\i\f21 {\plain \b\f21 Character Formatting Properties\par
}\pard\plain \f20\fs20 {\i \par
}\pard
The last group controls character formatting properties. A control word preceding plain text turns on the specified attribute. Some control words (indicated by an asterisk following the description) can be turned off by the control word followed by a zero
(0). For example, {\f22 \\b} turns bold on, while {\f22 \\b0} turns bold off.\par
\pard \par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx1800\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \cellx1800\cellx8640\pard \intbl {\f22 \\plain\cell }\pard \intbl
Resets application's default character formatting properties\cell \pard \intbl \row \pard \intbl {\f22 \\b\cell }\pard \intbl Bold*\cell \pard \intbl \row \pard \intbl {\f22 \\i\cell }\pard \intbl Italic*\cell \pard \intbl \row \pard \intbl {\f22 \\strike
\cell }\pard \intbl Strikethrough*\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\outl\cell }\pard \intbl Outline*\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\shad\cell }\pard \intbl Shadow*\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\scaps\cell }\pard
\intbl Small capitals*\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\caps\cell }\pard \intbl All capitals*\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\v\cell }\pard \intbl Hidden text*\cell \pard \intbl \row \pard \intbl {\f22 \\f}{\i\f22 n}{\f22 \cell
}\pard \intbl Font number\cell \pard \intbl \row \pard \intbl {\f22 \\fs}{\i\f22 n}{\f22 \cell }\pard \intbl Font size in half-points (default is 24)\cell \cell\pard \intbl \row \pard \intbl {\f22 \\expnd}{\i\f22 n}{\f22 \cell }\pard \intbl
Expansion or compression of leading between characters in quarter-points; a negative value compresses (0)\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\ul\cell }\pard \intbl Continuous underline*\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\ulw\cell }\pard
\intbl Word underline*\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\uld\cell }\pard \intbl Dotted underline*\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\uldb\cell }\pard \intbl Double underline*\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard \intbl {\f22 \\ulnone\cell
}\pard \intbl Stops all underlining\cell \pard \intbl \row \pard \intbl {\f22 \\up}{\i\f22 n}{\f22 \cell }\pard \intbl Superscript position in half-points (default is 6)\cell \pard \intbl \row \pard \intbl {\f22 \\dn}{\i\f22 n}{\f22 \cell }\pard \intbl
Subscript position in half-points (default is 6)\cell \pard \intbl \row \pard \intbl {\f22 \\revised\cell }\pard \intbl Text has been added since revision marking was turned on\cell {\f21\i Not supported.}\cell\pard \intbl \row \pard {\i \par
}\pard\plain \s255\sb240 \b\i\f21 Special Characters{\plain \b\f21 \par
}\pard\plain \f20\fs20 {\i \par
}\pard
Special RTF characters are listed below. If a character is not recognized by the RTF reader, it is ignored and the text following it is considered plain text. The RTF specification is flexible enough to allow new characters to be added for interchange with
other software.\par
\pard \par
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx1800\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning}{\b\i \cell }\pard \intbl {\i \row }\trowd \trgaph80\trleft-80 \clbrdrt\brdrs \cellx1800\clbrdrt\brdrs \cellx8640
\pard \intbl {\f22 \\chdate\cell }\pard \intbl Current date (as in headers)\cell \pard \intbl \row \trowd \trgaph80\trleft-80 \cellx1800\cellx8640\pard \intbl {\f22 \\chtime\cell }\pard \intbl Current time (as in headers)\cell \pard \intbl \row \pard
\intbl {\f22 \\chpgn\cell }\pard \intbl Current page number (as in headers)\cell \pard \intbl \row \pard \intbl {\f22 \\chftn\cell }\pard \intbl Automatic footnole reference (footnotes follow in a group)\cell \pard \intbl \row \pard \intbl {\f22 \\chatn
\cell }\pard \intbl Annotion reference (annotation text follows in a group)\cell \pard \intbl \row \pard \intbl {\f22 \\chftnsep\cell }\pard \intbl Anchoring character for footnote separator\cell \pard \intbl \row \pard \page \par
{\pard\plain\li960\ri960\tx0\sb240\sa240\f21\i {\b Note: }The above
special characters are not supported.
\par}
\trowd \trgaph80\trleft-80 \clbrdrb\brdrs \cellx1800\clbrdrb\brdrs \cellx8640\pard \intbl {\b Control word\cell }\pard \intbl {\b Meaning\cell }\pard \intbl \row \trowd \trgaph80\trleft-80 \cellx1800\cellx8640\pard \intbl {\f22 \\chftnsepc\cell }\pard
\intbl Anchoring character for footnote continuation\cell \pard \intbl \row \pard \intbl {\f22 \\|\cell }\pard \intbl Formula character\cell \pard \intbl \row \pard \intbl {\f22 \\~\cell }\pard \intbl Nonbreaking space\cell {\f21\i acts like a regular space.}\cell\pard \intbl \row \pard \intbl
{\f22 \\-\cell }\pard \intbl Optional hyphen\cell \pard \intbl \row \pard \intbl {\f22 \\_\cell }\pard \intbl Nonbreaking hyphen\cell {\f21\i acts like a regular hyphen.}\cell\pard \intbl \row \pard \intbl {\f22 \\'}{\i\f22 hh}{\f22 \cell }\pard \intbl
A hexadecimal value, based on the specified character set (may be used to identify 8-bit values)\cell \pard \intbl \row \pard \intbl {\f22 \\cell\cell }\pard \intbl End of table cell\cell {\f21\i Acts like \\tab.}\cell\pard \intbl \row \pard \intbl {\f22 \\row\cell }\pard \intbl End
of table row\cell {\f21\i Acts like \\line.}\cell\pard \intbl \row \pard \intbl {\f22 \\par\cell }\pard \intbl End of paragraph\cell \pard \intbl \row \pard \intbl {\f22 \\sect\cell }\pard \intbl End of section and paragraph\cell \pard \intbl \row \pard \intbl {\f22 \\page\cell
}\pard \intbl Required page break\cell \pard \intbl \row \pard \intbl {\f22 \\column\cell }\pard \intbl Required column break\cell \pard \intbl \row \pard \intbl {\f22 \\line\cell }\pard \intbl Required line break (no paragraph break)\cell \pard \intbl
\row \pard \intbl {\f22 \\tab\cell }\pard \intbl Tab character, same as ASCII 9\cell \pard \intbl \row \pard \intbl {\f22 \\\:\cell }\pard \intbl Specifies a subentry in an index entry\cell \pard \intbl \row \pard \intbl {\f22 \\*\cell }\pard \intbl
Marks a destination whose text should be ignored if not understood by the RTF reader\cell \pard \intbl \row \pard \par
\pard An ASCII 9 will be accepted as a tab character. The code {\f22 \\<ASCII10>} (line feed) or {\f22 \\<ASCIIl3>} (carriage return) is treated as the control word {\f22 \\par}. You must incl
ude the backslashes or RTF will ignore the control word. You may also want to insert a carriage-return-line-feed pair (without backslashes) at least every 255 characters for better text transmission over communication lines.\par
\pard \tqc\tx720\tqc\tx1440\tqc\tx2160\tqc\tx2880\tx0 \par
}
|