///Word VBasic一些常量定义,来自于msword9.olb
Word; // Microsoft Word 9.0 Object Library
Enum WdMailSystem;
wdNoMailSystem = 0;
wdMAPI = 1;
wdPowerTalk = 2;
wdMAPIandPowerTalk = 3;
Enum WdTemplateType;
wdNormalTemplate = 0;
wdGlobalTemplate = 1;
wdAttachedTemplate = 2;
Enum WdContinue;
wdContinueDisabled = 0;
wdResetList = 1;
wdContinueList = 2;
Enum WdIMEMode;
wdIMEModeNoControl = 0;
wdIMEModeOn = 1;
wdIMEModeOff = 2;
wdIMEModeHiragana = 4;
wdIMEModeKatakana = 5;
wdIMEModeKatakanaHalf = 6;
wdIMEModeAlphaFull = 7;
wdIMEModeAlpha = 8;
wdIMEModeHangulFull = 9;
wdIMEModeHangul = 10;
Enum WdBaselineAlignment;
wdBaselineAlignTop = 0;
wdBaselineAlignCenter = 1;
wdBaselineAlignBaseline = 2;
wdBaselineAlignFarEast50 = 3;
wdBaselineAlignAuto = 4;
Enum WdIndexFilter;
wdIndexFilterNone = 0;
wdIndexFilterAiueo = 1;
wdIndexFilterAkasatana = 2;
wdIndexFilterChosung = 3;
wdIndexFilterLow = 4;
wdIndexFilterMedium = 5;
wdIndexFilterFull = 6;
Enum WdIndexSortBy;
wdIndexSortByStroke = 0;
wdIndexSortBySyllable = 1;
Enum WdJustificationMode;
wdJustificationModeExpand = 0;
wdJustificationModeCompress = 1;
wdJustificationModeCompressKana = 2;
Enum WdFarEastLineBreakLevel;
wdFarEastLineBreakLevelNormal = 0;
wdFarEastLineBreakLevelStrict = 1;
wdFarEastLineBreakLevelCustom = 2;
Enum WdMultipleWordConversionsMode;
wdHangulToHanja = 0;
wdHanjaToHangul = 1;
Enum WdColorIndex;
wdAuto = 0;
wdBlack = 1;
wdBlue = 2;
wdTurquoise = 3;
wdBrightGreen = 4;
wdPink = 5;
wdRed = 6;
wdYellow = 7;
wdWhite = 8;
wdDarkBlue = 9;
wdTeal = 10;
wdGreen = 11;
wdViolet = 12;
wdDarkRed = 13;
wdDarkYellow = 14;
wdGray50 = 15;
wdGray25 = 16;
wdByAuthor = -1;
wdNoHighlight = 0;
Enum WdTextureIndex;
wdTextureNone = 0;
wdTexture2Pt5Percent = 25;
wdTexture5Percent = 50;
wdTexture7Pt5Percent = 75;
wdTexture10Percent = 100;
wdTexture12Pt5Percent = 125;
wdTexture15Percent = 150;
wdTexture17Pt5Percent = 175;
wdTexture20Percent = 200;
wdTexture22Pt5Percent = 225;
wdTexture25Percent = 250;
wdTexture27Pt5Percent = $113;
wdTexture30Percent = $12C;
wdTexture32Pt5Percent = $145;
wdTexture35Percent = $15E;
wdTexture37Pt5Percent = $177;
wdTexture40Percent = $190;
wdTexture42Pt5Percent = $1A9;
wdTexture45Percent = $1C2;
wdTexture47Pt5Percent = $1DB;
wdTexture50Percent = $1F4;
wdTexture52Pt5Percent = $20D;
wdTexture55Percent = $226;
wdTexture57Pt5Percent = $23F;
wdTexture60Percent = $258;
wdTexture62Pt5Percent = $271;
wdTexture65Percent = $28A;
wdTexture67Pt5Percent = $2A3;
wdTexture70Percent = $2BC;
wdTexture72Pt5Percent = $2D5;
wdTexture75Percent = $2EE;
wdTexture77Pt5Percent = $307;
wdTexture80Percent = $320;
wdTexture82Pt5Percent = $339;
wdTexture85Percent = $352;
wdTexture87Pt5Percent = $36B;
wdTexture90Percent = $384;
wdTexture92Pt5Percent = $39D;
wdTexture95Percent = $3B6;
wdTexture97Pt5Percent = $3CF;
wdTextureSolid = $3E8;
wdTextureDarkHorizontal = -1;
wdTextureDarkVertical = -2;
wdTextureDarkDiagonalDown = -3;
wdTextureDarkDiagonalUp = -4;
wdTextureDarkCross = -5;
wdTextureDarkDiagonalCross = -6;
wdTextureHorizontal = -7;
wdTextureVertical = -8;
wdTextureDiagonalDown = -9;
wdTextureDiagonalUp = -10;
wdTextureCross = -11;
wdTextureDiagonalCross = -12;
Enum WdUnderline;
wdUnderlineNone = 0;
wdUnderlineSingle = 1;
wdUnderlineWords = 2;
wdUnderlineDouble = 3;
wdUnderlineDotted = 4;
wdUnderlineThick = 6;
wdUnderlineDash = 7;
wdUnderlineDotDash = 9;
wdUnderlineDotDotDash = 10;
wdUnderlineWavy = 11;
wdUnderlineWavyHeavy = 27;
wdUnderlineDottedHeavy = 20;
wdUnderlineDashHeavy = 23;
wdUnderlineDotDashHeavy = 25;
wdUnderlineDotDotDashHeavy = 26;
wdUnderlineDashLong = 39;
wdUnderlineDashLongHeavy = 55;
wdUnderlineWavyDouble = 43;
Enum WdEmphasisMark;
wdEmphasisMarkNone = 0;
wdEmphasisMarkOverSolidCircle = 1;
wdEmphasisMarkOverComma = 2;
wdEmphasisMarkOverWhiteCircle = 3;
wdEmphasisMarkUnderSolidCircle = 4;
Enum WdInternationalIndex;
wdListSeparator = 17;
wdDecimalSeparator = 18;
wdThousandsSeparator = 19;
wdCurrencyCode = 20;
wd24HourClock = 21;
wdInternationalAM = 22;
wdInternationalPM = 23;
wdTimeSeparator = 24;
wdDateSeparator = 25;
wdProductLanguageID = 26;
Enum WdAutoMacros;
wdAutoExec = 0;
wdAutoNew = 1;
wdAutoOpen = 2;
wdAutoClose = 3;
wdAutoExit = 4;
Enum WdCaptionPosition;
wdCaptionPositionAbove = 0;
wdCaptionPositionBelow = 1;
Enum WdCountry;
wdUS = 1;
wdCanada = 2;
wdLatinAmerica = 3;
wdNetherlands = 31;
wdFrance = 33;
wdSpain = 34;
wdItaly = 39;
wdUK = 44;
wdDenmark = 45;
wdSweden = 46;
wdNorway = 47;
wdGermany = 49;
wdPeru = 51;
wdMexico = 52;
wdArgentina = 54;
wdBrazil = 55;
wdChile = 56;
wdVenezuela = 58;
wdJapan = 81;
wdTaiwan = $376;
wdChina = 86;
wdKorea = 82;
wdFinland = $166;
wdIceland = $162;
Enum WdHeadingSeparator;
wdHeadingSeparatorNone = 0;
wdHeadingSeparatorBlankLine = 1;
wdHeadingSeparatorLetter = 2;
wdHeadingSeparatorLetterLow = 3;
wdHeadingSeparatorLetterFull = 4;
Enum WdSeparatorType;
wdSeparatorHyphen = 0;
wdSeparatorPeriod = 1;
wdSeparatorColon = 2;
wdSeparatorEmDash = 3;
wdSeparatorEnDash = 4;
Enum WdPageNumberAlignment;
wdAlignPageNumberLeft = 0;
wdAlignPageNumberCenter = 1;
wdAlignPageNumberRight = 2;
wdAlignPageNumberInside = 3;
wdAlignPageNumberOutside = 4;
Enum WdBorderType;
wdBorderTop = -1;
wdBorderLeft = -2;
wdBorderBottom = -3;
wdBorderRight = -4;
wdBorderHorizontal = -5;
wdBorderVertical = -6;
wdBorderDiagonalDown = -7;
wdBorderDiagonalUp = -8;
Enum WdBorderTypeHID;
emptyenum = 0;
Enum WdFramePosition;
wdFrameTop = $FFF0BDC1;
wdFrameLeft = $FFF0BDC2;
wdFrameBottom = $FFF0BDC3;
wdFrameRight = $FFF0BDC4;
wdFrameCenter = $FFF0BDC5;
wdFrameInside = $FFF0BDC6;
wdFrameOutside = $FFF0BDC7;
Enum WdAnimation;
wdAnimationNone = 0;
wdAnimationLasVegasLights = 1;
wdAnimationBlinkingBackground = 2;
wdAnimationSparkleText = 3;
wdAnimationMarchingBlackAnts = 4;
wdAnimationMarchingRedAnts = 5;
wdAnimationShimmer = 6;
Enum WdCharacterCase;
wdNextCase = -1;
wdLowerCase = 0;
wdUpperCase = 1;
wdTitleWord = 2;
wdTitleSentence = 4;
wdToggleCase = 5;
wdHalfWidth = 6;
wdFullWidth = 7;
wdKatakana = 8;
wdHiragana = 9;
Enum WdCharacterCaseHID;
emptyenum = 0;
Enum WdSummaryMode;
wdSummaryModeHighlight = 0;
wdSummaryModeHideAllButSummary = 1;
wdSummaryModeInsert = 2;
wdSummaryModeCreateNew = 3;
Enum WdSummaryLength;
wd10Sentences = -2;
wd20Sentences = -3;
wd100Words = -4;
wd500Words = -5;
wd10Percent = -6;
wd25Percent = -7;
wd50Percent = -8;
wd75Percent = -9;
Enum WdStyleType;
wdStyleTypeParagraph = 1;
wdStyleTypeCharacter = 2;
Enum WdUnits;
wdCharacter = 1;
wdWord = 2;
wdSentence = 3;
wdParagraph = 4;
wdLine = 5;
wdStory = 6;
wdScreen = 7;
wdSection = 8;
wdColumn = 9;
wdRow = 10;
wdWindow = 11;
wdCell = 12;
wdCharacterFormatting = 13;
wdParagraphFormatting = 14;
wdTable = 15;
wdItem = 16;
Enum WdGoToItem;
wdGoToBookmark = -1;
wdGoToSection = 0;
wdGoToPage = 1;
wdGoToTable = 2;
wdGoToLine = 3;
wdGoToFootnote = 4;
wdGoToEndnote = 5;
wdGoToComment = 6;
wdGoToField = 7;
wdGoToGraphic = 8;
wdGoToObject = 9;
wdGoToEquation = 10;
wdGoToHeading = 11;
wdGoToPercent = 12;
wdGoToSpellingError = 13;
wdGoToGrammaticalError = 14;
wdGoToProofreadingError = 15;
Enum WdGoToDirection;
wdGoToFirst = 1;
wdGoToLast = -1;
wdGoToNext = 2;
wdGoToRelative = 2;
wdGoToPrevious = 3;
wdGoToAbsolute = 1;
Enum WdCollapseDirection;
wdCollapseStart = 1;
wdCollapseEnd = 0;
Enum WdRowHeightRule;
wdRowHeightAuto = 0;
wdRowHeightAtLeast = 1;
wdRowHeightExactly = 2;
Enum WdFrameSizeRule;
wdFrameAuto = 0;
wdFrameAtLeast = 1;
wdFrameExact = 2;
Enum WdInsertCells;
wdInsertCellsShiftRight = 0;
wdInsertCellsShiftDown = 1;
wdInsertCellsEntireRow = 2;
wdInsertCellsEntireColumn = 3;
Enum WdDeleteCells;
wdDeleteCellsShiftLeft = 0;
wdDeleteCellsShiftUp = 1;
wdDeleteCellsEntireRow = 2;
wdDeleteCellsEntireColumn = 3;
Enum WdListApplyTo;
wdListApplyToWholeList = 0;
wdListApplyToThisPointForward = 1;
wdListApplyToSelection = 2;
Enum WdAlertLevel;
wdAlertsNone = 0;
wdAlertsMessageBox = -2;
wdAlertsAll = -1;
Enum WdCursorType;
wdCursorWait = 0;
wdCursorIBeam = 1;
wdCursorNormal = 2;
wdCursorNorthwestArrow = 3;
Enum WdEnableCancelKey;
wdCancelDisabled = 0;
wdCancelInterrupt = 1;
Enum WdRulerStyle;
wdAdjustNone = 0;
wdAdjustProportional = 1;
wdAdjustFirstColumn = 2;
wdAdjustSameWidth = 3;
Enum WdParagraphAlignment;
wdAlignParagraphLeft = 0;
wdAlignParagraphCenter = 1;
wdAlignParagraphRight = 2;
wdAlignParagraphJustify = 3;
wdAlignParagraphDistribute = 4;
wdAlignParagraphJustifyMed = 5;
wdAlignParagraphJustifyHi = 7;
wdAlignParagraphJustifyLow = 8;
Enum WdParagraphAlignmentHID;
emptyenum = 0;
Enum WdListLevelAlignment;
wdListLevelAlignLeft = 0;
wdListLevelAlignCenter = 1;
wdListLevelAlignRight = 2;
Enum WdRowAlignment;
wdAlignRowLeft = 0;
wdAlignRowCenter = 1;
wdAlignRowRight = 2;
Enum WdTabAlignment;
wdAlignTabLeft = 0;
wdAlignTabCenter = 1;
wdAlignTabRight = 2;
wdAlignTabDecimal = 3;
wdAlignTabBar = 4;
wdAlignTabList = 6;
Enum WdVerticalAlignment;
wdAlignVerticalTop = 0;
wdAlignVerticalCenter = 1;
wdAlignVerticalJustify = 2;
wdAlignVerticalBottom = 3;
Enum WdCellVerticalAlignment;
wdCellAlignVerticalTop = 0;
wdCellAlignVerticalCenter = 1;
wdCellAlignVerticalBottom = 3;
Enum WdTrailingCharacter;
wdTrailingTab = 0;
wdTrailingSpace = 1;
wdTrailingNone = 2;
Enum WdListGalleryType;
wdBulletGallery = 1;
wdNumberGallery = 2;
wdOutlineNumberGallery = 3;
Enum WdListNumberStyle;
wdListNumberStyleArabic = 0;
wdListNumberStyleUppercaseRoman = 1;
wdListNumberStyleLowercaseRoman = 2;
wdListNumberStyleUppercaseLetter = 3;
wdListNumberStyleLowercaseLetter = 4;
wdListNumberStyleOrdinal = 5;
wdListNumberStyleCardinalText = 6;
wdListNumberStyleOrdinalText = 7;
wdListNumberStyleKanji = 10;
wdListNumberStyleKanjiDigit = 11;
wdListNumberStyleAiueoHalfWidth = 12;
wdListNumberStyleIrohaHalfWidth = 13;
wdListNumberStyleArabicFullWidth = 14;
wdListNumberStyleKanjiTraditional = 16;
wdListNumberStyleKanjiTraditional2 = 17;
wdListNumberStyleNumberInCircle = 18;
wdListNumberStyleAiueo = 20;
wdListNumberStyleIroha = 21;
wdListNumberStyleArabicLZ = 22;
wdListNumberStyleBullet = 23;
wdListNumberStyleGanada = 24;
wdListNumberStyleChosung = 25;
wdListNumberStyleGBNum1 = 26;
wdListNumberStyleGBNum2 = 27;
wdListNumberStyleGBNum3 = 28;
wdListNumberStyleGBNum4 = 29;
wdListNumberStyleZodiac1 = 30;
wdListNumberStyleZodiac2 = 31;
wdListNumberStyleZodiac3 = 32;
wdListNumberStyleTradChinNum1 = 33;
wdListNumberStyleTradChinNum2 = 34;
wdListNumberStyleTradChinNum3 = 35;
wdListNumberStyleTradChinNum4 = 36;
wdListNumberStyleSimpChinNum1 = 37;
wdListNumberStyleSimpChinNum2 = 38;
wdListNumberStyleSimpChinNum3 = 39;
wdListNumberStyleSimpChinNum4 = 40;
wdListNumberStyleHanjaRead = 41;
wdListNumberStyleHanjaReadDigit = 42;
wdListNumberStyleHangul = 43;
wdListNumberStyleHanja = 44;
wdListNumberStyleHebrew1 = 45;
wdListNumberStyleArabic1 = 46;
wdListNumberStyleHebrew2 = 47;
wdListNumberStyleArabic2 = 48;
wdListNumberStyleLegal = 253;
wdListNumberStyleLegalLZ = 254;
wdListNumberStyleNone = 255;
Enum WdListNumberStyleHID;
emptyenum = 0;
Enum WdNoteNumberStyle;
wdNoteNumberStyleArabic = 0;
wdNoteNumberStyleUppercaseRoman = 1;
wdNoteNumberStyleLowercaseRoman = 2;
wdNoteNumberStyleUppercaseLetter = 3;
wdNoteNumberStyleLowercaseLetter = 4;
wdNoteNumberStyleSymbol = 9;
wdNoteNumberStyleArabicFullWidth = 14;
wdNoteNumberStyleKanji = 10;
wdNoteNumberStyleKanjiDigit = 11;
wdNoteNumberStyleKanjiTraditional = 16;
wdNoteNumberStyleNumberInCircle = 18;
wdNoteNumberStyleHanjaRead = 41;
wdNoteNumberStyleHanjaReadDigit = 42;
wdNoteNumberStyleTradChinNum1 = 33;
wdNoteNumberStyleTradChinNum2 = 34;
wdNoteNumberStyleSimpChinNum1 = 37;
wdNoteNumberStyleSimpChinNum2 = 38;
wdNoteNumberStyleHebrewLetter1 = 45;
wdNoteNumberStyleArabicLetter1 = 46;
wdNoteNumberStyleHebrewLetter2 = 47;
wdNoteNumberStyleArabicLetter2 = 48;
Enum WdNoteNumberStyleHID;
emptyenum = 0;
Enum WdCaptionNumberStyle;
wdCaptionNumberStyleArabic = 0;
wdCaptionNumberStyleUppercaseRoman = 1;
wdCaptionNumberStyleLowercaseRoman = 2;
wdCaptionNumberStyleUppercaseLetter = 3;
wdCaptionNumberStyleLowercaseLetter = 4;
wdCaptionNumberStyleArabicFullWidth = 14;
wdCaptionNumberStyleKanji = 10;
wdCaptionNumberStyleKanjiDigit = 11;
wdCaptionNumberStyleKanjiTraditional = 16;
wdCaptionNumberStyleNumberInCircle = 18;
wdCaptionNumberStyleGanada = 24;
wdCaptionNumberStyleChosung = 25;
wdCaptionNumberStyleZodiac1 = 30;
wdCaptionNumberStyleZodiac2 = 31;
wdCaptionNumberStyleHanjaRead = 41;
wdCaptionNumberStyleHanjaReadDigit = 42;
wdCaptionNumberStyleTradChinNum2 = 34;
wdCaptionNumberStyleTradChinNum3 = 35;
wdCaptionNumberStyleSimpChinNum2 = 38;
wdCaptionNumberStyleSimpChinNum3 = 39;
wdCaptionNumberStyleHebrewLetter1 = 45;
wdCaptionNumberStyleArabicLetter1 = 46;
wdCaptionNumberStyleHebrewLetter2 = 47;
wdCaptionNumberStyleArabicLetter2 = 48;
Enum WdCaptionNumberStyleHID;
emptyenum = 0;
Enum WdPageNumberStyle;
wdPageNumberStyleArabic = 0;
wdPageNumberStyleUppercaseRoman = 1;
wdPageNumberStyleLowercaseRoman = 2;
wdPageNumberStyleUppercaseLetter = 3;
wdPageNumberStyleLowercaseLetter = 4;
wdPageNumberStyleArabicFullWidth = 14;
wdPageNumberStyleKanji = 10;
wdPageNumberStyleKanjiDigit = 11;
wdPageNumberStyleKanjiTraditional = 16;
wdPageNumberStyleNumberInCircle = 18;
wdPageNumberStyleHanjaRead = 41;
wdPageNumberStyleHanjaReadDigit = 42;
wdPageNumberStyleTradChinNum1 = 33;
wdPageNumberStyleTradChinNum2 = 34;
wdPageNumberStyleSimpChinNum1 = 37;
wdPageNumberStyleSimpChinNum2 = 38;
wdPageNumberStyleHebrewLetter1 = 45;
wdPageNumberStyleArabicLetter1 = 46;
wdPageNumberStyleHebrewLetter2 = 47;
wdPageNumberStyleArabicLetter2 = 48;
Enum WdPageNumberStyleHID;
emptyenum = 0;
Enum WdStatistic;
wdStatisticWords = 0;
wdStatisticLines = 1;
wdStatisticPages = 2;
wdStatisticCharacters = 3;
wdStatisticParagraphs = 4;
wdStatisticCharactersWithSpaces = 5;
wdStatisticFarEastCharacters = 6;
Enum WdStatisticHID;
emptyenum = 0;
Enum WdBuiltInProperty;
wdPropertyTitle = 1;
wdPropertySubject = 2;
wdPropertyAuthor = 3;
wdPropertyKeywords = 4;
wdPropertyComments = 5;
wdPropertyTemplate = 6;
wdPropertyLastAuthor = 7;
wdPropertyRevision = 8;
wdPropertyAppName = 9;
wdPropertyTimeLastPrinted = 10;
wdPropertyTimeCreated = 11;
wdPropertyTimeLastSaved = 12;
wdPropertyVBATotalEdit = 13;
wdPropertyPages = 14;
wdPropertyWords = 15;
wdPropertyCharacters = 16;
wdPropertySecurity = 17;
wdPropertyCategory = 18;
wdPropertyFormat = 19;
wdPropertyManager = 20;
wdPropertyCompany = 21;
wdPropertyBytes = 22;
wdPropertyLines = 23;
wdPropertyParas = 24;
wdPropertySlides = 25;
wdPropertyNotes = 26;
wdPropertyHiddenSlides = 27;
wdPropertyMMClips = 28;
wdPropertyHyperlinkBase = 29;
wdPropertyCharsWSpaces = 30;
Enum WdLineSpacing;
wdLineSpaceSingle = 0;
wdLineSpace1pt5 = 1;
wdLineSpaceDouble = 2;
wdLineSpaceAtLeast = 3;
wdLineSpaceExactly = 4;
wdLineSpaceMultiple = 5;
Enum WdNumberType;
wdNumberParagraph = 1;
wdNumberListNum = 2;
wdNumberAllNumbers = 3;
Enum WdListType;
wdListNoNumbering = 0;
wdListListNumOnly = 1;
wdListBullet = 2;
wdListSimpleNumbering = 3;
wdListOutlineNumbering = 4;
wdListMixedNumbering = 5;
Enum WdStoryType;
wdMainTextStory = 1;
wdFootnotesStory = 2;
wdEndnotesStory = 3;
wdCommentsStory = 4;
wdTextFrameStory = 5;
wdEvenPagesHeaderStory = 6;
wdPrimaryHeaderStory = 7;
wdEvenPagesFooterStory = 8;
wdPrimaryFooterStory = 9;
wdFirstPageHeaderStory = 10;
wdFirstPageFooterStory = 11;
Enum WdSaveFormat;
wdFormatDocument = 0;
wdFormatTemplate = 1;
wdFormatText = 2;
wdFormatTextLineBreaks = 3;
wdFormatDOSText = 4;
wdFormatDOSTextLineBreaks = 5;
wdFormatRTF = 6;
wdFormatUnicodeText = 7;
wdFormatEncodedText = 7;
wdFormatHTML = 8;
Enum WdOpenFormat;
wdOpenFormatAuto = 0;
wdOpenFormatDocument = 1;
wdOpenFormatTemplate = 2;
wdOpenFormatRTF = 3;
wdOpenFormatText = 4;
wdOpenFormatUnicodeText = 5;
wdOpenFormatEncodedText = 5;
wdOpenFormatAllWord = 6;
wdOpenFormatWebPages = 7;
Enum WdHeaderFooterIndex;
wdHeaderFooterPrimary = 1;
wdHeaderFooterFirstPage = 2;
wdHeaderFooterEvenPages = 3;
Enum WdTocFormat;
wdTOCTemplate = 0;
wdTOCClassic = 1;
wdTOCDistinctive = 2;
wdTOCFancy = 3;
wdTOCModern = 4;
wdTOCFormal = 5;
wdTOCSimple = 6;
Enum WdTofFormat;
wdTOFTemplate = 0;
wdTOFClassic = 1;
wdTOFDistinctive = 2;
wdTOFCentered = 3;
wdTOFFormal = 4;
wdTOFSimple = 5;
Enum WdToaFormat;
wdTOATemplate = 0;
wdTOAClassic = 1;
wdTOADistinctive = 2;
wdTOAFormal = 3;
wdTOASimple = 4;
Enum WdLineStyle;
wdLineStyleNone = 0;
wdLineStyleSingle = 1;
wdLineStyleDot = 2;
wdLineStyleDashSmallGap = 3;
wdLineStyleDashLargeGap = 4;
wdLineStyleDashDot = 5;
wdLineStyleDashDotDot = 6;
wdLineStyleDouble = 7;
wdLineStyleTriple = 8;
wdLineStyleThinThickSmallGap = 9;
wdLineStyleThickThinSmallGap = 10;
wdLineStyleThinThickThinSmallGap = 11;
wdLineStyleThinThickMedGap = 12;
wdLineStyleThickThinMedGap = 13;
wdLineStyleThinThickThinMedGap = 14;
wdLineStyleThinThickLargeGap = 15;
wdLineStyleThickThinLargeGap = 16;
wdLineStyleThinThickThinLargeGap = 17;
wdLineStyleSingleWavy = 18;
wdLineStyleDoubleWavy = 19;
wdLineStyleDashDotStroked = 20;
wdLineStyleEmboss3D = 21;
wdLineStyleEngrave3D = 22;
wdLineStyleOutset = 23;
wdLineStyleInset = 24;
Enum WdLineWidth;
wdLineWidth025pt = 2;
wdLineWidth050pt = 4;
wdLineWidth075pt = 6;
wdLineWidth100pt = 8;
wdLineWidth150pt = 12;
wdLineWidth225pt = 18;
wdLineWidth300pt = 24;
wdLineWidth450pt = 36;
wdLineWidth600pt = 48;
Enum WdBreakType;
wdSectionBreakNextPage = 2;
wdSectionBreakContinuous = 3;
wdSectionBreakEvenPage = 4;
wdSectionBreakOddPage = 5;
wdLineBreak = 6;
wdPageBreak = 7;
wdColumnBreak = 8;
wdLineBreakClearLeft = 9;
wdLineBreakClearRight = 10;
wdTextWrappingBreak = 11;
Enum WdTabLeader;
wdTabLeaderSpaces = 0;
wdTabLeaderDots = 1;
wdTabLeaderDashes = 2;
wdTabLeaderLines = 3;
wdTabLeaderHeavy = 4;
wdTabLeaderMiddleDot = 5;
Enum WdTabLeaderHID;
emptyenum = 0;
Enum WdMeasurementUnits;
wdInches = 0;
wdCentimeters = 1;
wdMillimeters = 2;
wdPoints = 3;
wdPicas = 4;
Enum WdMeasurementUnitsHID;
emptyenum = 0;
Enum WdDropPosition;
wdDropNone = 0;
wdDropNormal = 1;
wdDropMargin = 2;
Enum WdNumberingRule;
wdRestartContinuous = 0;
wdRestartSection = 1;
wdRestartPage = 2;
Enum WdFootnoteLocation;
wdBottomOfPage = 0;
wdBeneathText = 1;
Enum WdEndnoteLocation;
wdEndOfSection = 0;
wdEndOfDocument = 1;
Enum WdSortSeparator;
wdSortSeparateByTabs = 0;
wdSortSeparateByCommas = 1;
wdSortSeparateByDefaultTableSeparator = 2;
Enum WdTableFieldSeparator;
wdSeparateByParagraphs = 0;
wdSeparateByTabs = 1;
wdSeparateByCommas = 2;
wdSeparateByDefaultListSeparator = 3;
Enum WdSortFieldType;
wdSortFieldAlphanumeric = 0;
wdSortFieldNumeric = 1;
wdSortFieldDate = 2;
wdSortFieldSyllable = 3;
wdSortFieldJapanJIS = 4;
wdSortFieldStroke = 5;
wdSortFieldKoreaKS = 6;
Enum WdSortFieldTypeHID;
emptyenum = 0;
Enum WdSortOrder;
wdSortOrderAscending = 0;
wdSortOrderDescending = 1;
Enum WdTableFormat;
wdTableFormatNone = 0;
wdTableFormatSimple1 = 1;
wdTableFormatSimple2 = 2;
wdTableFormatSimple3 = 3;
wdTableFormatClassic1 = 4;
wdTableFormatClassic2 = 5;
wdTableFormatClassic3 = 6;
wdTableFormatClassic4 = 7;
wdTableFormatColorful1 = 8;
wdTableFormatColorful2 = 9;
wdTableFormatColorful3 = 10;
wdTableFormatColumns1 = 11;
wdTableFormatColumns2 = 12;
wdTableFormatColumns3 = 13;
wdTableFormatColumns4 = 14;
wdTableFormatColumns5 = 15;
wdTableFormatGrid1 = 16;
wdTableFormatGrid2 = 17;
wdTableFormatGrid3 = 18;
wdTableFormatGrid4 = 19;
wdTableFormatGrid5 = 20;
wdTableFormatGrid6 = 21;
wdTableFormatGrid7 = 22;
wdTableFormatGrid8 = 23;
wdTableFormatList1 = 24;
wdTableFormatList2 = 25;
wdTableFormatList3 = 26;
wdTableFormatList4 = 27;
wdTableFormatList5 = 28;
wdTableFormatList6 = 29;
wdTableFormatList7 = 30;
wdTableFormatList8 = 31;
wdTableFormat3DEffects1 = 32;
wdTableFormat3DEffects2 = 33;
wdTableFormat3DEffects3 = 34;
wdTableFormatContemporary = 35;
wdTableFormatElegant = 36;
wdTableFormatProfessional = 37;
wdTableFormatSubtle1 = 38;
wdTableFormatSubtle2 = 39;
wdTableFormatWeb1 = 40;
wdTableFormatWeb2 = 41;
wdTableFormatWeb3 = 42;
Enum WdTableFormatApply;
wdTableFormatApplyBorders = 1;
wdTableFormatApplyShading = 2;
wdTableFormatApplyFont = 4;
wdTableFormatApplyColor = 8;
wdTableFormatApplyAutoFit = 16;
wdTableFormatApplyHeadingRows = 32;
wdTableFormatApplyLastRow = 64;
wdTableFormatApplyFirstColumn = 128;
wdTableFormatApplyLastColumn = $100;
Enum WdLanguageID;
wdLanguageNone = 0;
wdNoProofing = $400;
wdAfrikaans = $436;
wdAlbanian = $41C;
wdArabicAlgeria = $1401;
wdArabicBahrain = $3C01;
wdArabicEgypt = $C01;
wdArabicIraq = $801;
wdArabicJordan = $2C01;
wdArabicKuwait = $3401;
wdArabicLebanon = $3001;
wdArabicLibya = $1001;
wdArabicMorocco = $1801;
wdArabicOman = $2001;
wdArabicQatar = $4001;
wdArabic = $401;
wdArabicSyria = $2801;
wdArabicTunisia = $1C01;
wdArabicUAE = $3801;
wdArabicYemen = $2401;
wdArmenian = $42B;
wdAssamese = $44D;
wdAzeriCyrillic = $82C;
wdAzeriLatin = $42C;
wdBasque = $42D;
wdByelorussian = $423;
wdBengali = $445;
wdBulgarian = $402;
wdBurmese = $455;
wdCatalan = $403;
wdChineseHongKong = $C04;
wdChineseMacao = $1404;
wdSimplifiedChinese = $804;
wdChineseSingapore = $1004;
wdTraditionalChinese = $404;
wdCroatian = $41A;
wdCzech = $405;
wdDanish = $406;
wdBelgianDutch = $813;
wdDutch = $413;
wdEnglishAUS = $C09;
wdEnglishBelize = $2809;
wdEnglishCanadian = $1009;
wdEnglishCaribbean = $2409;
wdEnglishIreland = $1809;
wdEnglishJamaica = $2009;
wdEnglishNewZealand = $1409;
wdEnglishPhilippines = $3409;
wdEnglishSouthAfrica = $1C09;
wdEnglishTrinidad = $2C09;
wdEnglishUK = $809;
wdEnglishUS = $409;
wdEnglishZimbabwe = $3009;
wdEstonian = $425;
wdFaeroese = $438;
wdFarsi = $429;
wdFinnish = $40B;
wdBelgianFrench = $80C;
wdFrenchCameroon = $2C0C;
wdFrenchCanadian = $C0C;
wdFrenchCotedIvoire = $300C;
wdFrench = $40C;
wdFrenchLuxembourg = $140C;
wdFrenchMali = $340C;
wdFrenchMonaco = $180C;
wdFrenchReunion = $200C;
wdFrenchSenegal = $280C;
wdSwissFrench = $100C;
wdFrenchWestIndies = $1C0C;
wdFrenchZaire = $240C;
wdFrisianNetherlands = $462;
wdGaelicIreland = $83C;
wdGaelicScotland = $43C;
wdGalician = $456;
wdGeorgian = $437;
wdGermanAustria = $C07;
wdGerman = $407;
wdGermanLiechtenstein = $1407;
wdGermanLuxembourg = $1007;
wdSwissGerman = $807;
wdGreek = $408;
wdGujarati = $447;
wdHebrew = $40D;
wdHindi = $439;
wdHungarian = $40E;
wdIcelandic = $40F;
wdIndonesian = $421;
wdItalian = $410;
wdSwissItalian = $810;
wdJapanese = $411;
wdKannada = $44B;
wdKashmiri = $460;
wdKazakh = $43F;
wdKhmer = $453;
wdKirghiz = $440;
wdKonkani = $457;
wdKorean = $412;
wdLao = $454;
wdLatvian = $426;
wdLithuanian = $427;
wdMacedonian = $42F;
wdMalaysian = $43E;
wdMalayBruneiDarussalam = $83E;
wdMalayalam = $44C;
wdMaltese = $43A;
wdManipuri = $458;
wdMarathi = $44E;
wdMongolian = $450;
wdNepali = $461;
wdNorwegianBokmol = $414;
wdNorwegianNynorsk = $814;
wdOriya = $448;
wdPolish = $415;
wdBrazilianPortuguese = $416;
wdPortuguese = $816;
wdPunjabi = $446;
wdRhaetoRomanic = $417;
wdRomanianMoldova = $818;
wdRomanian = $418;
wdRussianMoldova = $819;
wdRussian = $419;
wdSamiLappish = $43B;
wdSanskrit = $44F;
wdSerbianCyrillic = $C1A;
wdSerbianLatin = $81A;
wdSindhi = $459;
wdSlovak = $41B;
wdSlovenian = $424;
wdSorbian = $42E;
wdSpanishArgentina = $2C0A;
wdSpanishBolivia = $400A;
wdSpanishChile = $340A;
wdSpanishColombia = $240A;
wdSpanishCostaRica = $140A;
wdSpanishDominicanRepublic = $1C0A;
wdSpanishEcuador = $300A;
wdSpanishElSalvador = $440A;
wdSpanishGuatemala = $100A;
wdSpanishHonduras = $480A;
wdMexicanSpanish = $80A;
wdSpanishNicaragua = $4C0A;
wdSpanishPanama = $180A;
wdSpanishParaguay = $3C0A;
wdSpanishPeru = $280A;
wdSpanishPuertoRico = $500A;
wdSpanishModernSort = $C0A;
wdSpanish = $40A;
wdSpanishUruguay = $380A;
wdSpanishVenezuela = $200A;
wdSesotho = $430;
wdSutu = $430;
wdSwahili = $441;
wdSwedishFinland = $81D;
wdSwedish = $41D;
wdTajik = $428;
wdTamil = $449;
wdTatar = $444;
wdTelugu = $44A;
wdThai = $41E;
wdTibetan = $451;
wdTsonga = $431;
wdTswana = $432;
wdTurkish = $41F;
wdTurkmen = $442;
wdUkrainian = $422;
wdUrdu = $420;
wdUzbekCyrillic = $843;
wdUzbekLatin = $443;
wdVenda = $433;
wdVietnamese = $42A;
wdWelsh = $452;
wdXhosa = $434;
wdZulu = $435;
Enum WdFieldType;
wdFieldEmpty = -1;
wdFieldRef = 3;
wdFieldIndexEntry = 4;
wdFieldFootnoteRef = 5;
wdFieldSet = 6;
wdFieldIf = 7;
wdFieldIndex = 8;
wdFieldTOCEntry = 9;
wdFieldStyleRef = 10;
wdFieldRefDoc = 11;
wdFieldSequence = 12;
wdFieldTOC = 13;
wdFieldInfo = 14;
wdFieldTitle = 15;
wdFieldSubject = 16;
wdFieldAuthor = 17;
wdFieldKeyWord = 18;
wdFieldComments = 19;
wdFieldLastSavedBy = 20;
wdFieldCreateDate = 21;
wdFieldSaveDate = 22;
wdFieldPrintDate = 23;
wdFieldRevisionNum = 24;
wdFieldEditTime = 25;
wdFieldNumPages = 26;
wdFieldNumWords = 27;
wdFieldNumChars = 28;
wdFieldFileName = 29;
wdFieldTemplate = 30;
wdFieldDate = 31;
wdFieldTime = 32;
wdFieldPage = 33;
wdFieldExpression = 34;
wdFieldQuote = 35;
wdFieldInclude = 36;
wdFieldPageRef = 37;
wdFieldAsk = 38;
wdFieldFillIn = 39;
wdFieldData = 40;
wdFieldNext = 41;
wdFieldNextIf = 42;
wdFieldSkipIf = 43;
wdFieldMergeRec = 44;
wdFieldDDE = 45;
wdFieldDDEAuto = 46;
wdFieldGlossary = 47;
wdFieldPrint = 48;
wdFieldFormula = 49;
wdFieldGoToButton = 50;
wdFieldMacroButton = 51;
wdFieldAutoNumOutline = 52;
wdFieldAutoNumLegal = 53;
wdFieldAutoNum = 54;
wdFieldImport = 55;
wdFieldLink = 56;
wdFieldSymbol = 57;
wdFieldEmbed = 58;
wdFieldMergeField = 59;
wdFieldUserName = 60;
wdFieldUserInitials = 61;
wdFieldUserAddress = 62;
wdFieldBarCode = 63;
wdFieldDocVariable = 64;
wdFieldSection = 65;
wdFieldSectionPages = 66;
wdFieldIncludePicture = 67;
wdFieldIncludeText = 68;
wdFieldFileSize = 69;
wdFieldFormTextInput = 70;
wdFieldFormCheckBox = 71;
wdFieldNoteRef = 72;
wdFieldTOA = 73;
wdFieldTOAEntry = 74;
wdFieldMergeSeq = 75;
wdFieldPrivate = 77;
wdFieldDatabase = 78;
wdFieldAutoText = 79;
wdFieldCompare = 80;
wdFieldAddin = 81;
wdFieldSubscriber = 82;
wdFieldFormDropDown = 83;
wdFieldAdvance = 84;
wdFieldDocProperty = 85;
wdFieldOCX = 87;
wdFieldHyperlink = 88;
wdFieldAutoTextList = 89;
wdFieldListNum = 90;
wdFieldHTMLActiveX = 91;
Enum WdBuiltinStyle;
wdStyleNormal = -1;
wdStyleEnvelopeAddress = -37;
wdStyleEnvelopeReturn = -38;
wdStyleBodyText = -67;
wdStyleHeading1 = -2;
wdStyleHeading2 = -3;
wdStyleHeading3 = -4;
wdStyleHeading4 = -5;
wdStyleHeading5 = -6;
wdStyleHeading6 = -7;
wdStyleHeading7 = -8;
wdStyleHeading8 = -9;
wdStyleHeading9 = -10;
wdStyleIndex1 = -11;
wdStyleIndex2 = -12;
wdStyleIndex3 = -13;
wdStyleIndex4 = -14;
wdStyleIndex5 = -15;
wdStyleIndex6 = -16;
wdStyleIndex7 = -17;
wdStyleIndex8 = -18;
wdStyleIndex9 = -19;
wdStyleTOC1 = -20;
wdStyleTOC2 = -21;
wdStyleTOC3 = -22;
wdStyleTOC4 = -23;
wdStyleTOC5 = -24;
wdStyleTOC6 = -25;
wdStyleTOC7 = -26;
wdStyleTOC8 = -27;
wdStyleTOC9 = -28;
wdStyleNormalIndent = -29;
wdStyleFootnoteText = -30;
wdStyleCommentText = -31;
wdStyleHeader = -32;
wdStyleFooter = -33;
wdStyleIndexHeading = -34;
wdStyleCaption = -35;
wdStyleTableOfFigures = -36;
wdStyleFootnoteReference = -39;
wdStyleCommentReference = -40;
wdStyleLineNumber = -41;
wdStylePageNumber = -42;
wdStyleEndnoteReference = -43;
wdStyleEndnoteText = -44;
wdStyleTableOfAuthorities = -45;
wdStyleMacroText = -46;
wdStyleTOAHeading = -47;
wdStyleList = -48;
wdStyleListBullet = -49;
wdStyleListNumber = -50;
wdStyleList2 = -51;
wdStyleList3 = -52;
wdStyleList4 = -53;
wdStyleList5 = -54;
wdStyleListBullet2 = -55;
wdStyleListBullet3 = -56;
wdStyleListBullet4 = -57;
wdStyleListBullet5 = -58;
wdStyleListNumber2 = -59;
wdStyleListNumber3 = -60;
wdStyleListNumber4 = -61;
wdStyleListNumber5 = -62;
wdStyleTitle = -63;
wdStyleClosing = -64;
wdStyleSignature = -65;
wdStyleDefaultParagraphFont = -66;
wdStyleBodyTextIndent = -68;
wdStyleListContinue = -69;
wdStyleListContinue2 = -70;
wdStyleListContinue3 = -71;
wdStyleListContinue4 = -72;
wdStyleListContinue5 = -73;
wdStyleMessageHeader = -74;
wdStyleSubtitle = -75;
wdStyleSalutation = -76;
wdStyleDate = -77;
wdStyleBodyTextFirstIndent = -78;
wdStyleBodyTextFirstIndent2 = -79;
wdStyleNoteHeading = -80;
wdStyleBodyText2 = -81;
wdStyleBodyText3 = -82;
wdStyleBodyTextIndent2 = -83;
wdStyleBodyTextIndent3 = -84;
wdStyleBlockQuotation = -85;
wdStyleHyperlink = -86;
wdStyleHyperlinkFollowed = -87;
wdStyleStrong = -88;
wdStyleEmphasis = -89;
wdStyleNavPane = -90;
wdStylePlainText = -91;
wdStyleHtmlNormal = -95;
wdStyleHtmlAcronym = -96;
wdStyleHtmlAddress = -97;
wdStyleHtmlCite = -98;
wdStyleHtmlCode = -99;
wdStyleHtmlDfn = -100;
wdStyleHtmlKbd = -101;
wdStyleHtmlPre = -102;
wdStyleHtmlSamp = -103;
wdStyleHtmlTt = -104;
wdStyleHtmlVar = -105;
Enum WdWordDialogTab;
wdDialogToolsOptionsTabView = 204;
wdDialogToolsOptionsTabGeneral = 203;
wdDialogToolsOptionsTabEdit = 224;
wdDialogToolsOptionsTabPrint = 208;
wdDialogToolsOptionsTabSave = 209;
wdDialogToolsOptionsTabProofread = 211;
wdDialogToolsOptionsTabTrackChanges = $182;
wdDialogToolsOptionsTabUserInfo = 213;
wdDialogToolsOptionsTabCompatibility = $20D;
wdDialogToolsOptionsTabTypography = $2E3;
wdDialogToolsOptionsTabFileLocations = 225;
wdDialogToolsOptionsTabFuzzy = $316;
wdDialogToolsOptionsTabHangulHanjaConversion = $312;
wdDialogToolsOptionsTabBidi = $405;
wdDialogFilePageSetupTabMargins = $249F0;
wdDialogFilePageSetupTabPaperSize = $249F1;
wdDialogFilePageSetupTabPaperSource = $249F2;
wdDialogFilePageSetupTabLayout = $249F3;
wdDialogFilePageSetupTabCharsLines = $249F4;
wdDialogInsertSymbolTabSymbols = $30D40;
wdDialogInsertSymbolTabSpecialCharacters = $30D41;
wdDialogNoteOptionsTabAllFootnotes = $493E0;
wdDialogNoteOptionsTabAllEndnotes = $493E1;
wdDialogInsertIndexAndTablesTabIndex = $61A80;
wdDialogInsertIndexAndTablesTabTableOfContents = $61A81;
wdDialogInsertIndexAndTablesTabTableOfFigures = $61A82;
wdDialogInsertIndexAndTablesTabTableOfAuthorities = $61A83;
wdDialogOrganizerTabStyles = $7A120;
wdDialogOrganizerTabAutoText = $7A121;
wdDialogOrganizerTabCommandBars = $7A122;
wdDialogOrganizerTabMacros = $7A123;
wdDialogFormatFontTabFont = $927C0;
wdDialogFormatFontTabCharacterSpacing = $927C1;
wdDialogFormatFontTabAnimation = $927C2;
wdDialogFormatBordersAndShadingTabBorders = $AAE60;
wdDialogFormatBordersAndShadingTabPageBorder = $AAE61;
wdDialogFormatBordersAndShadingTabShading = $AAE62;
wdDialogToolsEnvelopesAndLabelsTabEnvelopes = $C3500;
wdDialogToolsEnvelopesAndLabelsTabLabels = $C3501;
wdDialogFormatParagraphTabIndentsAndSpacing = $F4240;
wdDialogFormatParagraphTabTextFlow = $F4241;
wdDialogFormatParagraphTabTeisai = $F4242;
wdDialogFormatDrawingObjectTabColorsAndLines = $124F80;
wdDialogFormatDrawingObjectTabSize = $124F81;
wdDialogFormatDrawingObjectTabPosition = $124F82;
wdDialogFormatDrawingObjectTabWrapping = $124F83;
wdDialogFormatDrawingObjectTabPicture = $124F84;
wdDialogFormatDrawingObjectTabTextbox = $124F85;
wdDialogFormatDrawingObjectTabWeb = $124F86;
wdDialogFormatDrawingObjectTabHR = $124F87;
wdDialogToolsAutoCorrectExceptionsTabFirstLetter = $155CC0;
wdDialogToolsAutoCorrectExceptionsTabInitialCaps = $155CC1;
wdDialogToolsAutoCorrectExceptionsTabHangulAndAlphabet = $155CC2;
wdDialogToolsAutoCorrectExceptionsTabIac = $155CC3;
wdDialogFormatBulletsAndNumberingTabBulleted = $16E360;
wdDialogFormatBulletsAndNumberingTabNumbered = $16E361;
wdDialogFormatBulletsAndNumberingTabOutlineNumbered = $16E362;
wdDialogLetterWizardTabLetterFormat = $186A00;
wdDialogLetterWizardTabRecipientInfo = $186A01;
wdDialogLetterWizardTabOtherElements = $186A02;
wdDialogLetterWizardTabSenderInfo = $186A03;
wdDialogToolsAutoManagerTabAutoCorrect = $19F0A0;
wdDialogToolsAutoManagerTabAutoFormatAsYouType = $19F0A1;
wdDialogToolsAutoManagerTabAutoText = $19F0A2;
wdDialogToolsAutoManagerTabAutoFormat = $19F0A3;
wdDialogEmailOptionsTabSignature = $1CFDE0;
wdDialogEmailOptionsTabStationary = $1CFDE1;
wdDialogEmailOptionsTabQuoting = $1CFDE2;
wdDialogWebOptionsGeneral = $1E8480;
wdDialogWebOptionsFiles = $1E8481;
wdDialogWebOptionsPictures = $1E8482;
wdDialogWebOptionsEncoding = $1E8483;
wdDialogWebOptionsFonts = $1E8484;
Enum WdWordDialogTabHID;
emptyenum = 0;
Enum WdWordDialog;
wdDialogHelpAbout = 9;
wdDialogHelpWordPerfectHelp = 10;
wdDialogHelpWordPerfectHelpOptions = $1FF;
wdDialogFormatChangeCase = $142;
wdDialogToolsOptionsFuzzy = $316;
wdDialogToolsWordCount = 228;
wdDialogDocumentStatistics = 78;
wdDialogFileNew = 79;
wdDialogFileOpen = 80;
wdDialogMailMergeOpenDataSource = 81;
wdDialogMailMergeOpenHeaderSource = 82;
wdDialogMailMergeUseAddressBook = $30B;
wdDialogFileSaveAs = 84;
wdDialogFileSummaryInfo = 86;
wdDialogToolsTemplates = 87;
wdDialogOrganizer = 222;
wdDialogFilePrint = 88;
wdDialogMailMerge = $2A4;
wdDialogMailMergeCheck = $2A5;
wdDialogMailMergeQueryOptions = $2A9;
wdDialogMailMergeFindRecord = $239;
wdDialogMailMergeInsertIf = $FD1;
wdDialogMailMergeInsertNextIf = $FD5;
wdDialogMailMergeInsertSkipIf = $FD7;
wdDialogMailMergeInsertFillIn = $FD0;
wdDialogMailMergeInsertAsk = $FCF;
wdDialogMailMergeInsertSet = $FD6;
wdDialogMailMergeHelper = $2A8;
wdDialogLetterWizard = $335;
wdDialogFilePrintSetup = 97;
wdDialogFileFind = 99;
wdDialogMailMergeCreateDataSource = $282;
wdDialogMailMergeCreateHeaderSource = $283;
wdDialogEditPasteSpecial = 111;
wdDialogEditFind = 112;
wdDialogEditReplace = 117;
wdDialogEditGoToOld = $32B;
wdDialogEditGoTo = $380;
wdDialogCreateAutoText = $368;
wdDialogEditAutoText = $3D9;
wdDialogEditLinks = 124;
wdDialogEditObject = 125;
wdDialogConvertObject = $188;
wdDialogTableToText = 128;
wdDialogTextToTable = 127;
wdDialogTableInsertTable = 129;
wdDialogTableInsertCells = 130;
wdDialogTableInsertRow = 131;
wdDialogTableDeleteCells = 133;
wdDialogTableSplitCells = 137;
wdDialogTableFormula = $15C;
wdDialogTableAutoFormat = $233;
wdDialogTableFormatCell = $264;
wdDialogViewZoom = $241;
wdDialogNewToolbar = $24A;
wdDialogInsertBreak = 159;
wdDialogInsertFootnote = $172;
wdDialogInsertSymbol = 162;
wdDialogInsertPicture = 163;
wdDialogInsertFile = 164;
wdDialogInsertDateTime = 165;
wdDialogInsertNumber = $32C;
wdDialogInsertField = 166;
wdDialogInsertDatabase = $155;
wdDialogInsertMergeField = 167;
wdDialogInsertBookmark = 168;
wdDialogInsertHyperlink = $39D;
wdDialogMarkIndexEntry = 169;
wdDialogMarkCitation = $1CF;
wdDialogEditTOACategory = $271;
wdDialogInsertIndexAndTables = $1D9;
wdDialogInsertIndex = 170;
wdDialogInsertTableOfContents = 171;
wdDialogMarkTableOfContentsEntry = $1BA;
wdDialogInsertTableOfFigures = $1D8;
wdDialogInsertTableOfAuthorities = $1D7;
wdDialogInsertObject = 172;
wdDialogFormatCallout = $262;
wdDialogDrawSnapToGrid = $279;
wdDialogDrawAlign = $27A;
wdDialogToolsEnvelopesAndLabels = $25F;
wdDialogToolsCreateEnvelope = 173;
wdDialogToolsCreateLabels = $1E9;
wdDialogToolsProtectDocument = $1F7;
wdDialogToolsProtectSection = $242;
wdDialogToolsUnprotectDocument = $209;
wdDialogFormatFont = 174;
wdDialogFormatParagraph = 175;
wdDialogFormatSectionLayout = 176;
wdDialogFormatColumns = 177;
wdDialogFileDocumentLayout = 178;
wdDialogFileMacPageSetup = $2AD;
wdDialogFilePrintOneCopy = $1BD;
wdDialogFileMacPageSetupGX = $1BC;
wdDialogFileMacCustomPageSetupGX = $2E1;
wdDialogFilePageSetup = 178;
wdDialogFormatTabs = 179;
wdDialogFormatStyle = 180;
wdDialogFormatStyleGallery = $1F9;
wdDialogFormatDefineStyleFont = 181;
wdDialogFormatDefineStylePara = 182;
wdDialogFormatDefineStyleTabs = 183;
wdDialogFormatDefineStyleFrame = 184;
wdDialogFormatDefineStyleBorders = 185;
wdDialogFormatDefineStyleLang = 186;
wdDialogFormatPicture = 187;
wdDialogToolsLanguage = 188;
wdDialogFormatBordersAndShading = 189;
wdDialogFormatDrawingObject = $3C0;
wdDialogFormatFrame = 190;
wdDialogFormatDropCap = $1E8;
wdDialogFormatBulletsAndNumbering = $338;
wdDialogToolsHyphenation = 195;
wdDialogToolsBulletsNumbers = 196;
wdDialogToolsHighlightChanges = 197;
wdDialogToolsAcceptRejectChanges = $1FA;
wdDialogToolsMergeDocuments = $1B3;
wdDialogToolsCompareDocuments = 198;
wdDialogTableSort = 199;
wdDialogToolsCustomizeMenuBar = $267;
wdDialogToolsCustomize = 152;
wdDialogToolsCustomizeKeyboard = $1B0;
wdDialogToolsCustomizeMenus = $1B1;
wdDialogListCommands = $2D3;
wdDialogToolsOptions = $3CE;
wdDialogToolsOptionsGeneral = 203;
wdDialogToolsAdvancedSettings = 206;
wdDialogToolsOptionsCompatibility = $20D;
wdDialogToolsOptionsPrint = 208;
wdDialogToolsOptionsSave = 209;
wdDialogToolsOptionsSpellingAndGrammar = 211;
wdDialogToolsSpellingAndGrammar = $33C;
wdDialogToolsThesaurus = 194;
wdDialogToolsOptionsUserInfo = 213;
wdDialogToolsOptionsAutoFormat = $3BF;
wdDialogToolsOptionsTrackChanges = $182;
wdDialogToolsOptionsEdit = 224;
wdDialogToolsMacro = 215;
wdDialogInsertPageNumbers = $126;
wdDialogFormatPageNumber = $12A;
wdDialogNoteOptions = $175;
wdDialogCopyFile = $12C;
wdDialogFormatAddrFonts = 103;
wdDialogFormatRetAddrFonts = 221;
wdDialogToolsOptionsFileLocations = 225;
wdDialogToolsCreateDirectory = $341;
wdDialogUpdateTOC = $14B;
wdDialogInsertFormField = $1E3;
wdDialogFormFieldOptions = $161;
wdDialogInsertCaption = $165;
wdDialogInsertAutoCaption = $167;
wdDialogInsertAddCaption = $192;
wdDialogInsertCaptionNumbering = $166;
wdDialogInsertCrossReference = $16F;
wdDialogToolsManageFields = $277;
wdDialogToolsAutoManager = $393;
wdDialogToolsAutoCorrect = $17A;
wdDialogToolsAutoCorrectExceptions = $2FA;
wdDialogConnect = $1A4;
wdDialogToolsOptionsBidi = $405;
wdDialogToolsOptionsView = 204;
wdDialogInsertSubdocument = $247;
wdDialogFileRoutingSlip = $270;
wdDialogFontSubstitution = $245;
wdDialogEditCreatePublisher = $2DC;
wdDialogEditSubscribeTo = $2DD;
wdDialogEditPublishOptions = $2DF;
wdDialogEditSubscribeOptions = $2E0;
wdDialogToolsOptionsTypography = $2E3;
wdDialogToolsOptionsAutoFormatAsYouType = $30A;
wdDialogControlRun = 235;
wdDialogFileVersions = $3B1;
wdDialogToolsAutoSummarize = $36A;
wdDialogFileSaveVersion = $3EF;
wdDialogWindowActivate = 220;
wdDialogToolsMacroRecord = 214;
wdDialogToolsRevisions = 197;
wdDialogEmailOptions = $35F;
wdDialogWebOptions = $382;
wdDialogFitText = $3D7;
wdDialogPhoneticGuide = $3DA;
wdDialogHorizontalInVertical = $488;
wdDialogTwoLinesInOne = $489;
wdDialogFormatEncloseCharacters = $48A;
wdDialogFormatTheme = $357;
wdDialogTCSCTranslator = $484;
Enum WdWordDialogHID;
emptyenum = 0;
Enum WdFieldKind;
wdFieldKindNone = 0;
wdFieldKindHot = 1;
wdFieldKindWarm = 2;
wdFieldKindCold = 3;
Enum WdTextFormFieldType;
wdRegularText = 0;
wdNumberText = 1;
wdDateText = 2;
wdCurrentDateText = 3;
wdCurrentTimeText = 4;
wdCalculationText = 5;
Enum WdChevronConvertRule;
wdNeverConvert = 0;
wdAlwaysConvert = 1;
wdAskToNotConvert = 2;
wdAskToConvert = 3;
Enum WdMailMergeMainDocType;
wdNotAMergeDocument = -1;
wdFormLetters = 0;
wdMailingLabels = 1;
wdEnvelopes = 2;
wdCatalog = 3;
Enum WdMailMergeState;
wdNormalDocument = 0;
wdMainDocumentOnly = 1;
wdMainAndDataSource = 2;
wdMainAndHeader = 3;
wdMainAndSourceAndHeader = 4;
wdDataSource = 5;
Enum WdMailMergeDestination;
wdSendToNewDocument = 0;
wdSendToPrinter = 1;
wdSendToEmail = 2;
wdSendToFax = 3;
Enum WdMailMergeActiveRecord;
wdNoActiveRecord = -1;
wdNextRecord = -2;
wdPreviousRecord = -3;
wdFirstRecord = -4;
wdLastRecord = -5;
Enum WdMailMergeDefaultRecord;
wdDefaultFirstRecord = 1;
wdDefaultLastRecord = -16;
Enum WdMailMergeDataSource;
wdNoMergeInfo = -1;
wdMergeInfoFromWord = 0;
wdMergeInfoFromAccessDDE = 1;
wdMergeInfoFromExcelDDE = 2;
wdMergeInfoFromMSQueryDDE = 3;
wdMergeInfoFromODBC = 4;
Enum WdMailMergeComparison;
wdMergeIfEqual = 0;
wdMergeIfNotEqual = 1;
wdMergeIfLessThan = 2;
wdMergeIfGreaterThan = 3;
wdMergeIfLessThanOrEqual = 4;
wdMergeIfGreaterThanOrEqual = 5;
wdMergeIfIsBlank = 6;
wdMergeIfIsNotBlank = 7;
Enum WdBookmarkSortBy;
wdSortByName = 0;
wdSortByLocation = 1;
Enum WdWindowState;
wdWindowStateNormal = 0;
wdWindowStateMaximize = 1;
wdWindowStateMinimize = 2;
Enum WdPictureLinkType;
wdLinkNone = 0;
wdLinkDataInDoc = 1;
wdLinkDataOnDisk = 2;
Enum WdLinkType;
wdLinkTypeOLE = 0;
wdLinkTypePicture = 1;
wdLinkTypeText = 2;
wdLinkTypeReference = 3;
wdLinkTypeInclude = 4;
wdLinkTypeImport = 5;
wdLinkTypeDDE = 6;
wdLinkTypeDDEAuto = 7;
Enum WdWindowType;
wdWindowDocument = 0;
wdWindowTemplate = 1;
Enum WdViewType;
wdNormalView = 1;
wdOutlineView = 2;
wdPrintView = 3;
wdPrintPreview = 4;
wdMasterView = 5;
wdWebView = 6;
Enum WdSeekView;
wdSeekMainDocument = 0;
wdSeekPrimaryHeader = 1;
wdSeekFirstPageHeader = 2;
wdSeekEvenPagesHeader = 3;
wdSeekPrimaryFooter = 4;
wdSeekFirstPageFooter = 5;
wdSeekEvenPagesFooter = 6;
wdSeekFootnotes = 7;
wdSeekEndnotes = 8;
wdSeekCurrentPageHeader = 9;
wdSeekCurrentPageFooter = 10;
Enum WdSpecialPane;
wdPaneNone = 0;
wdPanePrimaryHeader = 1;
wdPaneFirstPageHeader = 2;
wdPaneEvenPagesHeader = 3;
wdPanePrimaryFooter = 4;
wdPaneFirstPageFooter = 5;
wdPaneEvenPagesFooter = 6;
wdPaneFootnotes = 7;
wdPaneEndnotes = 8;
wdPaneFootnoteContinuationNotice = 9;
wdPaneFootnoteContinuationSeparator = 10;
wdPaneFootnoteSeparator = 11;
wdPaneEndnoteContinuationNotice = 12;
wdPaneEndnoteContinuationSeparator = 13;
wdPaneEndnoteSeparator = 14;
wdPaneComments = 15;
wdPaneCurrentPageHeader = 16;
wdPaneCurrentPageFooter = 17;
Enum WdPageFit;
wdPageFitNone = 0;
wdPageFitFullPage = 1;
wdPageFitBestFit = 2;
wdPageFitTextFit = 3;
Enum WdBrowseTarget;
wdBrowsePage = 1;
wdBrowseSection = 2;
wdBrowseComment = 3;
wdBrowseFootnote = 4;
wdBrowseEndnote = 5;
wdBrowseField = 6;
wdBrowseTable = 7;
wdBrowseGraphic = 8;
wdBrowseHeading = 9;
wdBrowseEdit = 10;
wdBrowseFind = 11;
wdBrowseGoTo = 12;
Enum WdPaperTray;
wdPrinterDefaultBin = 0;
wdPrinterUpperBin = 1;
wdPrinterOnlyBin = 1;
wdPrinterLowerBin = 2;
wdPrinterMiddleBin = 3;
wdPrinterManualFeed = 4;
wdPrinterEnvelopeFeed = 5;
wdPrinterManualEnvelopeFeed = 6;
wdPrinterAutomaticSheetFeed = 7;
wdPrinterTractorFeed = 8;
wdPrinterSmallFormatBin = 9;
wdPrinterLargeFormatBin = 10;
wdPrinterLargeCapacityBin = 11;
wdPrinterPaperCassette = 14;
wdPrinterFormSource = 15;
Enum WdOrientation;
wdOrientPortrait = 0;
wdOrientLandscape = 1;
Enum WdSelectionType;
wdNoSelection = 0;
wdSelectionIP = 1;
wdSelectionNormal = 2;
wdSelectionFrame = 3;
wdSelectionColumn = 4;
wdSelectionRow = 5;
wdSelectionBlock = 6;
wdSelectionInlineShape = 7;
wdSelectionShape = 8;
Enum WdCaptionLabelID;
wdCaptionFigure = -1;
wdCaptionTable = -2;
wdCaptionEquation = -3;
Enum WdReferenceType;
wdRefTypeNumberedItem = 0;
wdRefTypeHeading = 1;
wdRefTypeBookmark = 2;
wdRefTypeFootnote = 3;
wdRefTypeEndnote = 4;
Enum WdReferenceKind;
wdContentText = -1;
wdNumberRelativeContext = -2;
wdNumberNoContext = -3;
wdNumberFullContext = -4;
wdEntireCaption = 2;
wdOnlyLabelAndNumber = 3;
wdOnlyCaptionText = 4;
wdFootnoteNumber = 5;
wdEndnoteNumber = 6;
wdPageNumber = 7;
wdPosition = 15;
wdFootnoteNumberFormatted = 16;
wdEndnoteNumberFormatted = 17;
Enum WdIndexFormat;
wdIndexTemplate = 0;
wdIndexClassic = 1;
wdIndexFancy = 2;
wdIndexModern = 3;
wdIndexBulleted = 4;
wdIndexFormal = 5;
wdIndexSimple = 6;
Enum WdIndexType;
wdIndexIndent = 0;
wdIndexRunin = 1;
Enum WdRevisionsWrap;
wdWrapNever = 0;
wdWrapAlways = 1;
wdWrapAsk = 2;
Enum WdRevisionType;
wdNoRevision = 0;
wdRevisionInsert = 1;
wdRevisionDelete = 2;
wdRevisionProperty = 3;
wdRevisionParagraphNumber = 4;
wdRevisionDisplayField = 5;
wdRevisionReconcile = 6;
wdRevisionConflict = 7;
wdRevisionStyle = 8;
wdRevisionReplace = 9;
Enum WdRoutingSlipDelivery;
wdOneAfterAnother = 0;
wdAllAtOnce = 1;
Enum WdRoutingSlipStatus;
wdNotYetRouted = 0;
wdRouteInProgress = 1;
wdRouteComplete = 2;
Enum WdSectionStart;
wdSectionContinuous = 0;
wdSectionNewColumn = 1;
wdSectionNewPage = 2;
wdSectionEvenPage = 3;
wdSectionOddPage = 4;
Enum WdSaveOptions;
wdDoNotSaveChanges = 0;
wdSaveChanges = -1;
wdPromptToSaveChanges = -2;
Enum WdDocumentKind;
wdDocumentNotSpecified = 0;
wdDocumentLetter = 1;
wdDocumentEmail = 2;
Enum WdDocumentType;
wdTypeDocument = 0;
wdTypeTemplate = 1;
wdTypeFrameset = 2;
Enum WdOriginalFormat;
wdWordDocument = 0;
wdOriginalDocumentFormat = 1;
wdPromptUser = 2;
Enum WdRelocate;
wdRelocateUp = 0;
wdRelocateDown = 1;
Enum WdInsertedTextMark;
wdInsertedTextMarkNone = 0;
wdInsertedTextMarkBold = 1;
wdInsertedTextMarkItalic = 2;
wdInsertedTextMarkUnderline = 3;
wdInsertedTextMarkDoubleUnderline = 4;
Enum WdRevisedLinesMark;
wdRevisedLinesMarkNone = 0;
wdRevisedLinesMarkLeftBorder = 1;
wdRevisedLinesMarkRightBorder = 2;
wdRevisedLinesMarkOutsideBorder = 3;
Enum WdDeletedTextMark;
wdDeletedTextMarkHidden = 0;
wdDeletedTextMarkStrikeThrough = 1;
wdDeletedTextMarkCaret = 2;
wdDeletedTextMarkPound = 3;
Enum WdRevisedPropertiesMark;
wdRevisedPropertiesMarkNone = 0;
wdRevisedPropertiesMarkBold = 1;
wdRevisedPropertiesMarkItalic = 2;
wdRevisedPropertiesMarkUnderline = 3;
wdRevisedPropertiesMarkDoubleUnderline = 4;
Enum WdFieldShading;
wdFieldShadingNever = 0;
wdFieldShadingAlways = 1;
wdFieldShadingWhenSelected = 2;
Enum WdDefaultFilePath;
wdDocumentsPath = 0;
wdPicturesPath = 1;
wdUserTemplatesPath = 2;
wdWorkgroupTemplatesPath = 3;
wdUserOptionsPath = 4;
wdAutoRecoverPath = 5;
wdToolsPath = 6;
wdTutorialPath = 7;
wdStartupPath = 8;
wdProgramPath = 9;
wdGraphicsFiltersPath = 10;
wdTextConvertersPath = 11;
wdProofingToolsPath = 12;
wdTempFilePath = 13;
wdCurrentFolderPath = 14;
wdStyleGalleryPath = 15;
wdBorderArtPath = 19;
Enum WdCompatibility;
wdNoTabHangIndent = 1;
wdNoSpaceRaiseLower = 2;
wdPrintColBlack = 3;
wdWrapTrailSpaces = 4;
wdNoColumnBalance = 5;
wdConvMailMergeEsc = 6;
wdSuppressSpBfAfterPgBrk = 7;
wdSuppressTopSpacing = 8;
wdOrigWordTableRules = 9;
wdTransparentMetafiles = 10;
wdShowBreaksInFrames = 11;
wdSwapBordersFacingPages = 12;
wdLeaveBackslashAlone = 13;
wdExpandShiftReturn = 14;
wdDontULTrailSpace = 15;
wdDontBalanceSingleByteDoubleByteWidth = 16;
wdSuppressTopSpacingMac5 = 17;
wdSpacingInWholePoints = 18;
wdPrintBodyTextBeforeHeader = 19;
wdNoLeading = 20;
wdNoSpaceForUL = 21;
wdMWSmallCaps = 22;
wdNoExtraLineSpacing = 23;
wdTruncateFontHeight = 24;
wdSubFontBySize = 25;
wdUsePrinterMetrics = 26;
wdWW6BorderRules = 27;
wdExactOnTop = 28;
wdSuppressBottomSpacing = 29;
wdWPSpaceWidth = 30;
wdWPJustification = 31;
wdLineWrapLikeWord6 = 32;
wdShapeLayoutLikeWW8 = 33;
wdFootnoteLayoutLikeWW8 = 34;
wdDontUseHTMLParagraphAutoSpacing = 35;
wdDontAdjustLineHeightInTable = 36;
wdForgetLastTabAlignment = 37;
wdAutospaceLikeWW7 = 38;
wdAlignTablesRowByRow = 39;
wdLayoutRawTableWidth = 40;
wdLayoutTableRowsApart = 41;
wdUseWord97LineBreakingRules = 42;
Enum WdPaperSize;
wdPaper10x14 = 0;
wdPaper11x17 = 1;
wdPaperLetter = 2;
wdPaperLetterSmall = 3;
wdPaperLegal = 4;
wdPaperExecutive = 5;
wdPaperA3 = 6;
wdPaperA4 = 7;
wdPaperA4Small = 8;
wdPaperA5 = 9;
wdPaperB4 = 10;
wdPaperB5 = 11;
wdPaperCSheet = 12;
wdPaperDSheet = 13;
wdPaperESheet = 14;
wdPaperFanfoldLegalGerman = 15;
wdPaperFanfoldStdGerman = 16;
wdPaperFanfoldUS = 17;
wdPaperFolio = 18;
wdPaperLedger = 19;
wdPaperNote = 20;
wdPaperQuarto = 21;
wdPaperStatement = 22;
wdPaperTabloid = 23;
wdPaperEnvelope9 = 24;
wdPaperEnvelope10 = 25;
wdPaperEnvelope11 = 26;
wdPaperEnvelope12 = 27;
wdPaperEnvelope14 = 28;
wdPaperEnvelopeB4 = 29;
wdPaperEnvelopeB5 = 30;
wdPaperEnvelopeB6 = 31;
wdPaperEnvelopeC3 = 32;
wdPaperEnvelopeC4 = 33;
wdPaperEnvelopeC5 = 34;
wdPaperEnvelopeC6 = 35;
wdPaperEnvelopeC65 = 36;
wdPaperEnvelopeDL = 37;
wdPaperEnvelopeItaly = 38;
wdPaperEnvelopeMonarch = 39;
wdPaperEnvelopePersonal = 40;
wdPaperCustom = 41;
Enum WdCustomLabelPageSize;
wdCustomLabelLetter = 0;
wdCustomLabelLetterLS = 1;
wdCustomLabelA4 = 2;
wdCustomLabelA4LS = 3;
wdCustomLabelA5 = 4;
wdCustomLabelA5LS = 5;
wdCustomLabelB5 = 6;
wdCustomLabelMini = 7;
wdCustomLabelFanfold = 8;
wdCustomLabelVertHalfSheet = 9;
wdCustomLabelVertHalfSheetLS = 10;
wdCustomLabelHigaki = 11;
wdCustomLabelHigakiLS = 12;
wdCustomLabelB4JIS = 13;
Enum WdProtectionType;
wdNoProtection = -1;
wdAllowOnlyRevisions = 0;
wdAllowOnlyComments = 1;
wdAllowOnlyFormFields = 2;
Enum WdPartOfSpeech;
wdAdjective = 0;
wdNoun = 1;
wdAdverb = 2;
wdVerb = 3;
wdPronoun = 4;
wdConjunction = 5;
wdPreposition = 6;
wdInterjection = 7;
wdIdiom = 8;
wdOther = 9;
Enum WdSubscriberFormats;
wdSubscriberBestFormat = 0;
wdSubscriberRTF = 1;
wdSubscriberText = 2;
wdSubscriberPict = 4;
Enum WdEditionType;
wdPublisher = 0;
wdSubscriber = 1;
Enum WdEditionOption;
wdCancelPublisher = 0;
wdSendPublisher = 1;
wdSelectPublisher = 2;
wdAutomaticUpdate = 3;
wdManualUpdate = 4;
wdChangeAttributes = 5;
wdUpdateSubscriber = 6;
wdOpenSource = 7;
Enum WdRelativeHorizontalPosition;
wdRelativeHorizontalPositionMargin = 0;
wdRelativeHorizontalPositionPage = 1;
wdRelativeHorizontalPositionColumn = 2;
wdRelativeHorizontalPositionCharacter = 3;
Enum WdRelativeVerticalPosition;
wdRelativeVerticalPositionMargin = 0;
wdRelativeVerticalPositionPage = 1;
wdRelativeVerticalPositionParagraph = 2;
wdRelativeVerticalPositionLine = 3;
Enum WdHelpType;
wdHelp = 0;
wdHelpAbout = 1;
wdHelpActiveWindow = 2;
wdHelpContents = 3;
wdHelpExamplesAndDemos = 4;
wdHelpIndex = 5;
wdHelpKeyboard = 6;
wdHelpPSSHelp = 7;
wdHelpQuickPreview = 8;
wdHelpSearch = 9;
wdHelpUsingHelp = 10;
wdHelpIchitaro = 11;
wdHelpPE2 = 12;
wdHelpHWP = 13;
Enum WdHelpTypeHID;
emptyenum = 0;
Enum WdKeyCategory;
wdKeyCategoryNil = -1;
wdKeyCategoryDisable = 0;
wdKeyCategoryCommand = 1;
wdKeyCategoryMacro = 2;
wdKeyCategoryFont = 3;
wdKeyCategoryAutoText = 4;
wdKeyCategoryStyle = 5;
wdKeyCategorySymbol = 6;
wdKeyCategoryPrefix = 7;
Enum WdKey;
wdNoKey = 255;
wdKeyShift = $100;
wdKeyControl = $200;
wdKeyCommand = $200;
wdKeyAlt = $400;
wdKeyOption = $400;
wdKeyA = 65;
wdKeyB = 66;
wdKeyC = 67;
wdKeyD = 68;
wdKeyE = 69;
wdKeyF = 70;
wdKeyG = 71;
wdKeyH = 72;
wdKeyI = 73;
wdKeyJ = 74;
wdKeyK = 75;
wdKeyL = 76;
wdKeyM = 77;
wdKeyN = 78;
wdKeyO = 79;
wdKeyP = 80;
wdKeyQ = 81;
wdKeyR = 82;
wdKeyS = 83;
wdKeyT = 84;
wdKeyU = 85;
wdKeyV = 86;
wdKeyW = 87;
wdKeyX = 88;
wdKeyY = 89;
wdKeyZ = 90;
wdKey0 = 48;
wdKey1 = 49;
wdKey2 = 50;
wdKey3 = 51;
wdKey4 = 52;
wdKey5 = 53;
wdKey6 = 54;
wdKey7 = 55;
wdKey8 = 56;
wdKey9 = 57;
wdKeyBackspace = 8;
wdKeyTab = 9;
wdKeyNumeric5Special = 12;
wdKeyReturn = 13;
wdKeyPause = 19;
wdKeyEsc = 27;
wdKeySpacebar = 32;
wdKeyPageUp = 33;
wdKeyPageDown = 34;
wdKeyEnd = 35;
wdKeyHome = 36;
wdKeyInsert = 45;
wdKeyDelete = 46;
wdKeyNumeric0 = 96;
wdKeyNumeric1 = 97;
wdKeyNumeric2 = 98;
wdKeyNumeric3 = 99;
wdKeyNumeric4 = 100;
wdKeyNumeric5 = 101;
wdKeyNumeric6 = 102;
wdKeyNumeric7 = 103;
wdKeyNumeric8 = 104;
wdKeyNumeric9 = 105;
wdKeyNumericMultiply = 106;
wdKeyNumericAdd = 107;
wdKeyNumericSubtract = 109;
wdKeyNumericDecimal = 110;
wdKeyNumericDivide = 111;
wdKeyF1 = 112;
wdKeyF2 = 113;
wdKeyF3 = 114;
wdKeyF4 = 115;
wdKeyF5 = 116;
wdKeyF6 = 117;
wdKeyF7 = 118;
wdKeyF8 = 119;
wdKeyF9 = 120;
wdKeyF10 = 121;
wdKeyF11 = 122;
wdKeyF12 = 123;
wdKeyF13 = 124;
wdKeyF14 = 125;
wdKeyF15 = 126;
wdKeyF16 = 127;
wdKeyScrollLock = 145;
wdKeySemiColon = 186;
wdKeyEquals = 187;
wdKeyComma = 188;
wdKeyHyphen = 189;
wdKeyPeriod = 190;
wdKeySlash = 191;
wdKeyBackSingleQuote = 192;
wdKeyOpenSquareBrace = 219;
wdKeyBackSlash = 220;
wdKeyCloseSquareBrace = 221;
wdKeySingleQuote = 222;
Enum WdOLEType;
wdOLELink = 0;
wdOLEEmbed = 1;
wdOLEControl = 2;
Enum WdOLEVerb;
wdOLEVerbPrimary = 0;
wdOLEVerbShow = -1;
wdOLEVerbOpen = -2;
wdOLEVerbHide = -3;
wdOLEVerbUIActivate = -4;
wdOLEVerbInPlaceActivate = -5;
wdOLEVerbDiscardUndoState = -6;
Enum WdOLEPlacement;
wdInLine = 0;
wdFloatOverText = 1;
Enum WdEnvelopeOrientation;
wdLeftPortrait = 0;
wdCenterPortrait = 1;
wdRightPortrait = 2;
wdLeftLandscape = 3;
wdCenterLandscape = 4;
wdRightLandscape = 5;
wdLeftClockwise = 6;
wdCenterClockwise = 7;
wdRightClockwise = 8;
Enum WdLetterStyle;
wdFullBlock = 0;
wdModifiedBlock = 1;
wdSemiBlock = 2;
Enum WdLetterheadLocation;
wdLetterTop = 0;
wdLetterBottom = 1;
wdLetterLeft = 2;
wdLetterRight = 3;
Enum WdSalutationType;
wdSalutationInformal = 0;
wdSalutationFormal = 1;
wdSalutationBusiness = 2;
wdSalutationOther = 3;
Enum WdSalutationGender;
wdGenderFemale = 0;
wdGenderMale = 1;
wdGenderNeutral = 2;
wdGenderUnknown = 3;
Enum WdMovementType;
wdMove = 0;
wdExtend = 1;
Enum WdConstants;
wdUndefined = $98967F;
wdToggle = $98967E;
wdForward = $3FFFFFFF;
wdBackward = $C0000001;
wdAutoPosition = 0;
wdFirst = 1;
wdCreatorCode = $4D535744;
Enum WdPasteDataType;
wdPasteOLEObject = 0;
wdPasteRTF = 1;
wdPasteText = 2;
wdPasteMetafilePicture = 3;
wdPasteBitmap = 4;
wdPasteDeviceIndependentBitmap = 5;
wdPasteHyperlink = 7;
wdPasteShape = 8;
wdPasteEnhancedMetafile = 9;
wdPasteHTML = 10;
Enum WdPrintOutItem;
wdPrintDocumentContent = 0;
wdPrintProperties = 1;
wdPrintComments = 2;
wdPrintStyles = 3;
wdPrintAutoTextEntries = 4;
wdPrintKeyAssignments = 5;
wdPrintEnvelope = 6;
Enum WdPrintOutPages;
wdPrintAllPages = 0;
wdPrintOddPagesOnly = 1;
wdPrintEvenPagesOnly = 2;
Enum WdPrintOutRange;
wdPrintAllDocument = 0;
wdPrintSelection = 1;
wdPrintCurrentPage = 2;
wdPrintFromTo = 3;
wdPrintRangeOfPages = 4;
Enum WdDictionaryType;
wdSpelling = 0;
wdGrammar = 1;
wdThesaurus = 2;
wdHyphenation = 3;
wdSpellingComplete = 4;
wdSpellingCustom = 5;
wdSpellingLegal = 6;
wdSpellingMedical = 7;
wdHangulHanjaConversion = 8;
wdHangulHanjaConversionCustom = 9;
Enum WdDictionaryTypeHID;
emptyenum = 0;
Enum WdSpellingWordType;
wdSpellword = 0;
wdWildcard = 1;
wdAnagram = 2;
Enum WdSpellingErrorType;
wdSpellingCorrect = 0;
wdSpellingNotInDictionary = 1;
wdSpellingCapitalization = 2;
Enum WdProofreadingErrorType;
wdSpellingError = 0;
wdGrammaticalError = 1;
Enum WdInlineShapeType;
wdInlineShapeEmbeddedOLEObject = 1;
wdInlineShapeLinkedOLEObject = 2;
wdInlineShapePicture = 3;
wdInlineShapeLinkedPicture = 4;
wdInlineShapeOLEControlObject = 5;
wdInlineShapeHorizontalLine = 6;
wdInlineShapePictureHorizontalLine = 7;
wdInlineShapeLinkedPictureHorizontalLine = 8;
wdInlineShapePictureBullet = 9;
wdInlineShapeScriptAnchor = 10;
wdInlineShapeOWSAnchor = 11;
Enum WdArrangeStyle;
wdTiled = 0;
wdIcons = 1;
Enum WdSelectionFlags;
wdSelStartActive = 1;
wdSelAtEOL = 2;
wdSelOvertype = 4;
wdSelActive = 8;
wdSelReplace = 16;
Enum WdAutoVersions;
wdAutoVersionOff = 0;
wdAutoVersionOnClose = 1;
Enum WdOrganizerObject;
wdOrganizerObjectStyles = 0;
wdOrganizerObjectAutoText = 1;
wdOrganizerObjectCommandBars = 2;
wdOrganizerObjectProjectItems = 3;
Enum WdFindMatch;
wdMatchParagraphMark = $1000F;
wdMatchTabCharacter = 9;
wdMatchCommentMark = 5;
wdMatchAnyCharacter = $1003F;
wdMatchAnyDigit = $1001F;
wdMatchAnyLetter = $1002F;
wdMatchCaretCharacter = 11;
wdMatchColumnBreak = 14;
wdMatchEmDash = $2014;
wdMatchEnDash = $2013;
wdMatchEndnoteMark = $10013;
wdMatchField = 19;
wdMatchFootnoteMark = $10012;
wdMatchGraphic = 1;
wdMatchManualLineBreak = $1000F;
wdMatchManualPageBreak = $1001C;
wdMatchNonbreakingHyphen = 30;
wdMatchNonbreakingSpace = 160;
wdMatchOptionalHyphen = 31;
wdMatchSectionBreak = $1002C;
wdMatchWhiteSpace = $10077;
Enum WdFindWrap;
wdFindStop = 0;
wdFindContinue = 1;
wdFindAsk = 2;
Enum WdInformation;
wdActiveEndAdjustedPageNumber = 1;
wdActiveEndSectionNumber = 2;
wdActiveEndPageNumber = 3;
wdNumberOfPagesInDocument = 4;
wdHorizontalPositionRelativeToPage = 5;
wdVerticalPositionRelativeToPage = 6;
wdHorizontalPositionRelativeToTextBoundary = 7;
wdVerticalPositionRelativeToTextBoundary = 8;
wdFirstCharacterColumnNumber = 9;
wdFirstCharacterLineNumber = 10;
wdFrameIsSelected = 11;
wdWithInTable = 12;
wdStartOfRangeRowNumber = 13;
wdEndOfRangeRowNumber = 14;
wdMaximumNumberOfRows = 15;
wdStartOfRangeColumnNumber = 16;
wdEndOfRangeColumnNumber = 17;
wdMaximumNumberOfColumns = 18;
wdZoomPercentage = 19;
wdSelectionMode = 20;
wdCapsLock = 21;
wdNumLock = 22;
wdOverType = 23;
wdRevisionMarking = 24;
wdInFootnoteEndnotePane = 25;
wdInCommentPane = 26;
wdInHeaderFooter = 28;
wdAtEndOfRowMarker = 31;
wdReferenceOfType = 32;
wdHeaderFooterType = 33;
wdInMasterDocument = 34;
wdInFootnote = 35;
wdInEndnote = 36;
wdInWordMail = 37;
wdInClipboard = 38;
Enum WdWrapType;
wdWrapSquare = 0;
wdWrapTight = 1;
wdWrapThrough = 2;
wdWrapNone = 3;
wdWrapTopBottom = 4;
Enum WdWrapSideType;
wdWrapBoth = 0;
wdWrapLeft = 1;
wdWrapRight = 2;
wdWrapLargest = 3;
Enum WdOutlineLevel;
wdOutlineLevel1 = 1;
wdOutlineLevel2 = 2;
wdOutlineLevel3 = 3;
wdOutlineLevel4 = 4;
wdOutlineLevel5 = 5;
wdOutlineLevel6 = 6;
wdOutlineLevel7 = 7;
wdOutlineLevel8 = 8;
wdOutlineLevel9 = 9;
wdOutlineLevelBodyText = 10;
Enum WdTextOrientation;
wdTextOrientationHorizontal = 0;
wdTextOrientationUpward = 2;
wdTextOrientationDownward = 3;
wdTextOrientationVerticalFarEast = 1;
wdTextOrientationHorizontalRotatedFarEast = 4;
Enum WdTextOrientationHID;
emptyenum = 0;
Enum WdPageBorderArt;
wdArtApples = 1;
wdArtMapleMuffins = 2;
wdArtCakeSlice = 3;
wdArtCandyCorn = 4;
wdArtIceCreamCones = 5;
wdArtChampagneBottle = 6;
wdArtPartyGlass = 7;
wdArtChristmasTree = 8;
wdArtTrees = 9;
wdArtPalmsColor = 10;
wdArtBalloons3Colors = 11;
wdArtBalloonsHotAir = 12;
wdArtPartyFavor = 13;
wdArtConfettiStreamers = 14;
wdArtHearts = 15;
wdArtHeartBalloon = 16;
wdArtStars3D = 17;
wdArtStarsShadowed = 18;
wdArtStars = 19;
wdArtSun = 20;
wdArtEarth2 = 21;
wdArtEarth1 = 22;
wdArtPeopleHats = 23;
wdArtSombrero = 24;
wdArtPencils = 25;
wdArtPackages = 26;
wdArtClocks = 27;
wdArtFirecrackers = 28;
wdArtRings = 29;
wdArtMapPins = 30;
wdArtConfetti = 31;
wdArtCreaturesButterfly = 32;
wdArtCreaturesLadyBug = 33;
wdArtCreaturesFish = 34;
wdArtBirdsFlight = 35;
wdArtScaredCat = 36;
wdArtBats = 37;
wdArtFlowersRoses = 38;
wdArtFlowersRedRose = 39;
wdArtPoinsettias = 40;
wdArtHolly = 41;
wdArtFlowersTiny = 42;
wdArtFlowersPansy = 43;
wdArtFlowersModern2 = 44;
wdArtFlowersModern1 = 45;
wdArtWhiteFlowers = 46;
wdArtVine = 47;
wdArtFlowersDaisies = 48;
wdArtFlowersBlockPrint = 49;
wdArtDecoArchColor = 50;
wdArtFans = 51;
wdArtFilm = 52;
wdArtLightning1 = 53;
wdArtCompass = 54;
wdArtDoubleD = 55;
wdArtClassicalWave = 56;
wdArtShadowedSquares = 57;
wdArtTwistedLines1 = 58;
wdArtWaveline = 59;
wdArtQuadrants = 60;
wdArtCheckedBarColor = 61;
wdArtSwirligig = 62;
wdArtPushPinNote1 = 63;
wdArtPushPinNote2 = 64;
wdArtPumpkin1 = 65;
wdArtEggsBlack = 66;
wdArtCup = 67;
wdArtHeartGray = 68;
wdArtGingerbreadMan = 69;
wdArtBabyPacifier = 70;
wdArtBabyRattle = 71;
wdArtCabins = 72;
wdArtHouseFunky = 73;
wdArtStarsBlack = 74;
wdArtSnowflakes = 75;
wdArtSnowflakeFancy = 76;
wdArtSkyrocket = 77;
wdArtSeattle = 78;
wdArtMusicNotes = 79;
wdArtPalmsBlack = 80;
wdArtMapleLeaf = 81;
wdArtPaperClips = 82;
wdArtShorebirdTracks = 83;
wdArtPeople = 84;
wdArtPeopleWaving = 85;
wdArtEclipsingSquares2 = 86;
wdArtHypnotic = 87;
wdArtDiamondsGray = 88;
wdArtDecoArch = 89;
wdArtDecoBlocks = 90;
wdArtCirclesLines = 91;
wdArtPapyrus = 92;
wdArtWoodwork = 93;
wdArtWeavingBraid = 94;
wdArtWeavingRibbon = 95;
wdArtWeavingAngles = 96;
wdArtArchedScallops = 97;
wdArtSafari = 98;
wdArtCelticKnotwork = 99;
wdArtCrazyMaze = 100;
wdArtEclipsingSquares1 = 101;
wdArtBirds = 102;
wdArtFlowersTeacup = 103;
wdArtNorthwest = 104;
wdArtSouthwest = 105;
wdArtTribal6 = 106;
wdArtTribal4 = 107;
wdArtTribal3 = 108;
wdArtTribal2 = 109;
wdArtTribal5 = 110;
wdArtXIllusions = 111;
wdArtZanyTriangles = 112;
wdArtPyramids = 113;
wdArtPyramidsAbove = 114;
wdArtConfettiGrays = 115;
wdArtConfettiOutline = 116;
wdArtConfettiWhite = 117;
wdArtMosaic = 118;
wdArtLightning2 = 119;
wdArtHeebieJeebies = 120;
wdArtLightBulb = 121;
wdArtGradient = 122;
wdArtTriangleParty = 123;
wdArtTwistedLines2 = 124;
wdArtMoons = 125;
wdArtOvals = 126;
wdArtDoubleDiamonds = 127;
wdArtChainLink = 128;
wdArtTriangles = 129;
wdArtTribal1 = 130;
wdArtMarqueeToothed = 131;
wdArtSharksTeeth = 132;
wdArtSawtooth = 133;
wdArtSawtoothGray = 134;
wdArtPostageStamp = 135;
wdArtWeavingStrips = 136;
wdArtZigZag = 137;
wdArtCrossStitch = 138;
wdArtGems = 139;
wdArtCirclesRectangles = 140;
wdArtCornerTriangles = 141;
wdArtCreaturesInsects = 142;
wdArtZigZagStitch = 143;
wdArtCheckered = 144;
wdArtCheckedBarBlack = 145;
wdArtMarquee = 146;
wdArtBasicWhiteDots = 147;
wdArtBasicWideMidline = 148;
wdArtBasicWideOutline = 149;
wdArtBasicWideInline = 150;
wdArtBasicThinLines = 151;
wdArtBasicWhiteDashes = 152;
wdArtBasicWhiteSquares = 153;
wdArtBasicBlackSquares = 154;
wdArtBasicBlackDashes = 155;
wdArtBasicBlackDots = 156;
wdArtStarsTop = 157;
wdArtCertificateBanner = 158;
wdArtHandmade1 = 159;
wdArtHandmade2 = 160;
wdArtTornPaper = 161;
wdArtTornPaperBlack = 162;
wdArtCouponCutoutDashes = 163;
wdArtCouponCutoutDots = 164;
Enum WdBorderDistanceFrom;
wdBorderDistanceFromText = 0;
wdBorderDistanceFromPageEdge = 1;
Enum WdReplace;
wdReplaceNone = 0;
wdReplaceOne = 1;
wdReplaceAll = 2;
Enum WdFontBias;
wdFontBiasDontCare = 255;
wdFontBiasDefault = 0;
wdFontBiasFareast = 1;