CommandIds Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The CommandIds enumeration is used to send commands to the InfoPathEditor object.
public enum class CommandIds
[System.Runtime.InteropServices.Guid("FAC23FC1-6D62-4625-BB6D-551CE08057BB")]
public enum CommandIds
type CommandIds =
Public Enum CommandIds
- Inheritance
-
CommandIds
- Attributes
Fields
Name | Value | Description |
---|---|---|
ShowMergeFormDialog | 0 | Displays the Merge Forms dialog box |
ShowImportFormDataDialog | 1 | Displays the Merge Forms dialog box |
ShowExportToWebDialog | 2 | Displays the Export to Web dialog box |
WorkOffline | 3 | Sets the application to work offline |
Close | 4 | Closes the application |
Save | 5 | Performs a save operation |
SaveAs | 6 | Performas a save as operation |
ShowExportToExcelDialog | 7 | Displays the Export to Excel Wizard dialog box |
Submit | 8 | Submits the form |
GetSubmitButtonCaption | 9 | Gets the caption of the submit button |
GotoNextErrorOnView | 10 | Repositions the focus to the next error in the current view |
ShowCurrentErrorMessage | 11 | Displays the current error message |
ShowSetLanguageDialog | 12 | Displays the Language dialog box |
InsertPictureFromFile | 13 | Inserts a picture from a file |
ShowInsertTableDialog | 14 | Displays the Insert Table dialog box |
ShowSplitCellsDialog | 15 | Displays the Split Cells dialog box |
ShowTablePropertiesDialog | 16 | Displays the Table Properties dialog box |
ShowFormatPictureDialog | 17 | Displays the Format Picture dialog box |
ShowBordersShadingDialog | 18 | Displays the Borders and Shading dialog box |
ShowInsertHyperlinkDialog | 19 | Displays the Insert Hyperlink dialog box |
ShowEditHyperlinkDialog | 20 | Displays the Edit Hyperlink dialog box |
InsertNumberedList | 21 | Inserts a numbered list on selected text using the default numbering |
InsertBulletedList | 22 | Inserts a bulleted list on selected text using the default bullet |
FormatPainterApplyFormatting | 23 | Applies formatting from the Format Painter |
FormatPainterCopyFormatting | 24 | Copies formatting of selected items to the Format Painter |
FormatPainterApplyFormattingPersistent | 25 | Applies formatting from the Format Painter in double-click mode (multiple-selection) |
SetFontFormattingBold | 26 | Sets the font formatting of the selected text to bold |
SetFontFormattingItalic | 27 | Sets the font formatting of the selected text to italic |
SetFontFormattingUnderline | 28 | Sets the font formatting of the selected text to underline |
SetFontFormattingSuperscript | 29 | Sets the font formatting of the selected text to superscript |
SetFontFormattingSubscript | 30 | Sets the font formatting of the selected text to subscript |
SetFontFormattingStrikethrough | 31 | Sets the font formatting of the selected text to strikethrough |
AlignTextLeft | 32 | Aligns selected text on the left |
AlignTextCenter | 33 | Aligns selected text in the center |
AlignTextRight | 34 | Aligns selected text on the right |
AlignTextJustify | 35 | Justifies selected text |
SetTextDirectionDefault | 36 | Sets the text direction to the default text direction |
SetTextDirectionLeftToRight | 37 | Sets the text direction to left to right |
SetTextDirectionRightToLeft | 38 | Sets the text direction to right to left |
SetSingleLineSpacing | 39 | Sets line spacing to single |
Set15LineSpacing | 40 | Sets paragraph spacing to 1.5 lines |
SetDoubleLineSpacing | 41 | Sets line spacing to double |
InsertNumberedListDecimal | 42 | Inserts a numbered list on selected text using decimals |
InsertNumberedListAlphaLowercase | 43 | Inserts a numbered list on selected text using the lowercase letters |
InsertNumberedListAlphaUppercase | 44 | Inserts a numbered list on selected text using the uppercase letters |
InsertNumberedListRomanLowercase | 45 | Inserts a numbered list on selected text using the lowercase Roman numerals |
InsertNumberedListRomanUppercase | 46 | Inserts a numbered list on selected text using the uppercase Roman numeral |
InsertBulletedListSolidCircle | 47 | Inserts a bulleted list on selected text using the solid circle bullet |
InsertBulletedListEmptyCircle | 48 | Inserts a bulleted list on selected text using the empty circle bullet |
InsertBulletedListSolidSquare | 49 | Inserts a bulleted list on selected text using the solid square bullet |
DrawTable | 50 | Draws a table |
EraseTable | 51 | Erases a table and retains table contents |
Cut | 52 | Cuts selected items |
Copy | 53 | Copies selected items |
Paste | 54 | Pastes items from the clipboard |
SelectAll | 55 | Selects all items in the view |
Undo | 56 | Performs an undo operation |
Redo | 57 | Performs a redo operation |
ClearNumberedList | 58 | Removes numbers from selected items that have been numbered |
ClearBulletedList | 59 | Removes bullets from selected items that have been bulleted |
DecreaseIndent | 60 | Decreases indents of selected lines |
IncreaseIndent | 61 | Increases the indentation of selected lines |
InsertRowAbove | 62 | Inserts a row above the selected row |
InsertRowBelow | 63 | Inserts a row below the selected row |
InsertColumnLeft | 64 | Inserts a column to the left of the selected column |
InsertColumnRight | 65 | Inserts a column to the right of the selected column |
DeleteSelectedTable | 66 | Deletes selected tables |
DeleteSelectedRows | 67 | Deletes selected row |
DeleteSelectedColumns | 68 | Deletes selected columns |
SelectTable | 69 | Selects the table |
SelectRows | 70 | Selects all rows |
SelectColumns | 71 | Selects the current column |
SelectCell | 72 | Selects the current cell |
MergeCells | 73 | Merges selected cells |
SetTableHorizontalAlignment | 74 | Sets the table horizontal alignment |
GetTableHorizontalAlignment | 75 | Gets the horizontal alignment of a table |
SetTableDirection | 76 | Sets the table direction |
GetTableDirection | 77 | Gets the direction of a table |
InsertHorizontalLine | 78 | Inserts a horizontal line |
ShowInsertSymbolDialog | 79 | Displays the Insert Symbol dialog box |
InsertImage | 80 | Inserts an image |
InsertHyperlink | 81 | Inserts a hyperlink |
SelectHyperlink | 82 | Selects the current hyperlink |
SetAutoSpaceBetweenAsianAndLatinText | 83 | Sets the automatic spacing between Asian and Latin text |
SetAutoSpaceBetweenAsianTextAndNumbers | 84 | Sets the automatic spacing between Asian and Latin numbers |
ClearAutoSpace | 85 | Removes all auto spacing of selected text |
SetFindString | 86 | Sets the string to use in a find operation |
GetFindString | 87 | Gets the string that will be used in a find operation |
SetReplaceWithString | 88 | Sets the string used in a replace operation |
GetReplaceWithString | 89 | Gets the string that will be used in a replace operation |
SetFindReplaceOptionWholeWordOnly | 90 | Sets the option to match entire words only on find or replace operations |
SetFindReplaceOptionMatchCase | 91 | Sets the option to match case on find or replace operations |
SetFindReplaceOptionUseWildcards | 92 | Sets the option to use wildcards on find or replace operations |
SetFindReplaceOptionSearchDirection | 93 | Sets the search direction on find or replace operations |
GetFindReplaceOptionSearchDirection | 94 | Gets the direction in which a find or replace operation will search |
Replace | 95 | Performs a replace operation |
ReplaceAll | 96 | Performs a replace all operation |
GetDefaultHighlightColor | 97 | Gets the default highlight color |
GetDefaultFontColor | 98 | Gets the default font color |
ShowSetSelectedTextFontColorDialog | 99 | Displays the Color dialog box for setting font color |
ShowSetSelectedTextHighlightColorDialog | 100 | Displays the Color dialog box for setting highlight color |
GetFontsAvailableCount | 101 | Gets the count of available fonts |
GetFontAvailableByIndex | 102 | Gets the available fonts by index |
GetFontSizesAvailableCount | 103 | Gets a count of the available font sizes |
GetFontSizeAvailableByIndex | 104 | Gets the available font sizes by index |
SetSelectedTextFontSize | 105 | Sets the font size of selected text |
SetSelectedTextFont | 106 | Sets the font of selected text |
GotoFirstErrorOnView | 107 | Repositions the focus to the first error in the current view |
ShowDigitalSignaturesDialog | 108 | Displays the Digital Signatures dialog box |
ClearFontFormatting | 109 | Clears all font formatting of selected text |
SetFontFormattingHeading1 | 110 | Sets the font formatting of the selected text to Heading 1 |
SetFontFormattingHeading2 | 111 | Sets the font formatting of the selected text to Heading 2 |
SetFontFormattingHeading3 | 112 | Sets the font formatting of the selected text to Heading 3 |
SetFontFormattingHeading4 | 113 | Sets the font formatting of the selected text to Heading 4 |
SetFontFormattingHeading5 | 114 | Sets the font formatting of the selected text to Heading 5 |
SetFontFormattingHeading6 | 115 | Sets the font formatting of the selected text to Heading 6 |
SetFontFormattingNormal | 116 | Sets the font formatting of the selected text to normal |
DecreaseFontSizeBy2 | 117 | Decreases selected text font size by two points |
IncreaseFontSizeBy2 | 118 | Increases the font size by two points |
FindReplaceFindNext | 119 | Finds the next matching text. |
SetSelectedTextHighlightColor | 120 | Sets the highlight color of selected text |
SetSelectedTextFontColor | 121 | Sets the font color of selected text |
SetSelectedTextBackgroundColor | 122 | Sets the background color of selected text |
GetSelectedTextFontSize | 123 | Gets the font size of the selected text |
GetSelectedTextFont | 124 | Gets the font of the selected text |
GetSelectedTextFontColor | 125 | Gets the font color of the selected text |
GetSelectedTextHighlightColor | 126 | Gets the highlight color of the selected text |
GetSelectedTextBackgroundColor | 127 | Gets the background color of the selected text |
InsertTable | 128 | Inserts a table |
IgnoreMisspelledWord | 129 | Ignores the current misspelled word |
IgnoreAllOfMisspelledWord | 130 | Ignores all misspelled words |
AddWordToDictionary | 131 | Adds a word to the dictionary |
FindNextMisspelledWord | 132 | Finds the next misspelled word |
CorrectMisspelledWord | 133 | Corrects selected misspelled words |
CorrectAllOfMisspelledWord | 134 | Corrects all misspelled words |
DeleteMisspelledWord | 135 | Deletes selected misspelled words |
SetSpellingOptionCheckAsYouType | 136 | Sets the option to check spelling automatically |
GetSpellingSuggestionsCount | 137 | Gets a count of the spelling suggestions of the selected text |
GetSpellingSuggestion | 138 | Gets the spelling suggestion of the selected text |
GetCurrentMisspelledWord | 139 | Gets the current misspelled word |
GetSelectedRowHeight | 140 | Gets the row height of the selected row |
SetSelectedRowHeight | 141 | Sets the height of selected row(s) |
GetSelectedColumnWidth | 142 | Gets the column width of the selected cell |
SetSelectedColumnWidth | 143 | Sets the width of selected column(s) |
SelectNextRow | 144 | Selects the next row |
SelectPreviousRow | 145 | Selects the previous row |
SelectNextColumn | 146 | Selects the next column |
SelectPreviousColumn | 147 | Selects the previous column |
GetSelectedCellVerticalAlignment | 148 | Gets the vertical cell alignment of the selected cell |
GetSelectedCellTopPadding | 149 | Gets the top cell padding of the selected cell |
GetSelectedCellLeftPadding | 150 | Gets the left cell padding of the selected cell |
GetSelectedCellBottomPadding | 151 | Gets the bottom cell padding of the selected cell |
GetSelectedCellRightPadding | 152 | Gets the right cell padding of the selected cell |
SetSelectedCellPadding | 153 | Sets the padding of selected cell(s) |
SetSelectedCellAlignmentMiddle | 154 | Sets the selected cell(s) to middle alignment |
SetSelectedCellAlignmentTop | 155 | Sets the selected cell(s) to top alignment |
SetSelectedCellAlignmentBottom | 156 | Sets the selected cell(s) to bottom alignment |
SplitCells | 157 | Splits the selected cell |
GetHyperlinkDisplayText | 158 | Gets the display text of a hyperlink |
GetHyperlinkAddress | 159 | Gets the address of a hyperlink |
RemoveHyperlink | 160 | Removes a hyperlink |
SetPictureInlineWithText | 161 | Sets the text wrapping of a picture to be inline with surrounding text |
SetPictureToLeftOfText | 162 | Sets the text wrapping of a picture to be left of surrounding text |
SetPictureToRightOfText | 163 | Sets the text wrapping of a picture to be right of surrounding text |
SetPictureHeight | 164 | Sets the height of a picture |
SetPictureWidth | 165 | Sets the width of a picture |
SetPictureAlternativeText | 166 | Sets the alternative text (alt text) of a picture |
GetPictureHeight | 167 | Gets the height of a picture |
GetPictureWidth | 168 | Gets the width of a picture |
GetPictureAlternativeText | 169 | Gets the alternative text (alt text) of a picture |
GetPictureTextWrapping | 170 | Gets the text wrapping value of a picture |
GetFindReplaceState | 171 | Gets the state of the find or replace operation |
FormatPainterCopyFormattingPersistent | 172 | Copies formatting of selected items to the Format Painter in double-click mode (multiple-selection) |
ShowExportToPDFXPSDialog | 173 | Displays the Publish as PDF or XPS dialog box |
IsFormDirectionRightToLeft | 174 | Gets whether selected text is formatted right to left |
IsFormDirectionLeftToRight | 175 | Gets whether selected text is formatted left to right |
PasteKeepSourceFormatting | 176 | Pastes copied text with the same formatting as source it was copied from. |
PasteMatchDestination | 177 | Pastes copied text matching its formatting to the destination where it is inserted. |
PasteAsText | 178 | Pastes copied text as unformatted text. |
SetParaSpaceBefore | 179 | |
SetParaSpaceAfter | 180 |