merge the formfield patch from ooo-build
[ooovba.git] / svtools / source / svrtf / rtftoken.h
blobec48c73b9ebd1f6bad92f379fd0fd69a00743450
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: rtftoken.h,v $
10 * $Revision: 1.13.134.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil -*- */
33 #ifndef _RTFTOKEN_H
34 #define _RTFTOKEN_H
36 class String;
38 // suche die TokenID zu dem Token
39 int GetRTFToken( const String& rSearch );
41 enum RTF_TOKEN_RANGES {
42 RTF_NOGROUP = 0x0100,
43 RTF_DOCFMT = 0x0200,
44 RTF_SECTFMT = 0x0300,
45 RTF_PARFMT = 0x0400,
46 RTF_TABSTOPDEF = 0x0500,
47 RTF_BRDRDEF = 0x0600,
48 RTF_CHRFMT = 0x0700,
49 RTF_SPECCHAR = 0x0800,
50 RTF_APOCTL = 0x0900,
51 RTF_SHADINGDEF = 0x0A00,
52 // free = 0x0B00,
53 RTF_DRAWOBJECTS = 0x0C00,
54 RTF_OBJECTS = 0x0D00,
55 RTF_NUMBULLETS = 0x0E00,
57 // !!! kann hinein verodert werden (Border/Background) !!!!
58 RTF_TABLEDEF = 0x1000,
60 // !!! kann hinein verodert werden (Border/Tab) !!!!
61 RTF_SWGDEFS = 0x4000
64 enum RTF_TOKEN_IDS {
66 RTF_TEXTTOKEN = RTF_NOGROUP,
67 RTF_SINGLECHAR,
68 RTF_UNKNOWNCONTROL,
69 RTF_UNKNOWNDATA,
71 RTF_RTF,
72 RTF_ANSITYPE,
73 RTF_MACTYPE,
74 RTF_PCTYPE,
75 RTF_PCATYPE,
76 RTF_NEXTTYPE,
78 RTF_STYLESHEET,
79 RTF_SBASEDON,
80 RTF_SNEXT,
81 RTF_SHIDDEN,
82 RTF_SAUTOUPD,
84 RTF_KEYCODE,
85 RTF_FNKEY,
86 RTF_ALTKEY,
87 RTF_SHIFTKEY,
88 RTF_CTRLKEY,
90 RTF_FONTTBL,
91 RTF_DEFF,
92 RTF_FNIL,
93 RTF_FROMAN,
94 RTF_FSWISS,
95 RTF_FMODERN,
96 RTF_FSCRIPT,
97 RTF_FDECOR,
98 RTF_FTECH,
100 RTF_COLORTBL,
101 RTF_RED,
102 RTF_GREEN,
103 RTF_BLUE,
105 RTF_INFO,
106 RTF_TITLE,
107 RTF_SUBJECT,
108 RTF_AUTHOR,
109 RTF_OPERATOR,
110 RTF_KEYWORDS,
111 RTF_COMMENT,
112 RTF_VERSION,
113 RTF_DOCCOMM,
114 RTF_VERN,
115 RTF_CREATIM,
116 RTF_REVTIM,
117 RTF_PRINTIM,
118 RTF_BUPTIM,
119 RTF_EDMINS,
120 RTF_NOFPAGES,
121 RTF_NOFWORDS,
122 RTF_NOFCHARS,
123 RTF_ID,
124 RTF_YR,
125 RTF_MO,
126 RTF_DY,
127 RTF_HR,
128 RTF_MIN,
129 RTF_USERPROPS,
130 RTF_CATEGORY,
131 RTF_COMPANY,
132 RTF_MANAGER,
133 RTF_PROPNAME,
134 RTF_LINKVAL,
135 RTF_NOFCHARSWS,
136 RTF_HLINKBASE,
137 RTF_STATICVAL,
138 RTF_PROPTYPE,
140 RTF_ANNOTATION,
141 RTF_ATNID,
143 RTF_FOOTNOTE,
145 RTF_XE,
146 RTF_BXE,
147 RTF_IXE,
148 RTF_RXE,
149 RTF_TXE,
150 RTF_YXE,
152 RTF_TC,
153 RTF_TCF,
154 RTF_TCL,
156 RTF_BKMKSTART,
157 RTF_BKMKEND,
159 RTF_PICT, // Bitmaps
160 RTF_PICW,
161 RTF_PICH,
162 RTF_WBMBITSPIXEL,
163 RTF_WBMPLANES,
164 RTF_WBMWIDTHBYTES,
165 RTF_PICWGOAL,
166 RTF_PICHGOAL,
167 RTF_BIN,
168 RTF_PICSCALEX,
169 RTF_PICSCALEY,
170 RTF_PICSCALED,
171 RTF_WBITMAP,
172 RTF_WMETAFILE,
173 RTF_MACPICT,
174 RTF_OSMETAFILE,
175 RTF_DIBITMAP,
176 RTF_PICCROPT,
177 RTF_PICCROPB,
178 RTF_PICCROPL,
179 RTF_PICCROPR,
180 RTF_PICDATA,
181 RTF_PICBMP,
182 RTF_PICBPP,
183 RTF_PICPROP,
184 RTF_SHPPICT,
185 RTF_EMFBLIP,
186 RTF_PNGBLIP,
187 RTF_JPEGBLIP,
188 RTF_NONSHPPICT,
189 RTF_BLIPTAG,
190 RTF_BLIPUID,
191 RTF_BLIPUPI,
193 RTF_FIELD, // Felder
194 RTF_FLDDIRTY,
195 RTF_FLDEDIT,
196 RTF_FLDLOCK,
197 RTF_FLDPRIV,
198 RTF_FLDINST,
199 RTF_FLDRSLT,
200 RTF_FLDTYPE,
201 RTF_TIME,
202 RTF_DATE,
203 RTF_WPEQN,
205 RTF_NOLINE,
206 RTF_REVISED,
208 RTF_BKMKCOLF,
209 RTF_BKMKCOLL,
210 RTF_PSOVER,
211 RTF_DOCTEMP,
212 RTF_DELETED,
214 RTF_FCHARSET,
215 RTF_FALT,
216 RTF_FPRQ,
217 RTF_PANOSE,
218 RTF_FNAME,
219 RTF_FBIAS,
221 RTF_ADDITIVE,
222 RTF_BKMKPUB,
223 RTF_CPG,
224 RTF_DATAFIELD,
226 RTF_FBIDI,
227 RTF_FID,
228 RTF_FILE,
229 RTF_FILETBL,
230 RTF_FNETWORK,
231 RTF_FONTEMB,
232 RTF_FONTFILE,
233 RTF_FOSNUM,
234 RTF_FRELATIVE,
235 RTF_FTNIL,
236 RTF_FTTRUETYPE,
237 RTF_FVALIDDOS,
238 RTF_FVALIDHPFS,
239 RTF_FVALIDMAC,
240 RTF_FVALIDNTFS,
241 RTF_LINKSELF,
242 RTF_PUBAUTO,
243 RTF_REVTBL,
244 RTF_RTLMARK,
245 RTF_SEC,
246 RTF_TCN,
247 RTF_XEF,
249 RTF_UD, // Unicode
250 RTF_UPR,
251 RTF_U,
252 RTF_UC,
253 RTF_ANSICPG,
255 RTF_FFEXITMCR, // Form Fields
256 RTF_FFENTRYMCR,
257 RTF_FFDEFTEXT,
258 RTF_FFFORMAT,
259 RTF_FFSTATTEXT,
260 RTF_FORMFIELD,
261 RTF_FFNAME,
262 RTF_FFHELPTEXT,
263 RTF_FFL,
264 RTF_FFOWNHELP,
265 RTF_FFOWNSTAT,
266 RTF_FFMAXLEN,
267 RTF_FFHASLISTBOX,
268 RTF_FFHPS,
269 RTF_FFPROT,
270 RTF_FFTYPE,
271 RTF_FFTYPETXT,
272 RTF_FFSIZE,
273 RTF_FFRECALC,
274 RTF_FFRES,
275 RTF_FFDEFRES,
277 RTF_HIGHLIGHT,
279 /* \f */
281 RTF_DEFTAB = RTF_DOCFMT,
282 RTF_HYPHHOTZ,
283 RTF_LINESTART,
284 RTF_FRACWIDTH,
285 RTF_NEXTFILE,
286 RTF_TEMPLATE,
287 RTF_MAKEBACKUP,
288 RTF_DEFFORMAT,
289 RTF_DEFLANG,
290 RTF_FTNSEP,
291 RTF_FTNSEPC,
292 RTF_FTNCN,
293 RTF_ENDNOTES,
294 RTF_ENDDOC,
295 RTF_FTNTJ,
296 RTF_FTNBJ,
297 RTF_FTNSTART,
298 RTF_FTNRESTART,
299 RTF_PAPERW,
300 RTF_PAPERH,
301 RTF_MARGL,
302 RTF_MARGR,
303 RTF_MARGT,
304 RTF_MARGB,
305 RTF_FACINGP,
306 RTF_GUTTER,
307 RTF_MARGMIRROR,
308 RTF_LANDSCAPE,
309 RTF_PGNSTART,
310 RTF_WIDOWCTRL,
311 RTF_REVISIONS,
312 RTF_REVPROP,
313 RTF_REVBAR,
315 RTF_AENDDOC,
316 RTF_AENDNOTES,
317 RTF_AFTNBJ,
318 RTF_AFTNCN,
319 RTF_AFTNNALC,
320 RTF_AFTNNAR,
321 RTF_AFTNNAUC,
322 RTF_AFTNNCHI,
323 RTF_AFTNNRLC,
324 RTF_AFTNNRUC,
325 RTF_AFTNRESTART,
326 RTF_AFTNRSTCONT,
327 RTF_AFTNSEP,
328 RTF_AFTNSEPC,
329 RTF_AFTNSTART,
330 RTF_AFTNTJ,
331 RTF_ALLPROT,
332 RTF_ANNOTPROT,
333 RTF_ATNAUTHOR,
334 RTF_ATNICN,
335 RTF_ATNREF,
336 RTF_ATNTIME,
337 RTF_ATRFEND,
338 RTF_ATRFSTART,
339 RTF_BRKFRM,
340 RTF_CVMME,
341 RTF_FET,
342 RTF_FLDALT,
343 RTF_FORMDISP,
344 RTF_FORMPROT,
345 RTF_FORMSHADE,
346 RTF_FTNALT,
347 RTF_FTNNALC,
348 RTF_FTNNAR,
349 RTF_FTNNAUC,
350 RTF_FTNNCHI,
351 RTF_FTNNRLC,
352 RTF_FTNNRUC,
353 RTF_FTNRSTCONT,
354 RTF_FTNRSTPG,
355 RTF_HYPHAUTO,
356 RTF_HYPHCAPS,
357 RTF_HYPHCONSEC,
358 RTF_LINKSTYLES,
359 RTF_LTRDOC,
360 RTF_NOCOLBAL,
361 RTF_NOEXTRASPRL,
362 RTF_NOTABIND,
363 RTF_OTBLRUL,
364 RTF_PRCOLBL,
365 RTF_PRINTDATA,
366 RTF_PSZ,
367 RTF_REVPROT,
368 RTF_RTLDOC,
369 RTF_SPRSSPBF,
370 RTF_SPRSTSP,
371 RTF_SWPBDR,
372 RTF_TRANSMF,
373 RTF_WRAPTRSP,
375 RTF_PRIVATE,
376 RTF_NOULTRLSPC,
377 RTF_MSMCAP,
378 RTF_NOLEAD,
379 RTF_NOSPACEFORUL,
380 RTF_LYTEXCTTP,
381 RTF_LYTPRTMET,
382 RTF_DNTBLNSBDB,
383 RTF_FROMTEXT,
384 RTF_EXPSHRTN,
385 RTF_PGBRDRT,
386 RTF_SPRSBSP,
387 RTF_PGBRDRR,
388 RTF_PGBRDRSNAP,
389 RTF_BDBFHDR,
390 RTF_SUBFONTBYSIZE,
391 RTF_TRUNCATEFONTHEIGHT,
392 RTF_SPRSLNSP,
393 RTF_SPRSTSM,
394 RTF_PGBRDRL,
395 RTF_WPJST,
396 RTF_PGBRDRB,
397 RTF_WPSP,
398 RTF_NOXLATTOYEN,
399 RTF_OLDLINEWRAP,
400 RTF_PGBRDRFOOT,
401 RTF_PGBRDRHEAD,
402 RTF_DEFLANGFE,
403 RTF_DOCTYPE,
404 RTF_PGBRDROPT,
405 RTF_VIEWKIND,
406 RTF_VIEWSCALE,
407 RTF_WINDOWCAPTION,
408 RTF_BRDRART,
409 RTF_VIEWZK,
410 RTF_DOCVAR,
412 RTF_DGMARGIN,
413 RTF_AFTNNCHOSUNG,
414 RTF_AFTNNCNUM,
415 RTF_AFTNNDBAR,
416 RTF_AFTNNDBNUM,
417 RTF_AFTNNDBNUMD,
418 RTF_AFTNNDBNUMK,
419 RTF_AFTNNDBNUMT,
420 RTF_AFTNNGANADA,
421 RTF_AFTNNGBNUM,
422 RTF_AFTNNGBNUMD,
423 RTF_AFTNNGBNUMK,
424 RTF_AFTNNGBNUML,
425 RTF_AFTNNZODIAC,
426 RTF_AFTNNZODIACD,
427 RTF_AFTNNZODIACL,
428 RTF_FTNNCHOSUNG,
429 RTF_FTNNCNUM,
430 RTF_FTNNDBAR,
431 RTF_FTNNDBNUM,
432 RTF_FTNNDBNUMD,
433 RTF_FTNNDBNUMK,
434 RTF_FTNNDBNUMT,
435 RTF_FTNNGANADA,
436 RTF_FTNNGBNUM,
437 RTF_FTNNGBNUMD,
438 RTF_FTNNGBNUMK,
439 RTF_FTNNGBNUML,
440 RTF_FTNNZODIAC,
441 RTF_FTNNZODIACD,
442 RTF_FTNNZODIACL,
444 RTF_ADEFLANG,
445 RTF_ADEFF,
447 /* \f */
449 RTF_SECTD = RTF_SECTFMT,
450 RTF_ENDNHERE,
451 RTF_BINFSXN,
452 RTF_BINSXN,
453 RTF_SBKNONE,
454 RTF_SBKCOL,
455 RTF_SBKPAGE,
456 RTF_SBKEVEN,
457 RTF_SBKODD,
458 RTF_COLS,
459 RTF_COLSX,
460 RTF_COLNO,
461 RTF_COLSR,
462 RTF_COLW,
463 RTF_LINEBETCOL,
464 RTF_LINEMOD,
465 RTF_LINEX,
466 RTF_LINESTARTS,
467 RTF_LINERESTART,
468 RTF_LINEPAGE,
469 RTF_LINECONT,
470 RTF_PGWSXN,
471 RTF_PGHSXN,
472 RTF_MARGLSXN,
473 RTF_MARGRSXN,
474 RTF_MARGTSXN,
475 RTF_MARGBSXN,
476 RTF_GUTTERSXN,
477 RTF_LNDSCPSXN,
478 RTF_FACPGSXN,
479 RTF_TITLEPG,
480 RTF_HEADERY,
481 RTF_FOOTERY,
482 RTF_PGNSTARTS,
483 RTF_PGNCONT,
484 RTF_PGNRESTART,
485 RTF_PGNX,
486 RTF_PGNY,
487 RTF_PGNDEC,
488 RTF_PGNUCRM,
489 RTF_PGNLCRM,
490 RTF_PGNUCLTR,
491 RTF_PGNLCLTR,
492 RTF_VERTALT,
493 RTF_VERTALB,
494 RTF_VERTALC,
495 RTF_VERTALJ,
497 RTF_FOOTER,
498 RTF_FOOTERL,
499 RTF_FOOTERR,
500 RTF_FOOTERF,
501 RTF_HEADER,
502 RTF_HEADERL,
503 RTF_HEADERR,
504 RTF_HEADERF,
505 RTF_DS,
506 RTF_LTRSECT,
507 RTF_PGNHN,
508 RTF_PGNHNSC,
509 RTF_PGNHNSH,
510 RTF_PGNHNSM,
511 RTF_PGNHNSN,
512 RTF_PGNHNSP,
513 RTF_RTLSECT,
514 RTF_SECTUNLOCKED,
515 RTF_STEXTFLOW,
516 RTF_PGNCHOSUNG,
517 RTF_PGNCNUM,
518 RTF_PGNDBNUMK,
519 RTF_PGNDBNUMT,
520 RTF_PGNGANADA,
521 RTF_PGNGBNUM,
522 RTF_PGNGBNUMD,
523 RTF_PGNGBNUMK,
524 RTF_PGNGBNUML,
525 RTF_PGNZODIAC,
526 RTF_PGNZODIACD,
527 RTF_PGNZODIACL,
528 RTF_SECTDEFAULTCL,
529 RTF_SECTEXPAND,
530 RTF_SECTLINEGRID,
531 RTF_SECTSPECIFYCL,
532 RTF_SECTSPECIFYL,
534 // Swg-Header/Footer-Tokens
535 RTF_HEADER_YB = (RTF_SECTFMT|RTF_SWGDEFS),
536 RTF_HEADER_XL,
537 RTF_HEADER_XR,
538 RTF_FOOTER_YT,
539 RTF_FOOTER_XL,
540 RTF_FOOTER_XR,
541 RTF_HEADER_YH,
542 RTF_FOOTER_YH,
543 RTF_BALANCED_COLUMN,
546 /* \f */
548 RTF_PARD = RTF_PARFMT,
549 RTF_S,
550 RTF_INTBL,
551 RTF_KEEP,
552 RTF_KEEPN,
553 RTF_LEVEL,
554 RTF_PAGEBB,
555 RTF_SBYS,
556 RTF_QL,
557 RTF_QR,
558 RTF_QJ,
559 RTF_QC,
560 RTF_FI,
561 RTF_LI,
562 RTF_LIN,
563 RTF_RI,
564 RTF_RIN,
565 RTF_SB,
566 RTF_SA,
567 RTF_SL,
568 RTF_HYPHPAR,
569 RTF_LTRPAR,
570 RTF_NOWIDCTLPAR,
571 RTF_RTLPAR,
572 RTF_SLMULT,
573 RTF_SUBDOCUMENT,
575 RTF_WIDCTLPAR,
577 RTF_LISTTEXT,
578 RTF_POSYIN,
579 RTF_PNRNOT,
580 RTF_BRDRDASHDOTSTR,
581 RTF_POSYOUT,
582 RTF_BRDRDASHD,
583 RTF_BRDRDASHDD,
584 RTF_BRDRENGRAVE,
585 RTF_BRDRTHTNLG,
586 RTF_BRDREMBOSS,
587 RTF_BRDRTNTHTNLG,
588 RTF_BRDRDASHSM,
589 RTF_BRDRTHTNMG,
590 RTF_OVERLAY,
591 RTF_BRDRTNTHSG,
592 RTF_BRDRTNTHMG,
593 RTF_BRDRTHTNSG,
594 RTF_BRDRTNTHLG,
595 RTF_BRDRTRIPLE,
596 RTF_BRDRTNTHTNSG,
597 RTF_BRDRTNTHTNMG,
598 RTF_BRDRWAVYDB,
599 RTF_BRDRWAVY,
600 RTF_ILVL,
601 RTF_DFRSTOP,
602 RTF_DFRXST,
603 RTF_PNRAUTH,
604 RTF_DFRSTART,
605 RTF_OUTLINELEVEL,
606 RTF_DFRAUTH,
607 RTF_DFRDATE,
608 RTF_PNRRGB,
609 RTF_PNRPNBR,
610 RTF_PNRSTART,
611 RTF_PNRXST,
612 RTF_PNRSTOP,
613 RTF_PNRDATE,
614 RTF_PNRNFC,
615 RTF_NOSNAPLINEGRID,
616 RTF_FAAUTO,
617 RTF_FAHANG,
618 RTF_FAVAR,
619 RTF_FACENTER,
620 RTF_FAROMAN,
621 RTF_FAFIXED,
622 RTF_ADJUSTRIGHT,
623 RTF_LS,
624 RTF_NOCWRAP,
625 RTF_NOOVERFLOW,
626 RTF_ASPALPHA,
629 /* \f */
631 RTF_TX = RTF_TABSTOPDEF,
632 RTF_TB,
633 RTF_TQL,
634 RTF_TQR,
635 RTF_TQC,
636 RTF_TQDEC,
637 RTF_TLDOT,
638 RTF_TLHYPH,
639 RTF_TLUL,
640 RTF_TLTH,
641 RTF_TLEQ,
643 // Swg-TabStop-Tokens
644 RTF_TLSWG = (RTF_TABSTOPDEF|RTF_SWGDEFS),
646 /* \f */
648 RTF_BRDRT = RTF_BRDRDEF,
649 RTF_BRDRB,
650 RTF_BRDRL,
651 RTF_BRDRR,
652 RTF_BRDRBTW,
653 RTF_BRDRBAR,
654 RTF_BOX,
655 RTF_BRSP,
656 RTF_BRDRW,
657 RTF_BRDRCF,
658 RTF_BRDRS,
659 RTF_BRDRTH,
660 RTF_BRDRSH,
661 RTF_BRDRDB,
662 RTF_BRDRDOT,
663 RTF_BRDRHAIR,
664 RTF_BRDRDASH,
665 RTF_BRDRFRAME,
667 // Swg-Border-Tokens
668 RTF_BRDBOX = (RTF_BRDRDEF|RTF_SWGDEFS),
669 RTF_BRDLINE_COL,
670 RTF_BRDLINE_IN,
671 RTF_BRDLINE_OUT,
672 RTF_BRDLINE_DIST,
674 /* \f */
676 RTF_PLAIN = RTF_CHRFMT,
677 RTF_B,
678 RTF_CAPS,
679 RTF_DN,
680 RTF_SUB,
681 RTF_NOSUPERSUB,
682 RTF_EXPND,
683 RTF_EXPNDTW,
684 RTF_KERNING,
685 RTF_F,
686 RTF_FS,
687 RTF_I,
688 RTF_OUTL,
689 RTF_SCAPS,
690 RTF_SHAD,
691 RTF_STRIKE,
692 RTF_UL,
693 RTF_ULD,
694 RTF_ULDB,
695 RTF_ULNONE,
696 RTF_ULW,
697 RTF_OL,
698 RTF_OLD,
699 RTF_OLDB,
700 RTF_OLNONE,
701 RTF_OLW,
702 RTF_UP,
703 RTF_SUPER,
704 RTF_V,
705 RTF_CF,
706 RTF_CB,
707 RTF_LANG,
708 RTF_CCHS,
709 RTF_CS,
710 RTF_LTRCH,
711 RTF_REVAUTH,
712 RTF_REVDTTM,
713 RTF_RTLCH,
715 RTF_CHBGFDIAG,
716 RTF_CHBGDKVERT,
717 RTF_CHBGDKHORIZ,
718 RTF_CHBRDR,
719 RTF_CHBGVERT,
720 RTF_CHBGHORIZ,
721 RTF_CHBGDKFDIAG,
722 RTF_CHBGDCROSS,
723 RTF_CHBGCROSS,
724 RTF_CHBGBDIAG,
725 RTF_CHBGDKDCROSS,
726 RTF_CHBGDKCROSS,
727 RTF_CHBGDKBDIAG,
728 RTF_ULDASHD,
729 RTF_ULDASH,
730 RTF_ULDASHDD,
731 RTF_ULWAVE,
732 RTF_ULC,
733 RTF_ULTH,
734 RTF_OLDASHD,
735 RTF_OLDASH,
736 RTF_OLDASHDD,
737 RTF_OLWAVE,
738 RTF_OLC,
739 RTF_OLTH,
740 RTF_EMBO,
741 RTF_IMPR,
742 RTF_STRIKED,
743 RTF_CRDATE,
744 RTF_CRAUTH,
745 RTF_CHARSCALEX,
746 RTF_CHCBPAT,
747 RTF_CHCFPAT,
748 RTF_CHSHDNG,
749 RTF_REVAUTHDEL,
750 RTF_REVDTTMDEL,
751 RTF_CGRID,
752 RTF_GCW,
753 RTF_NOSECTEXPAND,
754 RTF_GRIDTBL,
755 RTF_G,
756 RTF_ANIMTEXT,
757 RTF_ULTHD,
758 RTF_ULTHDASH,
759 RTF_ULLDASH,
760 RTF_ULTHLDASH,
761 RTF_ULTHDASHD,
762 RTF_ULTHDASHDD,
763 RTF_ULHWAVE,
764 RTF_ULULDBWAVE,
765 RTF_OLTHD,
766 RTF_OLTHDASH,
767 RTF_OLLDASH,
768 RTF_OLTHLDASH,
769 RTF_OLTHDASHD,
770 RTF_OLTHDASHDD,
771 RTF_OLHWAVE,
772 RTF_OLOLDBWAVE,
774 // association control words
775 RTF_AB,
776 RTF_ACAPS,
777 RTF_ACF,
778 RTF_ADN,
779 RTF_AEXPND,
780 RTF_AF,
781 RTF_AFS,
782 RTF_AI,
783 RTF_ALANG,
784 RTF_AOUTL,
785 RTF_ASCAPS,
786 RTF_ASHAD,
787 RTF_ASTRIKE,
788 RTF_AUL,
789 RTF_AULD,
790 RTF_AULDB,
791 RTF_AULNONE,
792 RTF_AULW,
793 RTF_AUP,
795 RTF_LOCH,
796 RTF_HICH,
797 RTF_DBCH,
798 RTF_LANGFE,
799 RTF_ACCNONE,
800 RTF_ACCDOT,
801 RTF_ACCCOMMA,
802 RTF_TWOINONE,
803 RTF_HORZVERT,
805 // Swg-Border-Tokens
806 RTF_SWG_ESCPROP = (RTF_CHRFMT|RTF_SWGDEFS),
807 RTF_HYPHEN,
808 RTF_HYPHLEAD,
809 RTF_HYPHTRAIL,
810 RTF_HYPHMAX,
813 /* \f */
815 RTF_CHDATE = RTF_SPECCHAR,
816 RTF_CHDATEL,
817 RTF_CHDATEA,
818 RTF_CHTIME,
819 RTF_CHPGN,
820 RTF_CHFTN,
821 RTF_CHATN,
822 RTF_CHFTNSEP,
823 RTF_CHFTNSEPC,
824 RTF_CELL,
825 RTF_ROW,
826 RTF_PAR,
827 RTF_SECT,
828 RTF_PAGE,
829 RTF_COLUM,
830 RTF_LINE,
831 RTF_TAB,
832 RTF_EMDASH,
833 RTF_ENDASH,
834 RTF_BULLET,
835 RTF_LQUOTE,
836 RTF_RQUOTE,
837 RTF_LDBLQUOTE,
838 RTF_RDBLQUOTE,
839 RTF_FORMULA,
840 RTF_NONBREAKINGSPACE,
841 RTF_OPTIONALHYPHEN,
842 RTF_NONBREAKINGHYPHEN,
843 RTF_SUBENTRYINDEX,
844 RTF_IGNOREFLAG,
845 RTF_HEX,
846 RTF_EMSPACE,
847 RTF_ENSPACE,
848 RTF_LTRMARK,
849 RTF_SECTNUM,
850 RTF_SOFTCOL,
851 RTF_SOFTLHEIGHT,
852 RTF_SOFTLINE,
853 RTF_SOFTPAGE,
854 RTF_ZWJ,
855 RTF_ZWNJ,
857 /* \f */
859 RTF_ABSW = RTF_APOCTL,
860 RTF_ABSH,
861 RTF_NOWRAP,
862 RTF_DXFRTEXT,
863 RTF_DFRMTXTX,
864 RTF_DFRMTXTY,
865 RTF_DROPCAPLI,
866 RTF_DROPCAPT,
867 RTF_ABSNOOVRLP,
868 RTF_PHMRG,
869 RTF_PHPG,
870 RTF_PHCOL,
871 RTF_POSX,
872 RTF_POSNEGX,
873 RTF_POSXC,
874 RTF_POSXI,
875 RTF_POSXO,
876 RTF_POSXL,
877 RTF_POSXR,
878 RTF_PVMRG,
879 RTF_PVPG,
880 RTF_PVPARA,
881 RTF_POSY,
882 RTF_POSNEGY,
883 RTF_POSYT,
884 RTF_POSYIL,
885 RTF_POSYB,
886 RTF_POSYC,
887 RTF_ABSLOCK,
888 RTF_FRMTXLRTB,
889 RTF_FRMTXTBRL,
890 RTF_FRMTXBTLR,
891 RTF_FRMTXLRTBV,
892 RTF_FRMTXTBRLV,
894 // Swg-Frame-Tokens
895 RTF_FLYPRINT = (RTF_APOCTL|RTF_SWGDEFS),
896 RTF_FLYOPAQUE,
897 RTF_FLYPRTCTD,
898 RTF_FLYMAINCNT,
899 RTF_FLYVERT,
900 RTF_FLYHORZ,
901 RTF_FLYOUTLEFT,
902 RTF_FLYOUTRIGHT,
903 RTF_FLYOUTUPPER,
904 RTF_FLYOUTLOWER,
905 RTF_FLYANCHOR,
906 RTF_FLY_CNTNT,
907 RTF_FLY_COLUMN,
908 RTF_FLY_PAGE,
909 RTF_FLY_INPARA,
912 /* \f */
914 RTF_SHADING = RTF_SHADINGDEF,
915 RTF_CFPAT,
916 RTF_CBPAT,
917 RTF_BGHORIZ,
918 RTF_BGVERT,
919 RTF_BGFDIAG,
920 RTF_BGBDIAG,
921 RTF_BGCROSS,
922 RTF_BGDCROSS,
923 RTF_BGDKHORIZ,
924 RTF_BGDKVERT,
925 RTF_BGDKFDIAG,
926 RTF_BGDKBDIAG,
927 RTF_BGDKCROSS,
928 RTF_BGDKDCROSS,
930 /* \f */
932 RTF_TROWD = RTF_TABLEDEF,
933 RTF_TRGAPH,
934 RTF_TRLEFT,
935 RTF_TRRH,
937 RTF_TRQL,
938 RTF_TRQR,
939 RTF_TRQC,
941 RTF_CLMGF,
942 RTF_CLMRG,
943 RTF_CELLX,
944 RTF_LTRROW,
945 RTF_RTLROW,
946 RTF_TRBRDRB,
947 RTF_TRBRDRH,
948 RTF_TRBRDRL,
949 RTF_TRBRDRR,
950 RTF_TRBRDRT,
951 RTF_TRBRDRV,
952 RTF_TRHDR,
953 RTF_TRKEEP,
954 RTF_TRPADDB,
955 RTF_TRPADDL,
956 RTF_TRPADDR,
957 RTF_TRPADDT,
958 RTF_TRPADDFB,
959 RTF_TRPADDFL,
960 RTF_TRPADDFR,
961 RTF_TRPADDFT,
962 RTF_TCELLD,
963 RTF_CLTXTBRL,
964 RTF_CLTXLRTB,
965 RTF_CLVERTALB,
966 RTF_CLVERTALT,
967 RTF_CLVERTALC,
968 RTF_CLVMGF,
969 RTF_CLVMRG,
970 RTF_CLTXTBRLV,
971 RTF_CLTXBTLR,
972 RTF_CLTXLRTBV,
973 RTF_CLPADL,
974 RTF_CLPADT,
975 RTF_CLPADB,
976 RTF_CLPADR,
977 RTF_CLPADFL,
978 RTF_CLPADFT,
979 RTF_CLPADFB,
980 RTF_CLPADFR,
983 RTF_CLBRDRT = (RTF_BRDRDEF|RTF_TABLEDEF),
984 RTF_CLBRDRL,
985 RTF_CLBRDRB,
986 RTF_CLBRDRR,
988 RTF_CLCFPAT = (RTF_SHADINGDEF|RTF_TABLEDEF),
989 RTF_CLCBPAT,
990 RTF_CLSHDNG,
991 RTF_CLBGHORIZ,
992 RTF_CLBGVERT,
993 RTF_CLBGFDIAG,
994 RTF_CLBGBDIAG,
995 RTF_CLBGCROSS,
996 RTF_CLBGDCROSS,
997 RTF_CLBGDKHOR,
998 RTF_CLBGDKVERT,
999 RTF_CLBGDKFDIAG,
1000 RTF_CLBGDKBDIAG,
1001 RTF_CLBGDKCROSS,
1002 RTF_CLBGDKDCROSS,
1004 /* \f */
1007 /* \f */
1009 RTF_DO = RTF_DRAWOBJECTS,
1010 RTF_DOBXCOLUMN,
1011 RTF_DOBXMARGIN,
1012 RTF_DOBXPAGE,
1013 RTF_DOBYMARGIN,
1014 RTF_DOBYPAGE,
1015 RTF_DOBYPARA,
1016 RTF_DODHGT,
1017 RTF_DOLOCK,
1018 RTF_DPAENDHOL,
1019 RTF_DPAENDL,
1020 RTF_DPAENDSOL,
1021 RTF_DPAENDW,
1022 RTF_DPARC,
1023 RTF_DPARCFLIPX,
1024 RTF_DPARCFLIPY,
1025 RTF_DPASTARTHOL,
1026 RTF_DPASTARTL,
1027 RTF_DPASTARTSOL,
1028 RTF_DPASTARTW,
1029 RTF_DPCALLOUT,
1030 RTF_DPCOA,
1031 RTF_DPCOACCENT,
1032 RTF_DPCOBESTFIT,
1033 RTF_DPCOBORDER,
1034 RTF_DPCODABS,
1035 RTF_DPCODBOTTOM,
1036 RTF_DPCODCENTER,
1037 RTF_DPCODTOP,
1038 RTF_DPCOLENGTH,
1039 RTF_DPCOMINUSX,
1040 RTF_DPCOMINUSY,
1041 RTF_DPCOOFFSET,
1042 RTF_DPCOSMARTA,
1043 RTF_DPCOTDOUBLE,
1044 RTF_DPCOTRIGHT,
1045 RTF_DPCOTSINGLE,
1046 RTF_DPCOTTRIPLE,
1047 RTF_DPCOUNT,
1048 RTF_DPELLIPSE,
1049 RTF_DPENDGROUP,
1050 RTF_DPFILLBGCB,
1051 RTF_DPFILLBGCG,
1052 RTF_DPFILLBGCR,
1053 RTF_DPFILLBGGRAY,
1054 RTF_DPFILLBGPAL,
1055 RTF_DPFILLFGCB,
1056 RTF_DPFILLFGCG,
1057 RTF_DPFILLFGCR,
1058 RTF_DPFILLFGGRAY,
1059 RTF_DPFILLFGPAL,
1060 RTF_DPFILLPAT,
1061 RTF_DPGROUP,
1062 RTF_DPLINE,
1063 RTF_DPLINECOB,
1064 RTF_DPLINECOG,
1065 RTF_DPLINECOR,
1066 RTF_DPLINEDADO,
1067 RTF_DPLINEDADODO,
1068 RTF_DPLINEDASH,
1069 RTF_DPLINEDOT,
1070 RTF_DPLINEGRAY,
1071 RTF_DPLINEHOLLOW,
1072 RTF_DPLINEPAL,
1073 RTF_DPLINESOLID,
1074 RTF_DPLINEW,
1075 RTF_DPPOLYCOUNT,
1076 RTF_DPPOLYGON,
1077 RTF_DPPOLYLINE,
1078 RTF_DPPTX,
1079 RTF_DPPTY,
1080 RTF_DPRECT,
1081 RTF_DPROUNDR,
1082 RTF_DPSHADOW,
1083 RTF_DPSHADX,
1084 RTF_DPSHADY,
1085 RTF_DPTXBX,
1086 RTF_DPTXBXMAR,
1087 RTF_DPTXBXTEXT,
1088 RTF_DPX,
1089 RTF_DPXSIZE,
1090 RTF_DPY,
1091 RTF_DPYSIZE,
1093 RTF_DPCODESCENT,
1094 RTF_BACKGROUND,
1095 RTF_SHPBYPAGE,
1096 RTF_SHPBYPARA,
1097 RTF_SHPBYMARGIN,
1098 RTF_SHPBXCOLUMN,
1099 RTF_SHPBXMARGIN,
1100 RTF_SHPBXPAGE,
1101 RTF_SHPLOCKANCHOR,
1102 RTF_SHPWR,
1103 RTF_HLLOC,
1104 RTF_HLSRC,
1105 RTF_SHPWRK,
1106 RTF_SHPTOP,
1107 RTF_SHPRSLT,
1108 RTF_HLFR,
1109 RTF_SHPTXT,
1110 RTF_SHPFHDR,
1111 RTF_SHPGRP,
1112 RTF_SHPRIGHT,
1113 RTF_SHPFBLWTXT,
1114 RTF_SHPZ,
1115 RTF_SHPBOTTOM,
1116 RTF_SHPLEFT,
1117 RTF_SHPLID,
1119 /* \f */
1121 RTF_OBJALIAS = RTF_OBJECTS,
1122 RTF_OBJALIGN,
1123 RTF_OBJAUTLINK,
1124 RTF_OBJCLASS,
1125 RTF_OBJCROPB,
1126 RTF_OBJCROPL,
1127 RTF_OBJCROPR,
1128 RTF_OBJCROPT,
1129 RTF_OBJDATA,
1130 RTF_OBJECT,
1131 RTF_OBJEMB,
1132 RTF_OBJH,
1133 RTF_OBJICEMB,
1134 RTF_OBJLINK,
1135 RTF_OBJLOCK,
1136 RTF_OBJNAME,
1137 RTF_OBJPUB,
1138 RTF_OBJSCALEX,
1139 RTF_OBJSCALEY,
1140 RTF_OBJSECT,
1141 RTF_OBJSETSIZE,
1142 RTF_OBJSUB,
1143 RTF_OBJTIME,
1144 RTF_OBJTRANSY,
1145 RTF_OBJUPDATE,
1146 RTF_OBJW,
1147 RTF_RESULT,
1148 RTF_RSLTBMP,
1149 RTF_RSLTMERGE,
1150 RTF_RSLTPICT,
1151 RTF_RSLTRTF,
1152 RTF_RSLTTXT,
1153 RTF_OBJOCX,
1154 RTF_OBJHTML,
1155 RTF_OBJATTPH,
1157 /* \f */
1159 RTF_PN = RTF_NUMBULLETS,
1160 RTF_PNACROSS,
1161 RTF_PNB,
1162 RTF_PNCAPS,
1163 RTF_PNCARD,
1164 RTF_PNCF,
1165 RTF_PNDEC,
1166 RTF_PNF,
1167 RTF_PNFS,
1168 RTF_PNHANG,
1169 RTF_PNI,
1170 RTF_PNINDENT,
1171 RTF_PNLCLTR,
1172 RTF_PNLCRM,
1173 RTF_PNLVL,
1174 RTF_PNLVLBLT,
1175 RTF_PNLVLBODY,
1176 RTF_PNLVLCONT,
1177 RTF_PNNUMONCE,
1178 RTF_PNORD,
1179 RTF_PNORDT,
1180 RTF_PNPREV,
1181 RTF_PNQC,
1182 RTF_PNQL,
1183 RTF_PNQR,
1184 RTF_PNRESTART,
1185 RTF_PNSCAPS,
1186 RTF_PNSECLVL,
1187 RTF_PNSP,
1188 RTF_PNSTART,
1189 RTF_PNSTRIKE,
1190 RTF_PNTEXT,
1191 RTF_PNTXTA,
1192 RTF_PNTXTB,
1193 RTF_PNUCLTR,
1194 RTF_PNUCRM,
1195 RTF_PNUL,
1196 RTF_PNULD,
1197 RTF_PNULDB,
1198 RTF_PNULNONE,
1199 RTF_PNULW,
1200 RTF_LIST,
1201 RTF_LISTLEVEL,
1202 RTF_LISTOVERRIDE,
1203 RTF_LISTOVERRIDETABLE,
1204 RTF_LISTTABLE,
1205 RTF_LISTNAME,
1206 RTF_LEVELNUMBERS,
1207 RTF_LEVELNORESTART,
1208 RTF_LEVELNFC,
1209 RTF_LEVELOLD,
1210 RTF_LISTOVERRIDECOUNT,
1211 RTF_LISTTEMPLATEID,
1212 RTF_LEVELINDENT,
1213 RTF_LEVELFOLLOW,
1214 RTF_LEVELLEGAL,
1215 RTF_LEVELJC,
1216 RTF_LISTOVERRIDESTART,
1217 RTF_LISTID,
1218 RTF_LISTRESTARTHDN,
1219 RTF_LEVELTEXT,
1220 RTF_LISTOVERRIDEFORMAT,
1221 RTF_LEVELPREVSPACE,
1222 RTF_LEVELPREV,
1223 RTF_LEVELSPACE,
1224 RTF_LISTSIMPLE,
1225 RTF_LEVELSTARTAT,
1226 RTF_PNAIUEO,
1227 RTF_PNAIUEOD,
1228 RTF_PNCHOSUNG,
1229 RTF_PNDBNUMD,
1230 RTF_PNDBNUMK,
1231 RTF_PNDBNUML,
1232 RTF_PNDBNUMT,
1233 RTF_PNGANADA,
1234 RTF_PNGBNUM,
1235 RTF_PNGBNUMD,
1236 RTF_PNGBNUMK,
1237 RTF_PNGBNUML,
1238 RTF_PNZODIAC,
1239 RTF_PNZODIACD,
1240 RTF_PNZODIACL,
1241 RTF_LFOLEVEL,
1243 /* \f */
1245 RTF_GRF_ALIGNV= RTF_SWGDEFS,
1246 RTF_GRF_ALIGNH,
1247 RTF_GRF_MIRROR,
1248 RTF_SWG_PRTDATA,
1249 RTF_BKMK_KEY,
1250 RTF_SHADOW,
1251 RTF_SHDW_DIST,
1252 RTF_SHDW_STYLE,
1253 RTF_SHDW_COL,
1254 RTF_SHDW_FCOL,
1255 RTF_PGDSCTBL,
1256 RTF_PGDSC,
1257 RTF_PGDSCUSE,
1258 RTF_PGDSCNXT,
1259 RTF_PGDSCNO,
1260 RTF_PGBRK,
1261 RTF_SOUTLVL,
1263 // shapes
1264 RTF_SHP, RTF_SN, RTF_SV
1266 RTF_SHPLEFT,
1267 RTF_SHPTOP,
1268 RTF_SHPBOTTOM,
1269 RTF_SHPRIGHT
1274 #endif // _RTFTOKEN_H
1276 /* vi:set tabstop=4 shiftwidth=4 expandtab: */