CommandIds Enum

Definition

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

AddWordToDictionary 131

Adds a word to the dictionary

AlignTextCenter 33

Aligns selected text in the center

AlignTextJustify 35

Justifies selected text

AlignTextLeft 32

Aligns selected text on the left

AlignTextRight 34

Aligns selected text on the right

ClearAutoSpace 85

Removes all auto spacing of selected text

ClearBulletedList 59

Removes bullets from selected items that have been bulleted

ClearFontFormatting 109

Clears all font formatting of selected text

ClearNumberedList 58

Removes numbers from selected items that have been numbered

Close 4

Closes the application

Copy 53

Copies selected items

CorrectAllOfMisspelledWord 134

Corrects all misspelled words

CorrectMisspelledWord 133

Corrects selected misspelled words

Cut 52

Cuts selected items

DecreaseFontSizeBy2 117

Decreases selected text font size by two points

DecreaseIndent 60

Decreases indents of selected lines

DeleteMisspelledWord 135

Deletes selected misspelled words

DeleteSelectedColumns 68

Deletes selected columns

DeleteSelectedRows 67

Deletes selected row

DeleteSelectedTable 66

Deletes selected tables

DrawTable 50

Draws a table

EraseTable 51

Erases a table and retains table contents

FindNextMisspelledWord 132

Finds the next misspelled word

FindReplaceFindNext 119

Finds the next matching text.

FormatPainterApplyFormatting 23

Applies formatting from the Format Painter

FormatPainterApplyFormattingPersistent 25

Applies formatting from the Format Painter in double-click mode (multiple-selection)

FormatPainterCopyFormatting 24

Copies formatting of selected items to the Format Painter

FormatPainterCopyFormattingPersistent 172

Copies formatting of selected items to the Format Painter in double-click mode (multiple-selection)

GetCurrentMisspelledWord 139

Gets the current misspelled word

GetDefaultFontColor 98

Gets the default font color

GetDefaultHighlightColor 97

Gets the default highlight color

GetFindReplaceOptionSearchDirection 94

Gets the direction in which a find or replace operation will search

GetFindReplaceState 171

Gets the state of the find or replace operation

GetFindString 87

Gets the string that will be used in a find operation

GetFontAvailableByIndex 102

Gets the available fonts by index

GetFontsAvailableCount 101

Gets the count of available fonts

GetFontSizeAvailableByIndex 104

Gets the available font sizes by index

GetFontSizesAvailableCount 103

Gets a count of the available font sizes

GetHyperlinkAddress 159

Gets the address of a hyperlink

GetHyperlinkDisplayText 158

Gets the display text of a hyperlink

GetPictureAlternativeText 169

Gets the alternative text (alt text) of a picture

GetPictureHeight 167

Gets the height of a picture

GetPictureTextWrapping 170

Gets the text wrapping value of a picture

GetPictureWidth 168

Gets the width of a picture

GetReplaceWithString 89

Gets the string that will be used in a replace operation

GetSelectedCellBottomPadding 151

Gets the bottom cell padding of the selected cell

GetSelectedCellLeftPadding 150

Gets the left cell padding of the selected cell

GetSelectedCellRightPadding 152

Gets the right cell padding of the selected cell

GetSelectedCellTopPadding 149

Gets the top cell padding of the selected cell

GetSelectedCellVerticalAlignment 148

Gets the vertical cell alignment of the selected cell

GetSelectedColumnWidth 142

Gets the column width of the selected cell

GetSelectedRowHeight 140

Gets the row height of the selected row

GetSelectedTextBackgroundColor 127

Gets the background color of the selected text

GetSelectedTextFont 124

Gets the font of the selected text

GetSelectedTextFontColor 125

Gets the font color of the selected text

GetSelectedTextFontSize 123

Gets the font size of the selected text

GetSelectedTextHighlightColor 126

Gets the highlight color of the selected text

GetSpellingSuggestion 138

Gets the spelling suggestion of the selected text

GetSpellingSuggestionsCount 137

Gets a count of the spelling suggestions of the selected text

GetSubmitButtonCaption 9

Gets the caption of the submit button

GetTableDirection 77

Gets the direction of a table

GetTableHorizontalAlignment 75

Gets the horizontal alignment of a table

GotoFirstErrorOnView 107

Repositions the focus to the first error in the current view

GotoNextErrorOnView 10

Repositions the focus to the next error in the current view

IgnoreAllOfMisspelledWord 130

Ignores all misspelled words

IgnoreMisspelledWord 129

Ignores the current misspelled word

IncreaseFontSizeBy2 118

Increases the font size by two points

IncreaseIndent 61

Increases the indentation of selected lines

InsertBulletedList 22

Inserts a bulleted list on selected text using the default bullet

InsertBulletedListEmptyCircle 48

Inserts a bulleted list on selected text using the empty circle bullet

InsertBulletedListSolidCircle 47

Inserts a bulleted list on selected text using the solid circle bullet

InsertBulletedListSolidSquare 49

Inserts a bulleted list on selected text using the solid square bullet

InsertColumnLeft 64

Inserts a column to the left of the selected column

InsertColumnRight 65

Inserts a column to the right of the selected column

InsertHorizontalLine 78

Inserts a horizontal line

81

Inserts a hyperlink

InsertImage 80

Inserts an image

InsertNumberedList 21

Inserts a numbered list on selected text using the default numbering

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

InsertNumberedListDecimal 42

Inserts a numbered list on selected text using decimals

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

InsertPictureFromFile 13

Inserts a picture from a file

InsertRowAbove 62

Inserts a row above the selected row

InsertRowBelow 63

Inserts a row below the selected row

InsertTable 128

Inserts a table

IsFormDirectionLeftToRight 175

Gets whether selected text is formatted left to right

IsFormDirectionRightToLeft 174

Gets whether selected text is formatted right to left

MergeCells 73

Merges selected cells

Paste 54

Pastes items from the clipboard

PasteAsText 178

Pastes copied text as unformatted text.

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.

Redo 57

Performs a redo operation

160

Removes a hyperlink

Replace 95

Performs a replace operation

ReplaceAll 96

Performs a replace all operation

Save 5

Performs a save operation

SaveAs 6

Performas a save as operation

SelectAll 55

Selects all items in the view

SelectCell 72

Selects the current cell

SelectColumns 71

Selects the current column

82

Selects the current hyperlink

SelectNextColumn 146

Selects the next column

SelectNextRow 144

Selects the next row

SelectPreviousColumn 147

Selects the previous column

SelectPreviousRow 145

Selects the previous row

SelectRows 70

Selects all rows

SelectTable 69

Selects the table

Set15LineSpacing 40

Sets paragraph spacing to 1.5 lines

SetAutoSpaceBetweenAsianAndLatinText 83

Sets the automatic spacing between Asian and Latin text

SetAutoSpaceBetweenAsianTextAndNumbers 84

Sets the automatic spacing between Asian and Latin numbers

SetDoubleLineSpacing 41

Sets line spacing to double

SetFindReplaceOptionMatchCase 91

Sets the option to match case on find or replace operations

SetFindReplaceOptionSearchDirection 93

Sets the search direction on find or replace operations

SetFindReplaceOptionUseWildcards 92

Sets the option to use wildcards on find or replace operations

SetFindReplaceOptionWholeWordOnly 90

Sets the option to match entire words only on find or replace operations

SetFindString 86

Sets the string to use in a find operation

SetFontFormattingBold 26

Sets the font formatting of the selected text to bold

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

SetFontFormattingItalic 27

Sets the font formatting of the selected text to italic

SetFontFormattingNormal 116

Sets the font formatting of the selected text to normal

SetFontFormattingStrikethrough 31

Sets the font formatting of the selected text to strikethrough

SetFontFormattingSubscript 30

Sets the font formatting of the selected text to subscript

SetFontFormattingSuperscript 29

Sets the font formatting of the selected text to superscript

SetFontFormattingUnderline 28

Sets the font formatting of the selected text to underline

SetParaSpaceAfter 180
SetParaSpaceBefore 179
SetPictureAlternativeText 166

Sets the alternative text (alt text) of a picture

SetPictureHeight 164

Sets the height of a picture

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

SetPictureWidth 165

Sets the width of a picture

SetReplaceWithString 88

Sets the string used in a replace operation

SetSelectedCellAlignmentBottom 156

Sets the selected cell(s) to bottom alignment

SetSelectedCellAlignmentMiddle 154

Sets the selected cell(s) to middle alignment

SetSelectedCellAlignmentTop 155

Sets the selected cell(s) to top alignment

SetSelectedCellPadding 153

Sets the padding of selected cell(s)

SetSelectedColumnWidth 143

Sets the width of selected column(s)

SetSelectedRowHeight 141

Sets the height of selected row(s)

SetSelectedTextBackgroundColor 122

Sets the background color of selected text

SetSelectedTextFont 106

Sets the font of selected text

SetSelectedTextFontColor 121

Sets the font color of selected text

SetSelectedTextFontSize 105

Sets the font size of selected text

SetSelectedTextHighlightColor 120

Sets the highlight color of selected text

SetSingleLineSpacing 39

Sets line spacing to single

SetSpellingOptionCheckAsYouType 136

Sets the option to check spelling automatically

SetTableDirection 76

Sets the table direction

SetTableHorizontalAlignment 74

Sets the table horizontal alignment

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

ShowBordersShadingDialog 18

Displays the Borders and Shading dialog box

ShowCurrentErrorMessage 11

Displays the current error message

ShowDigitalSignaturesDialog 108

Displays the Digital Signatures dialog box

ShowEditHyperlinkDialog 20

Displays the Edit Hyperlink dialog box

ShowExportToExcelDialog 7

Displays the Export to Excel Wizard dialog box

ShowExportToPDFXPSDialog 173

Displays the Publish as PDF or XPS dialog box

ShowExportToWebDialog 2

Displays the Export to Web dialog box

ShowFormatPictureDialog 17

Displays the Format Picture dialog box

ShowImportFormDataDialog 1

Displays the Merge Forms dialog box

ShowInsertHyperlinkDialog 19

Displays the Insert Hyperlink dialog box

ShowInsertSymbolDialog 79

Displays the Insert Symbol dialog box

ShowInsertTableDialog 14

Displays the Insert Table dialog box

ShowMergeFormDialog 0

Displays the Merge Forms dialog box

ShowSetLanguageDialog 12

Displays the Language dialog box

ShowSetSelectedTextFontColorDialog 99

Displays the Color dialog box for setting font color

ShowSetSelectedTextHighlightColorDialog 100

Displays the Color dialog box for setting highlight color

ShowSplitCellsDialog 15

Displays the Split Cells dialog box

ShowTablePropertiesDialog 16

Displays the Table Properties dialog box

SplitCells 157

Splits the selected cell

Submit 8

Submits the form

Undo 56

Performs an undo operation

WorkOffline 3

Sets the application to work offline

Applies to