Word.RequestContext class
Das RequestContext-Objekt erleichtert Anforderungen an die Word Anwendung. Da das Office-Add-In und die Word-Anwendung in zwei verschiedenen Prozessen ausgeführt werden, ist der Anforderungskontext erforderlich, um zugriff auf das Word-Objektmodell aus dem Add-In zu erhalten.
Hinweise
Verwendet von
- Word: Ausführen
- Word. Anmerkung: Kontext
- Word. AnnotationCollection: context
- Word. Anwendung: Kontext
- Word. Literaturverzeichnis: Kontext
- Word. Text: Kontext
- Word. Lesezeichen: Kontext
- Word. BookmarkCollection: kontext
- Word. Rahmen: Kontext
- Word. BorderCollection: kontext
- Word. BorderUniversal: kontext
- Word. BorderUniversalCollection: Kontext
- Word. Unterbrechung: Kontext
- Word. BreakCollection: Kontext
- Word. BuildingBlock: kontext
- Word. BuildingBlockCategory: context
- Word. BuildingBlockCategoryCollection: kontext
- Word. BuildingBlockCollection: Kontext
- Word. BuildingBlockEntryCollection: kontext
- Word. BuildingBlockGalleryContentControl: context
- Word. BuildingBlockTypeItem: context
- Word. BuildingBlockTypeItemCollection: context
- Word. Canvas: Kontext
- Word. CheckboxContentControl: Kontext
- Word. Mitverfasser: Kontext
- Word. CoauthorCollection: context
- Word.Kollaboration: Kontext
- Word. CoauthoringLock: context
- Word. CoauthoringLockCollection: kontext
- Word. CoauthoringUpdate: kontext
- Word. CoauthoringUpdateCollection: kontext
- Word. ColorFormat: context
- Word. ComboBoxContentControl: kontext
- Word. Kommentar: kontext
- Word. CommentCollection: kontext
- Word. CommentContentRange: context
- Word. CommentReply: Kontext
- Word. CommentReplyCollection: Kontext
- Word. ConditionalStyle: kontext
- Word. Konflikt: Kontext
- Word. ConflictCollection: kontext
- Word. ContentControl: kontext
- Word. ContentControlCollection: Kontext
- Word. ContentControlListItem: context
- Word. ContentControlListItemCollection: context
- Word. CritiqueAnnotation: kontext
- Word. CustomProperty: kontext
- Word. CustomPropertyCollection: kontext
- Word. CustomXmlNode: Kontext
- Word. CustomXmlNodeCollection: kontext
- Word. CustomXmlPart: kontext
- Word. CustomXmlPartCollection: kontext
- Word. CustomXmlPartScopedCollection: kontext
- Word. CustomXmlPrefixMapping: kontext
- Word. CustomXmlPrefixMappingCollection: context
- Word. CustomXmlSchema: Kontext
- Word. CustomXmlSchemaCollection: kontext
- Word. CustomXmlValidationError: context
- Word. CustomXmlValidationErrorCollection: kontext
- Word. DatePickerContentControl: kontext
- Word. Dokument: Kontext
- Word. DocumentCreated: context
- Word. DocumentLibraryVersion: kontext
- Word. DocumentLibraryVersionCollection: kontext
- Word. DocumentProperties: kontext
- Word. DropCap: Kontext
- Word. DropDownListContentControl: context
- Word. Editor: kontext
- Word. EditorCollection: Kontext
- Word. Feld: Kontext
- Word. FieldCollection: kontext
- Word. FillFormat: context
- Word. Schriftart: context
- Word. FontNameCollection: kontext
- Word. Frame: Kontext
- Word. FrameCollection: Kontext
- Word. GlowFormat: kontext
- Word. GroupContentControl: kontext
- Word. HeadingStyle: kontext
- Word. HeadingStyleCollection: kontext
- Word. HtmlDivision: kontext
- Word. HtmlDivisionCollection: kontext
- Word. Link: kontext
- Word. HyperlinkCollection: kontext
- Word. Index: Kontext
- Word. IndexCollection: Kontext
- Word. InlinePicture: context
- Word. InlinePictureCollection: kontext
- Word. LineFormat: context
- Word. Zeilennummerierung: Kontext
- Word. LinkFormat: context
- Word. Liste: Kontext
- Word. ListCollection: kontext
- Word. ListFormat: context
- Word. ListItem: context
- Word. ListLevel: kontext
- Word. ListLevelCollection: kontext
- Word. ListTemplate: context
- Word. ListTemplateCollection: context
- Word. ListTemplateGallery: context
- Word. ListTemplateGalleryCollection: context
- Word. NoteItem: context
- Word. NoteItemCollection: context
- Word. OleFormat: Kontext
- Word. Seite: Kontext
- Word. PageCollection: kontext
- Word. PageSetup: Kontext
- Word. Bereich: Kontext
- Word. PaneCollection: kontext
- Word. Absatz: Kontext
- Word. ParagraphCollection: context
- Word. ParagraphFormat: context
- Word. PictureContentControl: kontext
- Word. Bereich: Kontext
- Word. RangeCollection: Kontext
- Word. RangeScopedCollection: Kontext
- Word. ReadabilityStatistic: Kontext
- Word. ReadabilityStatisticCollection: kontext
- Word. ReflectionFormat: context
- Word. RepeatingSectionContentControl: context
- Word. RepeatingSectionItem: context
- Word. RepeatingSectionItemCollection: context
- Word. Prüfer: Kontext
- Word. ReviewerCollection: kontext
- Word. Revision: Kontext
- Word. RevisionCollection: kontext
- Word. RevisionsFilter: context
- Word. SearchOptions: kontext
- Word. Abschnitt: Kontext
- Word. SectionCollection: context
- Word. Auswahl: Kontext
- Word. Einstellung: Kontext
- Word. SettingCollection: Kontext
- Word. Schattierung: Kontext
- Word. ShadingUniversal: kontext
- Word. ShadowFormat: context
- Word. Form: Kontext
- Word. ShapeCollection: Kontext
- Word. ShapeFill: Kontext
- Word. ShapeGroup: Kontext
- Word. ShapeTextWrap: kontext
- Word. Quelle: kontext
- Word. SourceCollection: kontext
- Word. Stil: Kontext
- Word. StyleCollection: kontext
- Word. TabStop: context
- Word. TabStopCollection: kontext
- Word. Tabelle: Kontext
- Word. TableBorder: context
- Word. TableCell: kontext
- Word. TableCellCollection: Kontext
- Word. TableCollection: kontext
- Word. TableColumn: context
- Word. TableColumnCollection: context
- Word. TableOfAuthorities: context
- Word. TableOfAuthoritiesCategory: context
- Word. TableOfAuthoritiesCategoryCollection: context
- Word. TableOfAuthoritiesCollection: context
- Word. TableOfContents: kontext
- Word. TableOfContentsCollection: kontext
- Word. TableOfFigures: kontext
- Word. TableOfFiguresCollection: kontext
- Word. TableRow: kontext
- Word. TableRowCollection: kontext
- Word. TableStyle: kontext
- Word. Vorlage: Kontext
- Word. TemplateCollection: context
- Word. TextColumn: kontext
- Word. TextColumnCollection: kontext
- Word. TextFrame: Kontext
- Word. ThreeDimensionalFormat: context
- Word. TrackedChange: Kontext
- Word. TrackedChangeCollection: kontext
- Word. Ansicht: Kontext
- Word. WebSettings: kontext
- Word. Fenster: Kontext
- Word. WindowCollection: Kontext
- Word. XmlMapping: Kontext
- Word. XmlNode: Kontext
- Word. XmlNodeCollection: Kontext
Beispiele
// *.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...
});
Konstruktoren
| (constructor)(url) | Erstellt eine neue instance der |
Eigenschaften
| application | |
| document |
Details zum Konstruktor
(constructor)(url)
Erstellt eine neue instance der RequestContext -Klasse
constructor(url?: string);
Parameter
- url
-
string