CommandIds Enum
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
CommandIds 枚举用于将命令发送到 InfoPathEditor 对象。
public enum class CommandIds
[System.Runtime.InteropServices.Guid("FAC23FC1-6D62-4625-BB6D-551CE08057BB")]
public enum CommandIds
type CommandIds =
Public Enum CommandIds
- 继承
-
CommandIds
- 属性
字段
| 名称 | 值 | 说明 |
|---|---|---|
| ShowMergeFormDialog | 0 | 显示“合并Forms”对话框 |
| ShowImportFormDataDialog | 1 | 显示“合并Forms”对话框 |
| ShowExportToWebDialog | 2 | 显示“导出到 Web”对话框 |
| WorkOffline | 3 | 将应用程序设置为脱机工作 |
| Close | 4 | 关闭应用程序 |
| Save | 5 | 执行保存操作 |
| SaveAs | 6 | 执行另存为操作 |
| ShowExportToExcelDialog | 7 | 显示“导出到 Excel 向导”对话框 |
| Submit | 8 | 提交表单 |
| GetSubmitButtonCaption | 9 | 获取提交按钮的描述文字 |
| GotoNextErrorOnView | 10 | 将焦点重新定位到当前视图中的下一个错误 |
| ShowCurrentErrorMessage | 11 | 显示当前错误消息 |
| ShowSetLanguageDialog | 12 | 显示“语言”对话框 |
| InsertPictureFromFile | 13 | 插入文件中的图片 |
| ShowInsertTableDialog | 14 | 显示“插入表”对话框 |
| ShowSplitCellsDialog | 15 | 显示“拆分单元格”对话框 |
| ShowTablePropertiesDialog | 16 | 显示“表属性”对话框 |
| ShowFormatPictureDialog | 17 | 显示“设置图片格式”对话框 |
| ShowBordersShadingDialog | 18 | 显示“边框和底纹”对话框 |
| ShowInsertHyperlinkDialog | 19 | 显示“插入超链接”对话框 |
| ShowEditHyperlinkDialog | 20 | 显示“编辑超链接”对话框 |
| InsertNumberedList | 21 | 使用默认编号在所选文本上插入编号列表 |
| InsertBulletedList | 22 | 使用默认项目符号在所选文本上插入项目符号列表 |
| FormatPainterApplyFormatting | 23 | 从格式刷应用格式设置 |
| FormatPainterCopyFormatting | 24 | 将所选项目的格式复制到格式刷 |
| FormatPainterApplyFormattingPersistent | 25 | 在双击模式下应用格式刷 (多选) |
| SetFontFormattingBold | 26 | 将所选文本的字体格式设置为粗体 |
| SetFontFormattingItalic | 27 | 将所选文本的字体格式设置为斜体 |
| SetFontFormattingUnderline | 28 | 将所选文本的字体格式设置为下划线 |
| SetFontFormattingSuperscript | 29 | 将所选文本的字体格式设置为上标 |
| SetFontFormattingSubscript | 30 | 将所选文本的字体格式设置为下标 |
| SetFontFormattingStrikethrough | 31 | 将所选文本的字体格式设置为删除线 |
| AlignTextLeft | 32 | 在左侧对齐所选文本 |
| AlignTextCenter | 33 | 在中心对齐所选文本 |
| AlignTextRight | 34 | 在右侧对齐所选文本 |
| AlignTextJustify | 35 | 对齐所选文本 |
| SetTextDirectionDefault | 36 | 将文本方向设置为默认文本方向 |
| SetTextDirectionLeftToRight | 37 | 将文本方向设置为从左到右 |
| SetTextDirectionRightToLeft | 38 | 将文本方向设置为从右到左 |
| SetSingleLineSpacing | 39 | 将行距设置为单行距 |
| Set15LineSpacing | 40 | 将段落间距设置为 1.5 行 |
| SetDoubleLineSpacing | 41 | 将行距设置为双倍 |
| InsertNumberedListDecimal | 42 | 使用小数在所选文本上插入编号列表 |
| InsertNumberedListAlphaLowercase | 43 | 使用小写字母在所选文本上插入编号列表 |
| InsertNumberedListAlphaUppercase | 44 | 使用大写字母在所选文本上插入编号列表 |
| InsertNumberedListRomanLowercase | 45 | 使用小写罗马数字在所选文本上插入编号列表 |
| InsertNumberedListRomanUppercase | 46 | 使用大写罗马数字在所选文本上插入编号列表 |
| InsertBulletedListSolidCircle | 47 | 使用实心圆项目符号在所选文本上插入项目符号列表 |
| InsertBulletedListEmptyCircle | 48 | 使用空圆圈项目符号在所选文本上插入项目符号列表 |
| InsertBulletedListSolidSquare | 49 | 使用实心方形项目符号在所选文本上插入项目符号列表 |
| DrawTable | 50 | 绘制表格 |
| EraseTable | 51 | 清除表并保留表内容 |
| Cut | 52 | 剪切所选项目 |
| Copy | 53 | 复制所选项 |
| Paste | 54 | 粘贴剪贴板中的项目 |
| SelectAll | 55 | 选择视图中的所有项 |
| Undo | 56 | 执行撤消操作 |
| Redo | 57 | 执行重做操作 |
| ClearNumberedList | 58 | 从已编号的选定项中删除编号 |
| ClearBulletedList | 59 | 从已添加项目符号的选定项目中删除项目符号 |
| DecreaseIndent | 60 | 减少所选行的缩进 |
| IncreaseIndent | 61 | 增加所选行的缩进 |
| InsertRowAbove | 62 | 在所选行上方插入行 |
| InsertRowBelow | 63 | 在所选行下方插入一行 |
| InsertColumnLeft | 64 | 在所选列的左侧插入列 |
| InsertColumnRight | 65 | 在所选列的右侧插入列 |
| DeleteSelectedTable | 66 | 删除所选表 |
| DeleteSelectedRows | 67 | 删除所选行 |
| DeleteSelectedColumns | 68 | 删除所选列 |
| SelectTable | 69 | 选择表 |
| SelectRows | 70 | 选择所有行 |
| SelectColumns | 71 | 选择当前列 |
| SelectCell | 72 | 选择当前单元格 |
| MergeCells | 73 | 合并所选单元格 |
| SetTableHorizontalAlignment | 74 | 设置表格的水平对齐方式 |
| GetTableHorizontalAlignment | 75 | 获取表的水平对齐方式 |
| SetTableDirection | 76 | 设置表格方向 |
| GetTableDirection | 77 | 获取表的方向 |
| InsertHorizontalLine | 78 | 插入水平线 |
| ShowInsertSymbolDialog | 79 | 显示“插入符号”对话框 |
| InsertImage | 80 | 插入图像 |
| InsertHyperlink | 81 | 插入超链接 |
| SelectHyperlink | 82 | 选择当前超链接 |
| SetAutoSpaceBetweenAsianAndLatinText | 83 | 设置亚洲文本和拉丁文本之间的自动间距 |
| SetAutoSpaceBetweenAsianTextAndNumbers | 84 | 设置亚洲数字和拉丁语数字之间的自动间距 |
| ClearAutoSpace | 85 | 删除所选文本的所有自动间距 |
| SetFindString | 86 | 设置在查找操作中使用的字符串 |
| GetFindString | 87 | 获取将在查找操作中使用的字符串 |
| SetReplaceWithString | 88 | 设置替换操作中使用的字符串 |
| GetReplaceWithString | 89 | 获取将在替换操作中使用的字符串 |
| SetFindReplaceOptionWholeWordOnly | 90 | 设置仅在查找或替换操作上匹配整个字词的选项 |
| SetFindReplaceOptionMatchCase | 91 | 设置在查找或替换操作时匹配大小写的选项 |
| SetFindReplaceOptionUseWildcards | 92 | 设置在查找或替换操作上使用通配符的选项 |
| SetFindReplaceOptionSearchDirection | 93 | 设置查找或替换操作的搜索方向 |
| GetFindReplaceOptionSearchDirection | 94 | 获取查找或替换操作将搜索的方向 |
| Replace | 95 | 执行替换操作 |
| ReplaceAll | 96 | 执行全部替换操作 |
| GetDefaultHighlightColor | 97 | 获取默认突出显示颜色 |
| GetDefaultFontColor | 98 | 获取默认字体颜色 |
| ShowSetSelectedTextFontColorDialog | 99 | 显示用于设置字体颜色的“颜色”对话框 |
| ShowSetSelectedTextHighlightColorDialog | 100 | 显示用于设置突出显示颜色的“颜色”对话框 |
| GetFontsAvailableCount | 101 | 获取可用字体的计数 |
| GetFontAvailableByIndex | 102 | 按索引获取可用字体 |
| GetFontSizesAvailableCount | 103 | 获取可用字号的计数 |
| GetFontSizeAvailableByIndex | 104 | 按索引获取可用字体大小 |
| SetSelectedTextFontSize | 105 | 设置所选文本的字号 |
| SetSelectedTextFont | 106 | 设置所选文本的字体 |
| GotoFirstErrorOnView | 107 | 将焦点重新定位到当前视图中的第一个错误 |
| ShowDigitalSignaturesDialog | 108 | 显示“数字签名”对话框 |
| ClearFontFormatting | 109 | 清除所选文本的所有字体格式 |
| SetFontFormattingHeading1 | 110 | 将所选文本的字体格式设置为“标题 1” |
| SetFontFormattingHeading2 | 111 | 将所选文本的字体格式设置为“标题 2” |
| SetFontFormattingHeading3 | 112 | 将所选文本的字体格式设置为“标题 3” |
| SetFontFormattingHeading4 | 113 | 将所选文本的字体格式设置为“标题 4” |
| SetFontFormattingHeading5 | 114 | 将所选文本的字体格式设置为“标题 5” |
| SetFontFormattingHeading6 | 115 | 将所选文本的字体格式设置为“标题 6” |
| SetFontFormattingNormal | 116 | 将所选文本的字体格式设置为正常 |
| DecreaseFontSizeBy2 | 117 | 将所选文本字体大小减少 2 磅 |
| IncreaseFontSizeBy2 | 118 | 将字号增加 2 磅 |
| FindReplaceFindNext | 119 | 查找下一个匹配文本。 |
| SetSelectedTextHighlightColor | 120 | 设置所选文本的突出显示颜色 |
| SetSelectedTextFontColor | 121 | 设置所选文本的字体颜色 |
| SetSelectedTextBackgroundColor | 122 | 设置所选文本的背景色 |
| GetSelectedTextFontSize | 123 | 获取所选文本的字号 |
| GetSelectedTextFont | 124 | 获取所选文本的字体 |
| GetSelectedTextFontColor | 125 | 获取所选文本的字体颜色 |
| GetSelectedTextHighlightColor | 126 | 获取所选文本的突出显示颜色 |
| GetSelectedTextBackgroundColor | 127 | 获取所选文本的背景色 |
| InsertTable | 128 | 插入表 |
| IgnoreMisspelledWord | 129 | 忽略当前拼写错误的单词 |
| IgnoreAllOfMisspelledWord | 130 | 忽略所有拼写错误的字词 |
| AddWordToDictionary | 131 | 将单词添加到字典 |
| FindNextMisspelledWord | 132 | 查找下一个拼写错误的单词 |
| CorrectMisspelledWord | 133 | 更正所选拼写错误的字词 |
| CorrectAllOfMisspelledWord | 134 | 更正所有拼写错误的单词 |
| DeleteMisspelledWord | 135 | 删除所选拼写错误的字词 |
| SetSpellingOptionCheckAsYouType | 136 | 设置自动检查拼写选项 |
| GetSpellingSuggestionsCount | 137 | 获取所选文本的拼写建议计数 |
| GetSpellingSuggestion | 138 | 获取所选文本的拼写建议 |
| GetCurrentMisspelledWord | 139 | 获取当前拼写错误的单词 |
| GetSelectedRowHeight | 140 | 获取所选行的行高 |
| SetSelectedRowHeight | 141 | 设置所选行 () 的高度 |
| GetSelectedColumnWidth | 142 | 获取所选单元格的列宽 |
| SetSelectedColumnWidth | 143 | 设置所选列 () 的宽度 |
| SelectNextRow | 144 | 选择下一行 |
| SelectPreviousRow | 145 | 选择上一行 |
| SelectNextColumn | 146 | 选择下一列 |
| SelectPreviousColumn | 147 | 选择上一列 |
| GetSelectedCellVerticalAlignment | 148 | 获取所选单元格的垂直单元格对齐方式 |
| GetSelectedCellTopPadding | 149 | 获取所选单元格的顶部单元格填充 |
| GetSelectedCellLeftPadding | 150 | 获取所选单元格的左侧单元格填充 |
| GetSelectedCellBottomPadding | 151 | 获取所选单元格的底部单元格填充 |
| GetSelectedCellRightPadding | 152 | 获取所选单元格的正确单元格填充 |
| SetSelectedCellPadding | 153 | 设置所选单元格 () 的填充 |
| SetSelectedCellAlignmentMiddle | 154 | 将所选单元格 () 设置为中间对齐方式 |
| SetSelectedCellAlignmentTop | 155 | 将所选单元格 () 设置为顶部对齐方式 |
| SetSelectedCellAlignmentBottom | 156 | 将所选单元格 () 设置为底部对齐方式 |
| SplitCells | 157 | 拆分所选单元格 |
| GetHyperlinkDisplayText | 158 | 获取超链接的显示文本 |
| GetHyperlinkAddress | 159 | 获取超链接的地址 |
| RemoveHyperlink | 160 | 删除超链接 |
| SetPictureInlineWithText | 161 | 将图片的文本环绕设置为与周围文本内联 |
| SetPictureToLeftOfText | 162 | 设置要保留周围文本的图片的文本环绕 |
| SetPictureToRightOfText | 163 | 将图片的文本环绕设置为周围文本的右侧 |
| SetPictureHeight | 164 | 设置图片的高度 |
| SetPictureWidth | 165 | 设置图片的宽度 |
| SetPictureAlternativeText | 166 | 设置图片的替换文字 (替换文字) |
| GetPictureHeight | 167 | 获取图片的高度 |
| GetPictureWidth | 168 | 获取图片的宽度 |
| GetPictureAlternativeText | 169 | 获取图片的替换文字 (替换文字) |
| GetPictureTextWrapping | 170 | 获取图片的文本换行值 |
| GetFindReplaceState | 171 | 获取查找或替换操作的状态 |
| FormatPainterCopyFormattingPersistent | 172 | 以双击模式将所选项目的格式复制到格式刷 (多选) |
| ShowExportToPDFXPSDialog | 173 | 显示“发布为 PDF 或 XPS”对话框 |
| IsFormDirectionRightToLeft | 174 | 获取所选文本的格式是否从右到左 |
| IsFormDirectionLeftToRight | 175 | 获取所选文本的格式是否从左到右 |
| PasteKeepSourceFormatting | 176 | 粘贴复制的文本,其格式与复制源的格式相同。 |
| PasteMatchDestination | 177 | 粘贴与其格式匹配的复制文本,并将其粘贴到插入目标。 |
| PasteAsText | 178 | 将复制的文本粘贴为无格式文本。 |
| SetParaSpaceBefore | 179 | |
| SetParaSpaceAfter | 180 |