Word.RequestContext class
L’objet RequestContext facilite les requêtes adressées à l’application Word. Étant donné que le complément Office et l’application Word s’exécutent dans deux processus différents, le contexte de demande est nécessaire pour obtenir l’accès au modèle objet Word à partir du complément.
Remarques
Utilisateur
- Word : exécuter
- Word. Annotation : contexte
- Word. AnnotationCollection : context
- Word. Application : contexte
- Word. Bibliographie : contexte
- Word. Body : context
- Word. Signet : contexte
- Word. BookmarkCollection : context
- Word. Bordure : contexte
- Word. BorderCollection : context
- Word. BorderUniversal : context
- Word. BorderUniversalCollection : context
- Word. Arrêt : contexte
- Word. BreakCollection : context
- Word. BuildingBlock : contexte
- Word. BuildingBlockCategory : contexte
- Word. BuildingBlockCategoryCollection : context
- Word. BuildingBlockCollection : contexte
- Word. BuildingBlockEntryCollection : contexte
- Word. BuildingBlockGalleryContentControl : context
- Word. BuildingBlockTypeItem : context
- Word. BuildingBlockTypeItemCollection : context
- Word. Canevas : contexte
- Word. CheckboxContentControl : context
- Word. Co-auteur : contexte
- Word. CoauthorCollection : context
- Word.Co-écriture : context
- Word. CoauthoringLock : contexte
- Word. CoauthoringLockCollection : context
- Word. CoauthoringUpdate : context
- Word. CoauthoringUpdateCollection : context
- Word. ColorFormat : context
- Word. ComboBoxContentControl : context
- Word. Commentaire : contexte
- Word. CommentCollection : contexte
- Word. CommentContentRange : contexte
- Word. CommentReply : contexte
- Word. CommentReplyCollection : contexte
- Word. ConditionalStyle : context
- Word. Conflit : contexte
- Word. ConflictCollection : contexte
- Word. ContentControl : context
- Word. ContentControlCollection : context
- Word. ContentControlListItem : context
- Word. ContentControlListItemCollection : context
- Word. CritiqueAnnotation : contexte
- Word. CustomProperty : context
- Word. CustomPropertyCollection : context
- Word. CustomXmlNode : contexte
- 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. Document : contexte
- Word. DocumentCreated : context
- Word. DocumentLibraryVersion : context
- Word. DocumentLibraryVersionCollection : context
- Word. DocumentProperties : contexte
- Word. DropCap : contexte
- Word. DropDownListContentControl : context
- Word. Éditeur : contexte
- Word. EditorCollection : contexte
- Word. Champ : contexte
- Word. FieldCollection : contexte
- Word. FillFormat : context
- Word. Police : contexte
- Word. FontNameCollection : context
- Word. Frame : context
- Word. FrameCollection : context
- Word. GlowFormat : context
- Word. GroupContentControl : contexte
- Word. HeadingStyle : context
- Word. HeadingStyleCollection : context
- Word. HtmlDivision : contexte
- Word. HtmlDivisionCollection : context
- Word. Lien hypertexte : contexte
- Word. HyperlinkCollection : contexte
- Word. Index : contexte
- Word. IndexCollection : context
- Word. InlinePicture : context
- Word. InlinePictureCollection : context
- Word. LineFormat : context
- Word. LineNumbering : context
- Word. LinkFormat : context
- Word. Liste : contexte
- 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. RemarqueItemCollection : context
- Word. OleFormat : context
- Word. Page : contexte
- Word. PageCollection : context
- Word. PageSetup : contexte
- Word. Volet : contexte
- Word. PaneCollection : context
- Word. Paragraphe : contexte
- Word. ParagraphCollection : context
- Word. ParagraphFormat : context
- Word. PictureContentControl : contexte
- Word. Plage : contexte
- Word. RangeCollection : contexte
- Word. RangeScopedCollection : context
- Word. ReadabilityStatistic : context
- Word. ReadabilityStatisticCollection : context
- Word. ReflectionFormat : context
- Word. RepeatingSectionContentControl : context
- Word. RepeatingSectionItem : context
- Word. RepeatingSectionItemCollection : context
- Word. Réviseur : contexte
- Word. ReviewerCollection : contexte
- Word. Révision : contexte
- Word. RevisionCollection : contexte
- Word. RevisionsFilter : context
- Word. SearchOptions : context
- Word. Section : contexte
- Word. SectionCollection : context
- Word. Sélection : contexte
- Word. Paramètre : contexte
- Word. SettingCollection : context
- Word. Trame de fond : contexte
- Word. ShadingUniversal : context
- Word. ShadowFormat : context
- Word. Forme : contexte
- Word. ShapeCollection : context
- Word. ShapeFill : context
- Word. ShapeGroup : context
- Word. ShapeTextWrap : context
- Word. Source : contexte
- Word. SourceCollection : context
- Word. Style : contexte
- Word. StyleCollection : context
- Word. TabStop : context
- Word. TabStopCollection : contexte
- Word. Table : contexte
- 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 : contexte
- Word. TableOfContentsCollection : context
- Word. TableOfFigures : context
- Word. TableOfFiguresCollection : context
- Word. TableRow : contexte
- Word. TableRowCollection : contexte
- Word. TableStyle : context
- Word. Modèle : contexte
- Word. TemplateCollection : context
- Word. TextColumn : context
- Word. TextColumnCollection : context
- Word. TextFrame : contexte
- Word. ThreeDimensionalFormat : context
- Word. TrackedChange : context
- Word. TrackedChangeCollection : context
- Word. Affichage : contexte
- Word. WebSettings : contexte
- Word. Fenêtre : contexte
- Word. WindowCollection : contexte
- Word. XmlMapping : contexte
- Word. XmlNode : contexte
- Word. XmlNodeCollection : context
Exemples
// *.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...
});
Constructeurs
| (constructor)(url) | Construit une nouvelle instance de la |
Propriétés
| application | |
| document |
Détails du constructeur
(constructor)(url)
Construit une nouvelle instance de la RequestContext classe
constructor(url?: string);
Paramètres
- url
-
string