'AccessRights

    Global Const LtsAccessRightsPublic = 1056964814
    Global Const LtsAccessRightsPrivate = 1056964815
    Global Const LtsAccessRightsProtected = 1056964816


'AddType

    Global Const LwpAddTypeSpell = 4


'AlignStyleType

    Global Const LwpAlignStyleType = 2095


'AlignmentType

    Global Const LtsAlignmentSmart = 1056964612
    Global Const LtsAlignmentLeft = 1056964609
    Global Const LtsAlignmentRight = 1056964610
    Global Const LtsAlignmentHorizCenter = 1056964611
    Global Const LtsAlignmentJustify = 1056964613
    Global Const LwpAlignmentTypeJustifyall = 5
    Global Const LwpAlignmentTypeNumericleft = 6
    Global Const LwpAlignmentTypeNumericright = 7
    Global Const LwpAlignmentTypeAlignRevert = 8


'AmikakeType

    Global Const LwpAmikakeTypeNone = 2096
    Global Const LwpAmikakeTypeBackground = 2097
    Global Const LwpAmikakeTypeCharacter = 2098


'AnchorParent

    Global Const LwpAnchorParentFrame = 9
    Global Const LwpAnchorParentCell = 10
    Global Const LwpAnchorParentDefault = 11


'AnchorWhere

    Global Const LwpAnchorWhereDivisionInfo = 12
    Global Const LwpAnchorWhereLayout = 13


'AppActivateWhich

    Global Const LwpAppActivateWhichWindow = 14
    Global Const LwpAppActivateWhichDocument = 15


'AsciiLineEnding

    Global Const LwpAsciiLineEndingCharset7bit = 16
    Global Const LwpAsciiLineEndingCharset8bit = 17
    Global Const LwpAsciiLineEndingCharsetPlatform = 18


'AttributeProp

    Global Const LwpAttributePropAll = 19
    Global Const LwpAttributePropHidden = 20
    Global Const LwpAttributePropHyphen = 21
    Global Const LwpAttributePropProtected = 22
    Global Const LwpAttributePropHighlight = 23
    Global Const LwpAttributePropMisspelled = 24
    Global Const LwpAttributePropSkipped = 25
    Global Const LwpAttributePropLevel = 26


'AutoVersion

    Global Const LwpAutoVersionNone = 27
    Global Const LwpAutoVersionOnfileopen = 28
    Global Const LwpAutoVersionEveryday = 29
    Global Const LwpAutoVersionEveryweek = 30


'BookmarkFindName

    Global Const LwpBookmarkFindNameBookmark = 2054
    Global Const LwpBookmarkFindNameMarker = 2055
    Global Const LwpBookmardFindNameBookmark = 31
    Global Const LwpBookmardFindNameMarker = 32


'BorderPattern

    Global Const LtsBorderPatternNone = 1056964657
    Global Const LtsBorderPatternSolid = 1056964658
    Global Const LtsBorderPatternDouble = 1056964666
    Global Const LwpBorderPatternDblThick = 51
    Global Const LwpBorderPatternThinThickThin = 52
    Global Const LwpBorderPatternThickThin = 53
    Global Const LwpBorderPatternThinThick = 54
    Global Const LwpBorderPatternWavy = 55
    Global Const LwpBorderPatternDblWavy = 56
    Global Const LwpBorderPatternThickWavy = 57
    Global Const LwpBorderPatternThickDblwavy = 58
    Global Const LtsBorderPatternDashed = 1056964662
    Global Const LtsBorderPatternLongDash = 1056964661
    Global Const LtsBorderPatternDashDot = 1056964659
    Global Const LtsBorderPatternDashDotDot = 1056964660
    Global Const LwpBorderPatternButtonup = 34
    Global Const LwpBorderPatternButtondown = 35
    Global Const LwpBorderPattern13space = 36
    Global Const LwpBorderPattern31space = 37
    Global Const LwpBorderPatternDiagonal = 38
    Global Const LwpBorderPatternTaro = 39
    Global Const LtsBorderPatternDot = 1056964663
    Global Const LwpLtsBorderPatternDot = 40
    Global Const LwpBorderPatternCircle = 41
    Global Const LwpBorderPatternStar = 42
    Global Const LwpBorderPatternRope = 43
    Global Const LwpBorderPatternDeco1 = 44
    Global Const LwpBorderPatternDeco2 = 45
    Global Const LwpBorderPatternRain = 46
    Global Const LwpBorderPatternPin = 47
    Global Const LwpBorderPatternRose = 48
    Global Const LwpBorderPatternSunf = 49
    Global Const LwpBorderPatternDeco3 = 50


'BreakProp

    Global Const LwpBreakPropAllBreaks = 59
    Global Const LwpBreakPropPageBreakBefore = 60
    Global Const LwpBreakPropPageBreakAfter = 61
    Global Const LwpBreakPropPageBreakWithin = 62
    Global Const LwpBreakPropColumnBreakBefor = 63
    Global Const LwpBreakPropColumnBreakAfter = 64
    Global Const LwpBreakPropKeepWithNext = 65
    Global Const LwpBreakPropKeepWithPrev = 66
    Global Const LwpBreakPropUseNextStyle = 67
    Global Const LwpBreakPropNextStyleName = 68


'BreakSubType

    Global Const LwpBreakSubTypePage = 69
    Global Const LwpBreakSubTypeColumn = 70
    Global Const LwpBreakSubTypeLine = 71


'BreakType

    Global Const LwpBreakTypePage = 72
    Global Const LwpBreakTypeColumn = 73
    Global Const LwpBreakTypeLine = 74
    Global Const LwpBreakTypeWord = 75
    Global Const LwpBreakTypeStream = 76


'BulletArrayProp

    Global Const LwpBulletArrayPropLessserspecific = 77
    Global Const LwpBulletArrayPropLesser = 78
    Global Const LwpBulletArrayPropCumulative = 79
    Global Const LwpBulletArrayPropSection = 80
    Global Const LwpBulletArrayPropDivision = 81


'BulletProperty

    Global Const LwpBulletPropertyAll = 82
    Global Const LwpBulletPropertyBullet = 83
    Global Const LwpBulletPropertyValidprop = 84
    Global Const LwpBulletPropertyRightalign = 85
    Global Const LwpBulletPropertyEditable = 86


'ButtonAlign

    Global Const LwpButtonAlignAlignLeft = 87
    Global Const LwpButtonAlignAlignRight = 88
    Global Const LwpButtonAlignAlignCenter = 89


'ButtonSizeTo

    Global Const LwpButtonSizeToButton = 90
    Global Const LwpButtonSizeToText = 91
    Global Const LwpButtonSizeToSpecified = 92


'ButtonType ' (a long bitmask)

    Global Const LwpButtonTypeText = &H1
    Global Const LwpButtonTypeGraphics = &H2
    Global Const LwpButtonBehaviorPopup = &H4
    Global Const LwpButtonBehaviorLeftclick = &H8
    Global Const LwpButtonBehaviorClickable = &H8
    Global Const LwpButtonBehaviorCollapsible = &H10
    Global Const LwpButtonBehaviorContainer = &H20
    Global Const LwpButtonContentsLeftAligned = &H40
    Global Const LwpButtonContentsCenterAligned = &H80
    Global Const LwpButtonContentsRightAligned = &H100
    Global Const LwpButtonContentsGray = &H200
    Global Const LwpButtonContentsHilited = &H400
    Global Const LwpButtonNoTextFromHost = &H800
    Global Const LwpButtonSupportRightClick = &H1000
    Global Const LwpButtonSupportDblClick = &H2000
    Global Const LwpButtonHasAutorepeat = &H4000
    Global Const LwpButtonReserved = &H8000
    Global Const LwpButtonSpacer = &H10000
    Global Const LwpButtonHasUpdownCtrl = &H20000
    Global Const LwpButtonCanBeDepressed = &H40000
    Global Const LwpButtonBehaviorThermometer = &H80000


'Case

    Global Const LwpCaseDontcare = 114
    Global Const LtsCaseMixed = 1056964843
    Global Const LtsCaseUpper = 1056964841
    Global Const LtsCaseLower = 1056964842
    Global Const LwpCaseInitcaps = 115
    Global Const LwpCaseStyle = 116


'CellObjectType

    Global Const LwpCellObjectType = 117


'CharSet

    Global Const LwpCharSetAscii = 118
    Global Const LwpCharSetAnsi = 119
    Global Const LwpCharSetAnsi1250 = 120
    Global Const LwpCharSetAnsi1251 = 121
    Global Const LwpCharSetAnsi1252 = 122
    Global Const LwpCharSetAnsi1253 = 123
    Global Const LwpCharSetAnsi1254 = 124
    Global Const LwpCharSetCp932 = 125
    Global Const LwpCharSetBig5 = 126
    Global Const LwpCharSetCp949 = 127
    Global Const LwpCharSetUnicode = 128
    Global Const LwpCharSetIsolatin1 = 129
    Global Const LwpCharSetIsolatin2 = 130
    Global Const LwpCharSetIsolatin3 = 131
    Global Const LwpCharSetIsolatin4 = 132
    Global Const LwpCharSetCyrillic = 133
    Global Const LwpCharSetArabic = 134
    Global Const LwpCharSetGreek = 135
    Global Const LwpCharSetHebrew = 136
    Global Const LwpCharSetIsolatin5 = 137
    Global Const LwpCharSetIsolatin6 = 138
    Global Const LwpCharSetCp850 = 139


'CharStyleType

    Global Const LwpCharStyleTypeCharacter = 140


'ClearWhat

    Global Const LwpClearWhatClearMisspelledWord = 141
    Global Const LwpClearWhatTombstone = 142
    Global Const LwpClearWhatObject = 143
    Global Const LwpClearWhatHighlighter = 144
    Global Const LwpClearWhatDefault = 145


'CloseFile

    Global Const LwpCloseFileIfLastdocOpenUntitled = 146
    Global Const LwpCloseFileIfLastdocNoOpen = 147


'ColorOverride

    Global Const LwpColorOverrideRgb = 2016
    Global Const LwpColorOverrideBlack = 2017
    Global Const LwpColorOverrideWhite = 2018
    Global Const LwpColorOverrideGray = 2019
    Global Const LwpColorOverrideLightGray = 2020
    Global Const LwpColorOverrideDarkGray = 2021
    Global Const LwpColorOverrideRed = 2022
    Global Const LwpColorOverrideGreen = 2023
    Global Const LwpColorOverrideBlue = 2024
    Global Const LwpColorOverrideReserved = 2025
    Global Const LwpColorOverrideInvalid = 2026
    Global Const LwpColorOverrideTransparent = 2027


'CommandResponse

    Global Const LwpCommandResponseNo = 148
    Global Const LwpCommandResponseYes = 149
    Global Const LwpCommandResponseAmbiguous = 150


'CommandState

    Global Const LwpCommandStateOff = 151
    Global Const LwpCommandStateOn = 152
    Global Const LwpCommandStateStyle = 153


'ConditionType

    Global Const LwpConditionTypeAllpages = 154
    Global Const LwpConditionTypeOnlyspecificpage = 155
    Global Const LwpConditionTypeAllbutspecificpage = 156
    Global Const LwpConditionTypeOnlyevenpages = 157
    Global Const LwpConditionTypeOnlyoddpages = 158
    Global Const LwpConditionTypeStartatpage = 159


'ContainerEnd

    Global Const LwpContainerEndEndOfDocument = 160


'ContentType

    Global Const LwpContentTypeText = 161
    Global Const LwpContentTypeTableonly = 162
    Global Const LwpContentTypeGraphic = 163
    Global Const LwpContentTypeOleobject = 164
    Global Const LwpContentTypeParallelcolumns = 165
    Global Const LwpContentTypeFootnotetable = 166
    Global Const LwpContentTypeFormula = 2056
    Global Const LwpConttentTypeFormula = 167


'CopyObjectType

    Global Const LwpCopyObjectTypeLayout = 168
    Global Const LwpCopyObjectTypeStyle = 169
    Global Const LwpCopyObjectTypeContents = 170
    Global Const LwpCopyObjectTypeDivision = 171


'DdeFind

    Global Const LwpDdeFindMarkerNameUsingHandle = 172
    Global Const LwpDdeFindLinknameUsingMarker = 173
    Global Const LwpDdeFindMarkerUsingLinkInfo = 174


'DdeNameType

    Global Const LwpDdeNameTypeMarkername = 175
    Global Const LwpDdeNameTypeLinkinfo = 176


'DdeSelection

    Global Const LwpDdeSelectionDdelinkName = 177
    Global Const LwpDdeSelectionMarkerName = 178


'DefaultSelection

    Global Const LwpDefaultSelection = 179


'DelimiterType

    Global Const LwpDelimiterTypeTabdelimited = 180
    Global Const LwpDelimiterTypeTextdelimited = 181


'Direction

    Global Const LwpDirectionPage = 182
    Global Const LwpDirectionWindow = 183


'DivLoc

    Global Const LwpDivLocInsertBeforeCurrentdiv = 184
    Global Const LwpDivLocInsertAfterCurrentdiv = 185
    Global Const LwpDivLocInsertAtInsertionPt = 186


'DocProtectType

    Global Const LwpDocProtectTypeNone = 187
    Global Const LwpDocProtectTypeOnlyEditor = 188
    Global Const LwpDocProtectTypePassword = 189


'DocVar

    Global Const LwpDocVarNone = 190
    Global Const LwpDocVarField = 191
    Global Const LwpDocVarFilename = 192
    Global Const LwpDocVarPath = 193
    Global Const LwpDocVarStylesheet = 194
    Global Const LwpDocVarDescription = 195
    Global Const LwpDocVarDatecreated = 196
    Global Const LwpDocVarDatelastrevision = 197
    Global Const LwpDocVarTotaledittime = 198
    Global Const LwpDocVarNumpages = 199
    Global Const LwpDocVarNumwords = 200
    Global Const LwpDocVarNumchars = 201
    Global Const LwpDocVarDocsize = 202
    Global Const LwpDocVarDivisionname = 203
    Global Const LwpDocVarSectionname = 204
    Global Const LwpDocVarVersioncreatedby = 205
    Global Const LwpDocVarVersioncreatedate = 206
    Global Const LwpDocVarOtherversionededitors = 207
    Global Const LwpDocVarVersionname = 208
    Global Const LwpDocVarNumversions = 209
    Global Const LwpDocVarAllversionnames = 210
    Global Const LwpDocVarVersionremarks = 211
    Global Const LwpDocVarDoccategory = 212
    Global Const LwpDocVarVersionlasteditdate = 213
    Global Const LwpDocVarVersionlasteditedby = 214
    Global Const LwpDocVarKeywords = 215
    Global Const LwpDocVarCreatedby = 2046
    Global Const LwpDocVarLasteditor = 2047
    Global Const LwpDocVarOthereditors = 2048
    Global Const LwpDocVarVersionnumrevisions = 2049


'DocumentObjectType

    Global Const LwpDocumentObjectTypeDocument = 216


'DuplexType

    Global Const LwpDuplexTypePrintNoDuplex = 217
    Global Const LwpDuplexTypePrintVertDuplex = 218
    Global Const LwpDuplexTypePrintHorzDuplex = 219


'EditAbil

    Global Const LwpEditAbilEditingNotAllowed = 220
    Global Const LwpEditAbilEditCurrentVersionOnly = 221
    Global Const LwpEditAbilEditNewVersionsOnly = 222
    Global Const LwpEditAbilEditCurrentOrNewVer = 223


'EditLocks ' (a bitmask)

    Global Const LwpEditLocksNoLocks = &H0
    Global Const LwpEditLocksNoVersionOrReview = &H1
    Global Const LwpEditLocksNoEditNamedStyles = &H2
    Global Const LwpEditLocksNoCopyAndNoSaveas = &H4
    Global Const LwpEditLocksNoPrinting = &H8
    Global Const LwpEditLocksRevmarkOnly = &H10


'EditSugg ' (a bitmask)

    Global Const LwpEditSuggNoSuggestions = &H0
    Global Const LwpEditSuggOnlyMarkupEditsAllowed = &H1
    Global Const LwpEditSuggRevAndCommentIconbar = &H2
    Global Const LwpEditSuggEditingInNewVersion = &H4


'EditorVerifyType

    Global Const LwpEditorVerifyTypeByUserName = 234
    Global Const LwpEditorVerifyTypeByOpsysLogin = 235
    Global Const LwpEditorVerifyTypeByEmailLogin = 236


'EnumScope

    Global Const LwpEnumScopeAll = 237
    Global Const LwpEnumScopeLocal = 238
    Global Const LwpEnumScopeStyle = 239


'Err

    Global Const LoiErrFileNotCreated = 7501
    Global Const LoiErrOperationCanceled = 7502
    Global Const LoiErrCouldNotSave = 7504
    Global Const LoiErrNameNotFound = 7505
    Global Const LwpErrCopyFailed = 7001
    Global Const LwpErrCutFailed = 7002
    Global Const LwpErrUndoFailed = 7003
    Global Const LwpErrPasswordProtected = 7004
    Global Const LwpErrSetPropFailed = 7005
    Global Const LwpErrNotSupported = 7006
    Global Const LwpErrPrintFailed = 7007
    Global Const LwpErrDoccontrolProtected = 7008


'FastFormatType

    Global Const LwpFastFormatTypeNone = 250
    Global Const LwpFastFormatTypeText = 251
    Global Const LwpFastFormatTypeStyle = 252
    Global Const LwpFastFormatTypeHighlight = 253


'FieldUpdate

    Global Const LwpFieldUpdateWordsPagesFilesize = 254
    Global Const LwpFieldUpdateWords = 255
    Global Const LwpFieldUpdatePages = 256
    Global Const LwpFieldUpdateChars = 257
    Global Const LwpFieldUpdateSize = 258


'FileExtractType

    Global Const LwpFileExtractTypeFileprotection = 259


'FileProtectType

    Global Const LwpFileProtectTypeNone = 260
    Global Const LwpFileProtectTypeEditors = 261
    Global Const LwpFileProtectTypeOrigAuthor = 262
    Global Const LwpFileProtectTypePassword = 263
    Global Const LwpFileProtectTypeReserved = 264


'Fill

    Global Const LtsFillNone = 1056964667
    Global Const LtsFillSolid = 1056964668
    Global Const LwpFillPattern = 2000
    Global Const LtsFillGray1 = 1056964669
    Global Const LtsFillGray2 = 1056964670
    Global Const LtsFillGray3 = 1056964671
    Global Const LtsFillGray4 = 1056964672
    Global Const LtsFillGray5 = 1056964673
    Global Const LtsFillGray6 = 1056964674
    Global Const LtsFillGray7 = 1056964675
    Global Const LtsFillGray8 = 1056964676
    Global Const LtsFillGray9 = 1056964677
    Global Const LtsFillGray10 = 1056964678
    Global Const LtsFillRandomSquare = 1056964679
    Global Const LtsFillRandomBar = 1056964680
    Global Const LtsFillBarLeftDiag = 1056964681
    Global Const LtsFillLeftDiag = 1056964682
    Global Const LtsFillDoubleLeftDiag = 1056964684
    Global Const LtsFillNarrowDoubleLeftDiag = 1056964685
    Global Const LtsFillTripleLeftDiag = 1056964686
    Global Const LtsFillWideLeftDiag = 1056964687
    Global Const LtsFillBarRightDiag = 1056964688
    Global Const LtsFillRightDiag = 1056964689
    Global Const LtsFillDoubleRightDiag = 1056964690
    Global Const LtsFillNarrowDoubleRightDiag = 1056964854
    Global Const LtsFillTripleRightDiag = 1056964691
    Global Const LtsFillWideRightDiag = 1056964692
    Global Const LtsFillDarkNarrowDiagHatch = 1056964693
    Global Const LtsFillLeftNarrowDiagHatch = 1056964694
    Global Const LtsFillDiagHatch = 1056964695
    Global Const LtsFillClumpedNarrowDiagHatch = 1056964696
    Global Const LtsFillNarrowHoriz = 1056964697
    Global Const LtsFillHorizBar = 1056964698
    Global Const LtsFillHoriz = 1056964699
    Global Const LtsFillWideHoriz = 1056964700
    Global Const LtsFillNarrowVert = 1056964701
    Global Const LtsFillVertBar = 1056964702
    Global Const LtsFillVert = 1056964703
    Global Const LtsFillWideVert = 1056964704
    Global Const LtsFillTinyHatch = 1056964705
    Global Const LtsFillRegularHatch = 1056964706
    Global Const LtsFillWideHatch = 1056964707
    Global Const LtsFillDottedDarkHatch = 1056964853
    Global Const LtsFillChevron = 1056964708
    Global Const LtsFillSteel = 1056964709
    Global Const LtsFillBasket = 1056964710
    Global Const LtsFillDiagBasket = 1056964711
    Global Const LtsFillBrick = 1056964712
    Global Const LtsFillDiagBrick = 1056964713
    Global Const LtsFillRunningDash = 1056964714
    Global Const LtsFillVertCheckerboard = 1056964715
    Global Const LtsFillHorizCheckerboard = 1056964716
    Global Const LtsFillBigCheck = 1056964717
    Global Const LtsFillRegularCheck = 1056964718
    Global Const LtsFillCicles = 1056964719
    Global Const LtsFillScalesUp = 1056964720
    Global Const LtsFillIrregularDiagScales = 1056964721
    Global Const LtsFillScalesDown = 1056964722
    Global Const LtsFillClumpedZs = 1056964723
    Global Const LtsFillBubbles = 1056964724
    Global Const LtsFillDiamonds = 1056964725
    Global Const LtsFillDottedZigzag = 1056964726
    Global Const LwpFillIndian3 = 273
    Global Const LwpFillPeachpie = 274
    Global Const LtsFillTopBottomGrad = 1056964745
    Global Const LtsFillBottomTopGrad = 1056964729
    Global Const LtsFillLeftRightGrad = 1056964728
    Global Const LtsFillRtLeftGrad = 1056964744
    Global Const LtsFillNeToSwGrad = 1056964730
    Global Const LtsFillNwToSeDiagStripGrad = 1056964739
    Global Const LtsFillNwToSeGrad = 1056964731
    Global Const LtsFillNeToSwDiagStripGrad = 1056964738


'FilterType

    Global Const LwpFilterTypeText = 279
    Global Const LwpFilterTypeGraphic = 280
    Global Const LwpFilterTypeTable = 281


'FindMatch

    Global Const LwpFindMatchOnWholeWord = 282
    Global Const LwpFindMatchOnBeginningOfWord = 283
    Global Const LwpFindMatchOnEndingOfWord = 284
    Global Const LwpFindMatchWithinAWord = 285


'FitType ' (a bitmask)

    Global Const LwpFitVertical = &H1
    Global Const LwpFitHorz = &H2
    Global Const LwpFitHorzmargin = &H4


'FnType

    Global Const LwpFnTypeAnyposition = 289
    Global Const LwpFnTypeAtBottomOfPage = 290
    Global Const LwpFnTypeAtEndOfDoc = 291
    Global Const LwpFnTypeAtEndOfDocSepDiv = 292
    Global Const LwpFnTypeAtEndOfDiv = 293
    Global Const LwpFnTypeAtEndOfDivisionSepDiv = 294
    Global Const LwpFnTypeAtEndOfDivisionGroup = 295
    Global Const LwpFnTypeAtEndOfDivGroupSepDiv = 296


'FontProperty

    Global Const LwpFontPropertyAll = 297
    Global Const LwpFontPropertyName = 298
    Global Const LwpFontPropertyWindowsname = 299
    Global Const LwpFontPropertyNextname = 300
    Global Const LwpFontPropertySize = 301
    Global Const LwpFontPropertySpacing = 302
    Global Const LwpFontPropertyBold = 303
    Global Const LwpFontPropertyItalic = 304
    Global Const LwpFontPropertySuperscript = 305
    Global Const LwpFontPropertySubscript = 306
    Global Const LwpFontPropertyUnderline = 307
    Global Const LwpFontPropertyDoubleunderline = 308
    Global Const LwpFontPropertyWordunderline = 309
    Global Const LwpFontPropertyWorddoubleunderline = 310
    Global Const LwpFontPropertyStrikethru = 311
    Global Const LwpFontPropertyOverstrike = 312
    Global Const LwpFontPropertySmallcaps = 313
    Global Const LwpFontPropertyAllupper = 314
    Global Const LwpFontPropertyAlllower = 315
    Global Const LwpFontPropertyCase = 316


'FontTableType

    Global Const LwpFontTableType = 317


'FormatCategories ' (a bitmask)

    Global Const LwpFormatCategoriesNone = &H0
    Global Const LwpFormatCategoriesAll = &HF
    Global Const LwpFormatCategoriesText = &H1
    Global Const LwpFormatCategoriesTable = &H2
    Global Const LwpFormatCategoriesGraphic = &H4
    Global Const LwpFormatCategoriesOle = &H8
    Global Const LwpFormatCategoriesGraphicole = &HC


'FormatCheckAction

    Global Const LwpFormatCheckActionRestart = 325
    Global Const LwpFormatCheckActionUpdateoptions = 326


'FormatCheckOptions ' (a long bitmask)

    Global Const LwpFormatCheckOptionsFixacronyms = &H1
    Global Const LwpFormatCheckOptionsFixspaces = &H2
    Global Const LwpFormatCheckOptionsFixbulletlist = &H4
    Global Const LwpFormatCheckOptionsFixmargins = &H8
    Global Const LwpFormatCheckOptionsTwospaces = &H10
    Global Const LwpFormatCheckOptionsAll = &H1F


'FoundryCreateType

    Global Const LwpFoundryCreateTypeStyle = 2028
    Global Const LwpFoundryCreateTypeLayout = 2029
    Global Const LwpFoundryCreateTypeText = 2030
    Global Const LwpFoundryCreateTypeSupertable = 2031
    Global Const LwpFoundryCreateTypeToc = 2032
    Global Const LwpFoundryCreateTypeParallelcols = 2033
    Global Const LwpFoundryCreateTypeGraphic = 2034
    Global Const LwpFoundryCreateTypeOle = 2035
    Global Const LwpFoundryCreateTypeFootnote = 2036
    Global Const LwpFoundryCreateTypeField = 2037
    Global Const LwpFoundryCreateTypeSilverbullet = 2038
    Global Const LwpFoundryCreateTypeSection = 2039
    Global Const LwpFoundryCreateTypeIndexsection = 2040
    Global Const LwpFoundryCreateTypeBag = 2041
    Global Const LwpFoundryCreateTypeOutlineseq = 2042
    Global Const LwpFoundryCreateTypeClickhere = 2043


'FoundryEnumType

    Global Const LwpFoundryEnumTypeStyle = 333
    Global Const LwpFoundryEnumTypeLayout = 334
    Global Const LwpFoundryEnumTypeContents = 335
    Global Const LwpFoundryEnumTypeFootnote = 336
    Global Const LwpFoundryEnumTypeBullet = 337


'FoundryQueryType

    Global Const LwpFoundryQueryTypeStyle = 338
    Global Const LwpFoundryQueryTypeLayout = 339
    Global Const LwpFoundryQueryTypeText = 340
    Global Const LwpFoundryQueryTypeTable = 341
    Global Const LwpFoundryQueryTypeGraphic = 342


'FoundryReleaseType

    Global Const LwpFoundryReleaseTypeStyle = 343
    Global Const LwpFoundryReleaseTypeSilverbullet = 344


'FoundryType

    Global Const LwpFoundryTypeDocument = 345
    Global Const LwpFoundryTypeApplication = 346
    Global Const LwpFoundryTypeTemporary = 347


'FrameObjectType

    Global Const LwpFrameObjectType = 348


'GeneralModifier ' (a bitmask)

    Global Const LwpGeneralModifierNone = &H0
    Global Const LwpGeneralModifierShift = &H1
    Global Const LwpGeneralModifierAlt = &H2
    Global Const LwpGeneralModifierCtrl = &H4
    Global Const LwpGeneralModifierCommand = &H8
    Global Const LwpGeneralModifierOption = &H10
    Global Const LwpGeneralModifierSys = &H20
    Global Const LwpGeneralModifierCapslock = &H40
    Global Const LwpGeneralModifierNumlock = &H80
    Global Const LwpGeneralModifierScrolllock = &H100
    Global Const LwpGeneralModifierHelp = &H200


'GenerateFrom

    Global Const LwpGenerateFromEntiredocument = 360
    Global Const LwpGenerateFromCurrentleveldivision = 361
    Global Const LwpGenerateFromCurrentdivision = 362
    Global Const LwpGenerateFromCurrentsection = 363
    Global Const LwpGenerateFromMarker = 364


'GetObjectType

    Global Const LwpGetObjectTypeObject = 365
    Global Const LwpGetObjectTypeWord = 366
    Global Const LwpGetObjectTypeChunk = 367
    Global Const LwpGetObjectTypeSentence = 368
    Global Const LwpGetObjectTypeParagraph = 369
    Global Const LwpGetObjectTypeSelection = 370
    Global Const LwpGetObjectTypeParatag = 371


'GoToLocation

    Global Const LwpGoToLocationPage = 372
    Global Const LwpGoToLocationHeader = 373
    Global Const LwpGoToLocationFooter = 374
    Global Const LwpGoToLocationFrame = 375
    Global Const LwpGoToLocationDivision = 376
    Global Const LwpGoToLocationExit = 377


'GoToType

    Global Const LwpGoToTypeNone = 2099
    Global Const LwpGoToTypeFirstpage = 378
    Global Const LwpGoToTypeLastpage = 379
    Global Const LwpGoToTypePagenumber = 380
    Global Const LwpGoToTypeNextitem = 381
    Global Const LwpGoToTypePrevitem = 382


'GotoMethodType

    Global Const LwpGotoMethodTypeLoad = 383


'GridType

    Global Const LwpGridTypeNone = 2059
    Global Const LwpGridTypeLines = 2060
    Global Const LwpGridTypeDots = 2061
    Global Const LayoutGridNone = 384
    Global Const LayoutGridLines = 385
    Global Const LayoutGridDots = 386


'IconBarPos

    Global Const LwpIconBarPosLeftSideOfWindow = 388
    Global Const LwpIconBarPosTopOfWindow = 387
    Global Const LwpIconBarPosRightSideOfWindow = 389
    Global Const LwpIconBarPosBottomOfWindow = 390
    Global Const LwpIconBarPosFloating = 391


'IconBarPositionState

    Global Const LwpIconBarPositionStateFixed = 392
    Global Const LwpIconBarPositionStateFloating = 393


'IconSize

    Global Const LwpIconSizeVga = 394
    Global Const LwpIconSizeSupervga = 395


'IncludeList ' (a bitmask)

    Global Const LwpIncludeListAllText = &H1
    Global Const LwpIncludeListMainDocText = &H2
    Global Const LwpIncludeListHeadersFooters = &H4
    Global Const LwpIncludeListTables = &H8
    Global Const LwpIncludeListFrames = &H10
    Global Const LwpIncludeListFootnotes = &H20


'IndentProperty

    Global Const LwpIndentPropertyEvery = 402
    Global Const LwpIndentPropertyAll = 403
    Global Const LwpIndentPropertyFirst = 404
    Global Const LwpIndentPropertyRest = 405
    Global Const LwpIndentPropertyRight = 406
    Global Const LwpIndentPropertyHang = 407
    Global Const LwpIndentPropertySidesequal = 408
    Global Const LwpIndentPropertyBodyonly = 409
    Global Const LwpIndentPropertyEnabled = 410
    Global Const LwpIndentPropertyRelative = 411


'IndexGeneration

    Global Const LwpGenerateAcrossEntireDoc = 412
    Global Const LwpGenerateAcrossGroupedDivs = 413
    Global Const LwpGenerateAcrossCurrentDiv = 414
    Global Const LwpGenerateAcrossCurrentSect = 415
    Global Const LwpGenerateAcrossSelectedText = 416


'IndexLocation

    Global Const LwpIndexLocationEndofdoc = 417
    Global Const LwpIndexLocationEndofdivision = 418
    Global Const LwpIndexLocationEndofgroup = 419
    Global Const LwpIndexLocationInsertionpoint = 420
    Global Const LwpIndexLocationEndofsection = 421


'IniFileType

    Global Const LwpIniCustomfile = 2100
    Global Const LwpIniUserPrefs = 2101
    Global Const LwpIniConfigPrefs = 2102
    Global Const LwpIniSharedLotusInfo = 2103
    Global Const LwpIniSmartfill = 2104
    Global Const LwpIniEnvelopeAndMerge = 2105
    Global Const LwpIniSmartcorrect = 2106
    Global Const LwpIniLanguages = 2107


'JoinCornerPosition

    Global Const LwpJoinCornerPositionTopleft = 422
    Global Const LwpJoinCornerPositionTopright = 423
    Global Const LwpJoinCornerPositionBottomright = 424
    Global Const LwpJoinCornerPositionBottomleft = 425
    Global Const LwpJoinCornerPositionAll = 426


'JoinScaleType

    Global Const LwpJoinScaleTypeScaling = 427
    Global Const LwpJoinScaleTypeNoScaling = 428


'JoinType

    Global Const LwpJoinTypeNone = 530
    Global Const LwpJoinTypeSquared = 531
    Global Const LwpJoinTypeNegate = 532
    Global Const LwpJoinTypeRounded = 533
    Global Const LwpJoinTypeRect = 534
    Global Const LwpJoinTypeSpecial = 535
    Global Const LwpJoinTypeDiagonal = 536
    Global Const LwpJoinTypeNegateNoCross = 537
    Global Const LwpJoinTypeDogear = 538
    Global Const LwpJoinTypeDesktop = 539
    Global Const LwpJoinTypeBoxhighlight = 540
    Global Const LwpJoinTypeStar = 541
    Global Const LwpJoinTypeRope = 542
    Global Const LwpJoinTypeDeco1 = 543
    Global Const LwpJoinTypeDeco2 = 544
    Global Const LwpJoinTypeRain = 545
    Global Const LwpJoinTypePin = 546
    Global Const LwpJoinTypeRose = 547
    Global Const LwpJoinTypeSunf = 548
    Global Const LwpJoinTypeDeco3 = 549


'KinsokuProps

    Global Const LwpKinsokuPropsAll = 429
    Global Const LwpKinsokuPropsEnabled = 430
    Global Const LwpKinsokuPropsHangover = 431
    Global Const LwpKinsokuPropsSqueeze = 432
    Global Const LwpKinsokuPropsLevels = 433


'Languages

    Global Const LwpLanguagesSystem = 434
    Global Const LwpLanguagesUniversal = 435
    Global Const LwpLanguagesAfrikaans = 474
    Global Const LwpLanguagesAlbanian = 475
    Global Const LwpLanguagesArabic = 476
    Global Const LwpLanguagesArabicIraq = 2108
    Global Const LwpLanguagesArabicEgypt = 2109
    Global Const LwpLanguagesArabicLibya = 2110
    Global Const LwpLanguagesArabicAlgeria = 2111
    Global Const LwpLanguagesArabicMorocco = 2112
    Global Const LwpLanguagesArabicTunisia = 2113
    Global Const LwpLanguagesArabicOman = 2114
    Global Const LwpLanguagesArabicYemen = 2115
    Global Const LwpLanguagesArabicSyria = 2116
    Global Const LwpLanguagesArabicJordan = 2117
    Global Const LwpLanguagesArabicLebanon = 2118
    Global Const LwpLanguagesArabicKuwait = 2119
    Global Const LwpLanguagesArabicUae = 2120
    Global Const LwpLanguagesArabicBahrain = 2121
    Global Const LwpLanguagesArabicQatar = 2122
    Global Const LwpLanguagesBasque = 2123
    Global Const LwpLanguagesBulgarian = 478
    Global Const LwpLanguagesByelorussian = 2124
    Global Const LwpLanguagesCatalan = 436
    Global Const LwpLanguagesChineseTraditional = 479
    Global Const LwpLanguagesChinesePrchina = 2125
    Global Const LwpLanguagesChineseHongkong = 2126
    Global Const LwpLanguagesChineseSingapore = 2127
    Global Const LwpLanguagesCroatian = 2128
    Global Const LwpLanguagesCroatianLatin = 2129
    Global Const LwpLanguagesCroatianCyrillic = 2130
    Global Const LwpLanguagesCroatianSerbian = 2131
    Global Const LwpLanguagesCzech = 437
    Global Const LwpLanguagesDanish = 438
    Global Const LwpLanguagesDutch = 439
    Global Const LwpLanguagesDutchBelgian = 440
    Global Const LwpLanguagesVoorkeur = 441
    Global Const LwpLanguagesAmerican = 442
    Global Const LwpLanguagesBritish = 443
    Global Const LwpLanguagesAustralian = 444
    Global Const LwpLanguagesEnglishCanadian = 445
    Global Const LwpLanguagesEnglishNewzealand = 446
    Global Const LwpLanguagesEnglishIreland = 447
    Global Const LwpLanguagesEnglishSafrica = 2132
    Global Const LwpLanguagesEnglishJamaica = 2133
    Global Const LwpLanguagesEnglishCarribean = 2134
    Global Const LwpLanguagesMedical = 448
    Global Const LwpLanguagesBrmedical = 449
    Global Const LwpLanguagesBritishize = 450
    Global Const LwpLanguagesBritishmedize = 451
    Global Const LwpLanguagesEstonian = 2135
    Global Const LwpLanguagesFaeroese = 2136
    Global Const LwpLanguagesFarsi = 2137
    Global Const LwpLanguagesFinnish = 452
    Global Const LwpLanguagesFrench = 453
    Global Const LwpLanguagesFrenchBelgian = 454
    Global Const LwpLanguagesFrenchCanadian = 455
    Global Const LwpLanguagesFrenchSwiss = 456
    Global Const LwpLanguagesFrenchLuxembourg = 2138
    Global Const LwpLanguagesGerman = 457
    Global Const LwpLanguagesGermanSwiss = 458
    Global Const LwpLanguagesGermanAustrian = 459
    Global Const LwpLanguagesGermanLuxembourg = 2139
    Global Const LwpLanguagesGermanLiechtenstein = 2140
    Global Const LwpLanguagesGreek = 460
    Global Const LwpLanguagesHebrew = 483
    Global Const LwpLanguagesHungarian = 461
    Global Const LwpLanguagesIcelandic = 484
    Global Const LwpLanguagesIndonesian = 2141
    Global Const LwpLanguagesItalian = 462
    Global Const LwpLanguagesItalianSwiss = 463
    Global Const LwpLanguagesJapanese = 485
    Global Const LwpLanguagesKorean = 486
    Global Const LwpLanguagesKoreanJohab = 2142
    Global Const LwpLanguagesLatvian = 2143
    Global Const LwpLanguagesLithuanian = 2144
    Global Const LwpLanguagesNorwegian = 464
    Global Const LwpLanguagesNynorsk = 465
    Global Const LwpLanguagesPolish = 466
    Global Const LwpLanguagesPortuguese = 467
    Global Const LwpLanguagesBrazilian = 468
    Global Const LwpLanguagesRhaetoRoman = 2145
    Global Const LwpLanguagesRomanian = 488
    Global Const LwpLanguagesRussian = 469
    Global Const LwpLanguagesRussianio = 470
    Global Const LwpLanguagesSlovak = 492
    Global Const LwpLanguagesSlovene = 493
    Global Const LwpLanguagesSorbian = 2146
    Global Const LwpLanguagesSpanish = 471
    Global Const LwpLanguagesSpanishMexican = 472
    Global Const LwpLanguagesSpanishModern = 2147
    Global Const LwpLanguagesSpanishGuatemala = 2148
    Global Const LwpLanguagesSpanishCostarica = 2149
    Global Const LwpLanguagesSpanishPanama = 2150
    Global Const LwpLanguagesSpanishDominican = 2151
    Global Const LwpLanguagesSpanishVenezuela = 2152
    Global Const LwpLanguagesSpanishColombia = 2153
    Global Const LwpLanguagesSpanishPeru = 2154
    Global Const LwpLanguagesSpanishArgentina = 2155
    Global Const LwpLanguagesSpanishEcuador = 2156
    Global Const LwpLanguagesSpanishChile = 2157
    Global Const LwpLanguagesSpanishUruguay = 2158
    Global Const LwpLanguagesSpanishParaguay = 2159
    Global Const LwpLanguagesSpanishBolivia = 2160
    Global Const LwpLanguagesSwedish = 473
    Global Const LwpLanguagesThai = 494
    Global Const LwpLanguagesTurkish = 495
    Global Const LwpLanguagesUkrainian = 496
    Global Const LwpLanguagesUrdu = 497


'LayStyOver ' (a long bitmask)

    Global Const LwpLayStyOverSize = &H1
    Global Const LwpLayStyOverPlacement = &H2
    Global Const LwpLayStyOverSizeAndPlacement = &H3
    Global Const LwpLayStyOverMargins = &H4
    Global Const LwpLayStyOverBorders = &H8
    Global Const LwpLayStyOverBackground = &H10
    Global Const LwpLayStyOverJoins = &H20
    Global Const LwpLayStyOverShadow = &H40
    Global Const LwpLayStyOverTabs = &H80
    Global Const LwpLayStyOverScript = &H100
    Global Const LwpLayStyOverNumerics = &H200
    Global Const LwpLayStyOverColumns = &H400
    Global Const LwpLayStyOverScaling = &H800
    Global Const LwpLayStyOverRotation = &H1000
    Global Const LwpLayStyOverLeaders = &H2000
    Global Const LwpLayStyOverOrientation = &H4000
    Global Const LwpLayStyOverMisc = &H8000
    Global Const LwpLayStyOverChildren = &H10000
    Global Const LwpLayStyOverContents = &H20000


'LayoutDirection ' (a bitmask)

    Global Const LwpLayoutDirectionUseDirection = &H1
    Global Const LwpLayoutDirectionAutoGrow = &H2
    Global Const LwpLayoutDirectionAutoSize = &H4
    Global Const LwpLayoutDirectionTocontainer = &H8
    Global Const LwpLayoutDirectionAllDirections = &HF


'LayoutEnumerateType

    Global Const LwpLayoutEnumerateTypeChild = 522


'LayoutObjectType

    Global Const LwpLayoutObjectTypeLayout = 523


'LayoutSelect

    Global Const LwpLayoutSelectNone = 524
    Global Const LwpLayoutSelect = 525
    Global Const LwpLayoutSelectParent = 2050


'LeaderDotType

    Global Const LwpLeaderDotTypeNone = 526
    Global Const LwpLeaderDotTypeDots = 527
    Global Const LwpLeaderDotTypeDashes = 528
    Global Const LwpLeaderDotTypeUnderscores = 529


'LineLocation

    Global Const LwpLineLocationMargins = 550
    Global Const LwpLineLocationMiddle = 551
    Global Const LwpLineLocationPageedge = 552
    Global Const LwpLineLocationFrompageedge = 553


'LineNumberOpts

    Global Const LwpLineNumberOptsNone = 554
    Global Const LwpLineNumberOptsSpecifiedLines = 555
    Global Const LwpLineNumberOptsTextLinesOnly = 556


'LinePlacement ' (a bitmask)

    Global Const LwpLinePlacementLeft = &H1
    Global Const LwpLinePlacementRight = &H2
    Global Const LwpLinePlacementTop = &H4
    Global Const LwpLinePlacementBottom = &H8
    Global Const LwpLinePlacementAllsides = &HF


'LineRevert

    Global Const LwpLineRevertAll = 562
    Global Const LwpLineRevertAboveWidth = 563
    Global Const LwpLineRevertBelowWidth = 564
    Global Const LwpLineRevertAboveType = 565
    Global Const LwpLineRevertBelowType = 566
    Global Const LwpLineRevertRightType = 567


'LocationType

    Global Const LwpLocationTypeSelection = 568
    Global Const LwpLocationTypeWord = 569
    Global Const LwpLocationTypeSentence = 570
    Global Const LwpLocationTypeLine = 571
    Global Const LwpLocationTypeParagraph = 572
    Global Const LwpLocationTypeDocument = 573
    Global Const LwpLocationTypeStream = 574
    Global Const LwpLocationTypeDivision = 2161


'LookWhere

    Global Const LwpLookWhereEntireDocument = 575
    Global Const LwpLookWhereCurrentDivision = 576
    Global Const LwpLookWhereCurrentSection = 577
    Global Const LwpLookWhereCurrentSelection = 578


'MacroStatus ' (a bitmask)

    Global Const LwpMacroStatusIsRunning = &H1
    Global Const LwpMacroStatusIsPaused = &H1
    Global Const LwpMacroStatusIsRecording = &H2
    Global Const LwpMacroStatusIsQuickRecord = &H4


'MarkPosition

    Global Const LwpMarkPositionLeft = 583
    Global Const LwpMarkPositionRight = 584
    Global Const LwpMarkPositionBothSides = 585


'MarkType

    Global Const LwpMarkTypeNone = 586
    Global Const LwpMarkTypeBars = 587
    Global Const LwpMarkTypeChar = 588


'MarkerType

    Global Const LwpMarkerTypeDefault = 589
    Global Const LwpMarkerTypeBookmark = 590
    Global Const LwpMarkerTypeDde = 591
    Global Const LwpMarkerTypeField = 592
    Global Const LwpMarkerTypeClickhere = 593
    Global Const LwpMarkerTypeRuby = 594


'MendType

    Global Const LwpMendTypePage = 595


'Menu ' (a bitmask)

    Global Const LwpMenuFilemenu = &H64
    Global Const LwpMenuMfNew = &H65
    Global Const LwpMenuMfOpen = &H66
    Global Const LwpMenuMfSave = &H67
    Global Const LwpMenuMfSaveas = &H68
    Global Const LwpMenuMfRevert = &H69
    Global Const LwpMenuMfAppendtext = &H6A
    Global Const LwpMenuMfImport = &H6B
    Global Const LwpMenuMfFilemanage = &H6C
    Global Const LwpMenuMfDocdesc = &H6D
    Global Const LwpMenuMfCreatedatafile = &H6E
    Global Const LwpMenuMfPrint = &H6F
    Global Const LwpMenuMfChgprinter = &H70
    Global Const LwpMenuMfExit = &H71
    Global Const LwpMenuMfPrintreset = &H72
    Global Const LwpMenuMfDde = &H73
    Global Const LwpMenuMfMergeaction = &H74
    Global Const LwpMenuMfJustprint = &H75
    Global Const LwpMenuMfStandalonep = &H147
    Global Const LwpMenuMfAllfldsrename = &H76
    Global Const LwpMenuMfPrintwrongpaper = &H77
    Global Const LwpMenuMfPrintcancel = &H78
    Global Const LwpMenuMfDummymrgsel = &H79
    Global Const LwpMenuMfDummymrgext = &H7A
    Global Const LwpMenuMfAsciiopts = &H7B
    Global Const LwpMenuMfCanprint = &H7C
    Global Const LwpMenuMfFldrename = &H7D
    Global Const LwpMenuMfPrintopt = &H7E
    Global Const LwpMenuMfSaveasnw = &H7F
    Global Const LwpMenuMfImportnw = &H80
    Global Const LwpMenuMfDocdescnw = &H81
    Global Const LwpMenuMfMasternw = &H82
    Global Const LwpMenuMfNwimport = &H83
    Global Const LwpMenuMfMergeviewprint = &H84
    Global Const LwpMenuMfLastopen1 = &H85
    Global Const LwpMenuMfLastopen2 = &H86
    Global Const LwpMenuMfLastopen3 = &H87
    Global Const LwpMenuMfLastopen4 = &H88
    Global Const LwpMenuMfLastopen5 = &H89
    Global Const LwpMenuMfOpennostyle = &H8A
    Global Const LwpMenuMfMergelabels = &H8B
    Global Const LwpMenuMfOtherflds = &H8C
    Global Const LwpMenuMfImportpicture = &H8D
    Global Const LwpMenuMfExport = &H8E
    Global Const LwpMenuMfAttribnw = &H8F
    Global Const LwpMenuMfCanmergeprint = &H92
    Global Const LwpMenuMfImporttext = &H98
    Global Const LwpMenuMfMergeprintopts = &H235
    Global Const LwpMenuMfMergeconds = &H237
    Global Const LwpMenuMfClose = &H90
    Global Const LwpMenuMfCloseall = &H2DB
    Global Const LwpMenuMfCloseallreplacelast = &H2DC
    Global Const LwpMenuMfPassword = &H91
    Global Const LwpMenuMfPassword2 = &H122
    Global Const LwpMenuMfMasterdocument = &H2E0
    Global Const LwpMenuMfClosefile = &H93
    Global Const LwpMenuMfLock = &H94
    Global Const LwpMenuMfNextmdiwindow = &H2D7
    Global Const LwpMenuMfMail = &HE5
    Global Const LwpMenuMfMailNew = &H2E1
    Global Const LwpMenuMfMailread = &HE6
    Global Const LwpMenuMfQuickopen = &HE7
    Global Const LwpMenuMfFilesep = &HEB
    Global Const LwpMenuMfSavecopyas = &H124
    Global Const LwpMenuMfUpdateobject = &H125
    Global Const LwpMenuMfEditorgreet = &H2DD
    Global Const LwpMenuMfNewdivision = &H2DE
    Global Const LwpMenuMfOpendivision = &H2DF
    Global Const LwpMenuMfSaContinueRoute = &H2E2
    Global Const LwpMenuMfSaRoute = &H2E3
    Global Const LwpMenuMfSeldatafile = &H30C
    Global Const LwpMenuMfMrgdelimit = &H30C
    Global Const LwpMenuMfMrgwelcome = &H30D
    Global Const LwpMenuMfMrgwelcome2 = &H312
    Global Const LwpMenuMfMrggotorecord = &H30E
    Global Const LwpMenuMfCreatedesc = &H30F
    Global Const LwpMenuMfMrgsort = &H310
    Global Const LwpMenuMfCreatemerge = &H311
    Global Const LwpMenuMfEditdatafile = &H313
    Global Const LwpMenuMfUsecurasmrgdoc = &H314
    Global Const LwpMenuMfOpenandeditdatafile = &H315
    Global Const LwpMenuMfOpenpreview = &H316
    Global Const LwpMenuMfNewpreview = &H317
    Global Const LwpMenuMxMergemacro = &H318
    Global Const LwpMenuMfMergeprintall = &H319
    Global Const LwpMenuMfMergeopen = &H31A
    Global Const LwpMenuMlsRunscript = &H31B
    Global Const LwpMenuMlsCreatescript = &H35F
    Global Const LwpMenuMlsCreatedialog = &H360
    Global Const LwpMenuMlsCompile = &H365
    Global Const LwpMenuMlsAutoapp = &H369
    Global Const LwpMenuMlsIdeStepIn = &H3C0
    Global Const LwpMenuMlsIdeStepOver = &H3C1
    Global Const LwpMenuMlsIdeStepExit = &H3C2
    Global Const LwpMenuMlsIdeContinue = &H3C3
    Global Const LwpMenuMlsIdeStop = &H3C4
    Global Const LwpMenuMlsIdeSetBp = &H3C5
    Global Const LwpMenuMlsIdeDisBp = &H3C6
    Global Const LwpMenuMlsIdeClearAll = &H3C7
    Global Const LwpMenuMlsIdeDisAll = &H3C8
    Global Const LwpMenuMlsIdeBreakpoints = &H3C9
    Global Const LwpMenuMlsIdeBrowser = &H3CA
    Global Const LwpMenuMlsIdeOutput = &H3CB
    Global Const LwpMenuMlsIdeVariables = &H3CC
    Global Const LwpMenuMlsIdeCheckScript = &H3CD
    Global Const LwpMenuMlsIdeNewSub = &H3CE
    Global Const LwpMenuMlsIdeNewFun = &H3CF
    Global Const LwpMenuMlsIdeDebug = &H3D0
    Global Const LwpMenuMlsIdeRedo = &H3D1
    Global Const LwpMenuMlsShowide = &H3D2
    Global Const LwpMenuMlsIdeImport = &H3D3
    Global Const LwpMenuMlsIdeExport = &H3D4
    Global Const LwpMenuMlsIdeScriptPref = &H3D5
    Global Const LwpMenuMlsIdeCloseWin = &H3D6
    Global Const LwpMenuMlsIdeToggle = &H3D7
    Global Const LwpMenuMlsIdePrevSub = &H3D8
    Global Const LwpMenuMlsIdeNextSub = &H3D9
    Global Const LwpMenuMlsIdeTogglebp = &H3DA
    Global Const LwpMenuMlsIdeCodeWindow = &H3DB
    Global Const LwpMenuMlsIdeCheckAll = &H3DC
    Global Const LwpMenuMlsIdeSaveLso = &H3DD
    Global Const LwpMenuMlsIdeShowicon = &H3E0
    Global Const LwpMenuMlsIdeRuncursub = &H3E1
    Global Const LwpMenuMlsIdeHelpLs = &H3E2
    Global Const LwpMenuMlsIdeHelpWp = &H3E3
    Global Const LwpMenuMlsIdeHelpSe = &H3E4
    Global Const LwpMenuMlsIdeHelpAbout = &H3E5
    Global Const LwpMenuMlRenumnotes = &H95
    Global Const LwpMenuEditmenu = &H96
    Global Const LwpMenuMeUndo = &H97
    Global Const LwpMenuMeCut = &H99
    Global Const LwpMenuMeCopy = &H9A
    Global Const LwpMenuMePaste = &H9B
    Global Const LwpMenuMeUndoredo = &H9C
    Global Const LwpMenuMePastelinks = &H9D
    Global Const LwpMenuMeInsvariable = &H9E
    Global Const LwpMenuMeFootnotes = &HA0
    Global Const LwpMenuMeNotes = &HA1
    Global Const LwpMenuMeNotes20 = &H11A
    Global Const LwpMenuMeDefaults = &HA2
    Global Const LwpMenuMeTypeover = &HA3
    Global Const LwpMenuMeNbDefaults = &HA4
    Global Const LwpMenuMeInsertdate = &HA5
    Global Const LwpMenuMeAddmergevar = &HA6
    Global Const LwpMenuMeAdddocdescvar = &HA7
    Global Const LwpMenuMxMdiswitch = &HA8
    Global Const LwpMenuMeSeclevaction = &HA9
    Global Const LwpMenuMeDefpaths = &HAA
    Global Const LwpMenuMeFootopts = &HAB
    Global Const LwpMenuMeRedo = &HAC
    Global Const LwpMenuMeDocoptions = &HAD
    Global Const LwpMenuMeDefpath = &HAE
    Global Const LwpMenuMeDefsty = &HAF
    Global Const LwpMenuMeDefback = &HB0
    Global Const LwpMenuMeFootnoteinsert = &HB1
    Global Const LwpMenuMeInsertnote = &HB2
    Global Const LwpMenuMeDelete = &HB3
    Global Const LwpMenuMeIndexentry = &HB4
    Global Const LwpMenuMeAddnote = &HB5
    Global Const LwpMenuMeMergevar = &HB6
    Global Const LwpMenuMeDescvar = &HB7
    Global Const LwpMenuMeFormatcheckbar = &HB8
    Global Const LwpMenuMePageup = &HB9
    Global Const LwpMenuMePagedown = &HBA
    Global Const LwpMenuMeRevinsertion = &HBB
    Global Const LwpMenuMeProtected = &HBC
    Global Const LwpMenuMeNohyphen = &HBD
    Global Const LwpMenuMeGetglosname = &HC6
    Global Const LwpMenuMeMacpath = &H11E
    Global Const LwpMenuMeTocentry = &H343
    Global Const LwpMenuMeBullet = &H344
    Global Const LwpMenuMeMergedatafile = &H232
    Global Const LwpMenuMeMergeextdesc = &H234
    Global Const LwpMenuMeMergevarsdatafile = &H236
    Global Const LwpMenuMePastespecial = &H24C
    Global Const LwpMenuMeInsertobject = &H24D
    Global Const LwpMenuMeChangelink = &H24E
    Global Const LwpMenuMeUseworkpath = &H24F
    Global Const LwpMenuMeSelectword = &H253
    Global Const LwpMenuMeSelectsentence = &H254
    Global Const LwpMenuMeSelectparagraph = &H255
    Global Const LwpMenuMeSelectfile = &H256
    Global Const LwpMenuMeRevisionmode = &H257
    Global Const LwpMenuMlDoccontrol = &H258
    Global Const LwpMenuMfSharedoccontrol = &H25A
    Global Const LwpMenuMlDoccontrolEditorpanel = &H25B
    Global Const LwpMenuMlDoccontrolExternal = &H25C
    Global Const LwpMenuMvViewversionExternal = &H25D
    Global Const LwpMenuMfDocdescExternal = &H25E
    Global Const LwpMenuNwobjects = &HBE
    Global Const LwpMenuMoOpennw = &HBF
    Global Const LwpMenuMoCreatenw = &HC0
    Global Const LwpMenuMoListnw = &HC1
    Global Const LwpMenuMoLinksnw = &HC2
    Global Const LwpMenuMoAttribnw = &HC3
    Global Const LwpMenuViewmenu = &HC8
    Global Const LwpMenuMvFit = &HC9
    Global Const LwpMenuMvWorking = &HCA
    Global Const LwpMenuMv75 = &H31C
    Global Const LwpMenuMv150 = &H31D
    Global Const LwpMenuMv100 = &HCB
    Global Const LwpMenuMv200 = &HCC
    Global Const LwpMenuMvSwitchiconstate = &HCD
    Global Const LwpMenuMvPagesort = &H303
    Global Const LwpMenuMvZoomoptions = &H304
    Global Const LwpMenuMvComment = &H306
    Global Const LwpMenuMvShowheadfoot = &H307
    Global Const LwpMenuMvCustom = &H305
    Global Const LwpMenuMvFacingpages = &H308
    Global Const LwpMenuMvMultiplepages = &H309
    Global Const LwpMenuMvPagemargin = &H30A
    Global Const LwpMenuMvPagewidth = &H30B
    Global Const LwpMenuMvSpecialview = &H323
    Global Const LwpMenuMvClearspecialview = &H371
    Global Const LwpMenuMvSynchronizeviews = &H364
    Global Const LwpMenuMvClearhighlight = &H36A
    Global Const LwpMenuMvPreferences = &HCE
    Global Const LwpMenuMvTabrack = &HCF
    Global Const LwpMenuMvFunctionbar = &HD0
    Global Const LwpMenuMvChgsidebar = &HD1
    Global Const LwpMenuMvLayout = &HD2
    Global Const LwpMenuMvDraft = &HD3
    Global Const LwpMenuMvFacing = &HD4
    Global Const LwpMenuMvFacecancel = &HD6
    Global Const LwpMenuMvShowpicts = &HD7
    Global Const LwpMenuMvShowmarks = &HD8
    Global Const LwpMenuMvPreferdefaults = &HD9
    Global Const LwpMenuMvOutline = &HDA
    Global Const LwpMenuMvFloatingicon = &HDB
    Global Const LwpMenuMvLefticon = &HDC
    Global Const LwpMenuMvRighticon = &HDD
    Global Const LwpMenuMvTopicon = &HDE
    Global Const LwpMenuMvBottomicon = &HDF
    Global Const LwpMenuMvSmarticons = &HE8
    Global Const LwpMenuMvFullscreen = &HE9
    Global Const LwpMenuMvFullscreenoptions = &HEA
    Global Const LwpMenuMvEditicon = &HEC
    Global Const LwpMenuMfPrintenvelope = &HED
    Global Const LwpMenuMvNexticonset = &HEF
    Global Const LwpMenuMvSaveicon = &HF0
    Global Const LwpMenuMvCreateicon = &HF1
    Global Const LwpMenuMvFullscreenstartup = &HF2
    Global Const LwpMenuMvSectiontabs = &HF4
    Global Const LwpMenuCharmenu = &HFA
    Global Const LwpMenuMcTextinfobox = &H11B
    Global Const LwpMenuMcTextinfoboxmouse = &H262
    Global Const LwpMenuMcDrawinfoboxmouse = &H263
    Global Const LwpMenuMcFont = &HFB
    Global Const LwpMenuMcNormal = &HFD
    Global Const LwpMenuMcBold = &HFE
    Global Const LwpMenuMcItalic = &HFF
    Global Const LwpMenuMcUnderline = &H100
    Global Const LwpMenuMcWordunder = &H101
    Global Const LwpMenuMcLeft = &H103
    Global Const LwpMenuMcCenter = &H104
    Global Const LwpMenuMcRight = &H105
    Global Const LwpMenuMcJustify = &H106
    Global Const LwpMenuMcAlignment = &H107
    Global Const LwpMenuMcCaps = &H108
    Global Const LwpMenuMcIndentall = &HF7
    Global Const LwpMenuMcIndentfirst = &HF8
    Global Const LwpMenuMcIndentrest = &HF9
    Global Const LwpMenuMcExtract = &HF6
    Global Const LwpMenuMcMacrofastformat = &HEE
    Global Const LwpMenuMcFontrevert = &HF3
    Global Const LwpMenuMcEnlargetext = &HFC
    Global Const LwpMenuMcReducetext = &HF5
    Global Const LwpMenuMcIndent = &H102
    Global Const LwpMenuMcOutdent = &H11C
    Global Const LwpMenuMcBulletpanel = &H11D
    Global Const LwpMenuMcNextfacename = &H3B6
    Global Const LwpMenuMcNextalignment = &H3B7
    Global Const LwpMenuMcNextattribute = &H3B8
    Global Const LwpMenuMcNextbullet = &H3B9
    Global Const LwpMenuMcNextnumbering = &H3BA
    Global Const LwpMenuMcNextstyle = &H3BB
    Global Const LwpMenuMcDoubleunder = &H10E
    Global Const LwpMenuMcSuperscript = &H10F
    Global Const LwpMenuMcSubscript = &H110
    Global Const LwpMenuMcAllcaps = &H111
    Global Const LwpMenuMfEnvelopeprint = &H112
    Global Const LwpMenuMcAlllower = &H11F
    Global Const LwpMenuMcInitcaps = &H120
    Global Const LwpMenuMcSmallcaps = &H121
    Global Const LwpMenuMcJustfont = &H116
    Global Const LwpMenuMcJustpointsize = &H117
    Global Const LwpMenuMcStrikethru = &H118
    Global Const LwpMenuMcFastformat = &H123
    Global Const LwpMenuMcHighlight = &H126
    Global Const LwpMenuStylemenu = &H12C
    Global Const LwpMenuMsCreate = &H12D
    Global Const LwpMenuMsStylemanage = &H12F
    Global Const LwpMenuMsChgstyle = &H130
    Global Const LwpMenuMsSavestyle = &H131
    Global Const LwpMenuMsSelectstyle = &H132
    Global Const LwpMenuMsOutlinestyle = &H140
    Global Const LwpMenuMsStylemanageinit = &H141
    Global Const LwpMenuMsStylemanageaction = &H142
    Global Const LwpMenuMsChangestylename = &H143
    Global Const LwpMenuMsDefinestyle = &H144
    Global Const LwpMenuMsModcreatestyle = &H145
    Global Const LwpMenuMsStylemanagefinish = &H146
    Global Const LwpMenuMsRedefinestyle = &H150
    Global Const LwpMenuMsMargins = &H148
    Global Const LwpMenuMsPagesettings = &H149
    Global Const LwpMenuMsApply = &H14A
    Global Const LwpMenuMsStylemru1 = &H14B
    Global Const LwpMenuMsStylemru2 = &H14C
    Global Const LwpMenuMsStylemru3 = &H14D
    Global Const LwpMenuMsStylemru4 = &H14E
    Global Const LwpMenuMrManualtable = &H14F
    Global Const LwpMenuMrFrameanchorinfobox = &H187
    Global Const LwpMenuMrFramelineinfobox = &H188
    Global Const LwpMenuMrFramebackinfobox = &H189
    Global Const LwpMenuMrFramegfxinfobox = &H18A
    Global Const LwpMenuMrFrametopalign = &H18B
    Global Const LwpMenuMrFramecenteralign = &H18C
    Global Const LwpMenuMrFramebottomalign = &H18D
    Global Const LwpMenuMrDeleteframe = &H18F
    Global Const LwpMenuPagemenu = &H15E
    Global Const LwpMenuMpCreatelayout = &H15F
    Global Const LwpMenuMpModifylayout = &H160
    Global Const LwpMenuMpTabs = &H163
    Global Const LwpMenuMpPagenum = &H164
    Global Const LwpMenuMpPagebreak = &H166
    Global Const LwpMenuMpLinenumber = &H167
    Global Const LwpMenuMpHeadfoot = &H168
    Global Const LwpMenuMpModlayoutinit = &H169
    Global Const LwpMenuMpModlaypagesettings = &H16A
    Global Const LwpMenuMpModlayrightfacepage = &H16B
    Global Const LwpMenuMpModlayrightheaderfacepage = &H16C
    Global Const LwpMenuMpModlayrightfooterfacepage = &H16D
    Global Const LwpMenuMpModlayrightlines = &H16E
    Global Const LwpMenuMpModlayleftfacepage = &H16F
    Global Const LwpMenuMpModlayleftheaderfacepage = &H170
    Global Const LwpMenuMpModlayleftfooterfacepage = &H171
    Global Const LwpMenuMpModlayleftlines = &H172
    Global Const LwpMenuMpDellayout = &H175
    Global Const LwpMenuMpRevertlayout = &H176
    Global Const LwpMenuMpInslayout = &H177
    Global Const LwpMenuMpModlayoutfinish = &H178
    Global Const LwpMenuMpHeaderfootergoto = &H179
    Global Const LwpMenuMpMacinslayout = &H17A
    Global Const LwpMenuMpParallel = &H17B
    Global Const LwpMenuMpPcolinfobox = &H17C
    Global Const LwpMenuMpPageproperties = &H17D
    Global Const LwpMenuMpCreate = &H17E
    Global Const LwpMenuMpNewpagestyle = &H17F
    Global Const LwpMenuMpHeaderproperties = &H180
    Global Const LwpMenuMpFooterproperties = &H181
    Global Const LwpMenuMpPagepropertiesmouse = &H182
    Global Const LwpMenuMpFooterpropertiesmouse = &H183
    Global Const LwpMenuMpHeaderpropertiesmouse = &H184
    Global Const LwpMenuMpPcolinfoboxmouse = &H185
    Global Const LwpMenuFramemenu = &H190
    Global Const LwpMenuMrFrametext = &H192
    Global Const LwpMenuMrScale = &H193
    Global Const LwpMenuMrGroupframes = &H194
    Global Const LwpMenuMrFrameinfobox = &H195
    Global Const LwpMenuMrBringtofront = &H197
    Global Const LwpMenuMrSendtoback = &H198
    Global Const LwpMenuMrAdd = &H199
    Global Const LwpMenuMrSendbackone = &H19A
    Global Const LwpMenuMrDrawingicon = &H19B
    Global Const LwpMenuMrChartingicon = &H19C
    Global Const LwpMenuMrCreateframe = &H19D
    Global Const LwpMenuMrAddframewithdlg = &H19E
    Global Const LwpMenuMrFramedefaults = &H19F
    Global Const LwpMenuMrFramelines = &H1A0
    Global Const LwpMenuMrFrametype = &H1A1
    Global Const LwpMenuMrFrameborders = &H1A2
    Global Const LwpMenuMrFramecolumns = &H1A3
    Global Const LwpMenuMrModframereflow = &H1A4
    Global Const LwpMenuMrModframeinit = &H1A5
    Global Const LwpMenuMrBringfrontone = &H186
    Global Const LwpMenuMrSelectframe = &H18E
    Global Const LwpMenuMrEquationsicon = &H1A7
    Global Const LwpMenuMrImageprocessing = &H1A8
    Global Const LwpMenuMrFrameinfoboxmouse = &H26C
    Global Const LwpMenuMrFramelineinfoboxmouse = &H26D
    Global Const LwpMenuMrFramebackinfoboxmouse = &H26E
    Global Const LwpMenuMrFramegfxinfoboxmouse = &H26F
    Global Const LwpMenuMrFrameanchorinfoboxmouse = &H270
    Global Const LwpMenuMrAfid = &H1A9
    Global Const LwpMenuMrAfidmax = &H1C1
    Global Const LwpMenuToolmenu = &H1C2
    Global Const LwpMenuMlSearch = &H1C3
    Global Const LwpMenuMlGoto = &H1C4
    Global Const LwpMenuMlSpellopts = &H1C5
    Global Const LwpMenuMlUserdict = &H1C6
    Global Const LwpMenuMlThesaurus = &H1C7
    Global Const LwpMenuMlSort = &H1C8
    Global Const LwpMenuMlTables = &H1C9
    Global Const LwpMenuMlGotolast = &H1CA
    Global Const LwpMenuMlSpellopts2 = &H1CB
    Global Const LwpMenuMlRevmarkoptions = &H1CD
    Global Const LwpMenuMlToc = &H1CE
    Global Const LwpMenuMlAssignmacro = &H1CF
    Global Const LwpMenuMlMacros = &H1D0
    Global Const LwpMenuMlMacroaccel = &H1A6
    Global Const LwpMenuMlGeneratetoc = &H1D1
    Global Const LwpMenuMlIndexnextfile = &H119
    Global Const LwpMenuMlBookmark = &H1D2
    Global Const LwpMenuMlGlossary = &H1D3
    Global Const LwpMenuMlGlosset = &H1D4
    Global Const LwpMenuMlMacpause = &H1D5
    Global Const LwpMenuMlGenerateindex = &H1D6
    Global Const LwpMenuMlSpelladddict = &H1D7
    Global Const LwpMenuMlSpellskipall = &H1D8
    Global Const LwpMenuMlSpellreplace = &H1DA
    Global Const LwpMenuMlSpell = &H1DB
    Global Const LwpMenuMlSpellinit = &H1DC
    Global Const LwpMenuMlSpellcheck = &H1DD
    Global Const LwpMenuMlSpellcancel = &H1DE
    Global Const LwpMenuMlSpellskip = &H1DF
    Global Const LwpMenuMlReplace = &H1E0
    Global Const LwpMenuMlChglang = &H1E1
    Global Const LwpMenuMlRenumseq = &H1E2
    Global Const LwpMenuMlSrattrs = &H1E5
    Global Const LwpMenuMlRepopts = &H1E6
    Global Const LwpMenuMlSropts = &H1E7
    Global Const LwpMenuMlSearchonly = &H1E8
    Global Const LwpMenuMlMacplay = &H1E9
    Global Const LwpMenuMlMacassign = &H1EA
    Global Const LwpMenuMlMacdde = &H1EB
    Global Const LwpMenuMlMactype = &H1EC
    Global Const LwpMenuMlCall = &H1ED
    Global Const LwpMenuMlSammy2 = &H1EE
    Global Const LwpMenuMlTocopts = &H1EF
    Global Const LwpMenuMlSrfindmatch = &H1F0
    Global Const LwpMenuMlSrreplacethenfind = &H1F1
    Global Const LwpMenuMlSrcancel = &H1F2
    Global Const LwpMenuMlSrinit = &H1F3
    Global Const LwpMenuMlDoccompare = &H1F4
    Global Const LwpMenuMlMacroedit = &H1F5
    Global Const LwpMenuMlMacroplay = &H1F6
    Global Const LwpMenuMlMacrorecord = &H1F7
    Global Const LwpMenuMlMacrooptions = &H1F8
    Global Const LwpMenuMlQuickrec = &H1F9
    Global Const LwpMenuMlQuickplay = &H1FA
    Global Const LwpMenuMlGrammar = &H1FB
    Global Const LwpMenuMlGrammaropts = &H1FC
    Global Const LwpMenuMlGrammarstart = &H1FD
    Global Const LwpMenuMlGrammarinit = &H1FE
    Global Const LwpMenuMlModcreaterule = &H1FF
    Global Const LwpMenuMlGrammarnext = &H200
    Global Const LwpMenuMlGrammarcancel = &H201
    Global Const LwpMenuMlGrammarsugtext = &H202
    Global Const LwpMenuMlGrammaroptionstext = &H203
    Global Const LwpMenuMlGrammarchange = &H204
    Global Const LwpMenuMlGrammarstats = &H205
    Global Const LwpMenuMlIconpath = &H206
    Global Const LwpMenuMlCyclekeysetup = &H207
    Global Const LwpMenuMlSmartfill = &H208
    Global Const LwpMenuMlNewspell = &H209
    Global Const LwpMenuMlRevisionbar = &H20A
    Global Const LwpMenuMlToa = &H20B
    Global Const LwpMenuWindowmenu = &H4
    Global Const LwpMenuMwNewwindow = &H20D
    Global Const LwpMenuMwTilewindow = &H20E
    Global Const LwpMenuMwCascadewindow = &H20F
    Global Const LwpMenuMwStartoffiles = &H210
    Global Const LwpMenuMwTilewindowhorz = &H246
    Global Const LwpMenuMwSplitvertwindow = &H251
    Global Const LwpMenuMwSplithorzwindow = &H252
    Global Const LwpMenuMwEndoffiles = &H224
    Global Const LwpMenuMwFilesseparator = &H225
    Global Const LwpMenuMlMacresume = &H22A
    Global Const LwpMenuMlReviewrevs = &H22D
    Global Const LwpMenuMlRevacceptall = &H36B
    Global Const LwpMenuMlRevcancelall = &H36C
    Global Const LwpMenuMlRevaccept = &H36D
    Global Const LwpMenuMlRevcancel = &H36E
    Global Const LwpMenuMlField = &H238
    Global Const LwpMenuMlFieldnext = &H239
    Global Const LwpMenuMlFieldprev = &H23A
    Global Const LwpMenuMlFieldeval = &H23B
    Global Const LwpMenuMlFieldadd = &H23C
    Global Const LwpMenuMlFieldupdate = &H23D
    Global Const LwpMenuMlFieldtog = &H10A
    Global Const LwpMenuMlFieldupall = &H10B
    Global Const LwpMenuMlFieldlock = &H10C
    Global Const LwpMenuMlFieldsave = &H10D
    Global Const LwpMenuMlFieldauto = &HE0
    Global Const LwpMenuMlFieldshowrlt = &HE1
    Global Const LwpMenuMlFielddoauto = &HE2
    Global Const LwpMenuMlFieldremove = &HE3
    Global Const LwpMenuMlExechand = &H23E
    Global Const LwpMenuMlIndexopts = &HE4
    Global Const LwpMenuHelpmenu = &H226
    Global Const LwpMenuMhIdxhelp = &H227
    Global Const LwpMenuMhAbout = &H228
    Global Const LwpMenuMhMacrohelp = &H229
    Global Const LwpMenuMhCompatible = &H22B
    Global Const LwpMenuMhUsingHelp = &H33E
    Global Const LwpMenuMhKeyboard = &H33F
    Global Const LwpMenuMhHowDoI = &H340
    Global Const LwpMenuMhDoHelp = &H341
    Global Const LwpMenuMhForUpgraders = &H342
    Global Const LwpMenuMhTutorial = &H345
    Global Const LwpMenuMhSearch = &H36F
    Global Const LwpMenuMsControl = &H259
    Global Const LwpMenuMsFileman = &H25A
    Global Const LwpMenuMtTbllayout = &H272
    Global Const LwpMenuMtInscolrow = &H273
    Global Const LwpMenuMtDelcolrow = &H274
    Global Const LwpMenuMtEditfrmla = &H275
    Global Const LwpMenuMtTbladd = &H276
    Global Const LwpMenuMtHeading = &H277
    Global Const LwpMenuMtTableinfobox = &H279
    Global Const LwpMenuMtSizecolrow = &H27A
    Global Const LwpMenuMtConnect = &H27B
    Global Const LwpMenuMtSavefrmla = &H27D
    Global Const LwpMenuMtQuickaddrow = &H283
    Global Const LwpMenuMtQuickaddcol = &H284
    Global Const LwpMenuMtDelcolumn = &H285
    Global Const LwpMenuMtDelrow = &H286
    Global Const LwpMenuMtInsertrow = &H287
    Global Const LwpMenuMtInsertcol = &H288
    Global Const LwpMenuMtInsertaccel = &H289
    Global Const LwpMenuMtDeleteaccel = &H28A
    Global Const LwpMenuMtDeltable = &H28B
    Global Const LwpMenuMtSelectcolumn = &H28C
    Global Const LwpMenuMtSelectrow = &H28D
    Global Const LwpMenuMtSelecttable = &H28E
    Global Const LwpMenuMtChgiconsize = &H28F
    Global Const LwpMenuMtDisconnect = &H290
    Global Const LwpMenuMtSplitcells = &H291
    Global Const LwpMenuMtSplittable = &H292
    Global Const LwpMenuMtPcolinscolrow = &H293
    Global Const LwpMenuMtPcolinsertrow = &H294
    Global Const LwpMenuMtPcolinsertcol = &H295
    Global Const LwpMenuMtPcoldeltable = &H296
    Global Const LwpMenuMtPcoldelcolumn = &H297
    Global Const LwpMenuMtPcoldelrow = &H298
    Global Const LwpMenuMtPcolconnect = &H299
    Global Const LwpMenuMtPcoldisconnect = &H29A
    Global Const LwpMenuMtPcolsplitcells = &H29B
    Global Const LwpMenuMtPcolselectcolumn = &H29C
    Global Const LwpMenuMtPcolselectrow = &H29D
    Global Const LwpMenuMtPcolselecttable = &H29E
    Global Const LwpMenuMtPcoldelcolrow = &H29F
    Global Const LwpMenuMtPcolheading = &H2A0
    Global Const LwpMenuMtCellinfobox = &H2A1
    Global Const LwpMenuMtShowtablelineinfobox = &H2A2
    Global Const LwpMenuMtShowtablesizeinfobox = &H2A3
    Global Const LwpMenuMtCreatetablewithgrid = &H2A4
    Global Const LwpMenuMtShowpcollineinfobox = &H2A5
    Global Const LwpMenuMtShowpcolsizeinfobox = &H2A6
    Global Const LwpMenuMtSplitpcol = &H2A7
    Global Const LwpMenuMtPcolselectentiretable = &H2A8
    Global Const LwpMenuMtSelectentiretable = &H2A9
    Global Const LwpMenuMtSelectentirecellrange = &H2AA
    Global Const LwpMenuMtSelectentirepcolcellrange = &H2AB
    Global Const LwpMenuMtTabletopalign = &H2AC
    Global Const LwpMenuMtTablecenteralign = &H2AD
    Global Const LwpMenuMtTablebottomalign = &H2AE
    Global Const LwpMenuMtConnectrow = &H2AF
    Global Const LwpMenuMtPcolconnectrow = &H2B0
    Global Const LwpMenuMtGotonextblock = &H2B1
    Global Const LwpMenuMtCellinfoboxmouse = &H2B2
    Global Const LwpMenuMtTableinfoboxmouse = &H2B3
    Global Const LwpMenuMxRunrexx = &H2BB
    Global Const LwpMenuMxRunontime = &H2BC
    Global Const LwpMenuMxHourglass = &H2D0
    Global Const LwpMenuMxMacpause = &H2D1
    Global Const LwpMenuMxMacresume = &H2D2
    Global Const LwpMenuMxTimedelay = &H2D3
    Global Const LwpMenuMxTestforcancel = &H2D4
    Global Const LwpMenuMxMacmessages = &H2D5
    Global Const LwpMenuMxPreanswermsgbox = &H2D6
    Global Const LwpMenuMxMaccancel = &H2D8
    Global Const LwpMenuMxMaccontinue = &H2D9
    Global Const LwpMenuMxMacrovariables = &H2DA
    Global Const LwpMenuMxRunautonew = &H31E
    Global Const LwpMenuMxRunautoopen = &H31F
    Global Const LwpMenuOutlinemenu = &H2EE
    Global Const LwpMenuMolPromote = &H2EF
    Global Const LwpMenuMolDemote = &H2F0
    Global Const LwpMenuMolMoveup = &H2F1
    Global Const LwpMenuMolMovedown = &H2F2
    Global Const LwpMenuMolExpand = &H2F3
    Global Const LwpMenuMolContract = &H2F4
    Global Const LwpMenuMolShowlevels = &H2F5
    Global Const LwpMenuMolExpandsingle = &H2F6
    Global Const LwpMenuMolContractsingle = &H2F7
    Global Const LwpMenuMolUseoutlinestyle = &H2F8
    Global Const LwpMenuMolSetshowlevel1 = &H2F9
    Global Const LwpMenuMolSetshowlevel2 = &H2FA
    Global Const LwpMenuMolSetshowlevel3 = &H2FB
    Global Const LwpMenuMolSetshowlevel4 = &H2FC
    Global Const LwpMenuMolSetshowlevel5 = &H2FD
    Global Const LwpMenuMolSetshowlevel6 = &H2FE
    Global Const LwpMenuMolSetshowlevel7 = &H2FF
    Global Const LwpMenuMolSetshowlevel8 = &H300
    Global Const LwpMenuMolSetshowlevel9 = &H301
    Global Const LwpMenuMolSetshowlevel10 = &H302
    Global Const LwpMenuMolOutstylesequence = &H2ED
    Global Const LwpMenuMtTabkey = &H320
    Global Const LwpMenuMeDefpathsnw = &H324
    Global Const LwpMenuMvHidepicts = &H325
    Global Const LwpMenuMvHidemarks = &H326
    Global Const LwpMenuMvHidetabrack = &H327
    Global Const LwpMenuMvColguide = &H328
    Global Const LwpMenuMvShowcleanscreen = &H348
    Global Const LwpMenuMvFixediconbar = &H34A
    Global Const LwpMenuMvViewlevel = &H34B
    Global Const LwpMenuMtbChange = &H32A
    Global Const LwpMenuMtbTabbox = &H32B
    Global Const LwpMenuMvVertruler = &H32E
    Global Const LwpMenuMvShownotes = &H330
    Global Const LwpMenuMvShowtabsandreturns = &H332
    Global Const LwpMenuMvOut2lay = &H334
    Global Const LwpMenuMfImportdraw = &H335
    Global Const LwpMenuMlMacroendrecord = &H336
    Global Const LwpMenuMvLay2out = &H337
    Global Const LwpMenuMvSetpreferences = &H338
    Global Const LwpMenuMrCreatelastframe = &H339
    Global Const LwpMenuMlQuickendrecord = &H33A
    Global Const LwpMenuMrUngroupframes = &H33B
    Global Const LwpMenuMlRevmarkingoff = &H33C
    Global Const LwpMenuMlFieldhide = &H33D
    Global Const LwpMenuMcExtracton = &H346
    Global Const LwpMenuMdivDivisionproperties = &H34C
    Global Const LwpMenuMdivNewdivision = &H34D
    Global Const LwpMenuMdivCombinedivisions = &H34E
    Global Const LwpMenuMdivDeletedivision = &H34F
    Global Const LwpMenuMdivExpanddivision = &H350
    Global Const LwpMenuMdivGroupdivision = &H356
    Global Const LwpMenuMsecSectionproperties = &H351
    Global Const LwpMenuMsecNewsection = &H352
    Global Const LwpMenuMsecCombinesections = &H353
    Global Const LwpMenuMsecSelectsection = &H354
    Global Const LwpMenuMsecExpandsection = &H355
    Global Const LwpMenuMtabSettabs = &H357
    Global Const LwpMenuMtabCleartabs = &H358
    Global Const LwpMenuMtabLefttab = &H359
    Global Const LwpMenuMtabRighttab = &H35A
    Global Const LwpMenuMtabCentertab = &H35B
    Global Const LwpMenuMtabNumerictab = &H35E
    Global Const LwpMenuMtabDefaulttabs = &H361
    Global Const LwpMenuMtabRemoveruler = &H362
    Global Const LwpMenuMtabHideruler = &H363
    Global Const LwpMenuMtabQuickright = &H3DE
    Global Const LwpMenuMtabQuickcenter = &H3DF
    Global Const LwpMenuMrSetmarginsinfobox = &H366
    Global Const LwpMenuMfToggleinfobox = &H367
    Global Const LwpMenuMfCreateversion = &H368
    Global Const LwpMenuMfCreateversionDivision = &H389
    Global Const LwpMenuMvViewversion = &H370
    Global Const LwpMenuMafidHelp = &H384
    Global Const LwpMenuMafidNotfound = &H385
    Global Const LwpMenuMfMailNextstop = &H386
    Global Const LwpMenuMfMailEditroute = &H387
    Global Const LwpMenuMergeScriptNotify = &H38E
    Global Const LwpMenuFirstpopupid = &H39D
    Global Const LwpMenuRenderformat = &H35C
    Global Const LwpMenuRenderallformats = &H35D
    Global Const LwpMenuMcCommenttoolsOn = &H379
    Global Const LwpMenuMnDeletenote = &H37A
    Global Const LwpMenuMnClosenote = &H37B
    Global Const LwpMenuMnNextnote = &H37C
    Global Const LwpMenuMnPrevnote = &H37D
    Global Const LwpMenuMcCommenttools = &H37E
    Global Const LwpMenuMcHighnote = &H37F
    Global Const LwpMenuMnCloseall = &H380
    Global Const LwpMenuMnOpenall = &H381
    Global Const LwpMenuMnDeleteall = &H382
    Global Const LwpMenuMnShowinitials = &H383
    Global Const LwpMenuMnNumbernotes = &H384
    Global Const LwpMenuMfQuickprint = &H3B2
    Global Const LwpMenuMdDebugger = &H3E8
    Global Const LwpMenuMdDebugDoc = &H3E9
    Global Const LwpMenuMdDebugPres = &H3EA
    Global Const LwpMenuMdDebugDivinfo = &H3EB
    Global Const LwpMenuMdDebugCont = &H3EC
    Global Const LwpMenuMdDebugCol = &H3ED
    Global Const LwpMenuMdDebugLine = &H3EE
    Global Const LwpMenuMdDebugVobj = &H3EF
    Global Const LwpMenuMdDebugHeap = &H3F0
    Global Const LwpMenuMdDebugMain = &H3F1
    Global Const LwpMenuMdDebugProf = &H3F2
    Global Const LwpMenuMdDebugVcnt = &H3F3
    Global Const LwpMenuMdDebugDivision = &H3F4
    Global Const LwpMenuMdDebugLay = &H3F5
    Global Const LwpMenuMdDebugVermgr = &H3F6
    Global Const LwpMenuMdDebugVerctrl = &H3F7
    Global Const LwpMenuMdDebugDoclay = &H3F8
    Global Const LwpMenuMdDebugPara = &H3FA
    Global Const LwpMenuMdDebugInfo = &H3FB
    Global Const LwpMenuMdDebugAtom = &H3FC
    Global Const LwpMenuMdDebugWrdarg = &H3FD
    Global Const LwpMenuMdDebugDwrdarg = &H3FE
    Global Const LwpMenuMdDebugStrarg = &H3FF
    Global Const LwpMenuMdDebugSline = &H400
    Global Const LwpMenuMdDebugPhint = &H401
    Global Const LwpMenuMdDebugChint = &H402
    Global Const LwpMenuMdDebugMsgtrace = &H403
    Global Const LwpMenuMdDebugFoundry = &H404
    Global Const LwpMenuMdDebugCounts = &H405
    Global Const LwpMenuMdDebugPresinfo = &H406
    Global Const LwpMenuMdDebugMeter = &H407
    Global Const LwpMenuMdDebugStack = &H408
    Global Const LwpMenuMdDebugPtrholder = &H409
    Global Const LwpMenuMdDebugMemory = &H40A
    Global Const LwpMenuMdDebugMemorydump = &H40B
    Global Const LwpMenuMdDebugContent = &H40C
    Global Const LwpMenuMdDebugSilver = &H40D
    Global Const LwpMenuMdDebugVernode = &H40E
    Global Const LwpMenuMdDebugCheckpoint = &H40F
    Global Const LwpMenuMdDebugSocket = &H410
    Global Const LwpMenuMdDebugSfb = &H411
    Global Const LwpMenuMdDebugDemandload = &H412
    Global Const LwpMenuMdDebugNumberhint = &H413
    Global Const LwpMenuMdDebugDialog = &H414
    Global Const LwpMenuMdDebugBack = &H415
    Global Const LwpMenuMdDebugHeadtailholder = &H416
    Global Const LwpMenuMdDebugNotifypersistent = &H417
    Global Const LwpMenuMdDebugObjectholder = &H418
    Global Const LwpMenuMdDebugEnumobjhead = &H419
    Global Const LwpMenuMdDebugNotify = &H41A
    Global Const LwpMenuMdDebugNamedobjectholder = &H41B
    Global Const LwpMenuMdDebugSection = &H41C
    Global Const LwpMenuMdDebugFontmgr = &H41D
    Global Const LwpMenuMdDebugSanity = &H41E
    Global Const LwpMenuMdDebugEnd = &H44B
    Global Const LwpMenuMkPageup = &H44C
    Global Const LwpMenuMkPagedown = &H44D
    Global Const LwpMenuMcDooledragdrop = &H44E
    Global Const LwpMenuMsMplMargins = &H514
    Global Const LwpMenuMsMplPage = &H515
    Global Const LwpMenuMsMplFooter = &H516
    Global Const LwpMenuMsMplHeader = &H517
    Global Const LwpMenuMsMplLines = &H518
    Global Const LwpMenuMrMflType = &H578
    Global Const LwpMenuMrMflSizepos = &H579
    Global Const LwpMenuMrMflLines = &H57A
    Global Const LwpMenuMrMflColumnstabs = &H57B
    Global Const LwpMenuMlSetmacrofile = &H5DC
    Global Const LwpMenuMlCompilemacro = &H5DD
    Global Const LwpMenuMlMacrorun = &H5DE
    Global Const LwpMenuMlMacroappend = &H5DF
    Global Const LwpMenuMlPrototype = &H5E0
    Global Const LwpMenuMeSmartcorrect = &H5E1
    Global Const LwpMenuMrChart = &H5E2
    Global Const LwpMenuMrCharttodraw = &H5E3
    Global Const LwpMenuMmCascades = &H640
    Global Const LwpMenuSubmenuInsert = &H640
    Global Const LwpMenuMmFields = &H641
    Global Const LwpMenuSubmenuMarktextas = &H642
    Global Const LwpMenuSubmenuAlignment = &H643
    Global Const LwpMenuMmCaps = &H644
    Global Const LwpMenuMmMacros = &H647
    Global Const LwpMenuSubmenuInsertsmartsum = &H649
    Global Const LwpMenuMMailmemo = &H64A
    Global Const LwpMenuMPrinttofile = &H64B
    Global Const LwpMenuSubmenuUsersetup = &H64C
    Global Const LwpMenuSubmenuScripts = &H64D
    Global Const LwpMenuMmShowoptions = &H64E
    Global Const LwpMenuSubmenuQuickdemo = &H64F
    Global Const LwpMenuSubmenuOtherhelpstuff = &H650
    Global Const LwpMenuMmOtherframe = &H651
    Global Const LwpMenuMmOthertable = &H652
    Global Const LwpMenuSubmenuOthertextstuff = &H653
    Global Const LwpMenuSubmenuPriority = &H654
    Global Const LwpMenuMmOtherstuff = &H655
    Global Const LwpMenuSubmenuSelect = &H656
    Global Const LwpMenuSubmenuOtherdocpart = &H657
    Global Const LwpMenuSubmenuAttributes = &H658
    Global Const LwpMenuSubmenuOutline = &H659
    Global Const LwpMenuSubmenuCollapse = &H65A
    Global Const LwpMenuSubmenuEdit = &H65B
    Global Const LwpMenuSubmenuDebug = &H65C
    Global Const LwpMenuSubmenuDocprops = &H65D
    Global Const LwpMenuSubmenuZoomto = &H65E
    Global Const LwpMenuSubmenuShowhide = &H65F
    Global Const LwpMenuSubmenuOtherviewstuff = &H660
    Global Const LwpMenuSubmenuNamedstyles = &H661
    Global Const LwpMenuSubmenuDelete = &H662
    Global Const LwpMenuSubmenuFile = &H663
    Global Const LwpMenuSubmenuView = &H664
    Global Const LwpMenuSubmenuTeammail = &H665
    Global Const LwpMenuSubmenuEditmodemenu = &H666
    Global Const LwpMenuSubmenuDebugmodemenu = &H667
    Global Const LwpMenuSubmenuHelp = &H668
    Global Const LwpMenuCreatemenu = &H672
    Global Const LwpMenuParallelstylemenu = &H67A
    Global Const LwpMenuEnvAddress = &H67D
    Global Const LwpMenuEnvSave = &H681
    Global Const LwpMenuEnvPrint = &H682
    Global Const LwpMenuMfCreatetabdivision = &H686
    Global Const LwpMenuMfCreatedivision = &H683
    Global Const LwpMenuMeTocassist = &H684
    Global Const LwpMenuMpNewsection = &H685
    Global Const LwpMenuMtInsertclickhere = &H687
    Global Const LwpMenuMcTextlinepanel = &H688
    Global Const LwpMenuMvOtherviewstuff = &H689
    Global Const LwpMenuMoApplystyle = &H68A
    Global Const LwpMenuMsFramecreate = &H68B
    Global Const LwpMenuMsFrameredefinestyle = &H68C
    Global Const LwpMenuMsTablecreate = &H68D
    Global Const LwpMenuMsTableredefinestyle = &H68E
    Global Const LwpMenuMsTablecellcreate = &H68F
    Global Const LwpMenuMsTablecellredefinestyle = &H690
    Global Const LwpMenuMvShowmisspelled = &H691
    Global Const LwpMenuMtDelrowacc = &H692
    Global Const LwpMenuMtCtrlretacc = &H693
    Global Const LwpMenuMsQuickredefinestyle = &H694
    Global Const LwpMenuMtInsertrowacc = &H695
    Global Const LwpMenuMrOleverbconvert = &H696
    Global Const LwpMenuMrOledivtabverbconvert = &H697
    Global Const LwpMenuMrFrameleft = &H698
    Global Const LwpMenuMrFramecenter = &H699
    Global Const LwpMenuMrFrameright = &H69A
    Global Const LwpMenuMrFramehorzspan = &H69B
    Global Const LwpMenuMrFramevertspan = &H69C
    Global Const LwpMenuMfNewanytab = &H69D
    Global Const LwpMenuMfOdmaopen = &H69E
    Global Const LwpMenuMfOdmainsert = &H69F
    Global Const LwpMenuMfOdmaconvert = &H6A0
    Global Const LwpMenuMfOdmasaveas = &H6A1
    Global Const LwpMenuMfOdmaexternalize = &H6A2
    Global Const LwpMenuMfOdmaexport = &H6A3
    Global Const LwpMenuMrOleverb = &H6A4
    Global Const LwpMenuMrOleverbmax = &H707
    Global Const LwpMenuMrOledivtabverb = &H708
    Global Const LwpMenuMrOledivtabverbmax = &H76B
    Global Const LwpMenuMtSelectcell = &H76C
    Global Const LwpMenuMtPcolselectcell = &H76D
    Global Const LwpMenuMpColumnbreak = &H76E
    Global Const LwpMenuMeViewtablegrid = &H76F
    Global Const LwpMenuMeViewtableheading = &H770
    Global Const LwpMenuMeViewpcolguides = &H771
    Global Const LwpMenuMeViewmarginguides = &H772
    Global Const LwpMenuMeViewpagegauge = &H773
    Global Const LwpMenuMeViewshowallmarks = &H774
    Global Const LwpMenuMeViewhideallmarks = &H775
    Global Const LwpMenuMtTableleft = &H776
    Global Const LwpMenuMtTablecenter = &H777
    Global Const LwpMenuMtTableright = &H778
    Global Const LwpMenuMtTablehorzspan = &H779
    Global Const LwpMenuMtGotoinfobox = &H77A
    Global Const LwpMenuMhTour = &H77B
    Global Const LwpMenuMfCreateoledivision = &H77D
    Global Const LwpMenuMfToggleclickhereprompts = &H77E
    Global Const LwpMenuMcToggleskipbullet = &H77F
    Global Const LwpMenuMlSkipmisspelledword = &H780
    Global Const LwpMenuMlSkipallmisspelledword = &H781
    Global Const LwpMenuMlAddtouserdictionary = &H782
    Global Const LwpMenuMlTogglebubblehelp = &H783
    Global Const LwpMenuMfPlainnew = &H784
    Global Const LwpMenuMvToggleshowanchors = &H785
    Global Const LwpMenuMvNextnewestversion = &H786
    Global Const LwpMenuMvMostrecentversion = &H787
    Global Const LwpMenuMvOldestversion = &H788
    Global Const LwpMenuMcJustifyall = &H789
    Global Const LwpMenuMcClosegraphicole = &H78A
    Global Const LwpMenuMfFramerevert = &H78B
    Global Const LwpMenuMtCellrevert = &H78C
    Global Const LwpMenuMfOpentabdivision = &H78D
    Global Const LwpMenuMfNewtabdivision = &H78E
    Global Const LwpMenuMtInsertclickherelink = &H78F
    Global Const LwpMenuMtEditclickherelink = &H790
    Global Const LwpMenuMsecDeletesection = &H79D
    Global Const LwpMenuMfExternalfileexit = &H79E
    Global Const LwpMenuMfExternalfilesavedivision = &H79F
    Global Const LwpMenuMfFtpopen = &H7A0
    Global Const LwpMenuMfFtpinsert = &H7A1
    Global Const LwpMenuMfFtpconvert = &H7A2
    Global Const LwpMenuMfFtpsaveas = &H7A3
    Global Const LwpMenuMfFtpexternalize = &H7A4
    Global Const LwpMenuSubmenuInternet = &H7A5
    Global Const LwpMenuMfFtpoptions = &H7A6
    Global Const LwpMenuMfOdmashowattributes = &H7A7
    Global Const LwpMenuMrRuby = &H7A8
    Global Const LwpMenuMfFtpopendivision = &H7A9
    Global Const LwpMenuMfFtpopenurl = &H7AA
    Global Const LwpMenuIbShowfrommenu = &H7AB
    Global Const LwpMenuMoHideinfobox = &H7AC
    Global Const LwpMenuMfWelcome = &H7AD
    Global Const LwpMenuMxMinmacromenu = &H2328
    Global Const LwpMenuMxMaxmacromenu = &H238B
    Global Const LwpMenuMrAfidmenu = &H2710
    Global Const LwpMenuMrAfidmenumax = &H3E80
    Global Const LwpMenuMaNotesflow = &H3E81
    Global Const LwpMenuMaNotesflowmax = &H3F48
    Global Const LwpMenuFcsTextmenu = &H0
    Global Const LwpMenuFcsFramemenu = &H1
    Global Const LwpMenuFcsFrametextmenu = &H2
    Global Const LwpMenuFcsTabletextmenu = &H3
    Global Const LwpMenuFcsFramegraphicmenu = &H4
    Global Const LwpMenuFcsPowerfieldmenu = &H5
    Global Const LwpMenuFcsParallelcoltextmenu = &H6
    Global Const LwpMenuFcsDivisionmenu = &H7
    Global Const LwpMenuFcsSectionmenu = &H8
    Global Const LwpMenuFcsTablemenu = &H9
    Global Const LwpMenuFcsParallelcolmenu = &HA
    Global Const LwpMenuFcsTablegraphicmenu = &HB
    Global Const LwpMenuFcsParallelcolgraphicmenu = &HC
    Global Const LwpMenuFcsHeadermenu = &HD
    Global Const LwpMenuFcsFootermenu = &HE
    Global Const LwpMenuFcsRulermenu = &HF
    Global Const LwpMenuFcsNotemenu = &H10
    Global Const LwpMenuFcsOutlinemenu = &H11
    Global Const LwpMenuFcsOledivisionmenu = &H12
    Global Const LwpMenuFcsFramechartmenu = &H13
    Global Const LwpMenuFcsTablechartmenu = &H14
    Global Const LwpMenuFcsParallelcolchartmenu = &H15
    Global Const LwpMenuFcsRubymenu = &H16


'MenuEnumType

    Global Const LwpMenuEnumTypeEnumerateMenu = 1491


'MergeAction

    Global Const LwpMergeActionNewfile = 1492
    Global Const LwpMergeActionOpenfile = 1493
    Global Const LwpMergeActionNextRecord = 1494
    Global Const LwpMergeActionSkipRecord = 1495
    Global Const LwpMergeActionMergeOne = 1496
    Global Const LwpMergeActionClose = 1497
    Global Const LwpMergeActionContinue = 1498


'MergeOptFlg ' (a bitmask)

    Global Const LwpMergeOptFlgMergeAndPrint = &H1
    Global Const LwpMergeOptFlgMergeViewAndPrint = &H2
    Global Const LwpMergeOptFlgMergeAndSaveas = &H4
    Global Const LwpMergeOptFlgMergeInsertFields = &H8
    Global Const LwpMergeOptFlgMergeLabels = &H10
    Global Const LwpMergeOptFlgMergeMacro = &H20


'MergeStepNumber

    Global Const LwpMergeStepNumber0 = 1505
    Global Const LwpMergeStepNumber1 = 1506
    Global Const LwpMergeStepNumber2 = 1507
    Global Const LwpMergeStepNumber3 = 1508


'MouseButton

    Global Const LwpMouseButtonLeft = 1509
    Global Const LwpMouseButtonRight = 1510
    Global Const LwpMouseButtonMiddle = 1511


'MoveDirection

    Global Const LwpMoveDirectionUp = 1512
    Global Const LwpMoveDirectionDown = 1513


'MsgBoxAction

    Global Const LwpDisplayMsgboxAndWait = 2073
    Global Const LwpTakeDefaultMsgboxAnswer = 2074


'MsgBoxResponse

    Global Const LwpMsgboxReplyOk = 2075
    Global Const LwpMsgboxReplyCancel = 2076
    Global Const LwpMsgboxReplyRetry = 2077
    Global Const LwpMsgboxReplyIgnore = 2078
    Global Const LwpMsgboxReplyYes = 2079
    Global Const LwpMsgboxReplyNo = 2080


'NavigateDirection

    Global Const LwpNavigateDirectionUp = 1514
    Global Const LwpNavigateDirectionDown = 1515
    Global Const LwpNavigateDirectionLeft = 1516
    Global Const LwpNavigateDirectionRight = 1517


'NavigateObjectType

    Global Const LwpNavigateObjectTypePage = 1518
    Global Const LwpNavigateObjectTypeCharacter = 1519
    Global Const LwpNavigateObjectTypeObject = 1520
    Global Const LwpNavigateObjectTypeWord = 1521
    Global Const LwpNavigateObjectTypeChunk = 1522
    Global Const LwpNavigateObjectTypeSentence = 1523
    Global Const LwpNavigateObjectTypeParagraph = 1524


'NavigateType

    Global Const LwpNavigateTypeSearch = 1525


'NextObjectType

    Global Const LwpNextObjectTypeSearch = 1526
    Global Const LwpNextObjectTypeRevision = 1527
    Global Const LwpNextObjectTypeTombstone = 1528
    Global Const LwpNextObjectTypeFormatcheck = 1529


'NumObjType

    Global Const LwpNumObjTypeMulticompareParatag = 1530


'NumberFormat

    Global Const LwpNumberFormatNone = 1531
    Global Const LwpNumberFormatArgentineanpeso = 1532
    Global Const LwpNumberFormatAustraliandollar = 1533
    Global Const LwpNumberFormatAustrianschilling = 1534
    Global Const LwpNumberFormatBelgianfranc = 1535
    Global Const LwpNumberFormatBraziliancruzeiro = 1536
    Global Const LwpNumberFormatBritishpound = 1537
    Global Const LwpNumberFormatCanadiandollar = 1538
    Global Const LwpNumberFormatChineseyuan = 1539
    Global Const LwpNumberFormatCzechkoruna = 1540
    Global Const LwpNumberFormatDanishkrone = 1541
    Global Const LwpNumberFormatEcu = 1542
    Global Const LwpNumberFormatFinnishmarkka = 1543
    Global Const LwpNumberFormatFrenchfranc = 1544
    Global Const LwpNumberFormatGermanmark = 1545
    Global Const LwpNumberFormatGreekdrachma = 1546
    Global Const LwpNumberFormatHongkongdollar = 1547
    Global Const LwpNumberFormatHungarianforint = 1548
    Global Const LwpNumberFormatIndianrupee = 1549
    Global Const LwpNumberFormatIndonesianrupiah = 1550
    Global Const LwpNumberFormatIrishpunt = 1551
    Global Const LwpNumberFormatItalianlira = 1552
    Global Const LwpNumberFormatJapaneseyen = 1553
    Global Const LwpNumberFormatLuxembourgfranc = 1554
    Global Const LwpNumberFormatMalaysianringgit = 1555
    Global Const LwpNumberFormatMexicanpeso = 1556
    Global Const LwpNumberFormatNetherlandsguilder = 1557
    Global Const LwpNumberFormatNewzealanddollar = 1558
    Global Const LwpNumberFormatNorwegiankrone = 1559
    Global Const LwpNumberFormatPolishzloty = 1560
    Global Const LwpNumberFormatPortugueseescudo = 1561
    Global Const LwpNumberFormatRomanianlei = 1562
    Global Const LwpNumberFormatRussianruble = 1563
    Global Const LwpNumberFormatSingaporedollar = 1564
    Global Const LwpNumberFormatSlovakiankoruna = 1565
    Global Const LwpNumberFormatSloveniantholar = 1566
    Global Const LwpNumberFormatSouthafricanrand = 1567
    Global Const LwpNumberFormatSouthkoreanwon = 1568
    Global Const LwpNumberFormatSpanishpeseta = 1569
    Global Const LwpNumberFormatSwedishkrona = 1570
    Global Const LwpNumberFormatSwissfranc = 1571
    Global Const LwpNumberFormatTaiwandollar = 1572
    Global Const LwpNumberFormatThaibaht = 1573
    Global Const LwpNumberFormatUsdollar = 1574
    Global Const LwpNumberFormatOthercurrency = 1575
    Global Const LwpNumberFormatDefault = 1576
    Global Const LtsNumberFormatGeneral = 1056964622
    Global Const LtsNumberFormatFixed = 1056964623
    Global Const LtsNumberFormatComma = 1056964626
    Global Const LtsNumberFormatPercent = 1056964627
    Global Const LtsNumberFormatScientific = 1056964624
    Global Const LwpNumberLtsNumberFormatGeneral = 1577
    Global Const LwpNumberLtsNumberFormatFixed = 1578
    Global Const LwpNumberLtsNumberFormatComma = 1579
    Global Const LwpNumberLtsNumberFormatPercent = 1580
    Global Const LwpNumberLtsNumberFormatScientific = 1581
    Global Const LwpNumberFormatLabel = 1582


'NumberingProps

    Global Const LwpNumberingPropsRevertAll = 1583
    Global Const LwpNumberingPropsRevertLevel = 1584
    Global Const LwpNumberingPropsRevertPosition = 1585
    Global Const LwpNumberingPropsRevertHeading = 1586


'NumberingStyle

    Global Const LwpNumberingStyleNone = 1587
    Global Const LwpNumberingStyleBasic = 1588
    Global Const LwpNumberingStyleUppercaseletters = 1589
    Global Const LwpNumberingStyleLowercaseletters = 1590
    Global Const LwpNumberingStyleUppercaseroman = 1591
    Global Const LwpNumberingStyleLowercaseroman = 1592
    Global Const LwpNumberingStyleChar = 1593
    Global Const LwpNumberingStyleFullpitchbasic = 1594
    Global Const LwpNumberingStyleFullpitchverbasic = 1595
    Global Const LwpNumberingStyleFullpitchuppercase = 1596
    Global Const LwpNumberingStyleFullpitchlowercase = 1597


'NumericMax

    Global Const LwpNumericMaxDecimalSymbol = 1598
    Global Const LwpNumericMaxCurrencySymbol = 1599
    Global Const LwpNumericMaxThousandSeparator = 1600


'OleAction

    Global Const LwpOleActionCreatenew = 1601
    Global Const LwpOleActionCreatelink = 1602
    Global Const LwpOleActionCreateembedded = 1603
    Global Const LwpOleActionClipboardembedded = 1604
    Global Const LwpOleActionClipboardlink = 1605


'OleVerb

    Global Const LwpOleVerbPrimary = 1606
    Global Const LwpOleVerbShow = 1607
    Global Const LwpOleVerbOpen = 1608
    Global Const LwpOleVerbHide = 1609
    Global Const LwpOleVerbUiactivate = 1610
    Global Const LwpOleVerbInplaceactivate = 1611
    Global Const LwpOleVerbDiscardundostate = 1612


'OverrideScope

    Global Const LwpOverrideScopeLocal = 1613
    Global Const LwpOverrideScopeStyle = 1614


'OverstrikeType ' (a long bitmask)

    Global Const LwpOverstrikeTypeStyle = &H10000
    Global Const LwpOverstrikeTypeOff = &H20000


'P_F_Type

    Global Const LwpPFTypeDde = 2002
    Global Const LwpPFTypeBookmark = 2003
    Global Const LwpPFTypeField = 2004
    Global Const LwpPFTypeSeq = 2005
    Global Const LwpPFTypeSet = 2006
    Global Const LwpPFTypeButton = 2007
    Global Const LwpPFTypePrtescape = 2008
    Global Const LwpPFTypeIndex = 2009
    Global Const LwpPFTypeMarker = 2010
    Global Const LwpPFTypeDocvar = 2011
    Global Const LwpPFTypeToc = 2012
    Global Const LwpPFTypeMergevar = 2013


'PageNumberFlags ' (a bitmask)

    Global Const LwpPageNumberFlagsDefault = &H0
    Global Const LwpPageNumberFlagsIncludesecname = &H1
    Global Const LwpPageNumberFlagsIncludedivname = &H2
    Global Const LwpPageNumberFlagsIncludebefore = &H4
    Global Const LwpPageNumberFlagsResetonsection = &H10
    Global Const LwpPageNumberFlagsResetondivision = &H20


'PageObjectType

    Global Const LwpPageObjectType = 2062
    Global Const TypePage = 1623


'PageOrder

    Global Const LtsPageOrderFrontToBack = 1056964851
    Global Const LtsPageOrderBackToFront = 1056964852


'ParaBorderWidth

    Global Const LwpParaBorderWidthNone = 1624
    Global Const LwpParaBorderWidthText = 2051
    Global Const LwpParaBorderWidthMargin = 2052
    Global Const LwpParaBorderWidthOther = 2053


'ParaStyleType

    Global Const LwpParaStyleTypeParagraph = 1627


'ParagraphGetType

    Global Const LwpParagraphGetType = 1628


'ParentType

    Global Const LwpParentTypeFrame = 1629
    Global Const LwpParentTypeCell = 1630


'PathSelection

    Global Const LwpSetDocumentsPath = 2081
    Global Const LwpSetSmartmasterPath = 2082
    Global Const LwpSetScriptPath = 2083
    Global Const LwpSetSmarticonPath = 2084
    Global Const LwpSetBackupPath = 2085
    Global Const LwpSetUserdictPath = 2086
    Global Const LwpSetUserdictFile = 2087
    Global Const LwpSetGlossaryPath = 2088
    Global Const LwpSetGlossaryFile = 2089


'PlayWhen

    Global Const LwpPlayWhenWordproIsExecuted = 1631
    Global Const LwpPlayWhenDosIsOpened = 1632
    Global Const LwpPlayWhenDosIsClosed = 1633
    Global Const LwpPlayWhenNewdoc = 1634
    Global Const LwpPlayWhenWordproIsExited = 1635


'Positions

    Global Const LwpPositionsUnknown = 1636
    Global Const LwpPositionsBefore = 1637
    Global Const LwpPositionsEqual = 1638
    Global Const LwpPositionsAfter = 1639


'PrefPropScope

    Global Const LwpPrefPropScopeFineString = 1640
    Global Const LwpPrefPropScopeReplaceString = 1641


'PrefTypes

    Global Const LwpPrefTypesDoc = 1642
    Global Const LwpPrefTypesMacro = 1643
    Global Const LwpPrefTypesUndo = 1644
    Global Const LwpPrefTypesUnits = 1645


'PresentationType

    Global Const LwpPresentationTypeLayout = 1646
    Global Const LwpPresentationTypeDraft = 1647
    Global Const LwpPresentationTypeWymiwyg = 1648
    Global Const LwpPresentationTypeOutline = 1649
    Global Const LwpPresentationTypePagesort = 1650


'PrintPage

    Global Const LwpPrintPageEvenAndOddPages = 1651
    Global Const LwpPrintPageEvenPages = 1652
    Global Const LwpPrintPageOddPages = 1653


'PrintRange

    Global Const LtsPrintRangeAllPages = 1056964848
    Global Const LwpPrintRangeRangeOfPages = 1654
    Global Const LtsPrintRangeCurrentPage = 1056964849
    Global Const LwpPrintRangeCurrentDivision = 1655
    Global Const LtsPrintRangeSelectedPages = 1056964850
    Global Const LwpPrintRangeSelectedDivisions = 1656


'QuickLayoutAlign

    Global Const LwpQuickLayoutAlignLeft = 1657
    Global Const LwpQuickLayoutAlignRight = 1658
    Global Const LwpQuickLayoutAlignVertcenter = 1659
    Global Const LwpQuickLayoutAlignHorzcenter = 1660
    Global Const LwpQuickLayoutAlignTop = 1661
    Global Const LwpQuickLayoutAlignBottom = 1662


'RangePart

    Global Const LwpRangePartBoth = 1663
    Global Const LwpRangePartStart = 1664
    Global Const LwpRangePartEnd = 1665


'RelativeType

    Global Const LwpRelativeTypeLytParent = 1666
    Global Const LwpRelativeTypeLytPara = 1667
    Global Const LwpRelativeTypeLytInline = 1668
    Global Const LwpRelativeTypeLytInlineNewline = 1669
    Global Const LwpRelativeTypeLytContent = 1670
    Global Const LwpRelativeTypeLytInlineVert = 1671


'RemoveType

    Global Const LwpRemoveTypeHideshowprops = 1672
    Global Const LwpRemoveTypeMultiParaTag = 1673


'ReplaceObjectType

    Global Const LwpReplaceObjectTypeCharacter = 1674
    Global Const LwpReplaceObjectTypeWord = 1675
    Global Const LwpReplaceObjectTypeChunk = 1676
    Global Const LwpReplaceObjectTypeSentence = 1677


'ReplaceType

    Global Const LwpReplaceTypeText = 1678
    Global Const LwpReplaceTypeStyle = 1679


'ReplacementChoices ' (a long bitmask)

    Global Const LwpReplacementChoicesListbox1 = &H1
    Global Const LwpReplacementChoicesListbox2 = &H2
    Global Const LwpReplacementChoicesListbox3 = &H4
    Global Const LwpReplacementChoicesListbox4 = &H8
    Global Const LwpReplacementChoicesListbox5 = &H10
    Global Const LwpReplacementChoicesListbox6 = &H20
    Global Const LwpReplacementChoicesListbox7 = &H40
    Global Const LwpReplacementChoicesListbox8 = &H80
    Global Const LwpReplacementChoicesListbox9 = &H100
    Global Const LwpReplacementChoicesListbox10 = &H200
    Global Const LwpReplacementChoicesListbox11 = &H400
    Global Const LwpReplacementChoicesListbox12 = &H800
    Global Const LwpReplacementChoicesListbox13 = &H1000
    Global Const LwpReplacementChoicesListbox14 = &H2000
    Global Const LwpReplacementChoicesListbox15 = &H4000
    Global Const LwpReplacementChoicesListbox16 = &H8000
    Global Const LwpReplacementChoicesListbox17 = &H10000
    Global Const LwpReplacementChoicesListbox18 = &H20000
    Global Const LwpReplacementChoicesListbox19 = &H40000
    Global Const LwpReplacementChoicesListbox20 = &H80000
    Global Const LwpReplacementChoicesListbox21 = &H100000
    Global Const LwpReplacementChoicesListbox22 = &H200000
    Global Const LwpLreplacementChoicesIstbox22 = &H200000
    Global Const LwpReplacementChoicesListbox23 = &H400000
    Global Const LwpReplacementChoicesListbox24 = &H800000
    Global Const LwpReplacementChoicesListbox25 = &H1000000
    Global Const LwpReplacementChoicesListbox26 = &H2000000
    Global Const LwpReplacementChoicesListboxAll = &H3FFFFFF


'ReservedParam

    Global Const LwpReservedParamDefault = 1707


'ResetOption

    Global Const LwpResetOptionEachDoc = 1708
    Global Const LwpResetOptionEachPage = 1709
    Global Const LwpResetOptionEachDivision = 1710
    Global Const LwpResetOptionEachDivisiongroup = 1711


'RevertAll

    Global Const LwpRevertAllEverything = 1712


'RevisionObjectType

    Global Const LwpRevisionObjectTypeRevision = 1713


'RevisionSelectType

    Global Const LwpRevisionSelectTypeNone = 1714
    Global Const LwpRevisionSelectTypeInsert = 1715
    Global Const LwpRevisionSelectTypeDelete = 1716
    Global Const LwpRevisionSelectTypeDontcare = 1717


'RevisionType

    Global Const LwpRevisionTypeNone = 1718
    Global Const LwpRevisionTypeInsert = 1719
    Global Const LwpRevisionTypeDelete = 1720
    Global Const LwpRevisionTypeDontcare = 1721


'ScaleMode

    Global Const LtsScaleModeInch = 1056964838
    Global Const LtsScaleModeCentimeter = 1056964840
    Global Const LwpScaleModePica = 1728
    Global Const LtsScaleModePoint = 1056964837


'ScaleType

    Global Const LwpScaleTypeOriginalSize = 1722
    Global Const LwpScaleTypeFitInFrame = 1723
    Global Const LwpScaleTypePercentage = 1724
    Global Const LwpScaleTypeCustom = 1725


'ScrollType

    Global Const LwpScrollTypeNull = 1730
    Global Const LwpScrollTypeLineup = 1731
    Global Const LwpScrollTypeLinedown = 1732
    Global Const LwpScrollTypePageup = 1733
    Global Const LwpScrollTypePagedown = 1734
    Global Const LwpScrollTypePosition = 1735


'SearchObjectType

    Global Const LwpSearchObjectTypeObject = 1736
    Global Const LwpSearchObjectTypeText = 1737
    Global Const LwpSearchObjectTypeStyle = 1738
    Global Const LwpSearchObjectTypeAlignment = 1739
    Global Const LwpSearchObjectTypeIndent = 1740
    Global Const LwpSearchObjectTypeSpacing = 1741
    Global Const LwpSearchObjectTypeTab = 1742
    Global Const LwpSearchObjectTypeRevision = 1743


'SearchType

    Global Const LwpSearchTypeNosearch = 1744
    Global Const LwpSearchTypeSearch = 1745


'SectionGoTo

    Global Const LwpSectionGoToBeforeSectionMarker = 1746
    Global Const LwpSectionGoToEndOfSection = 1747


'SelectObjectType

    Global Const LwpSelectObjectTypeObject = 1748
    Global Const LwpSelectObjectTypeWord = 1749
    Global Const LwpSelectObjectTypeChunk = 1750
    Global Const LwpSelectObjectTypeTuna = 1751
    Global Const LwpSelectObjectTypeSentence = 1752
    Global Const LwpSelectObjectTypeParagraph = 1753
    Global Const LwpSelectObjectTypeDocument = 1754
    Global Const LwpSelectObjectTypeStream = 1755
    Global Const LwpSelectObjectTypeLevel = 1756
    Global Const LwpSelectObjectTypeBullet = 1757
    Global Const LwpSelectObjectTypeTombstoneset = 1758
    Global Const LwpSelectObjectTypeSection = 1759


'SelectionType

    Global Const LwpSelectionTypeNone = 1760
    Global Const LwpSelectionTypeText = 1761


'SkipMean

    Global Const LwpSkipMeanRevSkipForwardWord = 1762
    Global Const LwpSkipMeanRevSkipBackwordWord = 1763
    Global Const LwpSkipMeanSpellMarkWord = 1764


'SkipType

    Global Const LwpSkipTypeRevision = 1765
    Global Const LwpSkipTypeSpell = 1766
    Global Const LwpSkipTypeFormatCheck = 1767


'SnapShot

    Global Const LwpSnapShotNosave = 1768
    Global Const LwpSnapShotSave = 1769


'Sort

    Global Const LtsSortAscending = 1056964770
    Global Const LtsSortDescending = 1056964772


'SortNumberOrder

    Global Const LwpSortNumberOrderFirst = 1770
    Global Const LwpSortNumberOrderLast = 1771


'SortType

    Global Const LwpSortTypeAlphanumeric = 1772
    Global Const LwpSortTypeNumeric = 1773


'SortWhichWord

    Global Const LwpSortWhichWordFirstword = 1774
    Global Const LwpSortWhichWordLastword = 1775
    Global Const LwpSortWhichWordAllwords = 1776
    Global Const LwpSortWhichWordOther = 1777


'SpacingProperty

    Global Const LwpSpacingPropertyAll = 1778
    Global Const LwpSpacingPropertyAlways = 1779
    Global Const LwpSpacingPropertyBelowtype = 1780
    Global Const LwpSpacingPropertyBelowamount = 1781
    Global Const LwpSpacingPropertyBelownumber = 1782
    Global Const LwpSpacingPropertyAbovetype = 1783
    Global Const LwpSpacingPropertyAboveamount = 1784
    Global Const LwpSpacingPropertyAbovenumber = 1785
    Global Const LwpSpacingPropertyType = 1786
    Global Const LwpSpacingPropertyAmount = 1787
    Global Const LwpSpacingPropertyNumber = 1788


'SpacingType

    Global Const LwpSpacingTypeDynamic = 1789
    Global Const LwpSpacingTypeLeading = 1790
    Global Const LwpSpacingTypeCustom = 1791
    Global Const LwpSpacingTypeNone = 1792


'SpecificModifier ' (a bitmask)

    Global Const LwpSpecificModifierNone = &H0
    Global Const LwpSpecificModifierMbutton1 = &H1
    Global Const LwpSpecificModifierMbutton2 = &H2
    Global Const LwpSpecificModifierMbutton3 = &H4
    Global Const LwpSpecificModifierMbuttonmask = &H7
    Global Const LwpSpecificModifierMbuttondown = &H8
    Global Const LwpSpecificModifierMbuttonup = &H10
    Global Const LwpSpecificModifierDoublebyte = &H1
    Global Const LwpSpecificModifierGoingdown = &H2
    Global Const LwpSpecificModifierComingup = &H4
    Global Const LwpSpecificModifierVirtual = &H8
    Global Const LwpSpecificModifierDamnit = &H1
    Global Const LwpSpecificModifierClicked = &H2
    Global Const LwpSpecificModifierNomove = &H4
    Global Const LwpSpecificModifierNovolatile = &H8
    Global Const LwpSpecificModifierReset = &H10
    Global Const LwpPopcheckpoint = &H20


'StandButt

    Global Const LwpStandButtFontButton = 1809
    Global Const LwpStandButtPointSizeButton = 1810
    Global Const LwpStandButtColorButton = 1811
    Global Const LwpStandButtBoldButton = 1812
    Global Const LwpStandButtItalicButton = 1813
    Global Const LwpStandButtUnderlineButton = 1814
    Global Const LwpStandButtStyleButton = 1815
    Global Const LwpStandButtCollapsibleButton = 1816
    Global Const LwpStandButtPageupButton = 1817
    Global Const LwpStandButtPagedownButton = 1818
    Global Const LwpStandButtPagenumberButton = 1819
    Global Const LwpStandButtSpacer1Button = 1820
    Global Const LwpStandButtSpacer2Button = 1821
    Global Const LwpStandButtSpacer3Button = 1822
    Global Const LwpStandButtCustomButton = 1823


'StartType

    Global Const LwpStartTypeNextpage = 1824
    Global Const LwpStartTypeThispage = 1825
    Global Const LwpStartTypeNextoddpage = 1826
    Global Const LwpStartTypeNextevenpage = 1827


'StyleType

    Global Const LwpStyleTypeDefault = 1828
    Global Const LwpStyleTypeParagraph = 1829
    Global Const LwpStyleTypeCharacter = 1830
    Global Const LwpStyleTypePage = 1831
    Global Const LwpStyleTypeFrame = 1832
    Global Const LwpStyleTypeTable = 1833
    Global Const LwpStyleTypeCell = 1834


'TOCLeaderType

    Global Const LwpTocLeaderTypeNoleaders = 1835
    Global Const LwpTocLeaderTypeLeaderdots = 1836
    Global Const LwpTocLeaderTypeLeaderdashes = 1837
    Global Const LwpTocLeaderTypeLeaderunderline = 1838
    Global Const LwpTocLeaderTypeSeparatorcomma = 1839
    Global Const LwpTocLeaderTypeSeparatordots = 1840


'TOCPlacement

    Global Const LwpTOCPlacementBeginofdoc = 1841
    Global Const LwpTOCPlacementBeginofdivision = 1842
    Global Const LwpTOCPlacementBeginofgroup = 1843
    Global Const LwpTOCPlacementInsertionpoint = 1844
    Global Const LwpTOCPlacementBeginofsection = 1845


'TOCScope

    Global Const LwpTOCScopeTypeOfLeader = 1846
    Global Const LwpTOCScopeUseLeader = 1847
    Global Const LwpTOCScopeUseText = 1848
    Global Const LwpTOCScopeUsePageNumber = 1849
    Global Const LwpTOCScopeRtAlgnPgNum = 1850
    Global Const LwpTOCScopeLevelNumber = 1851
    Global Const LwpTOCScopeSearchStyle = 1852
    Global Const LwpTOCScopeDestPageStyle = 1853
    Global Const LwpTOCScopeDestStyle = 1854


'TabLeaderType

    Global Const LwpTabLeaderNone = 1855
    Global Const LwpTabLeaderHyphen = 1856
    Global Const LwpTabLeaderDot = 1857
    Global Const LwpTabLeaderLine = 1858


'TabRackProperty

    Global Const LwpTabRackPropertyAll = 1859


'TabRelativeType

    Global Const LwpTabRelativeLeft = 1860
    Global Const LwpTabRelativeRight = 1861
    Global Const LwpTabRelativeCenter = 1862


'TabType

    Global Const LwpTabTypeLeft = 1863
    Global Const LwpTabTypeCenter = 1864
    Global Const LwpTabTypeRight = 1865
    Global Const LwpTabTypeNumeric = 1866


'TableDelType

    Global Const LwpTableDelTypeRow = 1867
    Global Const LwpTableDelTypeColumn = 1868
    Global Const LwpTableDelTypeWholetable = 1869


'TableFillStyle

    Global Const LwpTableFillStyleAll = 1870
    Global Const LwpTableFillStyleEveryotherrow = 1871
    Global Const LwpTableFillStyleEveryothercol = 1872
    Global Const LwpTableFillStyleMixed = 1873
    Global Const LwpTableFillStyleNone = 1874


'TableInsType

    Global Const LwpTableInsTypeRow = 1875
    Global Const LwpTableInsTypeColumn = 1876


'TableLineStyle

    Global Const LwpTableLineStyleNone = 1877
    Global Const LwpTableLineStyleAll = 1878
    Global Const LwpTableLineStyleOutline = 1879
    Global Const LwpTableLineStyleOutlineall = 1880
    Global Const LwpTableLineStyleRows = 1881
    Global Const LwpTableLineStyleCols = 1882
    Global Const LwpTableLineStyleOutlinerows = 1883
    Global Const LwpTableLineStyleOutlinecols = 1884
    Global Const LwpTableLineStyleMixed = 1885
    Global Const LwpTableLineStyleCustom = 1886
    Global Const LwpTableLineStyleInnercols = 1887
    Global Const LwpTableLineStyleInnerRowscols = 1888


'TableMix

    Global Const LwpTableMixTopmixed = 1889
    Global Const LwpTableMixBottommixed = 1890
    Global Const LwpTableMixLeftmixed = 1891
    Global Const LwpTableMixRightmixed = 1892
    Global Const LwpTableMixAllmixed = 1893


'TableObjectType

    Global Const LwpTableObjectType = 1894


'TableScope

    Global Const LwpTableScopeRow = 1895
    Global Const LwpTableScopeColumn = 1896
    Global Const LwpTableScopeCell = 1897
    Global Const LwpTableScopeContents = 1898


'TableSelection

    Global Const LwpTableSelectionCell = 1899
    Global Const LwpTableSelectionRow = 1900
    Global Const LwpTableSelectionColumn = 1901
    Global Const LwpTableSelectionTable = 1902
    Global Const LwpTableSelectionRange = 1903


'TableSplitType

    Global Const LwpTableSplitTypeCell = 1904
    Global Const LwpTableSplitTypeTable = 1905


'TableSumScope

    Global Const LwpTableSumScopeRow = 1906
    Global Const LwpTableSumScopeColumn = 1907


'TableType

    Global Const LwpTableTypeWholeTable = 1908
    Global Const LwpTableTypeSpecificColumnInTable = 1909


'TextOrient

    Global Const LwpTextOrientLefttorightToptobottom = 1910
    Global Const LwpTextOrientToptobottomRighttoleft = 1911
    Global Const LwpTextOrientRighttoleftBottomtotop = 1912
    Global Const LwpTextOrientBottomtotopLefttoright = 1913
    Global Const LwpTextOrientRighttoleftToptobottom = 1914
    Global Const LwpTextOrientToptobottomLefttoright = 1915
    Global Const LwpTextOrientLefttorightBottomtotop = 1916
    Global Const LwpTextOrientBottomtotopRighttoleft = 1917


'TextStyleOverrides ' (a long bitmask)

    Global Const LwpTextStlyeOverridesNone = &H0
    Global Const LwpTextStyleOverridesFace = &H1
    Global Const LwpTextStyleOverridesSize = &H2
    Global Const LwpTextStyleOverridesAttributes = &H4
    Global Const LwpTextStyleOverridesFont = &H8
    Global Const LwpTextStyleOverridesAlignment = &H10
    Global Const LwpTextStyleOverridesIndent = &H20
    Global Const LwpTextStyleOverridesSpacing = &H40
    Global Const LwpTextStyleIoverridesNdent = &H20
    Global Const LwpTextStyleSoverridesPacing = &H40
    Global Const LwpTextStyleOverridesBorders = &H80
    Global Const LwpTextStyleOverridesBreaks = &H100
    Global Const LwpTextStyleOverridesBullet = &H200
    Global Const LwpTextStyleBoverridesUllet = &H200
    Global Const LwpTextStyleOverridesNumbering = &H400
    Global Const LwpTextStyleOverridesTabs = &H800
    Global Const LwpTextStyleOverridesKinsoku = &H1000
    Global Const LwpTextStyleOverridesCharborder = &H2000
    Global Const LwpTextStyleOverridesAmikake = &H4000


'TextStyleType

    Global Const LwpTextStyleTypePara = 1934
    Global Const LwpTextStyleTypeChar = 2067
    Global Const LwpTextStyleTypwChar = 1935


'TextType

    Global Const LwpTextTypeUnicode = 1936
    Global Const LwpTextTypeRoman = 1937
    Global Const LwpTextTypeKanji = 1938
    Global Const LwpTextTypeHkatakana = 1939
    Global Const LwpTextTypeRawUnicode = 1940
    Global Const LwpTextTypeNative = 2014


'TextView ' (a bitmask)

    Global Const LwpTextViewCaretVisible = &H1
    Global Const LwpTextViewSelectionVisible = &H2
    Global Const LwpTextViewHiddenStoryptr = &H4


'Tightness

    Global Const LwpTightnessStyle = 1944
    Global Const LwpTightnessOff = 1945


'TileType

    Global Const LwpTileTypeCascade = 1946
    Global Const LwpTileTypeVert = 1947
    Global Const LwpTileTypeHorz = 1948


'TypoChoices ' (a long bitmask)

    Global Const LwpTypoChoicesListbox1 = &H1
    Global Const LwpTypoChoicesListbox2 = &H2
    Global Const LwpTypoChoicesListbox3 = &H4
    Global Const LwpTypoChoicesListbox4 = &H8
    Global Const LwpTypoChoicesListboxall = &HF


'Verify

    Global Const LwpVerifyRestrictToEditors = 1954
    Global Const LwpVerifyRestrictToOriginalAuthor = 1955
    Global Const LwpVerifyRestrictByInvalidPassword = 1956
    Global Const LwpVerifySuccessNoRestrictions = 1957
    Global Const LwpVerifyRestrictInternalPurpose = 1958
    Global Const LwpVerifyRestrictInternalPurpose2 = 1959
    Global Const LwpVerifyRestrictByEditorViolation = 1960


'VersionObjectType

    Global Const LwpVersionObjectType = 1961


'VertAlign

    Global Const LtsAlignmentTop = 1056964614
    Global Const LtsAlignmentVertCenter = 1056964615
    Global Const LtsAlignmentBottom = 1056964616


'ViewModes

    Global Const LwpViewModesLayout = 1962
    Global Const LwpViewModesDraft = 1963
    Global Const LwpViewModesPageSorter = 1964


'Views ' (a bitmask)

    Global Const LwpViewsStandard = &H1
    Global Const LwpViewsEnlarged = &H2
    Global Const LwpViewsFullpage = &H4
    Global Const LwpViewsCustom = &H8
    Global Const LwpViewsFacingpages = &H10
    Global Const LwpViewsPagesort = &H20
    Global Const LwpViewsMultiplepages = &H40
    Global Const LwpViewsPagemargin = &H80
    Global Const LwpViewsPagewidth = &H100
    Global Const LwpViewsReduced = &H200
    Global Const LwpViewsMoreenlarged = &H400


'WhereType

    Global Const LwpWhereTypeUpperLeft = 1976
    Global Const LwpWhereTypeMiddleTop = 1977
    Global Const LwpWhereTypeLayoutUpperRight = 1978
    Global Const LwpWhereTypeMiddleLeft = 1979
    Global Const LwpWhereTypeMiddleRight = 1980
    Global Const LwpWhereTypeLowerLeft = 1981
    Global Const LwpWhereTypeMiddleBottom = 1982
    Global Const LwpWhereTypeLowerRight = 1983
    Global Const LwpWhereTypeMiddle = 1984


'WhichBar

    Global Const LwpWhichBarCleanScreenIconbar = 1985
    Global Const LwpWhichBarIconbarmainIconbar = 1986


'WhichCell

    Global Const LwpWhichCellEnumCellswholetable = 1987
    Global Const LwpWhichCellEnumFirstcell = 1988


'WhichIniLocation

    Global Const LwpNetworkIniLocation = 2171
    Global Const LwpUserIniLocation = 2172


'WhichLineSide

    Global Const LwpTopLine = 2090
    Global Const LwpBottomLine = 2091
    Global Const LwpLeftLine = 2092
    Global Const LwpRightLine = 2093
    Global Const LwpAllLines = 2094


'WhichSide

    Global Const LwpWhichSideLeft = 2068
    Global Const LwpWhichSideRight = 2069
    Global Const LwpWhichTypeLeft = 1989
    Global Const LwpWhichTypeRight = 1990


'WhichTableLayout

    Global Const LwpWhichTableLayoutRow = 1991
    Global Const LwpWhichTableLayoutColumn = 1992
    Global Const LwpWhichTableLayoutCell = 1993
    Global Const LwpWhichTableLayoutTable = 1994


'WrapType

    Global Const LwpWrapTypeLayoutWrapAround = 1995
    Global Const LwpWrapTypeLayoutNoWrapBeside = 1996
    Global Const LwpWrapTypeLayoutNoWrapAround = 1997
    Global Const LwpWrapTypeLayoutWrapLeft = 1998
    Global Const LwpWrapTypeLayoutWrapRight = 2070
    Global Const LwpWrapLayoutWrapRight = 1999


