devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
307 lines (306 loc) • 10.5 kB
TypeScript
export declare enum FileTabCommandId {
CreateDocument = 412,
OpenDocument = 410,
ExportDocument = 413,
DownloadDocumentMenu = 414,
DownloadDocx = 418,
DownloadRtf = 419,
DownloadTxt = 420,
DownloadHtml = 421,
PrintDocument = 416
}
export declare enum HomeTabCommandId {
ChangeCaseMenu = 431,
AlignParagraphMenu = 432,
LineSpacingMenu = 433,
Undo = 6,
Redo = 7,
Cut = 10,
Copy = 9,
Paste = 8,
ChangeFontName = 11,
ChangeFontSize = 13,
IncreaseFontSize = 14,
DecreaseFontSize = 15,
ChangeFontForeColor = 28,
ShowFontDialog = 52,
ToggleFontBold = 20,
ToggleFontItalic = 21,
ToggleFontUnderline = 22,
ToggleFontStrikeout = 24,
ToggleFontSubscript = 27,
ToggleFontSuperscript = 26,
CapitalizationSentenceCase = 207,
CapitalizationUpperCase = 16,
CapitalizationLowerCase = 17,
CapitalizeEachWordCase = 18,
CapitalizationToggleCase = 19,
ClearFormatting = 30,
ToggleBulletedList = 31,
ToggleNumberedList = 32,
ToggleMultilevelList = 33,
ToggleParagraphAlignmentLeft = 37,
ToggleParagraphAlignmentCenter = 38,
ToggleParagraphAlignmentRight = 39,
ToggleParagraphAlignmentJustify = 40,
ToggleShowHiddenSymbols = 36,
SetSingleParagraphSpacing = 41,
SetSesquialteralParagraphSpacing = 42,
SetDoubleParagraphSpacing = 43,
AddSpacingBeforeParagraph = 45,
AddSpacingAfterParagraph = 46,
RemoveSpacingBeforeParagraph = 47,
RemoveSpacingAfterParagraph = 48,
ChangeShading = 49,
ChangeStyle = 12,
Find = 50,
Replace = 51,
ChangeFontHighlightColor = 29,
ToggleFontDoubleUnderline = 23
}
export declare enum InsertTabCommandId {
ShowInsertTableDialog = 55,
InsertPicture = 411,
ShowBookmarkDialog = 58,
ShowHyperlinkDialog = 59,
InsertHeader = 220,
InsertFooter = 221,
InsertPageNumberField = 235,
InsertPageCountField = 236,
InsertFloatingTextBox = 368
}
export declare enum PageLayoutTabCommandId {
MarginsMenu = 434,
OrientationMenu = 435,
SizeMenu = 436,
ColumnsMenu = 437,
BreaksMenu = 438,
SetSectionNormalPageMargins = 66,
SetSectionNarrowPageMargins = 67,
SetSectionModeratePageMargins = 68,
SetSectionWidePageMargins = 69,
ShowMarginsPageSetupDialog = 70,
SetPortraitPageOrientation = 71,
SetLandscapePageOrientation = 72,
SetSectionLetterPaperSize = 162,
SetSectionLegalPaperSize = 99,
SetSectionFolioPaperSize = 100,
SetSectionA4PaperSize = 101,
SetSectionB5PaperSize = 104,
SetSectionExecutivePaperSize = 105,
SetSectionA5PaperSize = 102,
SetSectionA6PaperSize = 103,
ShowPageSetupDialog = 73,
SetSectionOneColumn = 74,
SetSectionTwoColumns = 75,
SetSectionThreeColumns = 76,
InsertPageBreak = 54,
InsertColumnBreak = 79,
InsertSectionBreakNextPage = 80,
InsertSectionBreakEvenPage = 81,
InsertSectionBreakOddPage = 82,
ChangePageColor = 90
}
export declare enum ReferencesTabCommandId {
AddTextMenu = 439,
InsertCaptionMenu = 440,
InsertTableOfFiguresMenu = 441,
InsertTableOfContents = 377,
SetParagraphBodyTextLevel = 385,
SetParagraphHeading1Level = 386,
SetParagraphHeading2Level = 387,
SetParagraphHeading3Level = 388,
SetParagraphHeading4Level = 389,
SetParagraphHeading5Level = 390,
SetParagraphHeading6Level = 391,
SetParagraphHeading7Level = 392,
SetParagraphHeading8Level = 393,
SetParagraphHeading9Level = 394,
CreateFigureCaptionField = 382,
CreateTableCaptionField = 383,
CreateEquationCaptionField = 381,
CreateTableOfFiguresField = 379,
CreateTableOfTablesField = 380,
CreateTableOfEquationsField = 378,
UpdateTableOfContents = 384
}
export declare enum MailMergeTabCommandId {
CreateFieldMenu = 442,
CreateField = 178,
CreateDateField = 203,
CreateTimeField = 204,
CreatePageField = 205,
CreateNumPagesField = 236,
CreateEmptyMergeField = 372,
CreateEmptyDocVariableField = 373,
CreateEmptyIfField = 459,
ShowInsertMergeFieldDialog = 214,
ToggleViewMergedData = 213,
ShowAllFieldCodes = 186,
ShowAllFieldResults = 187,
UpdateAllFields = 200,
GoToFirstDataRecord = 209,
GoToPreviousDataRecord = 210,
GoToNextDataRecord = 211,
GoToLastDataRecord = 212,
ShowMailMergeDialog = 216
}
export declare enum ViewTabCommandId {
SwitchToSimpleView = 405,
SwitchToPrintLayout = 406,
ToggleShowHorizontalRuler = 94,
ToggleFullScreen = 98
}
export declare enum HeaderAndFooterTabCommandId {
GoToPageHeader = 227,
GoToPageFooter = 228,
GoToPreviousPageHeaderFooter = 230,
GoToNextPageHeaderFooter = 229,
LinkHeaderFooterToPrevious = 222,
ToggleDifferentFirstPage = 231,
ToggleDifferentOddAndEvenPages = 232,
ChangeHeaderOffset = 330,
ChangeFooterOffset = 331,
CloseHeaderFooter = 233
}
export declare enum TableDesignTabCommandId {
TableStyleOptionsMenu = 443,
BordersMenu = 444,
ToggleFirstRow = 280,
ToggleLastRow = 281,
ToggleBandedRows = 284,
ToggleFirstColumn = 282,
ToggleLastColumn = 283,
ToggleBandedColumn = 285,
ChangeTableStyle = 269,
ChangeTableRepositoryItemBorderStyle = 292,
ChangeTableRepositoryItemBorderWidth = 291,
ChangeTableRepositoryItemBorderColor = 290,
ToggleTableCellsBottomBorder = 272,
ToggleTableCellsTopBorder = 270,
ToggleTableCellsLeftBorder = 273,
ToggleTableCellsRightBorder = 271,
ToggleTableCellNoBorder = 274,
ToggleTableCellAllBorders = 275,
ToggleTableCellOutsideBorders = 279,
ToggleTableCellInsideBorders = 276,
ToggleTableCellInsideHorizontalBorders = 277,
ToggleTableCellInsideVerticalBorders = 278,
ToggleTableViewGridlines = 295,
ChangeTableCellShading = 294
}
export declare enum TableLayoutTabCommandId {
SelectMenu = 445,
DeleteMenu = 446,
InsertMenu = 447,
AutoFitMenu = 448,
AlignmentMenu = 449,
SelectTableCell = 286,
SelectTableColumn = 287,
SelectTableRow = 288,
SelectTable = 289,
ToggleShowTableGridLines = 295,
ShowDeleteCellsDialog = 253,
DeleteTableColumns = 248,
DeleteTableRows = 247,
DeleteTable = 251,
InsertTableRowAbove = 246,
InsertTableRowBelow = 245,
InsertTableColumnToTheLeft = 243,
InsertTableColumnToTheRight = 244,
MergeTableCells = 254,
ShowSplitCellsDialog = 255,
SetAutoFitContents = 399,
SetAutoFitWindow = 400,
SetFixedColumnWidth = 401,
TableCellAlignTopLeft = 260,
TableCellAlignTopCenter = 261,
TableCellAlignTopRight = 262,
TableCellAlignMiddleLeft = 263,
TableCellAlignMiddleCenter = 264,
TableCellAlignMiddleRight = 265,
TableCellAlignBottomLeft = 266,
TableCellAlignBottomCenter = 267,
TableCellAlignBottomRight = 268
}
export declare enum FloatingObjectsFormatTabCommandId {
WrapTextMenu = 450,
PositionMenu = 451,
BringToFrontMenu = 452,
SendToBackMenu = 453,
ChangeFloatingObjectFillColor = 343,
ChangeFloatingObjectOutlineColor = 344,
ChangeFloatingObjectOutlineWidth = 345,
SetFloatingObjectInlineTextWrapType = 374,
SetFloatingObjectSquareTextWrapType = 346,
SetFloatingObjectTightTextWrapType = 347,
SetFloatingObjectThroughTextWrapType = 348,
SetFloatingObjectTopAndBottomTextWrapType = 349,
SetFloatingObjectBehindTextWrapType = 350,
SetFloatingObjectInFrontOfTextWrapType = 351,
SetFloatingObjectTopLeftAlignment = 352,
SetFloatingObjectTopCenterAlignment = 353,
SetFloatingObjectTopRightAlignment = 354,
SetFloatingObjectMiddleLeftAlignment = 355,
SetFloatingObjectMiddleCenterAlignment = 356,
SetFloatingObjectMiddleRightAlignment = 357,
SetFloatingObjectBottomLeftAlignment = 358,
SetFloatingObjectBottomCenterAlignment = 359,
SetFloatingObjectBottomRightAlignment = 360,
FloatingObjectBringForward = 361,
FloatingObjectBringToFront = 362,
FloatingObjectBringInFrontOfText = 363,
FloatingObjectSendBackward = 364,
FloatingObjectSendToBack = 365,
FloatingObjectSendBehindText = 366
}
export declare enum ContextMenuCommandId {
ApplySpellingSuggestion = 318,
NoSpellingSuggestions = 457,
IgnoreSpellingError = 314,
IgnoreAllSpellingErrors = 315,
AddWordToDictionary = 317,
OpenHyperlink = 195,
ShowEditHyperlinkDialog = 194,
RemoveHyperlink = 196,
UpdateField = 179,
ToggleFieldCodes = 180,
RestartNumberedList = 170,
ContinueNumberedList = 189,
Cut = 10,
Copy = 9,
Paste = 8,
TableMenu = 239,
InsertTableColumnToTheLeft = 243,
InsertTableColumnToTheRight = 244,
InsertTableRowAbove = 246,
InsertTableRowBelow = 245,
ShowInsertTableCellsDialog = 252,
ShowDeleteTableCellsDialog = 253,
ShowSplitCellsDialog = 255,
MergeTableCells = 254,
DecreaseParagraphIndent = 34,
IncreaseParagraphIndent = 35,
ShowFontDialog = 52,
ShowParagraphDialog = 53,
ShowBookmarkDialog = 58,
ShowHyperlinkDialog = 59,
ChangeFloatingObjectTextWrapTypeMenu = 454,
SetFloatingObjectInlineTextWrapType = 374,
SetFloatingObjectSquareTextWrapType = 346,
SetFloatingObjectTightTextWrapType = 347,
SetFloatingObjectThroughTextWrapType = 348,
SetFloatingObjectTopAndBottomTextWrapType = 349,
SetFloatingObjectBehindTextWrapType = 350,
SetFloatingObjectInFrontOfTextWrapType = 351,
FloatingObjectBringForwardMenu = 455,
FloatingObjectBringForward = 361,
FloatingObjectBringToFront = 362,
FloatingObjectBringInFrontOfText = 363,
FloatingObjectSendBackwardMenu = 456,
FloatingObjectSendBackward = 364,
FloatingObjectSendToBack = 365,
FloatingObjectSendBehindText = 366,
SelectAll = 106
}
export type CommandId = FileTabCommandId | HomeTabCommandId | InsertTabCommandId | PageLayoutTabCommandId | ReferencesTabCommandId | MailMergeTabCommandId | ViewTabCommandId | HeaderAndFooterTabCommandId | TableDesignTabCommandId | TableLayoutTabCommandId | FloatingObjectsFormatTabCommandId | ContextMenuCommandId;