Word.RequestContext class
RequestContext オブジェクトは、Word アプリケーションへの要求を容易にします。 Office アドインと Word アプリケーションは 2 つの異なるプロセスで実行されるため、アドインから Word オブジェクト モデルにアクセスするには要求コンテキストが必要です。
注釈
使用元
- Word: 実行
- Word.注釈: context
- Word.AnnotationCollection: context
- Word.アプリケーション: context
- Word.参考文献: コンテキスト
- Word.本文: context
- Word.ブックマーク: context
- Word.BookmarkCollection: context
- Word.罫線: context
- Word.BorderCollection: context
- Word.BorderUniversal: context
- Word.BorderUniversalCollection: context
- Word.中断: コンテキスト
- Word.BreakCollection: context
- Word.BuildingBlock: context
- Word.BuildingBlockCategory: context
- Word.BuildingBlockCategoryCollection: context
- Word.BuildingBlockCollection: context
- Word.BuildingBlockEntryCollection: context
- Word.BuildingBlockGalleryContentControl: context
- Word.BuildingBlockTypeItem: context
- Word.BuildingBlockTypeItemCollection: context
- Word.キャンバス: context
- Word.CheckboxContentControl: context
- Word.共著者: context
- Word.CoauthorCollection: context
- Word.コオーサリング: コンテキスト
- Word.CoauthoringLock: context
- Word.CoauthoringLockCollection: context
- Word.CoauthoringUpdate: context
- Word.CoauthoringUpdateCollection: context
- Word.ColorFormat: context
- Word.ComboBoxContentControl: context
- Word.コメント: コンテキスト
- Word.CommentCollection: context
- Word.CommentContentRange: context
- Word.CommentReply: context
- Word.CommentReplyCollection: context
- Word.ConditionalStyle: context
- Word.競合:コンテキスト
- Word.ConflictCollection: context
- Word.ContentControl: context
- Word.ContentControlCollection: context
- Word.ContentControlListItem: context
- Word.ContentControlListItemCollection: context
- Word.CritiqueAnnotation: context
- Word.CustomProperty: context
- Word.CustomPropertyCollection: context
- Word.CustomXmlNode: context
- Word.CustomXmlNodeCollection: context
- Word.CustomXmlPart: context
- Word.CustomXmlPartCollection: context
- Word.CustomXmlPartScopedCollection: context
- Word.CustomXmlPrefixMapping: context
- Word.CustomXmlPrefixMappingCollection: context
- Word.CustomXmlSchema: context
- Word.CustomXmlSchemaCollection: context
- Word.CustomXmlValidationError: context
- Word.CustomXmlValidationErrorCollection: context
- Word.DatePickerContentControl: context
- Word.ドキュメント: context
- Word.DocumentCreated: context
- Word.DocumentLibraryVersion: context
- Word.DocumentLibraryVersionCollection: context
- Word.DocumentProperties: context
- Word.DropCap: context
- Word.DropDownListContentControl: context
- Word.エディター: context
- Word.EditorCollection: context
- Word.フィールド: context
- Word.FieldCollection: context
- Word.FillFormat: context
- Word.フォント: context
- Word.FontNameCollection: context
- Word.フレーム: context
- Word.FrameCollection: context
- Word.GlowFormat: context
- Word.GroupContentControl: context
- Word.HeadingStyle: context
- Word.HeadingStyleCollection: context
- Word.HtmlDivision: context
- Word.HtmlDivisionCollection: context
- Word.ハイパーリンク: コンテキスト
- Word.HyperlinkCollection: context
- Word.インデックス: context
- Word.IndexCollection: context
- Word.InlinePicture: context
- Word.InlinePictureCollection: context
- Word.LineFormat: context
- Word.LineNumbering: context
- Word.LinkFormat: context
- Word.リスト: context
- Word.ListCollection: context
- Word.ListFormat: context
- Word.ListItem: context
- Word.ListLevel: context
- Word.ListLevelCollection: context
- Word.ListTemplate: context
- Word.ListTemplateCollection: context
- Word.ListTemplateGallery: context
- Word.ListTemplateGalleryCollection: context
- Word.NoteItem: context
- Word.NoteItemCollection: context
- Word.OleFormat: context
- Word.ページ: context
- Word.PageCollection: context
- Word.PageSetup: context
- Word.ウィンドウ: コンテキスト
- Word.PaneCollection: context
- Word.段落:コンテキスト
- Word.ParagraphCollection: context
- Word.ParagraphFormat: context
- Word.PictureContentControl: context
- Word.範囲: context
- Word.RangeCollection: context
- Word.RangeScopedCollection: context
- Word.ReadabilityStatistic: context
- Word.ReadabilityStatisticCollection: context
- Word.ReflectionFormat: context
- Word.RepeatingSectionContentControl: context
- Word.RepeatingSectionItem: context
- Word.RepeatingSectionItemCollection: context
- Word.レビューアー: context
- Word.ReviewerCollection: context
- Word.Revision: context
- Word.RevisionCollection: context
- Word.RevisionsFilter: context
- Word.SearchOptions: context
- Word.セクション: context
- Word.SectionCollection: context
- Word.選択:context
- Word.SensitivityLabel: context
- Word.SensitivityLabelAbacAttribute: context
- Word.SensitivityLabelAbacAttributeValue: context
- Word.SensitivityLabelDetails: context
- Word.SensitivityLabelDetailsCollection: context
- Word.SensitivityLabelsCatalog: context
- Word.設定: context
- Word.SettingCollection: context
- Word.網掛け: コンテキスト
- Word.ShadingUniversal: context
- Word.ShadowFormat: context
- Word.形状: コンテキスト
- Word.ShapeCollection: context
- Word.ShapeFill: context
- Word.ShapeGroup: context
- Word.ShapeTextWrap: context
- Word.ソース: context
- Word.SourceCollection: context
- Word.スタイル: context
- Word.StyleCollection: context
- Word.TabStop: context
- Word.TabStopCollection: context
- Word.テーブル: context
- Word.TableBorder: context
- Word.TableCell: context
- Word.TableCellCollection: context
- Word.TableCollection: context
- Word.TableColumn: context
- Word.TableColumnCollection: context
- Word.TableOfAuthorities: context
- Word.TableOfAuthoritiesCategory: context
- Word.TableOfAuthoritiesCategoryCollection: context
- Word.TableOfAuthoritiesCollection: context
- Word.TableOfContents: context
- Word.TableOfContentsCollection: context
- Word.TableOfFigures: context
- Word.TableOfFiguresCollection: context
- Word.TableRow: context
- Word.TableRowCollection: context
- Word.TableStyle: context
- Word.テンプレート: context
- Word.TemplateCollection: context
- Word.TextColumn: context
- Word.TextColumnCollection: context
- Word.TextFrame: context
- Word.ThreeDimensionalFormat: context
- Word.TrackedChange: context
- Word.TrackedChangeCollection: context
- Word.表示: context
- Word.WebSettings: context
- Word.Window: context
- Word.WindowCollection: context
- Word.XmlMapping: context
- Word.XmlNode: context
- Word.XmlNodeCollection: context
例
// *.run methods automatically create an OfficeExtension.ClientRequestContext
// object to work with the Office file.
await Word.run(async (context: Word.RequestContext) => {
const document = context.document;
// Interact with the Word document...
});
コンストラクター
| (constructor)(url) |
|
コンストラクターの詳細
(constructor)(url)
RequestContext クラスの新しいインスタンスを作成します
constructor(url?: string);
パラメーター
- url
-
string