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 vom Add-In aus Zugriff auf das Word-Objektmodell zu erhalten.
Hinweise
Verwendet von
- Word: Ausführen
- Word. Anmerkung: Kontext
- Word. AnnotationCollection: Kontext
- 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: Kontext
- Word. BuildingBlockCategoryCollection: Kontext
- Word. BuildingBlockCollection: Kontext
- Word. BuildingBlockEntryCollection: Kontext
- Word. BuildingBlockGalleryContentControl: Kontext
- Word. BuildingBlockTypeItem: Kontext
- Word. BuildingBlockTypeItemCollection: Kontext
- Word. Canvas: Kontext
- Word. CheckboxContentControl: Kontext
- Word. Co-Autor: Kontext
- Word. CoauthorCollection: Kontext
- Word.Kollaboration: Kontext
- Word. CoauthoringLock: Kontext
- Word. CoauthoringLockCollection: Kontext
- Word. Co-AuthoringUpdate: Kontext
- Word. CoauthoringUpdateCollection: Kontext
- Word. ColorFormat: Kontext
- Word. ComboBoxContentControl: Kontext
- Word. Kommentar: Kontext
- Word. CommentCollection: Kontext
- Word. CommentContentRange: Kontext
- Word. CommentReply: context
- Word. CommentReplyCollection: Kontext
- Word. ConditionalStyle: context
- Word. Konflikt: Kontext
- Word. ConflictCollection: context
- Word. ContentControl: Kontext
- Word. ContentControlCollection: Kontext
- Word. ContentControlListItem: Kontext
- Word. ContentControlListItemCollection: Kontext
- 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: Kontext
- Word. CustomXmlSchema: Kontext
- Word. CustomXmlSchemaCollection: Kontext
- Word. CustomXmlValidationError: Kontext
- Word. CustomXmlValidationErrorCollection: Kontext
- Word. DatePickerContentControl: Kontext
- Word. Dokument: Kontext
- Word. DocumentCreated: Kontext
- Word. DocumentLibraryVersion: Kontext
- Word. DocumentLibraryVersionCollection: Kontext
- Word. DocumentProperties: Kontext
- Word. DropCap: Kontext
- Word. DropDownListContentControl: Kontext
- Word. Editor: Kontext
- Word. EditorCollection: Kontext
- Word. Feld: Kontext
- Word. FieldCollection: context
- Word. FillFormat: context
- Word. Schriftart: Kontext
- Word. FontNameCollection: Kontext
- Word. Rahmen: Kontext
- Word. FrameCollection: Kontext
- Word. GlowFormat: Kontext
- Word. GroupContentControl: Kontext
- Word. HeadingStyle: Kontext
- Word. HeadingStyleCollection: Kontext
- Word. HtmlDivision: context
- 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. LineNumbering: Kontext
- Word. LinkFormat: Kontext
- Word. Liste: Kontext
- Word. ListCollection: Kontext
- Word. ListFormat: context
- Word. ListItem: context
- Word. ListLevel: Kontext
- Word. ListLevelCollection: Kontext
- Word. ListTemplate: Kontext
- Word. ListTemplateCollection: Kontext
- Word. ListTemplateGallery: Kontext
- Word. ListTemplateGalleryCollection: Kontext
- Word. NoteItem: Kontext
- Word. NoteItemCollection: Kontext
- Word. OleFormat: context
- Word. Seite: Kontext
- Word. PageCollection: Kontext
- Word. PageSetup: Kontext
- Word. Bereich: Kontext
- Word. PaneCollection: context
- Word. Absatz: Kontext
- Word. ParagraphCollection: Kontext
- Word. ParagraphFormat: Kontext
- Word. PictureContentControl: context
- Word. Bereich: Kontext
- Word. RangeCollection: Kontext
- Word. RangeScopedCollection: Kontext
- Word. ReadabilityStatistic: Kontext
- Word. ReadabilityStatisticCollection: Kontext
- Word. ReflectionFormat: context
- Word. RepeatingSectionContentControl: Kontext
- Word. RepeatingSectionItem: Kontext
- Word. RepeatingSectionItemCollection: Kontext
- Word. Reviewer: context
- Word. ReviewerCollection: Kontext
- Word. Revision: Kontext
- Word. RevisionCollection: context
- Word. RevisionsFilter: context
- Word. SearchOptions: Kontext
- Word. Abschnitt: Kontext
- Word. SectionCollection: Kontext
- Word. Auswahl: Kontext
- Word. SensitivityLabel: Kontext
- Word. SensitivityLabelAbacAttribute: context
- Word. SensitivityLabelAbacAttributeValue: Kontext
- Word. SensitivityLabelDetails: Kontext
- Word. SensitivityLabelDetailsCollection: Kontext
- Word. SensitivityLabelsCatalog: Kontext
- Word. Einstellung: Kontext
- Word. SettingCollection: context
- 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: Kontext
- Word. TabStopCollection: Kontext
- Word. Tabelle: Kontext
- Word. TableBorder: Kontext
- Word. TableCell: Kontext
- Word. TableCellCollection: Kontext
- Word. TableCollection: Kontext
- Word. TableColumn: Kontext
- Word. TableColumnCollection: Kontext
- Word. TableOfAuthorities: Kontext
- Word. TableOfAuthoritiesCategory: Kontext
- Word. TableOfAuthoritiesCategoryCollection: Kontext
- Word. TableOfAuthoritiesCollection: Kontext
- 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: Kontext
- Word. TextColumn: Kontext
- Word. TextColumnCollection: Kontext
- Word. TextFrame: Kontext
- Word. ThreeDimensionalFormat: Kontext
- Word. TrackedChange: Kontext
- Word. TrackedChangeCollection: Kontext
- Word. Ansicht: Kontext
- Word. WebSettings: Kontext
- Word. Fenster: Kontext
- Word. WindowCollection: Kontext
- Word. XmlMapping: context
- 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 | |
| sensitivity |
Details zum Konstruktor
(constructor)(url)
Erstellt eine neue Instance der RequestContext Klasse
constructor(url?: string);
Parameter
- url
-
string
Details zur Eigenschaft
application
document
sensitivityLabelsCatalog
readonly sensitivityLabelsCatalog: SensitivityLabelsCatalog;