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