tomConstants enumeration

Defines values that are used with the Text Object Model (TOM) API.

Syntax


typedef enum __MIDL___MIDL_itf_tom_0000_0000_0001 { 
  tomFalse                            = 0,
  tomTrue                             = -1,
  tomUndefined                        = -9999999,
  tomToggle                           = -9999998,
  tomAutoColor                        = -9999997,
  tomDefault                          = -9999996,
  tomSuspend                          = -9999995,
  tomResume                           = -9999994,
  tomApplyNow                         = 0,
  tomApplyLater                       = 1,
  tomTrackParms                       = 2,
  tomCacheParms                       = 3,
  tomApplyTmp                         = 4,
  tomDisableSmartFont                 = 8,
  tomEnableSmartFont                  = 9,
  tomUsePoints                        = 10,
  tomUseTwips                         = 11,
  tomBackward                         = 0xc0000001,
  tomForward                          = 0x3fffffff,
  tomMove                             = 0,
  tomExtend                           = 1,
  tomNoSelection                      = 0,
  tomSelectionIP                      = 1,
  tomSelectionNormal                  = 2,
  tomSelectionFrame                   = 3,
  tomSelectionColumn                  = 4,
  tomSelectionRow                     = 5,
  tomSelectionBlock                   = 6,
  tomSelectionInlineShape             = 7,
  tomSelectionShape                   = 8,
  tomSelStartActive                   = 1,
  tomSelAtEOL                         = 2,
  tomSelOvertype                      = 4,
  tomSelActive                        = 8,
  tomSelReplace                       = 16,
  tomEnd                              = 0,
  tomStart                            = 32,
  tomCollapseEnd                      = 0,
  tomCollapseStart                    = 1,
  tomClientCoord                      = 256,
  tomAllowOffClient                   = 512,
  tomTransform                        = 1024,
  tomObjectArg                        = 2048,
  tomAtEnd                            = 4096,
  tomNone                             = 0,
  tomSingle                           = 1,
  tomWords                            = 2,
  tomDouble                           = 3,
  tomDotted                           = 4,
  tomDash                             = 5,
  tomDashDot                          = 6,
  tomDashDotDot                       = 7,
  tomWave                             = 8,
  tomThick                            = 9,
  tomHair                             = 10,
  tomDoubleWave                       = 11,
  tomHeavyWave                        = 12,
  tomLongDash                         = 13,
  tomThickDash                        = 14,
  tomThickDashDot                     = 15,
  tomThickDashDotDot                  = 16,
  tomThickDotted                      = 17,
  tomThickLongDash                    = 18,
  tomLineSpaceSingle                  = 0,
  tomLineSpace1pt5                    = 1,
  tomLineSpaceDouble                  = 2,
  tomLineSpaceAtLeast                 = 3,
  tomLineSpaceExactly                 = 4,
  tomLineSpaceMultiple                = 5,
  tomLineSpacePercent                 = 6,
  tomAlignLeft                        = 0,
  tomAlignCenter                      = 1,
  tomAlignRight                       = 2,
  tomAlignJustify                     = 3,
  tomAlignDecimal                     = 3,
  tomAlignBar                         = 4,
  tomDefaultTab                       = 5,
  tomAlignInterWord                   = 3,
  tomAlignNewspaper                   = 4,
  tomAlignInterLetter                 = 5,
  tomAlignScaled                      = 6,
  tomSpaces                           = 0,
  tomDots                             = 1,
  tomDashes                           = 2,
  tomLines                            = 3,
  tomThickLines                       = 4,
  tomEquals                           = 5,
  tomTabBack                          = -3,
  tomTabNext                          = -2,
  tomTabHere                          = -1,
  tomListNone                         = 0,
  tomListBullet                       = 1,
  tomListNumberAsArabic               = 2,
  tomListNumberAsLCLetter             = 3,
  tomListNumberAsUCLetter             = 4,
  tomListNumberAsLCRoman              = 5,
  tomListNumberAsUCRoman              = 6,
  tomListNumberAsSequence             = 7,
  tomListNumberedCircle               = 8,
  tomListNumberedBlackCircleWingding  = 9,
  tomListNumberedWhiteCircleWingding  = 10,
  tomListNumberedArabicWide           = 11,
  tomListNumberedChS                  = 12,
  tomListNumberedChT                  = 13,
  tomListNumberedJpnChS               = 14,
  tomListNumberedJpnKor               = 15,
  tomListNumberedArabic1              = 16,
  tomListNumberedArabic2              = 17,
  tomListNumberedHebrew               = 18,
  tomListNumberedThaiAlpha            = 19,
  tomListNumberedThaiNum              = 20,
  tomListNumberedHindiAlpha           = 21,
  tomListNumberedHindiAlpha1          = 22,
  tomListNumberedHindiNum             = 23,
  tomListParentheses                  = 0x10000,
  tomListPeriod                       = 0x20000,
  tomListPlain                        = 0x30000,
  tomListNoNumber                     = 0x40000,
  tomListMinus                        = 0x80000,
  tomIgnoreNumberStyle                = 0x1000000,
  tomParaStyleNormal                  = -1,
  tomParaStyleHeading1                = -2,
  tomParaStyleHeading2                = -3,
  tomParaStyleHeading3                = -4,
  tomParaStyleHeading4                = -5,
  tomParaStyleHeading5                = -6,
  tomParaStyleHeading6                = -7,
  tomParaStyleHeading7                = -8,
  tomParaStyleHeading8                = -9,
  tomParaStyleHeading9                = -10,
  tomCharacter                        = 1,
  tomWord                             = 2,
  tomSentence                         = 3,
  tomParagraph                        = 4,
  tomLine                             = 5,
  tomStory                            = 6,
  tomScreen                           = 7,
  tomSection                          = 8,
  tomTableColumn                      = 9,
  tomColumn                           = 9,
  tomRow                              = 10,
  tomWindow                           = 11,
  tomCell                             = 12,
  tomCharFormat                       = 13,
  tomParaFormat                       = 14,
  tomTable                            = 15,
  tomObject                           = 16,
  tomPage                             = 17,
  tomHardParagraph                    = 18,
  tomCluster                          = 19,
  tomInlineObject                     = 20,
  tomInlineObjectArg                  = 21,
  tomLeafLine                         = 22,
  tomLayoutColumn                     = 23,
  tomProcessId                        = 0x40000001,
  tomMatchWord                        = 2,
  tomMatchCase                        = 4,
  tomMatchPattern                     = 8,
  tomUnknownStory                     = 0,
  tomMainTextStory                    = 1,
  tomFootnotesStory                   = 2,
  tomEndnotesStory                    = 3,
  tomCommentsStory                    = 4,
  tomTextFrameStory                   = 5,
  tomEvenPagesHeaderStory             = 6,
  tomPrimaryHeaderStory               = 7,
  tomEvenPagesFooterStory             = 8,
  tomPrimaryFooterStory               = 9,
  tomFirstPageHeaderStory             = 10,
  tomFirstPageFooterStory             = 11,
  tomScratchStory                     = 127,
  tomFindStory                        = 128,
  tomReplaceStory                     = 129,
  tomStoryInactive                    = 1,
  tomStoryActiveDisplay               = 1,
  tomStoryActiveUI                    = 2,
  tomStoryActiveDisplayUI             = 3,
  tomNoAnimation                      = 0,
  tomLasVegasLights                   = 1,
  tomBlinkingBackground               = 2,
  tomSparkleText                      = 3,
  tomMarchingBlackAnts                = 4,
  tomMarchingRedAnts                  = 5,
  tomShimmer                          = 6,
  tomWipeDown                         = 7,
  tomWipeRight                        = 8,
  tomAnimationMax                     = 8,
  tomLowerCase                        = 0,
  tomUpperCase                        = 1,
  tomTitleCase                        = 2,
  tomSentenceCase                     = 4,
  tomToggleCase                       = 5,
  tomReadOnly                         = 0x100,
  tomShareDenyRead                    = 0x200,
  tomShareDenyWrite                   = 0x400,
  tomPasteFile                        = 0x1000,
  tomCreateNew                        = 0x10,
  tomCreateAlways                     = 0x20,
  tomOpenExisting                     = 0x30,
  tomOpenAlways                       = 0x40,
  tomTruncateExisting                 = 0x50,
  tomRTF                              = 0x1,
  tomText                             = 0x2,
  tomHTML                             = 0x3,
  tomWordDocument                     = 0x4,
  tomBold                             = 0x80000001,
  tomItalic                           = 0x80000002,
  tomUnderline                        = 0x80000004,
  tomStrikeout                        = 0x80000008,
  tomProtected                        = 0x80000010,
  tomLink                             = 0x80000020,
  tomSmallCaps                        = 0x80000040,
  tomAllCaps                          = 0x80000080,
  tomHidden                           = 0x80000100,
  tomOutline                          = 0x80000200,
  tomShadow                           = 0x80000400,
  tomEmboss                           = 0x80000800,
  tomImprint                          = 0x80001000,
  tomDisabled                         = 0x80002000,
  tomRevised                          = 0x80004000,
  tomSubscriptCF                      = 0x80010000,
  tomSuperscriptCF                    = 0x80020000,
  tomFontBound                        = 0x80100000,
  tomLinkProtected                    = 0x80800000,
  tomInlineObjectStart                = 0x81000000,
  tomExtendedChar                     = 0x82000000,
  tomAutoBackColor                    = 0x84000000,
  tomMathZoneNoBuildUp                = 0x88000000,
  tomMathZone                         = 0x90000000,
  tomMathZoneOrdinary                 = 0xa0000000,
  tomAutoTextColor                    = 0xC0000000,
  tomMathZoneDisplay                  = 0x40000,
  tomParaEffectRTL                    = 0x1,
  tomParaEffectKeep                   = 0x2,
  tomParaEffectKeepNext               = 0x4,
  tomParaEffectPageBreakBefore        = 0x8,
  tomParaEffectNoLineNumber           = 0x10,
  tomParaEffectNoWidowControl         = 0x20,
  tomParaEffectDoNotHyphen            = 0x40,
  tomParaEffectSideBySide             = 0x80,
  tomParaEffectCollapsed              = 0x100,
  tomParaEffectOutlineLevel           = 0x200,
  tomParaEffectBox                    = 0x400,
  tomParaEffectTableRowDelimiter      = 0x1000,
  tomParaEffectTable                  = 0x4000,
  tomModWidthPairs                    = 0x1,
  tomModWidthSpace                    = 0x2,
  tomAutoSpaceAlpha                   = 0x4,
  tomAutoSpaceNumeric                 = 0x8,
  tomAutoSpaceParens                  = 0x10,
  tomEmbeddedFont                     = 0x20,
  tomDoublestrike                     = 0x40,
  tomOverlapping                      = 0x80,
  tomNormalCaret                      = 0,
  tomKoreanBlockCaret                 = 0x1,
  tomNullCaret                        = 0x2,
  tomIncludeInset                     = 0x1,
  tomUnicodeBiDi                      = 0x1,
  tomMathCFCheck                      = 0x4,
  tomUnlink                           = 0x8,
  tomUnhide                           = 0x10,
  tomCheckTextLimit                   = 0x20,
  tomIgnoreCurrentFont                = 0,
  tomMatchCharRep                     = 0x1,
  tomMatchFontSignature               = 0x2,
  tomMatchAscii                       = 0x4,
  tomGetHeightOnly                    = 0x8,
  tomMatchMathFont                    = 0x10,
  tomCharset                          = 0x80000000,
  tomCharRepFromLcid                  = 0x40000000,
  tomAnsi                             = 0,
  tomEastEurope                       = 1,
  tomCyrillic                         = 2,
  tomGreek                            = 3,
  tomTurkish                          = 4,
  tomHebrew                           = 5,
  tomArabic                           = 6,
  tomBaltic                           = 7,
  tomVietnamese                       = 8,
  tomDefaultCharRep                   = 9,
  tomSymbol                           = 10,
  tomThai                             = 11,
  tomShiftJIS                         = 12,
  tomGB2312                           = 13,
  tomHangul                           = 14,
  tomBIG5                             = 15,
  tomPC437                            = 16,
  tomOEM                              = 17,
  tomMac                              = 18,
  tomArmenian                         = 19,
  tomSyriac                           = 20,
  tomThaana                           = 21,
  tomDevanagari                       = 22,
  tomBengali                          = 23,
  tomGurmukhi                         = 24,
  tomGujarati                         = 25,
  tomOriya                            = 26,
  tomTamil                            = 27,
  tomTelugu                           = 28,
  tomKannada                          = 29,
  tomMalayalam                        = 30,
  tomSinhala                          = 31,
  tomLao                              = 32,
  tomTibetan                          = 33,
  tomMyanmar                          = 34,
  tomGeorgian                         = 35,
  tomJamo                             = 36,
  tomEthiopic                         = 37,
  tomCherokee                         = 38,
  tomAboriginal                       = 39,
  tomOgham                            = 40,
  tomRunic                            = 41,
  tomKhmer                            = 42,
  tomMongolian                        = 43,
  tomBraille                          = 44,
  tomYi                               = 45,
  tomLimbu                            = 46,
  tomTaiLe                            = 47,
  tomNewTaiLue                        = 48,
  tomSylotiNagri                      = 49,
  tomKharoshthi                       = 50,
  tomKayahli                          = 51,
  tomUsymbol                          = 52,
  tomEmoji                            = 53,
  tomGlagolitic                       = 54,
  tomLisu                             = 55,
  tomVai                              = 56,
  tomNKo                              = 57,
  tomOsmanya                          = 58,
  tomPhagsPa                          = 59,
  tomGothic                           = 60,
  tomDeseret                          = 61,
  tomTifinagh                         = 62,
  tomCharRepMax                       = 62,
  tomRE10Mode                         = 0x1,
  tomUseAtFont                        = 0x2,
  tomTextFlowMask                     = 0xc,
  tomTextFlowES                       = 0,
  tomTextFlowSW                       = 0x4,
  tomTextFlowWN                       = 0x8,
  tomTextFlowNE                       = 0xc,
  tomNoIME                            = 0x80000,
  tomSelfIME                          = 0x40000,
  tomNoUpScroll                       = 0x10000,
  tomNoVpScroll                       = 0x40000,
  tomNoLink                           = 0,
  tomClientLink                       = 1,
  tomFriendlyLinkName                 = 2,
  tomFriendlyLinkAddress              = 3,
  tomAutoLinkURL                      = 4,
  tomAutoLinkEmail                    = 5,
  tomAutoLinkPhone                    = 6,
  tomAutoLinkPath                     = 7,
  tomCompressNone                     = 0,
  tomCompressPunctuation              = 1,
  tomCompressPunctuationAndKana       = 2,
  tomCompressMax                      = 2,
  tomUnderlinePositionAuto            = 0,
  tomUnderlinePositionBelow           = 1,
  tomUnderlinePositionAbove           = 2,
  tomUnderlinePositionMax             = 2,
  tomFontAlignmentAuto                = 0,
  tomFontAlignmentTop                 = 1,
  tomFontAlignmentBaseline            = 2,
  tomFontAlignmentBottom              = 3,
  tomFontAlignmentCenter              = 4,
  tomFontAlignmentMax                 = 4,
  tomLimitsDefault                    = 0,
  tomLimitsUnderOver                  = 1,
  tomLimitsSubSup                     = 2,
  tomUpperLimitAsSuperScript          = 3,
  tomLimitsOpposite                   = 4,
  tomShowLLimPlaceHldr                = 8,
  tomShowULimPlaceHldr                = 16,
  tomDontGrowWithContent              = 64,
  tomGrowWithContent                  = 128,
  tomSubSupAlign                      = 1,
  tomLimitAlignMask                   = 3,
  tomLimitAlignCenter                 = 0,
  tomLimitAlignLeft                   = 1,
  tomLimitAlignRight                  = 2,
  tomShowDegPlaceHldr                 = 8,
  tomAlignDefault                     = 0,
  tomAlignMatchAscentDescent          = 2,
  tomMathVariant                      = 0x20,
  tomStyleDefault                     = 0,
  tomStyleScriptScriptCramped         = 1,
  tomStyleScriptScript                = 2,
  tomStyleScriptCramped               = 3,
  tomStyleScript                      = 4,
  tomStyleTextCramped                 = 5,
  tomStyleText                        = 6,
  tomStyleDisplayCramped              = 7,
  tomStyleDisplay                     = 8,
  tomMathRelSize                      = 0x40,
  tomDecDecSize                       = 0xfe,
  tomDecSize                          = 0xff,
  tomIncSize                          = ( 1 | tomMathRelSize ),
  tomIncIncSize                       = ( 2 | tomMathRelSize ),
  tomGravityUI                        = 0,
  tomGravityBack                      = 1,
  tomGravityFore                      = 2,
  tomGravityIn                        = 3,
  tomGravityOut                       = 4,
  tomTeX                              = 1,
  tomNeedTermOp                       = 2,
  tomMathAlphabetics                  = 4,
  tomMathSingleChar                   = 8,
  tomPlain                            = 16,
  tomHaveDelimiter                    = 32,
  tomUseOperandPrec                   = 64,
  tomMathCollapseSel                  = 128,
  tomMathAutoCorrect                  = 256,
  tomMathBuildUpArgOrZone             = 512,
  tomMathBuildUpRecurse               = 1024,
  tomMathBuildDownOutermost           = 2048,
  tomChemicalFormula                  = 0x1000,
  tomMathBuildDown                    = 0x2000,
  tomMathApplyTemplate                = 0x4000,
  tomMathRemoveOutermost              = 0x8000,
  tomMathChangeMask                   = 0x1f0000,
  tomMathInsRowBefore                 = 0x10000,
  tomMathInsRowAfter                  = 0x20000,
  tomMathInsColBefore                 = 0x30000,
  tomMathInsColAfter                  = 0x40000,
  tomMathDeleteRow                    = 0x50000,
  tomMathDeleteCol                    = 0x60000,
  tomMathDeleteArg                    = 0x70000,
  tomMathDeleteArg1                   = 0x80000,
  tomMathDeleteArg2                   = 0x90000,
  tomMathMakeFracLinear               = 0xa0000,
  tomMathMakeFracStacked              = 0xb0000,
  tomMathMakeFracSlashed              = 0xc0000,
  tomMathMakeLeftSubSup               = 0xd0000,
  tomMathMakeSubSup                   = 0xe0000,
  tomMathBackspace                    = 0x100000,
  tomMathEnter                        = 0x110000,
  tomMathShiftTab                     = 0x120000,
  tomMathTab                          = 0x130000,
  tomMathAlignBreakLeft               = 0x140000,
  tomMathAlignBreakCenter             = 0x150000,
  tomMathAlignBreakRight              = 0x160000,
  tomMathSubscript                    = 0x170000,
  tomMathSuperscript                  = 0x180000,
  tomMathArabicAlphabetics            = 0x800000,
  tomMathAutoCorrectOpPairs           = 0x1000000,
  tomMathAutoCorrectExt               = 0x2000000,
  tomShowEmptyArgPlaceholders         = 0x4000000,
  tomMathAutoComplete                 = 0x8000000,
  tomMathRichEdit                     = 0x40000000,
  tomSpecialChar                      = 0x80000000,
  tomAdjustCRLF                       = 1,
  tomUseCRLF                          = 2,
  tomTextize                          = 4,
  tomAllowFinalEOP                    = 8,
  tomFoldMathAlpha                    = 16,
  tomNoHidden                         = 32,
  tomIncludeNumbering                 = 64,
  tomTranslateTableCell               = 128,
  tomNoMathZoneBrackets               = 0x100,
  tomConvertMathChar                  = 0x200,
  tomNoUCGreekItalic                  = 0x400,
  tomAllowMathBold                    = 0x800,
  tomLanguageTag                      = 0x1000,
  tomConvertRTF                       = 0x2000,
  tomApplyRtfDocProps                 = 0x4000,
  tomPhantomShow                      = 1,
  tomPhantomZeroWidth                 = 2,
  tomPhantomZeroAscent                = 4,
  tomPhantomZeroDescent               = 8,
  tomPhantomTransparent               = 16,
  tomPhantomASmash                    = ( tomPhantomShow | tomPhantomZeroAscent ),
  tomPhantomDSmash                    = ( tomPhantomShow | tomPhantomZeroDescent ),
  tomPhantomHSmash                    = ( tomPhantomShow | tomPhantomZeroWidth ),
  tomPhantomSmash                     = ( ( tomPhantomShow | tomPhantomZeroAscent ) | tomPhantomZeroDescent ),
  tomPhantomHorz                      = ( tomPhantomZeroAscent | tomPhantomZeroDescent ),
  tomPhantomVert                      = tomPhantomZeroWidth,
  tomBoxHideTop                       = 1,
  tomBoxHideBottom                    = 2,
  tomBoxHideLeft                      = 4,
  tomBoxHideRight                     = 8,
  tomBoxStrikeH                       = 16,
  tomBoxStrikeV                       = 32,
  tomBoxStrikeTLBR                    = 64,
  tomBoxStrikeBLTR                    = 128,
  tomBoxAlignCenter                   = 1,
  tomSpaceMask                        = 0x1c,
  tomSpaceDefault                     = 0,
  tomSpaceUnary                       = 4,
  tomSpaceBinary                      = 8,
  tomSpaceRelational                  = 12,
  tomSpaceSkip                        = 16,
  tomSpaceOrd                         = 20,
  tomSpaceDifferential                = 24,
  tomSizeText                         = 32,
  tomSizeScript                       = 64,
  tomSizeScriptScript                 = 96,
  tomNoBreak                          = 128,
  tomTransparentForPositioning        = 256,
  tomTransparentForSpacing            = 512,
  tomStretchCharBelow                 = 0,
  tomStretchCharAbove                 = 1,
  tomStretchBaseBelow                 = 2,
  tomStretchBaseAbove                 = 3,
  tomMatrixAlignMask                  = 3,
  tomMatrixAlignCenter                = 0,
  tomMatrixAlignTopRow                = 1,
  tomMatrixAlignBottomRow             = 3,
  tomEqArrayAlignTopRow               = 4,
  tomShowMatPlaceHldr                 = 8,
  tomEqArrayLayoutWidth               = 1,
  tomEqArrayAlignMask                 = 0xc,
  tomEqArrayAlignCenter               = 0,
  tomEqArrayAlignTopRow               = 4,
  tomEqArrayAlignBottomRow            = 0xc,
  tomMathManualBreakMask              = 0x7f,
  tomMathBreakLeft                    = 0x7d,
  tomMathBreakCenter                  = 0x7e,
  tomMathBreakRight                   = 0x7f,
  tomMathEqAlign                      = 0x80,
  tomMathArgShadingStart              = 0x251,
  tomMathArgShadingEnd                = 0x252,
  tomMathObjShadingStart              = 0x253,
  tomMathObjShadingEnd                = 0x254,
  tomFunctionTypeNone                 = 0,
  tomFunctionTypeTakesArg             = 1,
  tomFunctionTypeTakesLim             = 2,
  tomFunctionTypeTakesLim2            = 3,
  tomFunctionTypeIsLim                = 4,
  tomMathParaAlignDefault             = 0,
  tomMathParaAlignCenterGroup         = 1,
  tomMathParaAlignCenter              = 2,
  tomMathParaAlignLeft                = 3,
  tomMathParaAlignRight               = 4,
  tomMathDispAlignMask                = 3,
  tomMathDispAlignCenterGroup         = 0,
  tomMathDispAlignCenter              = 1,
  tomMathDispAlignLeft                = 2,
  tomMathDispAlignRight               = 3,
  tomMathDispIntUnderOver             = 4,
  tomMathDispFracTeX                  = 8,
  tomMathDispNaryGrow                 = 0x10,
  tomMathDocEmptyArgMask              = 0x60,
  tomMathDocEmptyArgAuto              = 0,
  tomMathDocEmptyArgAlways            = 0x20,
  tomMathDocEmptyArgNever             = 0x40,
  tomMathDocSbSpOpUnchanged           = 0x80,
  tomMathDocDiffMask                  = 0x300,
  tomMathDocDiffDefault               = 0,
  tomMathDocDiffUpright               = 0x100,
  tomMathDocDiffItalic                = 0x200,
  tomMathDocDiffOpenItalic            = 0x300,
  tomMathDispNarySubSup               = 0x400,
  tomMathDispDef                      = 0x800,
  tomMathEnableRtl                    = 0x1000,
  tomMathBrkBinMask                   = 0x30000,
  tomMathBrkBinBefore                 = 0,
  tomMathBrkBinAfter                  = 0x10000,
  tomMathBrkBinDup                    = 0x20000,
  tomMathBrkBinSubMask                = 0xc0000,
  tomMathBrkBinSubMM                  = 0,
  tomMathBrkBinSubPM                  = 0x40000,
  tomMathBrkBinSubMP                  = 0x80000,
  tomSelRange                         = 0x255,
  tomHstring                          = 0x254,
  tomFontPropTeXStyle                 = 0x33c,
  tomFontPropAlign                    = 0x33d,
  tomFontStretch                      = 0x33e,
  tomFontStyle                        = 0x33f,
  tomFontStyleUpright                 = 0,
  tomFontStyleOblique                 = 1,
  tomFontStyleItalic                  = 2,
  tomFontStretchDefault               = 0,
  tomFontStretchUltraCondensed        = 1,
  tomFontStretchExtraCondensed        = 2,
  tomFontStretchCondensed             = 3,
  tomFontStretchSemiCondensed         = 4,
  tomFontStretchNormal                = 5,
  tomFontStretchSemiExpanded          = 6,
  tomFontStretchExpanded              = 7,
  tomFontStretchExtraExpanded         = 8,
  tomFontStretchUltraExpanded         = 9,
  tomFontWeightDefault                = 0,
  tomFontWeightThin                   = 100,
  tomFontWeightExtraLight             = 200,
  tomFontWeightLight                  = 300,
  tomFontWeightNormal                 = 400,
  tomFontWeightRegular                = 400,
  tomFontWeightMedium                 = 500,
  tomFontWeightSemiBold               = 600,
  tomFontWeightBold                   = 700,
  tomFontWeightExtraBold              = 800,
  tomFontWeightBlack                  = 900,
  tomFontWeightHeavy                  = 900,
  tomFontWeightExtraBlack             = 950,
  tomParaPropMathAlign                = 0x437,
  tomDocMathBuild                     = 0x80,
  tomMathLMargin                      = 0x81,
  tomMathRMargin                      = 0x82,
  tomMathWrapIndent                   = 0x83,
  tomMathWrapRight                    = 0x84,
  tomMathPostSpace                    = 0x86,
  tomMathPreSpace                     = 0x85,
  tomMathInterSpace                   = 0x87,
  tomMathIntraSpace                   = 0x88,
  tomCanCopy                          = 0x89,
  tomCanRedo                          = 0x8a,
  tomCanUndo                          = 0x8b,
  tomUndoLimit                        = 0x8c,
  tomDocAutoLink                      = 0x8d,
  tomEllipsisMode                     = 0x8e,
  tomEllipsisState                    = 0x8f,
  tomEllipsisNone                     = 0,
  tomEllipsisEnd                      = 1,
  tomEllipsisWord                     = 3,
  tomEllipsisPresent                  = 1,
  tomVTopCell                         = 1,
  tomVLowCell                         = 2,
  tomHStartCell                       = 4,
  tomHContCell                        = 8,
  tomRowUpdate                        = 1,
  tomCellStructureChangeOnly          = 1,
  tomRowHeightActual                  = 0x80b
} tomConstants;

Constants

tomFalse

A tomBool value that indicates false.

tomTrue

A tomBool value that indicates true.

tomUndefined

A tomBool value that indicates a no-input, no-change value that works with long, float, and COLORREF parameters. For strings, tomUndefined (or NINCH) is represented by the null string. For Set operations, using tomUndefined does not change the target property. For Get operations, tomUndefined means that the characters in the range have different values (it gives the grayed check box in property dialog boxes).

tomToggle

A tomBool value that toggles the state of a property.

tomAutoColor

Allow the rich edit control to select the appropriate color.

tomDefault

Set to the document default format for objects that are attached to a range, or to the basic TOM engine default for objects that are not attached to a range.

tomSuspend

Suspend an operation.

tomResume

Resume an operation.

tomApplyNow

Apply the current properties to the attached range.

tomApplyLater

Allow setting property definitions, but don’t apply them to a range yet.

tomTrackParms

Update the current font with the attached range properties.

tomCacheParms

Don’t update the current font with the attached range properties.

tomApplyTmp

Apply temporary formatting.

tomDisableSmartFont

Do not apply smart fonts.

tomEnableSmartFont

Do apply smart fonts.

tomUsePoints

Use points for floating-point measurements.

tomUseTwips

Use twips for floating-point measurements.

tomBackward

Move backward toward the start of a story.

tomForward

Move foreward toward the end of a story.

tomMove

Collapse the selection or range to an insertion point and then move the insertion point.

tomExtend

Extend a selection or range by moving one of the endpoints.

tomNoSelection

There is no selection and no insertion point.

tomSelectionIP

The selection insertion point.

tomSelectionNormal

The selection is a single, nondegenerate text range.

tomSelectionFrame

A frame is selected.

tomSelectionColumn

One or more table columns is selected.

tomSelectionRow

One or more table rows is selected.

tomSelectionBlock

A block is selected.

tomSelectionInlineShape

The selection is a picture.

tomSelectionShape

A shape is selected.

tomSelStartActive

The starting position of the selection is active.

tomSelAtEOL

For degenerate selections, the ambiguous character position corresponding to both the beginning of a line and the end of the preceding line should have the caret displayed at the end of the preceding line.

tomSelOvertype

Insert/overtype mode is set to overtype.

tomSelActive

Selection is active.

tomSelReplace

Typing and pasting replaces the selection.

tomEnd

The end of a text range.

tomStart

The start of range.

tomCollapseEnd

Collapse to the end position of a range or selection.

tomCollapseStart

Collapse to the start position of a range or selection.

tomClientCoord

Use client coordinates instead of screen coordinates.

tomAllowOffClient

Allow points outside of the client area.

tomTransform

Transform coordinates using a world transform (XFORM) supplied by the host application.

tomObjectArg

Get a point inside an inline object argument; for example, inside the numerator of a fraction.

tomAtEnd

The end of the specified unit.

tomNone

No underlining.

tomSingle

Single underline.

tomWords

Underline words only.

tomDouble

Double underline.

tomDotted

Dotted underline.

tomDash

Dash underline.

tomDashDot

Dash dot underline.

tomDashDotDot

Dash dot dot underline.

tomWave

Wave underline.

tomThick

Thick underline.

tomHair

Hair underline.

tomDoubleWave

Double wave underline.

tomHeavyWave

Heavy wave underline.

tomLongDash

Long dash underline.

tomThickDash

Thick dash underline.

tomThickDashDot

Thick dash dot underline.

tomThickDashDotDot

Thick dash dot dot underline.

tomThickDotted

Thick dotted underline.

tomThickLongDash

Thick long dash underline.

tomLineSpaceSingle

Single space. The line-spacing value is ignored.

tomLineSpace1pt5

One-and-a-half line spacing. The line-spacing value is ignored.

tomLineSpaceDouble

Double line spacing. The line-spacing value is ignored.

tomLineSpaceAtLeast

The line-spacing value specifies the spacing from one line to the next. However, if the value is less than single spacing, text is single-spaced.

tomLineSpaceExactly

The line-spacing value specifies the exact spacing from one line to the next, even if the value is less than single spacing.

tomLineSpaceMultiple

The line-spacing value specifies the line spacing, in lines.

tomLineSpacePercent

The line-spacing value specifies the line spacing by percent of line height.

tomAlignLeft

Text aligns with the left margin.

tomAlignCenter

Text is centered between the margins.

tomAlignRight

Text aligns with the right margin.

tomAlignJustify

Text starts at the left margin and, if the line extends beyond the right margin, all the spaces in the line are adjusted to be even.

tomAlignDecimal

The decimal point is set at the tab position. This is useful for aligning a column of decimal numbers.

tomAlignBar

A vertical bar is positioned at the tab position. Text is not affected. Alignment bars on nearby lines at the same position form a continuous vertical line.

tomDefaultTab

Position at a default tab stop.

tomAlignInterWord

Same as tomAlignJustify.

tomAlignNewspaper

Same as tomAlignInterLetter, but uses East Asian metrics.

tomAlignInterLetter

The first and last characters of each line (except the last line) are aligned to the left and right margins, and lines are filled by adding or subtracting the same amount from each character.

tomAlignScaled

Same as tomAlignInterLetter, but uses East Asian metrics, and scales the spacing by the width of characters.

tomSpaces

Use spaces to fill the spaces taken by a tab character.

tomDots

Use dots to fill the spaces taken by a tab character.

tomDashes

Use dashes to fill the spaces taken by a tab character.

tomLines

Use solid lines to fill the spaces taken by a tab character.

tomThickLines

Use thick solid lines to fill the spaces taken by a tab character.

tomEquals

Use equal signs to fill the spaces taken by a tab character.

tomTabBack

The tab preceding the specified location.

tomTabNext

The next tab following the specified location.

tomTabHere

The tab at the specified location.

tomListNone

Not a list paragraph.

tomListBullet

List uses bullets (0x2022); other bullets are given by > 32.

tomListNumberAsArabic

List is numbered with Arabic numerals (0, 1, 2, ...).

tomListNumberAsLCLetter

List is ordered with lowercase letters (a, b, c, ...).

tomListNumberAsUCLetter

List is ordered with uppercase Arabic letters (A, B, C, ...).

tomListNumberAsLCRoman

List is ordered with lowercase Roman letters (i, ii, iii, ...).

tomListNumberAsUCRoman

List is ordered with uppercase Roman letters (I, II, III, ...).

tomListNumberAsSequence

The value returned by ITextPara::GetListStart is treated as the first code in a Unicode sequence.

tomListNumberedCircle

List is ordered with Unicode circled numbers

Unicode numbers in a circle.
tomListNumberedBlackCircleWingding

List is ordered with Wingdings black circled digits

Circled black digits.
tomListNumberedWhiteCircleWingding

List is ordered with Wingdings white circled digits:

White digits in a black circle.
tomListNumberedArabicWide

Full-width ASCII (0, 1, 2, 3, …).

tomListNumberedChS

Chinese with 十 only in items 10 through 99 (一, 二, 三, 四…).

tomListNumberedChT

Chinese with 十 only in items 10 through 19.

tomListNumberedJpnChS

Chinese with a full-width period, no 十.

tomListNumberedJpnKor

Chinese with no 十.

tomListNumberedArabic1

Arabic alphabetic ( أ ,ب ,ت ,ث ,…).

tomListNumberedArabic2

Arabic abjadi ( أ ,ب ,ج ,د ,…).

tomListNumberedHebrew

Hebrew alphabet (א, ב, ג, ד, …).

tomListNumberedThaiAlpha

Thai alphabetic (ก, ข,ค, ง, …).

tomListNumberedThaiNum

Thai numbers (๑, ๒,๓, ๔…).

tomListNumberedHindiAlpha

Hindi vowels (अ, आ, इ, ई, …).

tomListNumberedHindiAlpha1

Hindi consonants (क, ख, ग, घ, …).

tomListNumberedHindiNum

Hindi numbers (१, २, ३, ४, …).

tomListParentheses

Encloses the number in parentheses, as in: (1).

tomListPeriod

Follows the number with a period.

tomListPlain

Uses the number alone.

tomListNoNumber

Uses no numbers.

tomListMinus

Follows the number with a hyphen (-).

tomIgnoreNumberStyle

Suppress the numbering style for list items.

tomParaStyleNormal

The normal paragraph style.

tomParaStyleHeading1

The style for level 1 paragraph headings.

tomParaStyleHeading2

The style for level 2 paragraph headings.

tomParaStyleHeading3

The style for level 3 paragraph headings.

tomParaStyleHeading4

The style for level 4 paragraph headings.

tomParaStyleHeading5

The style for level 5 paragraph headings.

tomParaStyleHeading6

The style for level 6 paragraph headings.

tomParaStyleHeading7

The style for level 7 paragraph headings.

tomParaStyleHeading8

The style for level 8 paragraph headings.

tomParaStyleHeading9

The style for level 9 paragraph headings.

tomCharacter

The unit is a single character.

tomWord

The unit is a word.

tomSentence

The unit is a sentence.

tomParagraph

The unit is a paragraph.

tomLine

The unit is a line.

tomStory

The unit is a story; that is, a contiguous range of text that represent a part of a document, such as the main text of the document, headers and footers, footnotes, annotations, and so on.

tomScreen

The unit is a screenful.

tomSection

The unit is a section.

tomTableColumn

The unit is a table column.

tomColumn

The unit is a text column.

tomRow

The unit is a table row

tomWindow

The unit is a window.

tomCell

The unit is a spreadsheet cell.

tomCharFormat

The unit is a run of constant character formatting.

tomParaFormat

The unit is a run of constant paragraph formatting.

tomTable

The unit is a table.

tomObject

The unit is an embedded object.

tomPage

The unit is a page.

tomHardParagraph

The unit is a hard paragraph.

tomCluster

The unit is a cluster of characters.

tomInlineObject

The unit is an inline object.

tomInlineObjectArg

The unit is an inline object argument.

tomLeafLine

The unit is a leaf-level line.

tomLayoutColumn

A layout column.

tomProcessId

The identifier of the current process.

tomMatchWord

Match on whole words when doing a text search.

tomMatchCase

A case-sensitive a text search.

tomMatchPattern

Match regular expressions when doing a text search.

tomUnknownStory

No special type.

tomMainTextStory

The main story always exists for a rich edit control.

tomFootnotesStory

The story used for footnotes.

tomEndnotesStory

The story used for endnotes.

tomCommentsStory

The story used for comments.

tomTextFrameStory

The story used for a text box.

tomEvenPagesHeaderStory

The story containing headers for even pages.

tomPrimaryHeaderStory

The story containing headers for odd pages.

tomEvenPagesFooterStory

The story containing footers for even pages.

tomPrimaryFooterStory

The story containing footers for odd pages.

tomFirstPageHeaderStory

The story containing the header for the first page.

tomFirstPageFooterStory

The story containing the footer for the first page.

tomScratchStory

The scratch story.

tomFindStory

The story used for a Find dialog.

tomReplaceStory

The story used for a Replace dialog.

tomStoryInactive

Story is inactive.

tomStoryActiveDisplay

Story has display, but no UI.

tomStoryActiveUI

Story is UI active; that is, it receives keyboard and mouse input.

tomStoryActiveDisplayUI

Story has display and UI activity.

tomNoAnimation

Do not apply text animation.

tomLasVegasLights

Text is bordered by marquee lights that blink between the colors red, yellow, green, and blue.

tomBlinkingBackground

Text has a black background that blinks on and off.

tomSparkleText

Text is overlaid with multicolored stars that blink on and off at regular intervals

tomMarchingBlackAnts

Text is surrounded by a black dashed-line border. The border is animated so that the individual dashes appear to move clockwise around the text.

tomMarchingRedAnts

Text is surrounded by a red dashed-line border that is animated to appear to move clockwise around the text.

tomShimmer

Text is alternately blurred and unblurred at regular intervals, to give the appearance of shimmering.

tomWipeDown

Text appears gradually from the top down.

tomWipeRight

Text appears gradually from the bottom up.

tomAnimationMax

Defines the maximum animation flag value.

tomLowerCase

Set text to lowercase.

tomUpperCase

Set text to uppercase.

tomTitleCase

Capitalize the first letter of each word.

tomSentenceCase

Capitalize the first letter of each sentence.

tomToggleCase

Toggle the case of each letter.

tomReadOnly

Read only.

tomShareDenyRead

Other programs cannot read.

tomShareDenyWrite

Other programs cannot write.

tomPasteFile

Replace the selection with a file.

tomCreateNew

Create a new file. Fail if the file already exists.

tomCreateAlways

Create a new file. Destroy the existing file if it exists.

tomOpenExisting

Open an existing file. Fail if the file does not exist.

tomOpenAlways

Open an existing file. Create a new file if the file does not exist.

tomTruncateExisting

Open an existing file, but truncate it to zero length.

tomRTF

Open as RTF.

tomText

Open as text ANSI or Unicode.

tomHTML

Open as HTML.

tomWordDocument

Open as Word document.

tomBold

Boldface.

tomItalic

Italic.

tomUnderline

Underline.

tomStrikeout

Strikeout.

tomProtected

Protected.

tomLink

Hyperlink.

tomSmallCaps

Small caps.

tomAllCaps

All caps.

tomHidden

Hidden.

tomOutline

Outline.

tomShadow

Shadow.

tomEmboss

Emboss.

tomImprint

Imprint.

tomDisabled

Disabled.

tomRevised

Revised.

tomSubscriptCF

Subscript character format.

tomSuperscriptCF

Superscript character format.

tomFontBound

Font bound (uses font binding).

tomLinkProtected

The link is protected (friendly name link).

tomInlineObjectStart

The start delimiter of an inline object.

tomExtendedChar

The characters are less common members of a script. A font that supports a script should check if it has glyphs for such characters.

tomAutoBackColor

Use system back color.

tomMathZoneNoBuildUp

Don't build up operator.

tomMathZone

Math zone.

tomMathZoneOrdinary

Math zone ordinary text.

tomAutoTextColor

Use system text color.

tomMathZoneDisplay

Display math zone.

tomParaEffectRTL

Right-to-left paragraph

tomParaEffectKeep

Keep the paragraph together.

tomParaEffectKeepNext

Keep with next the paragraph.

tomParaEffectPageBreakBefore

Put a page break before this paragraph.

tomParaEffectNoLineNumber

No line number for this paragraph.

tomParaEffectNoWidowControl

No widow control.

tomParaEffectDoNotHyphen

Don't hyphenate this paragraph.

tomParaEffectSideBySide

Side by side.

tomParaEffectCollapsed

Heading contents are collapsed (in outline view).

tomParaEffectOutlineLevel

Outline view nested level.

tomParaEffectBox

Paragraph has boxed effect (is not displayed).

tomParaEffectTableRowDelimiter

At or inside table delimiter.

tomParaEffectTable

Inside or at the start of a table.

tomModWidthPairs

Use East Asian character-pair-width modification.

tomModWidthSpace

Use East Asian space-width modification.

tomAutoSpaceAlpha

Use East Asian auto spacing between alphabetics.

tomAutoSpaceNumeric

Use East Asian auto spacing for digits.

tomAutoSpaceParens

Use East Asian automatic spacing for parentheses or brackets.

tomEmbeddedFont

Embedded font (CLIP_EMBEDDED).

tomDoublestrike

Double strikeout.

tomOverlapping

Run has overlapping text.

tomNormalCaret

Normal caret.

tomKoreanBlockCaret

The Korean block caret.

tomNullCaret

NULL caret (caret suppressed).

tomIncludeInset

Add left/top insets to the client rectangle, and subtract right/bottom insets from the client rectangle.

tomUnicodeBiDi

Use the Unicode bidirectional (bidi) algorithm.

tomMathCFCheck

Check math-zone character formatting.

tomUnlink

Don't include text as part of a hyperlink.

tomUnhide

Don't insert as hidden text.

tomCheckTextLimit

Obey the current text limit instead of increasing the text to fit.

tomIgnoreCurrentFont

Ignore the font that is active at a particular character position.

tomMatchCharRep

Match the current character repertoire.

tomMatchFontSignature

Match the current font signature.

tomMatchAscii

Use the current font if its character repertoire is tomAnsi.

tomGetHeightOnly

Gets the height.

tomMatchMathFont

Match a math font.

tomCharset

Set the character repertoire based on the specified character set.

tomCharRepFromLcid

Set the character repertoire based on the specified LCID.

tomAnsi

Latin 1

tomEastEurope

From Latin 1 and 2

tomCyrillic

Cyrillic

tomGreek

Greek

tomTurkish

Turkish (Latin 1 + dotless i, ...)

tomHebrew

Hebrew

tomArabic

Arabic

tomBaltic

From Latin 1 and 2

tomVietnamese

Latin 1 with some combining marks

tomDefaultCharRep

Default character repertoire

tomSymbol

Symbol character set (not Unicode)

tomThai

Thai

tomShiftJIS

Japanese

tomGB2312

Simplified Chinese

tomHangul

Hangul

tomBIG5

Traditional Chinese

tomPC437

PC437 character set (DOS)

tomOEM

OEM character set (original PC)

tomMac

Main Macintosh character repertoire

tomArmenian

Armenian

tomSyriac

Syriac

tomThaana

Thaana

tomDevanagari

Devanagari

tomBengali

Bengali

tomGurmukhi

Gurmukhi

tomGujarati

Gujarati

tomOriya

Oriya

tomTamil

Tamil

tomTelugu

Telugu

tomKannada

Kannada

tomMalayalam

Malayalam

tomSinhala

Sinhala

tomLao

Lao

tomTibetan

Tibetan

tomMyanmar

Myanmar

tomGeorgian

Georgian

tomJamo

Jamo

tomEthiopic

Ethiopic

tomCherokee

Cherokee

tomAboriginal

Aboriginal

tomOgham

Ogham

tomRunic

Runic

tomKhmer

Khmer

tomMongolian

Mongolian

tomBraille

Braille

tomYi

Yi

tomLimbu

Limbu

tomTaiLe

TaiLe

tomNewTaiLue

TaiLue

tomSylotiNagri

Syloti Nagri

tomKharoshthi

Kharoshthi

tomKayahli

Kayah Li

tomUsymbol

Unicode symbol

tomEmoji

Emoji

tomGlagolitic

Glagolitic

tomLisu

Lisu

tomVai

Vai

tomNKo

N'Ko

tomOsmanya

Osmanya

tomPhagsPa

Phags-pa

tomGothic

Gothic

tomDeseret

Deseret

tomTifinagh

Tifinagh

tomCharRepMax

The maximum character repertoire flag value.

tomRE10Mode

Use Microsoft Rich Edit 1.0 mode.

tomUseAtFont

Use a font with a name that starts with @, for CJK vertical text. When rendered vertically, the characters in such a font are rotated 90 degrees so that they look upright instead of sideways.

tomTextFlowMask

Mask for the following four text orientations.

tomTextFlowES

Ordinary left-to-right horizontal text.

tomTextFlowSW

Ordinary East Asian vertical text.

tomTextFlowWN

Alternative orientation.

tomTextFlowNE

Alternative orientation.

tomNoIME

Disables the IME operation (see ES_NOIME).

tomSelfIME

Directs the rich edit control to allow the application to handle all IME operations (see ES_SELFIME).

tomNoUpScroll

Horizontal scrolling is disabled.

tomNoVpScroll

Vertical scrolling is disabled.

tomNoLink

Not a link.

tomClientLink

The URL only; that is, no friendly name.

tomFriendlyLinkName

The name of friendly name link.

tomFriendlyLinkAddress

The URL of a friendly name link.

tomAutoLinkURL

The URL of an automatic link.

tomAutoLinkEmail

An automatic link to an email address.

tomAutoLinkPhone

An automatic link to a phone number.

tomAutoLinkPath

An automatic link to a storage location.

tomCompressNone

No compression.

tomCompressPunctuation

Compress punctuation.

tomCompressPunctuationAndKana

Compress punctuation and kana.

tomCompressMax

The maximum compression flag value.

tomUnderlinePositionAuto

Automatically set the underline position.

tomUnderlinePositionBelow

Render underline below text.

tomUnderlinePositionAbove

Render underline above text.

tomUnderlinePositionMax

The maximum underline position flag value.

tomFontAlignmentAuto

For horizontal layout, align CJK characters on the baseline. For vertical layout, center align CJK characters.

tomFontAlignmentTop

For horizontal layout, top align CJK characters. For vertical layout, right align CJK characters.

tomFontAlignmentBaseline

For horizontal or vertical layout, align CJK characters on the baseline.

tomFontAlignmentBottom

For horizontal layout, bottom align CJK characters. For vertical layout, left align CJK characters.

tomFontAlignmentCenter

For horizontal layout, center CJK characters vertically. For vertical layout, center align CJK characters horizontally.

tomFontAlignmentMax

The maximum font alignment flag value.

tomLimitsDefault

Limit locations use document default.

tomLimitsUnderOver

Limits are placed under and over the operator.

tomLimitsSubSup

Limits are operator subscript and superscript.

tomUpperLimitAsSuperScript

The upper limit is a superscript.

tomLimitsOpposite

Switch between tomLimitsSubSup and tomLimitsUnderOver.

tomShowLLimPlaceHldr

Show empty lower limit placeholder.

tomShowULimPlaceHldr

Show empty upper limit placeholder.

tomDontGrowWithContent

Don't grow the n-ary operator with the argument.

tomGrowWithContent

Grow the n-ary operator with the argument.

tomSubSupAlign

Align subscript under superscript.

tomLimitAlignMask

Mask for tomLimitAlignCenter, tomLimitAlignLeft, and tomLimitAlignRight.

tomLimitAlignCenter

Center limit under base.

tomLimitAlignLeft

Align left ends of limit and base.

tomLimitAlignRight

Align right ends of limit and base.

tomShowDegPlaceHldr

Show empty radical degree placeholder.

tomAlignDefault

Center brackets at baseline.

tomAlignMatchAscentDescent

Use brackets that match the argument ascent and descent.

tomMathVariant

Bits 7, 6 can have TeX variant enumeration values:

0: big
1: Big
2: bigg
3: Bigg
tomStyleDefault

The math handler determines the style.

tomStyleScriptScriptCramped

The 2nd and higher level subscript superscript size, cramped.

tomStyleScriptScript

The 2nd and higher level subscript superscript size.

tomStyleScriptCramped

The 1st level subscript superscript size, cramped.

tomStyleScript

The 1st level subscript superscript size.

tomStyleTextCramped

Text size cramped, for example, inside a square root.

tomStyleText

The standard inline text size.

tomStyleDisplayCramped

Display style cramped.

tomStyleDisplay

Display style.

tomMathRelSize

Indicates one of these is active: tomDecDecSize, tomDecSize, tomIncSize, tomIncIncSize. Note that the maximum size is tomStyleText size, and the minimum size is tomStyleScriptScript size.

tomDecDecSize

Two sizes smaller than the default.

tomDecSize

One size smaller than the default.

tomIncSize

One size bigger than the default.

tomIncIncSize

Two sizes bigger than the default.

tomGravityUI

Use selection user interface rules.

tomGravityBack

Both ends have backward gravity.

tomGravityFore

Both ends have forward gravity.

tomGravityIn

Inward gravity; that is, the start is forward, and the end is backward.

tomGravityOut

Outward gravity; that is, the start is backward, and the end is forward.

tomTeX

Enables TeX syntax for build up/down operations. The tomTeX style can have the following values:

tomStyleDefault
tomStyleScriptScriptCramped
tomStyleScriptScript
tomStyleScriptCramped
tomStyleScript
tomStyleTextCramped
tomStyleText
tomStyleDisplayCramped
tomStyleDisplay
tomDecDecSize
tomDecSize
tomIncSize
tomIncIncSize
tomNeedTermOp

A terminating operator is needed. Only used with a degenerate range for formula autobuildup.

tomMathAlphabetics

Use math alphabetics for English/Greek letters except for math function names.

tomMathSingleChar

Single character typed for build up.

tomPlain

Build down for plain text.

tomHaveDelimiter

A delimiter follows insertion points (formula automatic buildup).

tomUseOperandPrec

Use operand precedence.

tomMathCollapseSel

Collapse the selection after build up or build down.

tomMathAutoCorrect

Internal math autocorrect standard math \ keywords.

tomMathBuildUpArgOrZone

Build up insertion points argument or zone.

tomMathBuildUpRecurse

Enable recursive build up.

tomMathBuildDownOutermost

Build down only outermost objects.

tomChemicalFormula

Use chemical formula conversions.

tomMathBuildDown

Build down instead of up.

tomMathApplyTemplate

Apply an object template to a range.

tomMathRemoveOutermost

Build down the outermost object without its characters.

tomMathChangeMask

Mask for specifying changes to make during math linearization (build down). It can be a combination of the following values.

tomMathInsRowBefore
tomMathInsRowAfter
tomMathInsColBefore
tomMathInsColAfter
tomMathDeleteRow
tomMathDeleteCol
tomMathDeleteArg
tomMathDeleteArg1
tomMathDeleteArg2
tomMathMakeFracLinear
tomMathMakeFracStacked
tomMathMakeFracSlashed
tomMathMakeLeftSubSup
tomMathMakeSubSup
tomMathBackspace
tomMathEnter
tomMathShiftTab
tomMathTab
tomMathSubscript
tomMathSuperscript
tomMathInsRowBefore

Insert a row above the insertion point.

tomMathInsRowAfter

Insert a row below the insertion point.

tomMathInsColBefore

Insert a column or separator before the current argument.

tomMathInsColAfter

Insert a column or separator after the current argument.

tomMathDeleteRow

Delete a row.

tomMathDeleteCol

Delete a column.

tomMathDeleteArg

Delete the argument at the start of the range.

tomMathDeleteArg1

Delete argument 1 (0-based count).

tomMathDeleteArg2

Delete argument 2 (0-based count).

tomMathMakeFracLinear

Change to a linear fraction.

tomMathMakeFracStacked

Change to a stacked fraction.

tomMathMakeFracSlashed

Change to a slashed fraction.

tomMathMakeLeftSubSup

Change from tomSubSup to tomLeftSubSup.

tomMathMakeSubSup

Change tomLeftSubSup to tomSubSup.

tomMathBackspace

Handle the Backspace key inside a math object.

tomMathEnter

Handle the Enter key inside a math object.

tomMathShiftTab

Handle the Shift+Tab key combination inside a math object.

tomMathTab

Handle the Tab key inside a math object.

tomMathAlignBreakLeft

Align text following a manual break to the left.

tomMathAlignBreakCenter

Center text following a manual break.

tomMathAlignBreakRight

Align text following a manual break to the right.

tomMathSubscript

Handle the Ctrl+= key combination in a math zone.

tomMathSuperscript

Handle the Ctrl+Shift+= key combination in a math zone.

tomMathArabicAlphabetics

Use Arabic math alphabetics for variables.

tomMathAutoCorrectOpPairs

Autocorrect operator pairs.

tomMathAutoCorrectExt

Invoke external autocorrect in manual build up.

tomShowEmptyArgPlaceholders

Don't hide empty argument placeholders on build-up.

tomMathAutoComplete

Show a tooltip with options for math autocompletions.

tomMathRichEdit

Handle minor differences between the rich edit control and Word.

tomSpecialChar

The character is treated as part of the current operand.

tomAdjustCRLF

Adjust CR/LFs at the start.

tomUseCRLF

Use CR/LF in place of a carriage return or a line feed.

tomTextize

Copy up to 0xFFFC (OLE object).

tomAllowFinalEOP

Allow a final end-of-paragraph (EOP) marker.

tomFoldMathAlpha

Fold math alphanumerics to ASCII/Greek.

tomNoHidden

Don't include hidden text.

tomIncludeNumbering

Include list numbers.

tomTranslateTableCell

Replace table row delimiter characters with spaces.

tomNoMathZoneBrackets

Don't include math zone brackets.

tomConvertMathChar

Convert to or from math italic and/or math bold according to the status of italic and bold retrieved by the ITextFont2::GetEffects method.

tomNoUCGreekItalic

Don’t use math italics for upper-case Greek letters. This value is used with tomConvertMathChar.

tomAllowMathBold

Allow math bold. This value is used with tomConvertMathChar.

tomLanguageTag

Get the BCP-47 language tag for this range.

tomConvertRTF

Get text in RTF.

tomApplyRtfDocProps

Apply RTF document default properties.

tomPhantomShow

Display the phantom object's argument.

tomPhantomZeroWidth

The phantom object has zero width.

tomPhantomZeroAscent

The phantom object has zero ascent.

tomPhantomZeroDescent

The phantom object has zero descent.

tomPhantomTransparent

Space the phantom object as if only the argument is present.

tomPhantomASmash

Ascent smash.

tomPhantomDSmash

Descent smash.

tomPhantomHSmash

Horizontal smash.

tomPhantomSmash

Full smash.

tomPhantomHorz

Horizontal phantom.

tomPhantomVert

Vertical phantom.

tomBoxHideTop

Hide top border.

tomBoxHideBottom

Hide bottom border.

tomBoxHideLeft

Hide left border.

tomBoxHideRight

Hide right border.

tomBoxStrikeH

Display horizontal strikethrough.

tomBoxStrikeV

Display vertical strikethrough.

tomBoxStrikeTLBR

Display diagonal strikethrough from the top left to the lower right.

tomBoxStrikeBLTR

Display diagonal strikethrough from the lower left to the top right.

tomBoxAlignCenter

Vertically align with center on baseline.

tomSpaceMask

Mask for tomSpaceDefault, tomSpaceUnary, tomSpaceBinary, tomSpaceRelational, tomSpaceSkip, tomSpaceOrd, and tomSpaceDifferential.

tomSpaceDefault

Default spacing

tomSpaceUnary

Space the object as if it were a unary operator.

tomSpaceBinary

Space the object as if it were a binary operator.

tomSpaceRelational

Space the object as if it were a relational operator.

tomSpaceSkip

Space the object as if it were a unary operator.

tomSpaceOrd

Space the object as if it were an ordinal operator.

tomSpaceDifferential

Space the object as if it were a differential operator.

tomSizeText

Treat as text size.

tomSizeScript

Treat as script size (approximately 73% of text size).

tomSizeScriptScript

Treat as subscript size (approximately 60% of text size).

tomNoBreak

Do not break arguments across a line.

tomTransparentForPositioning

Position as if only the argument appears.

tomTransparentForSpacing

Space according to argument properties.

tomStretchCharBelow

Stretch character below base.

tomStretchCharAbove

Stretch character above base.

tomStretchBaseBelow

Stretch base below character.

tomStretchBaseAbove

Stretch base above character.

tomMatrixAlignMask

Mask for tomMatrixAlignCenter, tomMatrixAlignTopRow, and tomMatrixAlignBottomRow.

tomMatrixAlignCenter

Align the matrix center on baseline.

tomMatrixAlignTopRow

Align the matrix top row on the baseline.

tomMatrixAlignBottomRow

Align the matrix bottom row on the baseline.

tomEqArrayAlignTopRow

Align the top of equations on the baseline.

tomShowMatPlaceHldr

Show empty element placeholder (a dotted box).

tomEqArrayLayoutWidth

Expand the right size to the layout width (for equation number)

tomEqArrayAlignMask

Mask for tomEqArrayAlignCenter, tomEqArrayAlignTopRow, and tomEqArrayBottomRow.

tomEqArrayAlignCenter

Align the center of the equation array on the baseline.

tomEqArrayAlignTopRow

Align the top row of the equation on the baseline.

tomEqArrayAlignBottomRow

Align the bottom row of the equation on the baseline.

tomMathManualBreakMask

Mask for tomMathBreakLeft, tomMathBreakCenter, and tomMathBreakRight.

tomMathBreakLeft

Align text following a manual break to the left.

tomMathBreakCenter

Center text following a manual break.

tomMathBreakRight

Align text following a manual break to the right.

tomMathEqAlign

Math equation alignment.

tomMathArgShadingStart

Start shading math arguments.

tomMathArgShadingEnd

End shading math arguments.

tomMathObjShadingStart

Start shading math objects.

tomMathObjShadingEnd

End shading math objects.

tomFunctionTypeNone

Not in the function list.

tomFunctionTypeTakesArg

An ordinary math function that takes arguments.

tomFunctionTypeTakesLim

Use the lower limit for _, and so on.

tomFunctionTypeTakesLim2

Turn the preceding FA into an NBSP.

tomFunctionTypeIsLim

A "lim" function.

tomMathParaAlignDefault

The default alignment for math paragraphs.

tomMathParaAlignCenterGroup

Center math paragraphs as a group.

tomMathParaAlignCenter

Center math paragraphs.

tomMathParaAlignLeft

Left-align math paragraphs.

tomMathParaAlignRight

Right-align math paragraphs.

tomMathDispAlignMask

Mask for tomMathDispAlignCenterGroup, tomMathDispAlignCenter, tomMathDispAlignLeft, tomMathDispAlignRight, tomMathDispIntUnderOver, and tomMathDispNaryGrow.

tomMathDispAlignCenterGroup

Center a math paragraph as a group.

tomMathDispAlignCenter

Center all equations in a math paragraph.

tomMathDispAlignLeft

Left justify all equations in a math paragraph.

tomMathDispAlignRight

Right justify all equations in a math paragraph.

tomMathDispIntUnderOver

Display-mode integral limits location.

tomMathDispFracTeX

Indicates whether to use display-mode nested fraction script size.

tomMathDispNaryGrow

Indicates whether to use math-paragraph n-ary grow.

tomMathDocEmptyArgMask

Empty arguments display mask.

tomMathDocEmptyArgAuto

Dotted square, if necessary.

tomMathDocEmptyArgAlways

Dotted square, always.

tomMathDocEmptyArgNever

Nothing.

tomMathDocSbSpOpUnchanged

Do not display the underscore (_) as subscripted, or the caret (^) as superscripted.

tomMathDocDiffMask

Style mask for the tomMathDocDiffUpright, tomMathDocDiffItalic, tomMathDocDiffOpenItalic options.

tomMathDocDiffDefault

Use default glyphs for math differentials.

tomMathDocDiffUpright

Use upright glyphs for math differentials.

tomMathDocDiffItalic

Use italic glyphs for math differentials.

tomMathDocDiffOpenItalic

No glyph change.

tomMathDispNarySubSup

Math-paragraph non-integral n-ary limits location.

tomMathDispDef

Math-paragraph spacing defaults. Use math paragraph offsets instead of regular paragraph offsets.

tomMathEnableRtl

Enable right-to-left (RTL) math zones in RTL paragraphs.

tomMathBrkBinMask

Equation line break mask.

tomMathBrkBinBefore

Break before binary/relational operator.

tomMathBrkBinAfter

Break after binary/relational operator.

tomMathBrkBinDup

Duplicate binary/relational before/after.

tomMathBrkBinSubMask

Duplicate mask for minus operator.

tomMathBrkBinSubMM

-- (minus on both lines).

tomMathBrkBinSubPM

+ -

tomMathBrkBinSubMP

- +

tomSelRange

Set the selection character position and character count to range values.

tomHstring

Use a string handle (HSTRING) instead of a binary string (BSTR).

tomFontPropTeXStyle

Gets the TeX style of the font.

tomFontPropAlign

Use tomFontPropAlign to get the Align property of an operator in a math zone. Here are how the values are assigned:

  • Value 0 implies no special alignment.
  • Values 1 through 127 align the operator with the (n – 1)st operator on the first line of an equation.
  • Value 128 identifies operators to be vertically aligned with respect to one another ("Align at =").
  • Other values are illegal.
tomFontStretch

The type of font stretching. It can have one of the following values.

tomFontStretchDefault
tomFontStretchUltraCondensed
tomFontStretchExtraCondensed
tomFontStretchCondensed
tomFontStretchNormal
tomFontStretchSemiExpanded
tomFontStretchExpanded
tomFontStretchExtraExpanded
tomFontStretchUltraExpanded
tomFontStyle

The font style. It can have one of the following values.

  • tomFontStyleUpright
  • tomFontStyleItalic
  • tomFontStyleOblique
tomFontStyleUpright

Represents the normal upright font style.

tomFontStyleOblique

Represents an oblique font style.

tomFontStyleItalic

Represents an italic font style.

tomFontStretchDefault

No defined font stretch.

tomFontStretchUltraCondensed

An ultra-condensed font stretch (50% of normal).

tomFontStretchExtraCondensed

An extra-condensed font stretch (62.5% of normal).

tomFontStretchCondensed

A condensed font stretch (75% of normal).

tomFontStretchSemiCondensed

A semi-condensed font stretch (87.5% of normal).

tomFontStretchNormal

The normal font stretch that all other font stretch values relate to (100%).

tomFontStretchSemiExpanded

A semi-expanded font stretch (112.5% of normal).

tomFontStretchExpanded

An expanded font stretch (125% of normal).

tomFontStretchExtraExpanded

An extra-expanded font stretch (150% of normal).

tomFontStretchUltraExpanded

An ultra-expanded font stretch (200% of normal).

tomFontWeightDefault

The default font weight.

tomFontWeightThin

Thin font weight.

tomFontWeightExtraLight

Extra light font weight.

tomFontWeightLight

Light font weight.

tomFontWeightNormal

Normal font weight.

tomFontWeightRegular

Same as tomFontWeightNormal.

tomFontWeightMedium

Medium font weight.

tomFontWeightSemiBold

Semi bold font weight.

tomFontWeightBold

Bold font weight.

tomFontWeightExtraBold

Extra bold font weight.

tomFontWeightBlack

Heavy font weight.

tomFontWeightHeavy

Same as tomFontWeightBlack.

tomFontWeightExtraBlack

Extra heavy font weight.

tomParaPropMathAlign

Alignment properties for a math paragraph.

tomDocMathBuild

Used with the ITextDocument2::SetProperty method to set any combination of tomMathAutoCorrect, tomTeX, or tomMathAlphabetics.

tomMathLMargin

Left margin for display math.

tomMathRMargin

Right margin for display math.

tomMathWrapIndent

Equation wrap indent for display math.

tomMathWrapRight

Equation right wrap indent for display math (in a left-to-right (LTR) math zone).

tomMathPostSpace

Space after a display math equation.

tomMathPreSpace

Space before a display math equation.

tomMathInterSpace

Space between equations in math paragraphs.

tomMathIntraSpace

Space between lines in a display math equation.

tomCanCopy

Indicates whether data can be copied to the clipboard.

tomCanRedo

Indicates whether one or more redo operations exist.

tomCanUndo

Indicates whether one or more undo operations exist.

tomUndoLimit

The undo stack count limit.

tomDocAutoLink

A document automatic link.

tomEllipsisMode

The ellipsis mode.

tomEllipsisState

The ellipsis state.

tomEllipsisNone

Ellipsis is disabled.

tomEllipsisEnd

An ellipsis forces a break anywhere in the line.

tomEllipsisWord

An ellipsis forces a break between words.

tomEllipsisPresent

Ellipsis is present.

tomVTopCell

The top cell in vertically merged cell set.

tomVLowCell

Any cell except the top cell in a vertically merged cell set.

tomHStartCell

Start a cell in a horizontally merged cell set.

tomHContCell

Any cell except the start in a horizontally merged cell set.

tomRowUpdate

Update the row to have the properties of the table row identified by the associated text range.

tomCellStructureChangeOnly

Changes cell width(s) or cell count (for changing column widths and inserting/deleting columns without changing cell border properties, and so forth.)

tomRowHeightActual

The actual height of a table row.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Tom.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft