Minor.cs 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769
  1. // Permission is hereby , free of , to any person obtaining
  2. // a copy of this software and associated documentation files (the
  3. // "Software"), to deal in the Software without , including
  4. // without limitation the rights to , , , , ,
  5. // , , and/or sell copies of the , and to
  6. // permit persons to whom the Software is furnished to do , subject to
  7. // the following conditions:
  8. //
  9. // The above copyright notice and this permission notice shall be
  10. // included in all copies or substantial portions of the Software.
  11. //
  12. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY ,
  13. // EXPRESS OR , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  14. // , FITNESS FOR A PARTICULAR PURPOSE AND
  15. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  16. // LIABLE FOR ANY , DAMAGES OR OTHER , WHETHER IN AN ACTION
  17. // OF , TORT OR , ARISING , OUT OF OR IN CONNECTION
  18. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  19. //
  20. // Copyright (c) 2005 , Inc. (http://www.novell.com)
  21. //
  22. // Authors:
  23. // Peter Bartok ([email protected])
  24. //
  25. //
  26. // COMPLETE
  27. namespace System.Windows.Forms.RTF {
  28. internal enum Minor {
  29. Undefined,
  30. Skip,
  31. // Major.CharSet
  32. AnsiCharSet,
  33. MacCharSet,
  34. PcCharSet,
  35. PcaCharSet,
  36. // Major.Destinan
  37. FontTbl,
  38. FontAltName,
  39. EmbeddedFont,
  40. FontFile,
  41. FileTbl,
  42. FileInfo,
  43. ColorTbl,
  44. StyleSheet,
  45. KeyCode,
  46. RevisionTbl,
  47. Info,
  48. ITitle,
  49. ISubject,
  50. IAuthor,
  51. IOperator,
  52. IKeywords,
  53. IComment,
  54. IVersion,
  55. IDoccomm,
  56. IVerscomm,
  57. NextFile,
  58. Template,
  59. FNSep,
  60. FNContSep,
  61. FNContNotice,
  62. ENSep,
  63. ENContSep,
  64. ENContNotice,
  65. PageNumLevel,
  66. ParNumLevelStyle,
  67. Header,
  68. Footer,
  69. HeaderLeft,
  70. HeaderRight,
  71. HeaderFirst,
  72. FooterLeft,
  73. FooterRight,
  74. FooterFirst,
  75. ParNumText,
  76. ParNumbering,
  77. ParNumTextAfter,
  78. ParNumTextBefore,
  79. BookmarkStart,
  80. BookmarkEnd,
  81. Pict,
  82. Object,
  83. ObjClass,
  84. ObjName,
  85. ObjTime,
  86. ObjData,
  87. ObjAlias,
  88. ObjSection,
  89. ObjResult,
  90. ObjItem,
  91. ObjTopic,
  92. DrawObject,
  93. Footnote,
  94. AnnotRefStart,
  95. AnnotRefEnd,
  96. AnnotID,
  97. AnnotAuthor,
  98. Annotation,
  99. AnnotRef,
  100. AnnotTime,
  101. AnnotIcon,
  102. Field,
  103. FieldInst,
  104. FieldResult,
  105. DataField,
  106. Index,
  107. IndexText,
  108. IndexRange,
  109. TOC,
  110. NeXTGraphic,
  111. MaxDestination,
  112. // Major.FontFamily
  113. FFNil,
  114. FFRoman,
  115. FFSwiss,
  116. FFModern,
  117. FFScript,
  118. FFDecor,
  119. FFTech,
  120. FFBidirectional,
  121. // Major.ColorName
  122. Red,
  123. Green,
  124. Blue,
  125. // Major.SpecialChar
  126. IIntVersion,
  127. ICreateTime,
  128. IRevisionTime,
  129. IPrintTime,
  130. IBackupTime,
  131. IEditTime,
  132. IYear,
  133. IMonth,
  134. IDay,
  135. IHour,
  136. IMinute,
  137. ISecond,
  138. INPages,
  139. INWords,
  140. INChars,
  141. IIntID,
  142. CurHeadDate,
  143. CurHeadDateLong,
  144. CurHeadDateAbbrev,
  145. CurHeadTime,
  146. CurHeadPage,
  147. SectNum,
  148. CurFNote,
  149. CurAnnotRef,
  150. FNoteSep,
  151. FNoteCont,
  152. Cell,
  153. Row,
  154. Par,
  155. Sect,
  156. Page,
  157. Column,
  158. Line,
  159. SoftPage,
  160. SoftColumn,
  161. SoftLine,
  162. SoftLineHt,
  163. Tab,
  164. EmDash,
  165. EnDash,
  166. EmSpace,
  167. EnSpace,
  168. Bullet,
  169. LQuote,
  170. RQuote,
  171. LDblQuote,
  172. RDblQuote,
  173. Formula,
  174. NoBrkSpace,
  175. NoReqHyphen,
  176. NoBrkHyphen,
  177. OptDest,
  178. LTRMark,
  179. RTLMark,
  180. NoWidthJoiner,
  181. NoWidthNonJoiner,
  182. CurHeadPict,
  183. // Major.StyleAttr
  184. Additive,
  185. BasedOn,
  186. Next,
  187. // Major.DocAttr
  188. DefTab,
  189. HyphHotZone,
  190. HyphConsecLines,
  191. HyphCaps,
  192. HyphAuto,
  193. LineStart,
  194. FracWidth,
  195. MakeBackup,
  196. RTFDefault,
  197. PSOverlay,
  198. DocTemplate,
  199. DefLanguage,
  200. FENoteType,
  201. FNoteEndSect,
  202. FNoteEndDoc,
  203. FNoteText,
  204. FNoteBottom,
  205. ENoteEndSect,
  206. ENoteEndDoc,
  207. ENoteText,
  208. ENoteBottom,
  209. FNoteStart,
  210. ENoteStart,
  211. FNoteRestartPage,
  212. FNoteRestart,
  213. FNoteRestartCont,
  214. ENoteRestart,
  215. ENoteRestartCont,
  216. FNoteNumArabic,
  217. FNoteNumLLetter,
  218. FNoteNumULetter,
  219. FNoteNumLRoman,
  220. FNoteNumURoman,
  221. FNoteNumChicago,
  222. ENoteNumArabic,
  223. ENoteNumLLetter,
  224. ENoteNumULetter,
  225. ENoteNumLRoman,
  226. ENoteNumURoman,
  227. ENoteNumChicago,
  228. PaperWidth,
  229. PaperHeight,
  230. PaperSize,
  231. LeftMargin,
  232. RightMargin,
  233. TopMargin,
  234. BottomMargin,
  235. FacingPage,
  236. GutterWid,
  237. MirrorMargin,
  238. Landscape,
  239. PageStart,
  240. WidowCtrl,
  241. LinkStyles,
  242. NoAutoTabIndent,
  243. WrapSpaces,
  244. PrintColorsBlack,
  245. NoExtraSpaceRL,
  246. NoColumnBalance,
  247. CvtMailMergeQuote,
  248. SuppressTopSpace,
  249. SuppressPreParSpace,
  250. CombineTblBorders,
  251. TranspMetafiles,
  252. SwapBorders,
  253. ShowHardBreaks,
  254. FormProtected,
  255. AllProtected,
  256. FormShading,
  257. FormDisplay,
  258. PrintData,
  259. RevProtected,
  260. Revisions,
  261. RevDisplay,
  262. RevBar,
  263. AnnotProtected,
  264. RTLDoc,
  265. LTRDoc,
  266. // Major.SectAttr
  267. SectDef,
  268. ENoteHere,
  269. PrtBinFirst,
  270. PrtBin,
  271. SectStyleNum,
  272. NoBreak,
  273. ColBreak,
  274. PageBreak,
  275. EvenBreak,
  276. OddBreak,
  277. Columns,
  278. ColumnSpace,
  279. ColumnNumber,
  280. ColumnSpRight,
  281. ColumnWidth,
  282. ColumnLine,
  283. LineModulus,
  284. LineDist,
  285. LineStarts,
  286. LineRestart,
  287. LineRestartPg,
  288. LineCont,
  289. SectPageWid,
  290. SectPageHt,
  291. SectMarginLeft,
  292. SectMarginRight,
  293. SectMarginTop,
  294. SectMarginBottom,
  295. SectMarginGutter,
  296. SectLandscape,
  297. TitleSpecial,
  298. HeaderY,
  299. FooterY,
  300. PageStarts,
  301. PageCont,
  302. PageRestart,
  303. PageNumRight,
  304. PageNumTop,
  305. PageDecimal,
  306. PageURoman,
  307. PageLRoman,
  308. PageULetter,
  309. PageLLetter,
  310. PageNumHyphSep,
  311. PageNumSpaceSep,
  312. PageNumColonSep,
  313. PageNumEmdashSep,
  314. PageNumEndashSep,
  315. TopVAlign,
  316. BottomVAlign,
  317. CenterVAlign,
  318. JustVAlign,
  319. RTLSect,
  320. LTRSect,
  321. // Major.TblAttr
  322. RowDef,
  323. RowGapH,
  324. CellPos,
  325. MergeRngFirst,
  326. MergePrevious,
  327. RowLeft,
  328. RowRight,
  329. RowCenter,
  330. RowLeftEdge,
  331. RowHt,
  332. RowHeader,
  333. RowKeep,
  334. RTLRow,
  335. LTRRow,
  336. RowBordTop,
  337. RowBordLeft,
  338. RowBordBottom,
  339. RowBordRight,
  340. RowBordHoriz,
  341. RowBordVert,
  342. CellBordBottom,
  343. CellBordTop,
  344. CellBordLeft,
  345. CellBordRight,
  346. CellShading,
  347. CellBgPatH,
  348. CellBgPatV,
  349. CellFwdDiagBgPat,
  350. CellBwdDiagBgPat,
  351. CellHatchBgPat,
  352. CellDiagHatchBgPat,
  353. CellDarkBgPatH,
  354. CellDarkBgPatV,
  355. CellFwdDarkBgPat,
  356. CellBwdDarkBgPat,
  357. CellDarkHatchBgPat,
  358. CellDarkDiagHatchBgPat,
  359. CellBgPatLineColor,
  360. CellBgPatColor,
  361. // Major.ParAttr
  362. ParDef,
  363. StyleNum,
  364. Hyphenate,
  365. InTable,
  366. Keep,
  367. NoWidowControl,
  368. KeepNext,
  369. OutlineLevel,
  370. NoLineNum,
  371. PBBefore,
  372. SideBySide,
  373. QuadLeft,
  374. QuadRight,
  375. QuadJust,
  376. QuadCenter,
  377. FirstIndent,
  378. LeftIndent,
  379. RightIndent,
  380. SpaceBefore,
  381. SpaceAfter,
  382. SpaceBetween,
  383. SpaceMultiply,
  384. SubDocument,
  385. RTLPar,
  386. LTRPar,
  387. TabPos,
  388. TabLeft,
  389. TabRight,
  390. TabCenter,
  391. TabDecimal,
  392. TabBar,
  393. LeaderDot,
  394. LeaderHyphen,
  395. LeaderUnder,
  396. LeaderThick,
  397. LeaderEqual,
  398. ParLevel,
  399. ParBullet,
  400. ParSimple,
  401. ParNumCont,
  402. ParNumOnce,
  403. ParNumAcross,
  404. ParHangIndent,
  405. ParNumRestart,
  406. ParNumCardinal,
  407. ParNumDecimal,
  408. ParNumULetter,
  409. ParNumURoman,
  410. ParNumLLetter,
  411. ParNumLRoman,
  412. ParNumOrdinal,
  413. ParNumOrdinalText,
  414. ParNumBold,
  415. ParNumItalic,
  416. ParNumAllCaps,
  417. ParNumSmallCaps,
  418. ParNumUnder,
  419. ParNumDotUnder,
  420. ParNumDbUnder,
  421. ParNumNoUnder,
  422. ParNumWordUnder,
  423. ParNumStrikethru,
  424. ParNumForeColor,
  425. ParNumFont,
  426. ParNumFontSize,
  427. ParNumIndent,
  428. ParNumSpacing,
  429. ParNumInclPrev,
  430. ParNumCenter,
  431. ParNumLeft,
  432. ParNumRight,
  433. ParNumStartAt,
  434. BorderTop,
  435. BorderBottom,
  436. BorderLeft,
  437. BorderRight,
  438. BorderBetween,
  439. BorderBar,
  440. BorderBox,
  441. BorderSingle,
  442. BorderThick,
  443. BorderShadow,
  444. BorderDouble,
  445. BorderDot,
  446. BorderDash,
  447. BorderHair,
  448. BorderWidth,
  449. BorderColor,
  450. BorderSpace,
  451. Shading,
  452. BgPatH,
  453. BgPatV,
  454. FwdDiagBgPat,
  455. BwdDiagBgPat,
  456. HatchBgPat,
  457. DiagHatchBgPat,
  458. DarkBgPatH,
  459. DarkBgPatV,
  460. FwdDarkBgPat,
  461. BwdDarkBgPat,
  462. DarkHatchBgPat,
  463. DarkDiagHatchBgPat,
  464. BgPatLineColor,
  465. BgPatColor,
  466. // Major.CharAttr
  467. Plain,
  468. Bold,
  469. AllCaps,
  470. Deleted,
  471. SubScript,
  472. SubScrShrink,
  473. NoSuperSub,
  474. Expand,
  475. ExpandTwips,
  476. Kerning,
  477. FontNum,
  478. FontSize,
  479. Italic,
  480. Outline,
  481. Revised,
  482. RevAuthor,
  483. RevDTTM,
  484. SmallCaps,
  485. Shadow,
  486. StrikeThru,
  487. Underline,
  488. DotUnderline,
  489. DbUnderline,
  490. NoUnderline,
  491. WordUnderline,
  492. SuperScript,
  493. SuperScrShrink,
  494. Invisible,
  495. ForeColor,
  496. BackColor,
  497. RTLChar,
  498. LTRChar,
  499. CharStyleNum,
  500. CharCharSet,
  501. Language,
  502. Gray,
  503. // Major.PictAttr
  504. MacQD,
  505. PMMetafile,
  506. WinMetafile,
  507. DevIndBitmap,
  508. WinBitmap,
  509. PngBlip,
  510. PixelBits,
  511. BitmapPlanes,
  512. BitmapWid,
  513. PicWid,
  514. PicHt,
  515. PicGoalWid,
  516. PicGoalHt,
  517. PicScaleX,
  518. PicScaleY,
  519. PicScaled,
  520. PicCropTop,
  521. PicCropBottom,
  522. PicCropLeft,
  523. PicCropRight,
  524. PicMFHasBitmap,
  525. PicMFBitsPerPixel,
  526. PicBinary,
  527. // Major.BookmarkAttr
  528. BookmarkFirstCol,
  529. BookmarkLastCol ,
  530. // Major.NeXTGrAttr
  531. NeXTGWidth,
  532. NeXTGHeight,
  533. // Major.FieldAttr
  534. FieldDirty,
  535. FieldEdited,
  536. FieldLocked,
  537. FieldPrivate,
  538. FieldAlt,
  539. // Major.TOCAttr
  540. TOCType,
  541. TOCLevel,
  542. // Major.PosAttr
  543. AbsWid,
  544. AbsHt,
  545. RPosMargH,
  546. RPosPageH,
  547. RPosColH,
  548. PosX,
  549. PosNegX,
  550. PosXCenter,
  551. PosXInside,
  552. PosXOutSide,
  553. PosXRight,
  554. PosXLeft,
  555. RPosMargV,
  556. RPosPageV,
  557. RPosParaV,
  558. PosY,
  559. PosNegY,
  560. PosYInline,
  561. PosYTop,
  562. PosYCenter,
  563. PosYBottom,
  564. NoWrap,
  565. DistFromTextAll,
  566. DistFromTextX,
  567. DistFromTextY,
  568. TextDistY,
  569. DropCapLines,
  570. DropCapType,
  571. // Major.ObjAttr
  572. ObjEmb,
  573. ObjLink,
  574. ObjAutoLink,
  575. ObjSubscriber,
  576. ObjPublisher,
  577. ObjICEmb,
  578. ObjLinkSelf,
  579. ObjLock,
  580. ObjUpdate,
  581. ObjHt,
  582. ObjWid,
  583. ObjSetSize,
  584. ObjAlign,
  585. ObjTransposeY,
  586. ObjCropTop,
  587. ObjCropBottom,
  588. ObjCropLeft,
  589. ObjCropRight,
  590. ObjScaleX,
  591. ObjScaleY,
  592. ObjResRTF,
  593. ObjResPict,
  594. ObjResBitmap,
  595. ObjResText,
  596. ObjResMerge,
  597. ObjBookmarkPubObj,
  598. ObjPubAutoUpdate,
  599. // Major.FNoteAttr
  600. FNAlt,
  601. // Major.KeyCodeAttr
  602. AltKey,
  603. ShiftKey,
  604. ControlKey,
  605. FunctionKey,
  606. // Major.ACharAttr
  607. ACBold,
  608. ACAllCaps,
  609. ACForeColor,
  610. ACSubScript,
  611. ACExpand,
  612. ACFontNum,
  613. ACFontSize,
  614. ACItalic,
  615. ACLanguage,
  616. ACOutline,
  617. ACSmallCaps,
  618. ACShadow,
  619. ACStrikeThru,
  620. ACUnderline,
  621. ACDotUnderline,
  622. ACDbUnderline,
  623. ACNoUnderline,
  624. ACWordUnderline,
  625. ACSuperScript,
  626. // Major.FontAttr
  627. FontCharSet,
  628. FontPitch,
  629. FontCodePage,
  630. FTypeNil,
  631. FTypeTrueType,
  632. // Major.FileAttr
  633. FileNum,
  634. FileRelPath,
  635. FileOSNum,
  636. // Major.FileSource
  637. SrcMacintosh,
  638. SrcDOS,
  639. SrcNTFS,
  640. SrcHPFS,
  641. SrcNetwork,
  642. // Major.DrawAttr
  643. DrawLock,
  644. DrawPageRelX,
  645. DrawColumnRelX,
  646. DrawMarginRelX,
  647. DrawPageRelY,
  648. DrawColumnRelY,
  649. DrawMarginRelY,
  650. DrawHeight,
  651. DrawBeginGroup,
  652. DrawGroupCount,
  653. DrawEndGroup,
  654. DrawArc,
  655. DrawCallout,
  656. DrawEllipse,
  657. DrawLine,
  658. DrawPolygon,
  659. DrawPolyLine,
  660. DrawRect,
  661. DrawTextBox,
  662. DrawOffsetX,
  663. DrawSizeX,
  664. DrawOffsetY,
  665. DrawSizeY,
  666. COAngle,
  667. COAccentBar,
  668. COBestFit,
  669. COBorder,
  670. COAttachAbsDist,
  671. COAttachBottom,
  672. COAttachCenter,
  673. COAttachTop,
  674. COLength,
  675. CONegXQuadrant,
  676. CONegYQuadrant,
  677. COOffset,
  678. COAttachSmart,
  679. CODoubleLine,
  680. CORightAngle,
  681. COSingleLine,
  682. COTripleLine,
  683. DrawTextBoxMargin,
  684. DrawTextBoxText,
  685. DrawRoundRect,
  686. DrawPointX,
  687. DrawPointY,
  688. DrawPolyCount,
  689. DrawArcFlipX,
  690. DrawArcFlipY,
  691. DrawLineBlue,
  692. DrawLineGreen,
  693. DrawLineRed,
  694. DrawLinePalette,
  695. DrawLineDashDot,
  696. DrawLineDashDotDot,
  697. DrawLineDash,
  698. DrawLineDot,
  699. DrawLineGray,
  700. DrawLineHollow,
  701. DrawLineSolid,
  702. DrawLineWidth,
  703. DrawHollowEndArrow,
  704. DrawEndArrowLength,
  705. DrawSolidEndArrow,
  706. DrawEndArrowWidth,
  707. DrawHollowStartArrow,
  708. DrawStartArrowLength,
  709. DrawSolidStartArrow,
  710. DrawStartArrowWidth,
  711. DrawBgFillBlue,
  712. DrawBgFillGreen,
  713. DrawBgFillRed,
  714. DrawBgFillPalette,
  715. DrawBgFillGray,
  716. DrawFgFillBlue,
  717. DrawFgFillGreen,
  718. DrawFgFillRed,
  719. DrawFgFillPalette,
  720. DrawFgFillGray,
  721. DrawFillPatIndex,
  722. DrawShadow,
  723. DrawShadowXOffset,
  724. DrawShadowYOffset,
  725. // Major.IndexAttr
  726. IndexNumber,
  727. IndexBold,
  728. IndexItalic,
  729. // Major.Unicode
  730. UnicodeCharBytes,
  731. UnicodeChar,
  732. UnicodeDestination,
  733. UnicodeDualDestination,
  734. UnicodeAnsiCodepage
  735. }
  736. }