Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

756 lines
19 KiB

  1. /*
  2. * @doc INTERNAL
  3. *
  4. * @module _TOKENS.H -- All the tokens and then some |
  5. *
  6. * Authors: <nl>
  7. * Original RichEdit 1.0 RTF converter: Anthony Francisco <nl>
  8. * Conversion to C++ and RichEdit 2.0: Murray Sargent
  9. *
  10. * @devnote
  11. * The Text Object Model (TOM) keywords come first followed by picture
  12. * and object keywords. The order within a group can matter, since it
  13. * may be used to simplify the input process. Token values <lt> 256
  14. * (tokenMin) are used for target character Unicodes as are token values
  15. * greater than tokenMax.
  16. *
  17. * Copyright (c) 1995-2000, Microsoft Corporation. All rights reserved.
  18. */
  19. #ifndef _TOKEN_H
  20. #define _TOKEN_H
  21. typedef WORD TOKEN;
  22. /*
  23. * Keyword --> Token table
  24. */
  25. typedef struct _keyword
  26. {
  27. CHAR * szKeyword; // The RTF keyword sans '\\'
  28. TOKEN token;
  29. } KEYWORD;
  30. // @enum TOKENS | RichEdit RTF Control Word Tokens
  31. typedef enum tagTOKEN // Keyword tokens
  32. {
  33. // Tokens for internal use
  34. tokenMin = 256, // Lower tokens treated as Unicode chars
  35. tokenText = tokenMin, // A string of characters
  36. tokenASCIIText, // A string of characters with values <= 0x7F
  37. tokenUnknownKeyword, // A keyword we don't recognize
  38. tokenError, // Error condition token
  39. #ifdef UNUSED_TOKENS
  40. tokenUnknown, // Unknown token
  41. #endif
  42. tokenEOF, // End-of-file token
  43. tokenStartGroup, // Start group token
  44. tokenEndGroup, // End group token
  45. tokenObjectDataValue, // Data for object
  46. tokenPictureDataValue, // Data for picture
  47. // RTF control word tokens from here to end of enumeration
  48. tokenURtf, // @emem urtf
  49. tokenPocketWord, // @emem pwd
  50. tokenRtf, // @emem rtf
  51. tokenCharSetAnsi, // @emem ansi
  52. tokenMac, // @emem mac
  53. tokenAnsiCodePage, // @emem ansicpg
  54. tokenViewKind, // @emem viewkind
  55. tokenViewScale, // @emem viewscale
  56. tokenDefaultFont, // @emem deff
  57. tokenDefaultBiDiFont, // @emem adeff
  58. tokenDefaultLanguage, // @emem deflang
  59. tokenDefaultLanguageFE, // @emem deflangfe
  60. tokenDefaultTabWidth, // @emem deftab
  61. tokenParagraphDefault, // @emem pard
  62. tokenCharacterDefault, // @emem plain
  63. // Fonts
  64. tokenFontTable, // @emem fonttbl
  65. tokenFontSelect, // @emem f
  66. tokenAssocFontSelect, // @emem af
  67. tokenAssocFontSize, // @emem afs
  68. // Keep next 8 in order
  69. tokenFontFamilyDefault, // @emem fnil
  70. tokenFontFamilyRoman, // @emem froman
  71. tokenFontFamilySwiss, // @emem fswiss
  72. tokenFontFamilyModern, // @emem fmodern
  73. tokenFontFamilyScript, // @emem fscript
  74. tokenFontFamilyDecorative, // @emem fdecor
  75. tokenFontFamilyTechnical, // @emem ftech
  76. tokenFontFamilyBidi, // @emem fbidi
  77. tokenCharSet, // @emem fcharset
  78. tokenPitch, // @emem fprq
  79. tokenRealFontName, // @emem fname
  80. tokenCodePage, // @emem cpg
  81. tokenFontSize, // @emem fs
  82. // Colors
  83. tokenColorTable, // @emem colortbl
  84. tokenColorBackground, // @emem highlight (used to be cb)
  85. tokenColorForeground, // @emem cf
  86. // Keep next 3 in order
  87. tokenColorRed, // @emem red
  88. tokenColorGreen, // @emem green
  89. tokenColorBlue, // @emem blue
  90. // Character formatting Keep next 15 effects in order
  91. tokenBold, // @emem b
  92. tokenItalic, // @emem i
  93. tokenUnderline, // @emem ul
  94. tokenStrikeOut, // @emem strike
  95. tokenProtect, // @emem protect
  96. tokenLink, // @emem link (check this...)
  97. tokenSmallCaps, // @emem scaps
  98. tokenCaps, // @emem caps
  99. tokenHiddenText, // @emem v
  100. tokenOutline, // @emem outl
  101. tokenShadow, // @emem shad
  102. tokenEmboss, // @emem embo
  103. tokenImprint, // @emem impr
  104. tokenDisabled, // @emem disabled
  105. tokenRevised, // @emem revised
  106. tokenDeleted, // @emem deleted
  107. tokenStopUnderline, // @emem ulnone Keep next 18 in order
  108. tokenUnderlineWord, // @emem ulw - display as single
  109. tokenUnderlineDouble, // @emem uldb - display as single
  110. tokenUnderlineDotted, // @emem uld
  111. tokenUnderlineDash, // @emem uldash
  112. tokenUnderlineDashDotted, // @emem uldashd
  113. tokenUnderlineDashDotDotted, // @emem uldashdd
  114. tokenUnderlineWave, // @emem ulwave
  115. tokenUnderlineThick, // @emem ulth
  116. tokenUnderlineHairline, // @emem ulhair - display as single
  117. tokenUnderlineDoubleWave, // @emem ululdbwave - display as wave
  118. tokenUnderlineHeavyWave, // @emem ulhwave - display as wave
  119. tokenUnderlineLongDash, // @emem ulldash - display as dash
  120. tokenUnderlineThickDash, // @emem ulthdash - display as dash
  121. tokenUnderlineThickDashDot, // @emem ulthdashd - disp as dash dot
  122. tokenUnderlineThickDashDotDot, // @emem ulthdashdd - disp as dashdd
  123. tokenUnderlineThickDotted, // @emem ulthd - display as dotted
  124. tokenUnderlineThickLongDash, // @emem ulthldash - display as dash
  125. tokenDown, // @emem dn
  126. tokenUp, // @emem up
  127. // Keep next 3 in order
  128. tokenSubscript, // @emem sub
  129. tokenNoSuperSub, // @emem nosupersub
  130. tokenSuperscript, // @emem super
  131. tokenAnimText, // @emem animtext
  132. tokenExpand, // @emem expndtw
  133. tokenKerning, // @emem kerning
  134. tokenLanguage, // @emem lang
  135. tokenCharStyle, // @emem cs
  136. tokenHorzInVert, // @emem horzvert
  137. // Paragraph Formatting
  138. tokenEndParagraph, // @emem par
  139. tokenLineBreak, // @emem line
  140. tokenIndentFirst, // @emem fi
  141. tokenIndentLeft, // @emem li
  142. tokenIndentRight, // @emem ri
  143. // Keep next 4 in order
  144. tokenAlignLeft, // @emem ql PFA_LEFT
  145. tokenAlignRight, // @emem qr PFA_RIGHT
  146. tokenAlignCenter, // @emem qc PFA_CENTER
  147. tokenAlignJustify, // @emem qj PFA_JUSTIFY
  148. tokenSpaceBefore, // @emem sb
  149. tokenSpaceAfter, // @emem sa
  150. tokenLineSpacing, // @emem sl
  151. tokenLineSpacingRule, // @emem slmult
  152. tokenDropCapLines, // @emem dropcapli
  153. tokenStyle, // @emem s
  154. tokenLToRPara, // @emem ltrpar
  155. tokenBox, // @emem box
  156. // keep next 8 in order
  157. tokenRToLPara, // @emem rtlpar
  158. tokenKeep, // @emem keep
  159. tokenKeepNext, // @emem keepn
  160. tokenPageBreakBefore, // @emem pagebb
  161. tokenNoLineNumber, // @emem noline
  162. tokenNoWidCtlPar, // @emem nowidctlpar
  163. tokenHyphPar, // @emem hyphpar
  164. tokenSideBySide, // @emem sbys
  165. tokenCollapsed, // @emem collapsed
  166. // Keep following 8 together
  167. tokenBorderLeft, // @emem brdrl
  168. tokenBorderTop, // @emem brdrt
  169. tokenBorderRight, // @emem brdrr
  170. tokenBorderBottom, // @emem brdrb
  171. tokenCellBorderLeft, // @emem clbrdrl
  172. tokenCellBorderTop, // @emem clbrdrt
  173. tokenCellBorderRight, // @emem clbrdrr
  174. tokenCellBorderBottom, // @emem clbrdrb
  175. tokenCellBackColor, // @emem clcbpat
  176. tokenCellForeColor, // @emem clcfpat
  177. tokenCellShading, // @emem clshdng
  178. // Keep following 2 together
  179. tokenCellAlignCenter, // @emem clvertalc
  180. tokenCellAlignBottom, // @emem clvertalb
  181. tokenCellLRTB, // @emem cltxlrtb
  182. tokenCellTopBotRLVert, // @emem cltxtbrlv
  183. // Keep following 3 together
  184. tokenBorderShadow, // @emem brdrsh
  185. tokenBorderBetween, // @emem brdrbtw
  186. tokenBorderOutside, // @emem brdrbar
  187. // Keep following 8 together
  188. tokenBorderDash, // @emem brdrdash
  189. tokenBorderDashSmall, // @emem brdrdashsm
  190. tokenBorderDouble, // @emem brdrdb
  191. tokenBorderDot, // @emem brdrdot
  192. tokenBorderHairline, // @emem brdrhair
  193. tokenBorderSingleThick, // @emem brdrs
  194. tokenBorderDoubleThick, // @emem brdrth
  195. tokenBorderTriple, // @emem brdrtriple
  196. tokenBorderColor, // @emem brdrcf
  197. tokenBorderWidth, // @emem brdrw
  198. tokenBorderSpace, // @emem brsp
  199. tokenColorBckgrndPat, // @emem cbpat
  200. tokenColorForgrndPat, // @emem cfpat
  201. tokenShading, // @emem shading
  202. tokenBackground, // @emem background
  203. // keep next 12 in order
  204. tokenBckgrndBckDiag, // @emem bgbdiag
  205. tokenBckgrndCross, // @emem bgcross
  206. tokenBckgrndDiagCross, // @emem bgdcross
  207. tokenBckgrndDrkBckDiag, // @emem bgdkbdiag
  208. tokenBckgrndDrkCross, // @emem bgdkcross
  209. tokenBckgrndDrkDiagCross, // @emem bgdkdcross
  210. tokenBckgrndDrkFwdDiag, // @emem bgdkfdiag
  211. tokenBckgrndDrkHoriz, // @emem bgdkhoriz
  212. tokenBckgrndDrkVert, // @emem bgdkvert
  213. tokenBckgrndFwdDiag, // @emem bgfdiag
  214. tokenBckgrndHoriz, // @emem bghoriz
  215. tokenBckgrndVert, // @emem bgvert
  216. tokenTabPosition, // @emem tx
  217. tokenTabBar, // @emem tb
  218. // keep next 5 in order
  219. tokenTabLeaderDots, // @emem tldot
  220. tokenTabLeaderHyphen, // @emem tlhyph
  221. tokenTabLeaderUnderline, // @emem tlul
  222. tokenTabLeaderThick, // @emem tlth
  223. tokenTabLeaderEqual, // @emem tleq
  224. // keep next 4 in order
  225. tokenCenterTab, // @emem tqc
  226. tokenFlushRightTab, // @emem tqr
  227. tokenDecimalTab, // @emem tqdec
  228. tokenParaNum, // @emem pn
  229. tokenParaNumIndent, // @emem pnindent
  230. tokenParaNumBody, // @emem pnlvlbody
  231. tokenParaNumCont, // @emem pnlvlcont
  232. // keep next 2 in order
  233. tokenParaNumAlignCenter, // @emem pnqc
  234. tokenParaNumAlignRight, // @emem pnqr
  235. // keep next 6 in order
  236. tokenParaNumBullet, // @emem pnlvlblt
  237. tokenParaNumDecimal, // @emem pndec
  238. tokenParaNumLCLetter, // @emem pnlcltr
  239. tokenParaNumUCLetter, // @emem pnucltr
  240. tokenParaNumLCRoman, // @emem pnlcrm
  241. tokenParaNumUCRoman, // @emem pnucrm
  242. tokenParaNumText, // @emem pntext
  243. tokenParaNumStart, // @emem pnstart
  244. tokenParaNumAfter, // @emem pntxta
  245. tokenParaNumBefore, // @emem pntxtb
  246. tokenOptionalDestination, // @emem *
  247. tokenField, // @emem field
  248. tokenFieldResult, // @emem fldrslt
  249. tokenFieldInstruction, // @emem fldinst
  250. tokenStyleSheet, // @emem stylesheet
  251. tokenEndSection, // @emem sect
  252. tokenSectionDefault, // @emem sectd
  253. tokenDocumentArea, // @emem info
  254. // Tables
  255. tokenInTable, // @emem intbl
  256. tokenCell, // @emem cell
  257. tokenNestCell, // @emem nestcell (must follow tokenCell)
  258. tokenCellHalfGap, // @emem trgaph
  259. tokenCellX, // @emem cellx
  260. tokenRow, // @emem row
  261. tokenRowDefault, // @emem trowd
  262. tokenRowHeight, // @emem trrh
  263. tokenRowLeft, // @emem trleft
  264. tokenRowAlignRight, // @emem trqr (trqc must follow trqr)
  265. tokenRowAlignCenter, // @emem trqc
  266. tokenCellMergeDown, // @emem clvmgf
  267. tokenCellMergeUp, // @emem clvmrg
  268. tokenTableLevel, // @emem itap
  269. tokenNestRow, // @emem nestrow
  270. tokenNestTableProps, // @emem nesttableprops
  271. tokenNoNestTables, // @emem nonesttables
  272. tokenRToLRow, // @emem rtlrow
  273. tokenUnicode, // @emem u
  274. tokenUnicodeCharByteCount, // @emem uc
  275. // Special characters
  276. tokenFormulaCharacter, // |
  277. tokenIndexSubentry, // :
  278. // Keep next five in order
  279. tokenLToRChars, // @emem ltrch
  280. tokenRToLChars, // @emem rtlch
  281. tokenLOChars, // @emem loch
  282. tokenHIChars, // @emem hich
  283. tokenDBChars, // @emem dbch
  284. tokenLToRDocument, // @emem ltrdoc
  285. tokenDisplayLToR, // @emem ltrmark See also ltrpar
  286. tokenRToLDocument, // @emem rtldoc
  287. tokenDisplayRToL, // @emem rtlmark
  288. tokenZeroWidthJoiner, // @emem zwj
  289. tokenZeroWidthNonJoiner, // @emem zwnj
  290. // T3J keywords
  291. tokenFollowingPunct, // @emem fchars
  292. tokenLeadingPunct, // @emem lchars
  293. tokenVerticalRender, // @emem vertdoc
  294. #ifdef FE
  295. tokenHorizontalRender, // @emem horzdoc
  296. tokenVerticalRender, // @emem vertdoc
  297. tokenNoOverflow, // @emem nooverflow
  298. tokenNoWordBreak, // @emem nocwrap
  299. tokenNoWordWrap, // @emem nowwrap
  300. #endif
  301. tokenPicture, // @emem pict
  302. tokenObject, // @emem object
  303. // Pictures Keep next 4 in RECT order
  304. tokenPicFirst,
  305. tokenCropLeft = tokenPicFirst, // @emem piccropl
  306. tokenCropTop, // @emem piccropt
  307. tokenCropBottom, // @emem piccropb
  308. tokenCropRight, // @emem piccropr
  309. tokenHeight, // @emem pich
  310. tokenWidth, // @emem picw
  311. tokenScaleX, // @emem picscalex
  312. tokenScaleY, // @emem picscaley
  313. tokenDesiredHeight, // @emem pichgoal
  314. tokenDesiredWidth, // @emem picwgoal
  315. // Keep next 5 in order
  316. tokenPictureWindowsBitmap, // @emem wbitmap
  317. tokenPictureWindowsMetafile, // @emem wmetafile
  318. tokenPictureWindowsDIB, // @emem dibitmap
  319. tokenJpegBlip, // @emem jpegblip
  320. tokenPngBlip, // @emem pngblip
  321. tokenBinaryData, // @emem bin
  322. tokenPictureQuickDraw, // @emem macpict
  323. tokenPictureOS2Metafile, // @emem pmmetafile
  324. tokenBitmapBitsPerPixel, // @emem wbmbitspixel
  325. tokenBitmapNumPlanes, // @emem wbmplanes
  326. tokenBitmapWidthBytes, // @emem wbmwidthbytes
  327. // Objects
  328. // tokenCropLeft, // @emem objcropl (see // Pictures)
  329. // tokenCropTop, // @emem objcropt
  330. // tokenCropRight, // @emem objcropr
  331. // tokenCropBottom, // @emem objcropb
  332. // tokenHeight, // @emem objh
  333. // tokenWidth, // @emem objw
  334. // tokenScaleX, // @emem objscalex
  335. // tokenScaleY, // @emem objscaley
  336. // Keep next 3 in order
  337. tokenObjectEmbedded, // @emem objemb
  338. tokenObjectLink, // @emem objlink
  339. tokenObjectAutoLink, // @emem objautlink
  340. tokenObjectClass, // @emem objclass
  341. tokenObjectData, // @emem objdata
  342. tokenObjectMacICEmbedder, // @emem objicemb
  343. tokenObjectName, // @emem objname
  344. tokenObjectMacPublisher, // @emem objpub
  345. tokenObjectSetSize, // @emem objsetsize
  346. tokenObjectMacSubscriber, // @emem objsub
  347. tokenObjectResult, // @emem result
  348. tokenObjectEBookImage, // @emem objebookimage
  349. tokenObjLast = tokenObjectEBookImage,
  350. // Shapes
  351. tokenShape, // @emem shp
  352. tokenShapeInstructions, // @emem shpinst
  353. tokenShapeName, // @emem sn
  354. tokenShapeValue, // @emem sv
  355. tokenShapeWrap, // @emem shpwr
  356. tokenPositionRight, // @emem posxr
  357. tokenSTextFlow, // @emem stextflow
  358. // Document info and layout
  359. tokenRevAuthor, // @emem revauth
  360. #ifdef UNUSED_TOKENS
  361. tokenTimeSecond, // @emem sec
  362. tokenTimeMinute, // @emem min
  363. tokenTimeHour, // @emem hr
  364. tokenTimeDay, // @emem dy
  365. tokenTimeMonth, // @emem mo
  366. tokenTimeYear, // @emem yr
  367. tokenMarginLeft, // @emem margl
  368. tokenMarginRight, // @emem margr
  369. tokenSectionMarginLeft, // @emem marglsxn
  370. tokenSectionMarginRight, // @emem margrsxn
  371. #endif
  372. tokenObjectPlaceholder, // @emem objattph
  373. tokenPage, // @emem page
  374. tokenNullDestination, // @emem ??various??
  375. tokenNullDestinationCond, // @emem Conditional null destination
  376. tokenMax // Larger tokens treated as Unicode chars
  377. };
  378. // Define values for \shp \sn fields
  379. typedef enum tagShapeToken
  380. {
  381. shapeFillColor = 1, // @emem fillColor
  382. shapeFillBackColor, // @emem fillBackColor
  383. shapeFillAngle, // @emem fillAngle
  384. shapeFillType, // @emem fillType
  385. shapeFillFocus // @emem fillFocus
  386. };
  387. // @enum TOKENINDEX | RTFWrite Indices into rgKeyword[]
  388. enum TOKENINDEX // rgKeyword[] indices
  389. { // MUST be in exact 1-to-1 with rgKeyword
  390. i_adeff, // entries (see tokens.cpp). Names consist
  391. i_af,
  392. i_afs,
  393. i_animtext,
  394. i_ansi,
  395. i_ansicpg,
  396. i_b,
  397. i_background,
  398. i_bgbdiag,
  399. i_bgcross,
  400. i_bgdcross,
  401. i_bgdkbdiag,
  402. i_bgdkcross,
  403. i_bgdkdcross,
  404. i_bgdkfdiag,
  405. i_bgdkhoriz,
  406. i_bgdkvert,
  407. i_bgfdiag,
  408. i_bghoriz,
  409. i_bgvert,
  410. i_bin,
  411. i_blue,
  412. i_box,
  413. i_brdrb,
  414. i_brdrbar,
  415. i_brdrbtw,
  416. i_brdrcf,
  417. i_brdrdash,
  418. i_brdrdashsm,
  419. i_brdrdb,
  420. i_brdrdot,
  421. i_brdrhair,
  422. i_brdrl,
  423. i_brdrr,
  424. i_brdrs,
  425. i_brdrsh,
  426. i_brdrt,
  427. i_brdrth,
  428. i_brdrtriple,
  429. i_brdrw,
  430. i_brsp,
  431. i_bullet,
  432. i_caps,
  433. i_cbpat,
  434. i_cell,
  435. i_cellx,
  436. i_cf,
  437. i_cfpat,
  438. i_clbrdrb,
  439. i_clbrdrl,
  440. i_clbrdrr,
  441. i_clbrdrt,
  442. i_clcbpat,
  443. i_clcfpat,
  444. i_clshdng,
  445. i_cltxlrtb,
  446. i_cltxtbrlv,
  447. i_clvertalb,
  448. i_clvertalc,
  449. i_clvmgf,
  450. i_clvmrg,
  451. i_collapsed,
  452. i_colortbl,
  453. i_cpg,
  454. i_cs,
  455. i_dbch,
  456. i_deff,
  457. i_deflang,
  458. i_deflangfe,
  459. i_deftab,
  460. i_deleted,
  461. i_dibitmap,
  462. i_disabled,
  463. i_dn,
  464. i_dropcapli,
  465. i_embo,
  466. i_emdash,
  467. i_emspace,
  468. i_endash,
  469. i_enspace,
  470. i_expndtw,
  471. i_f,
  472. i_fbidi,
  473. i_fchars,
  474. i_fcharset,
  475. i_fdecor,
  476. i_fi,
  477. i_field,
  478. i_fldinst,
  479. i_fldrslt,
  480. i_fmodern,
  481. i_fname,
  482. i_fnil,
  483. i_fonttbl,
  484. i_footer,
  485. i_footerf,
  486. i_footerl,
  487. i_footerr,
  488. i_footnote,
  489. i_fprq,
  490. i_froman,
  491. i_fs,
  492. i_fscript,
  493. i_fswiss,
  494. i_ftech,
  495. i_ftncn,
  496. i_ftnsep,
  497. i_ftnsepc,
  498. i_green,
  499. i_header,
  500. i_headerf,
  501. i_headerl,
  502. i_headerr,
  503. i_hich,
  504. i_highlight,
  505. i_horzvert,
  506. i_hyphpar,
  507. i_i,
  508. i_impr,
  509. i_info,
  510. i_intbl,
  511. i_itap,
  512. i_jpegblip,
  513. i_keep,
  514. i_keepn,
  515. i_kerning,
  516. i_lang,
  517. i_lchars,
  518. i_ldblquote,
  519. i_li,
  520. i_line,
  521. i_lnkd,
  522. i_loch,
  523. i_lquote,
  524. i_ltrch,
  525. i_ltrdoc,
  526. i_ltrmark,
  527. i_ltrpar,
  528. i_mac,
  529. i_macpict,
  530. i_nestcell,
  531. i_nestrow,
  532. i_nesttableprops,
  533. i_noline,
  534. i_nonesttables,
  535. i_nosupersub,
  536. i_nowidctlpar,
  537. i_objattph,
  538. i_objautlink,
  539. i_objclass,
  540. i_objcropb,
  541. i_objcropl,
  542. i_objcropr,
  543. i_objcropt,
  544. i_objdata,
  545. i_objebookimage,
  546. i_object,
  547. i_objemb,
  548. i_objh,
  549. i_objicemb,
  550. i_objlink,
  551. i_objname,
  552. i_objpub,
  553. i_objscalex,
  554. i_objscaley,
  555. i_objsetsize,
  556. i_objsub,
  557. i_objw,
  558. i_outl,
  559. i_page,
  560. i_pagebb,
  561. i_par,
  562. i_pard,
  563. i_piccropb,
  564. i_piccropl,
  565. i_piccropr,
  566. i_piccropt,
  567. i_pich,
  568. i_pichgoal,
  569. i_picscalex,
  570. i_picscaley,
  571. i_pict,
  572. i_picw,
  573. i_picwgoal,
  574. i_plain,
  575. i_pmmetafile,
  576. i_pn,
  577. i_pndec,
  578. i_pngblip,
  579. i_pnindent,
  580. i_pnlcltr,
  581. i_pnlcrm,
  582. i_pnlvlblt,
  583. i_pnlvlbody,
  584. i_pnlvlcont,
  585. i_pnqc,
  586. i_pnqr,
  587. i_pnstart,
  588. i_pntext,
  589. i_pntxta,
  590. i_pntxtb,
  591. i_pnucltr,
  592. i_pnucrm,
  593. i_posxr,
  594. i_protect,
  595. i_pwd,
  596. i_qc,
  597. i_qj,
  598. i_ql,
  599. i_qr,
  600. i_rdblquote,
  601. i_red,
  602. i_result,
  603. i_revauth,
  604. i_revised,
  605. i_ri,
  606. i_row,
  607. i_rquote,
  608. i_rtf,
  609. i_rtlch,
  610. i_rtldoc,
  611. i_rtlmark,
  612. i_rtlpar,
  613. i_rtlrow,
  614. i_s,
  615. i_sa,
  616. i_sb,
  617. i_sbys,
  618. i_scaps,
  619. i_sect,
  620. i_sectd,
  621. i_shad,
  622. i_shading,
  623. i_shp,
  624. i_shpinst,
  625. i_shpwr,
  626. i_sl,
  627. i_slmult,
  628. i_sn,
  629. i_stextflow,
  630. i_strike,
  631. i_stylesheet,
  632. i_sub,
  633. i_super,
  634. i_sv,
  635. i_tab,
  636. i_tb,
  637. i_tc,
  638. i_tldot,
  639. i_tleq,
  640. i_tlhyph,
  641. i_tlth,
  642. i_tlul,
  643. i_tqc,
  644. i_tqdec,
  645. i_tqr,
  646. i_trbrdrb,
  647. i_trbrdrl,
  648. i_trbrdrr,
  649. i_trbrdrt,
  650. i_trgaph,
  651. i_trleft,
  652. i_trowd,
  653. i_trqc,
  654. i_trqr,
  655. i_trrh,
  656. i_tx,
  657. i_u,
  658. i_uc,
  659. i_ul,
  660. i_uld,
  661. i_uldash,
  662. i_uldashd,
  663. i_uldashdd,
  664. i_uldb,
  665. i_ulhair,
  666. i_ulhwave,
  667. i_ulldash,
  668. i_ulnone,
  669. i_ulth,
  670. i_ulthd,
  671. i_ulthdash,
  672. i_ulthdashd,
  673. i_ulthdashdd,
  674. i_ulthldash,
  675. i_ululdbwave,
  676. i_ulw,
  677. i_ulwave,
  678. i_up,
  679. i_urtf,
  680. i_v,
  681. i_vertdoc,
  682. i_viewkind,
  683. i_viewscale,
  684. i_wbitmap,
  685. i_wbmbitspixel,
  686. i_wbmplanes,
  687. i_wbmwidthbytes,
  688. i_wmetafile,
  689. i_xe,
  690. i_zwj,
  691. i_zwnj,
  692. i_TokenIndexMax
  693. };
  694. enum TOKENSHAPEINDEX // rgShapeKeyword[] indices
  695. { // MUST be in exact 1-to-1 with rgShapeKeyword
  696. i_fillangle, // entries (see tokens.cpp).
  697. i_fillbackcolor,
  698. i_fillcolor,
  699. i_fillfocus,
  700. i_filltype
  701. };
  702. #endif