word package
Classes
| Word.Body |
Represents the body of a document or a section. |
| Word.ContentControl |
Represents a content control. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. Individual content controls may contain contents such as images, tables, or paragraphs of formatted text. Currently, only rich text, plain text, checkbox, dropdown list, and combo box content controls are supported. |
| Word.ContentControlCollection |
Contains a collection of Word.ContentControl objects. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. Individual content controls may contain contents such as images, tables, or paragraphs of formatted text. Currently, only rich text, plain text, checkbox, dropdown list, and combo box content controls are supported. |
| Word.Document |
The |
| Word.Font |
Represents a font. |
| Word.InlinePicture |
Represents an inline picture. |
| Word.InlinePictureCollection |
Contains a collection of Word.InlinePicture objects. |
| Word.Paragraph |
Represents a single paragraph in a selection, range, content control, or document body. |
| Word.ParagraphCollection |
Contains a collection of Word.Paragraph objects. |
| Word.Range |
Represents a contiguous area in a document. |
| Word.RangeCollection |
Contains a collection of Word.Range objects. |
| Word.RequestContext |
The RequestContext object facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the request context is required to get access to the Word object model from the add-in. |
| Word.SearchOptions |
Specifies the options to be included in a search operation. To learn more about how to use search options in the Word JavaScript APIs, read Use search options to find text in your Word add-in. |
| Word.Section |
Represents a section in a Word document. |
| Word.SectionCollection |
Contains the collection of the document's Word.Section objects. |
Interfaces
| Word.Interfaces.AnnotationCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.AnnotationCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.AnnotationData |
An interface describing the data returned by calling |
| Word.Interfaces.ApplicationData |
An interface describing the data returned by calling |
| Word.Interfaces.ApplicationUpdateData |
An interface for updating data on the |
| Word.Interfaces.BibliographyData |
An interface describing the data returned by calling |
| Word.Interfaces.BibliographyUpdateData |
An interface for updating data on the |
| Word.Interfaces.BodyData |
An interface describing the data returned by calling |
| Word.Interfaces.BodyLoadOptions |
Represents the body of a document or a section. |
| Word.Interfaces.BodyUpdateData |
An interface for updating data on the |
| Word.Interfaces.BookmarkCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.BookmarkCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.BookmarkData |
An interface describing the data returned by calling |
| Word.Interfaces.BookmarkUpdateData |
An interface for updating data on the |
| Word.Interfaces.BorderCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.BorderCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.BorderData |
An interface describing the data returned by calling |
| Word.Interfaces.BorderUniversalCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.BorderUniversalCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.BorderUniversalData |
An interface describing the data returned by calling |
| Word.Interfaces.BorderUniversalUpdateData |
An interface for updating data on the |
| Word.Interfaces.BorderUpdateData |
An interface for updating data on the |
| Word.Interfaces.BreakCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.BreakCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.BreakData |
An interface describing the data returned by calling |
| Word.Interfaces.BreakUpdateData |
An interface for updating data on the |
| Word.Interfaces.BuildingBlockCategoryData |
An interface describing the data returned by calling |
| Word.Interfaces.BuildingBlockData |
An interface describing the data returned by calling |
| Word.Interfaces.BuildingBlockGalleryContentControlData |
An interface describing the data returned by calling |
| Word.Interfaces.BuildingBlockGalleryContentControlUpdateData |
An interface for updating data on the |
| Word.Interfaces.BuildingBlockTypeItemData |
An interface describing the data returned by calling |
| Word.Interfaces.BuildingBlockUpdateData |
An interface for updating data on the |
| Word.Interfaces.CanvasData |
An interface describing the data returned by calling |
| Word.Interfaces.CanvasUpdateData |
An interface for updating data on the |
| Word.Interfaces.CheckboxContentControlData |
An interface describing the data returned by calling |
| Word.Interfaces.CheckboxContentControlUpdateData |
An interface for updating data on the |
| Word.Interfaces.CoauthorCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.CoauthorCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.CoauthorData |
An interface describing the data returned by calling |
| Word.Interfaces.CoauthoringData |
An interface describing the data returned by calling |
| Word.Interfaces.CoauthoringLockCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.CoauthoringLockCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.CoauthoringLockData |
An interface describing the data returned by calling |
| Word.Interfaces.CoauthoringLockUpdateData |
An interface for updating data on the |
| Word.Interfaces.CoauthoringUpdateCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.CoauthoringUpdateCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.CoauthoringUpdateData |
An interface describing the data returned by calling |
| Word.Interfaces.CoauthoringUpdateUpdateData |
An interface for updating data on the |
| Word.Interfaces.CollectionLoadOptions |
Provides ways to load properties of only a subset of members of a collection. |
| Word.Interfaces.ColorFormatData |
An interface describing the data returned by calling |
| Word.Interfaces.ColorFormatUpdateData |
An interface for updating data on the |
| Word.Interfaces.ComboBoxContentControlData |
An interface describing the data returned by calling |
| Word.Interfaces.CommentCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.CommentCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.CommentContentRangeData |
An interface describing the data returned by calling |
| Word.Interfaces.CommentContentRangeUpdateData |
An interface for updating data on the |
| Word.Interfaces.CommentData |
An interface describing the data returned by calling |
| Word.Interfaces.CommentReplyCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.CommentReplyCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.CommentReplyData |
An interface describing the data returned by calling |
| Word.Interfaces.CommentReplyUpdateData |
An interface for updating data on the |
| Word.Interfaces.CommentUpdateData |
An interface for updating data on the |
| Word.Interfaces.ConditionalStyleData |
An interface describing the data returned by calling |
| Word.Interfaces.ConditionalStyleUpdateData |
An interface for updating data on the |
| Word.Interfaces.ConflictCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.ConflictCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.ConflictData |
An interface describing the data returned by calling |
| Word.Interfaces.ConflictUpdateData |
An interface for updating data on the |
| Word.Interfaces.ContentControlCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.ContentControlCollectionLoadOptions |
Contains a collection of Word.ContentControl objects. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. Individual content controls may contain contents such as images, tables, or paragraphs of formatted text. Currently, only rich text, plain text, checkbox, dropdown list, and combo box content controls are supported. |
| Word.Interfaces.ContentControlCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.ContentControlData |
An interface describing the data returned by calling |
| Word.Interfaces.ContentControlListItemCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.ContentControlListItemCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.ContentControlListItemData |
An interface describing the data returned by calling |
| Word.Interfaces.ContentControlListItemUpdateData |
An interface for updating data on the |
| Word.Interfaces.ContentControlLoadOptions |
Represents a content control. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. Individual content controls may contain contents such as images, tables, or paragraphs of formatted text. Currently, only rich text, plain text, checkbox, dropdown list, and combo box content controls are supported. |
| Word.Interfaces.ContentControlUpdateData |
An interface for updating data on the |
| Word.Interfaces.CritiqueAnnotationData |
An interface describing the data returned by calling |
| Word.Interfaces.CustomPropertyCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.CustomPropertyCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.CustomPropertyData |
An interface describing the data returned by calling |
| Word.Interfaces.CustomPropertyUpdateData |
An interface for updating data on the |
| Word.Interfaces.CustomXmlNodeCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.CustomXmlNodeCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.CustomXmlNodeData |
An interface describing the data returned by calling |
| Word.Interfaces.CustomXmlNodeUpdateData |
An interface for updating data on the |
| Word.Interfaces.CustomXmlPartCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.CustomXmlPartCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.CustomXmlPartData |
An interface describing the data returned by calling |
| Word.Interfaces.CustomXmlPartScopedCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.CustomXmlPartScopedCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.CustomXmlPartUpdateData |
An interface for updating data on the |
| Word.Interfaces.CustomXmlPrefixMappingCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.CustomXmlPrefixMappingCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.CustomXmlPrefixMappingData |
An interface describing the data returned by calling |
| Word.Interfaces.CustomXmlSchemaCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.CustomXmlSchemaCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.CustomXmlSchemaData |
An interface describing the data returned by calling |
| Word.Interfaces.DatePickerContentControlData |
An interface describing the data returned by calling |
| Word.Interfaces.DatePickerContentControlUpdateData |
An interface for updating data on the |
| Word.Interfaces.DocumentCreatedData |
An interface describing the data returned by calling |
| Word.Interfaces.DocumentCreatedUpdateData |
An interface for updating data on the |
| Word.Interfaces.DocumentData |
An interface describing the data returned by calling |
| Word.Interfaces.DocumentLibraryVersionCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.DocumentLibraryVersionCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.DocumentLibraryVersionData |
An interface describing the data returned by calling |
| Word.Interfaces.DocumentLoadOptions |
The |
| Word.Interfaces.DocumentPropertiesData |
An interface describing the data returned by calling |
| Word.Interfaces.DocumentPropertiesUpdateData |
An interface for updating data on the |
| Word.Interfaces.DocumentUpdateData |
An interface for updating data on the |
| Word.Interfaces.DropCapData |
An interface describing the data returned by calling |
| Word.Interfaces.DropDownListContentControlData |
An interface describing the data returned by calling |
| Word.Interfaces.EditorData |
An interface describing the data returned by calling |
| Word.Interfaces.EditorUpdateData |
An interface for updating data on the |
| Word.Interfaces.FieldCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.FieldCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.FieldData |
An interface describing the data returned by calling |
| Word.Interfaces.FieldUpdateData |
An interface for updating data on the |
| Word.Interfaces.FillFormatData |
An interface describing the data returned by calling |
| Word.Interfaces.FillFormatUpdateData |
An interface for updating data on the |
| Word.Interfaces.FontData |
An interface describing the data returned by calling |
| Word.Interfaces.FontLoadOptions |
Represents a font. |
| Word.Interfaces.FontUpdateData |
An interface for updating data on the |
| Word.Interfaces.FrameCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.FrameCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.FrameData |
An interface describing the data returned by calling |
| Word.Interfaces.FrameUpdateData |
An interface for updating data on the |
| Word.Interfaces.GlowFormatData |
An interface describing the data returned by calling |
| Word.Interfaces.GlowFormatUpdateData |
An interface for updating data on the |
| Word.Interfaces.GroupContentControlData |
An interface describing the data returned by calling |
| Word.Interfaces.GroupContentControlUpdateData |
An interface for updating data on the |
| Word.Interfaces.HeadingStyleCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.HeadingStyleCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.HeadingStyleData |
An interface describing the data returned by calling |
| Word.Interfaces.HeadingStyleUpdateData |
An interface for updating data on the |
| Word.Interfaces.HtmlDivisionCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.HtmlDivisionCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.HtmlDivisionData |
An interface describing the data returned by calling |
| Word.Interfaces.HtmlDivisionUpdateData |
An interface for updating data on the |
| Word.Interfaces.HyperlinkCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.HyperlinkCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.HyperlinkData |
An interface describing the data returned by calling |
| Word.Interfaces.HyperlinkUpdateData |
An interface for updating data on the |
| Word.Interfaces.IndexCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.IndexCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.IndexData |
An interface describing the data returned by calling |
| Word.Interfaces.IndexUpdateData |
An interface for updating data on the |
| Word.Interfaces.InlinePictureCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.InlinePictureCollectionLoadOptions |
Contains a collection of Word.InlinePicture objects. |
| Word.Interfaces.InlinePictureCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.InlinePictureData |
An interface describing the data returned by calling |
| Word.Interfaces.InlinePictureLoadOptions |
Represents an inline picture. |
| Word.Interfaces.InlinePictureUpdateData |
An interface for updating data on the |
| Word.Interfaces.LineFormatData |
An interface describing the data returned by calling |
| Word.Interfaces.LineFormatUpdateData |
An interface for updating data on the |
| Word.Interfaces.LineNumberingData |
An interface describing the data returned by calling |
| Word.Interfaces.LineNumberingUpdateData |
An interface for updating data on the |
| Word.Interfaces.LinkFormatData |
An interface describing the data returned by calling |
| Word.Interfaces.LinkFormatUpdateData |
An interface for updating data on the |
| Word.Interfaces.ListCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.ListCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.ListData |
An interface describing the data returned by calling |
| Word.Interfaces.ListFormatData |
An interface describing the data returned by calling |
| Word.Interfaces.ListFormatUpdateData |
An interface for updating data on the |
| Word.Interfaces.ListItemData |
An interface describing the data returned by calling |
| Word.Interfaces.ListItemUpdateData |
An interface for updating data on the |
| Word.Interfaces.ListLevelCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.ListLevelCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.ListLevelData |
An interface describing the data returned by calling |
| Word.Interfaces.ListLevelUpdateData |
An interface for updating data on the |
| Word.Interfaces.ListTemplateCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.ListTemplateCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.ListTemplateData |
An interface describing the data returned by calling |
| Word.Interfaces.ListTemplateGalleryCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.ListTemplateGalleryCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.ListTemplateGalleryData |
An interface describing the data returned by calling |
| Word.Interfaces.ListTemplateUpdateData |
An interface for updating data on the |
| Word.Interfaces.NoteItemCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.NoteItemCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.NoteItemData |
An interface describing the data returned by calling |
| Word.Interfaces.NoteItemUpdateData |
An interface for updating data on the |
| Word.Interfaces.OleFormatData |
An interface describing the data returned by calling |
| Word.Interfaces.OleFormatUpdateData |
An interface for updating data on the |
| Word.Interfaces.PageCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.PageCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.PageData |
An interface describing the data returned by calling |
| Word.Interfaces.PageSetupData |
An interface describing the data returned by calling |
| Word.Interfaces.PageSetupUpdateData |
An interface for updating data on the |
| Word.Interfaces.PaneCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.PaneCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.PaneData |
An interface describing the data returned by calling |
| Word.Interfaces.ParagraphCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.ParagraphCollectionLoadOptions |
Contains a collection of Word.Paragraph objects. |
| Word.Interfaces.ParagraphCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.ParagraphData |
An interface describing the data returned by calling |
| Word.Interfaces.ParagraphFormatData |
An interface describing the data returned by calling |
| Word.Interfaces.ParagraphFormatUpdateData |
An interface for updating data on the |
| Word.Interfaces.ParagraphLoadOptions |
Represents a single paragraph in a selection, range, content control, or document body. |
| Word.Interfaces.ParagraphUpdateData |
An interface for updating data on the |
| Word.Interfaces.PictureContentControlData |
An interface describing the data returned by calling |
| Word.Interfaces.PictureContentControlUpdateData |
An interface for updating data on the |
| Word.Interfaces.RangeCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.RangeCollectionLoadOptions |
Contains a collection of Word.Range objects. |
| Word.Interfaces.RangeCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.RangeData |
An interface describing the data returned by calling |
| Word.Interfaces.RangeLoadOptions |
Represents a contiguous area in a document. |
| Word.Interfaces.RangeScopedCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.RangeScopedCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.RangeUpdateData |
An interface for updating data on the |
| Word.Interfaces.ReadabilityStatisticCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.ReadabilityStatisticCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.ReadabilityStatisticData |
An interface describing the data returned by calling |
| Word.Interfaces.ReflectionFormatData |
An interface describing the data returned by calling |
| Word.Interfaces.ReflectionFormatUpdateData |
An interface for updating data on the |
| Word.Interfaces.RepeatingSectionContentControlData |
An interface describing the data returned by calling |
| Word.Interfaces.RepeatingSectionContentControlUpdateData |
An interface for updating data on the |
| Word.Interfaces.RepeatingSectionItemData |
An interface describing the data returned by calling |
| Word.Interfaces.RepeatingSectionItemUpdateData |
An interface for updating data on the |
| Word.Interfaces.ReviewerCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.ReviewerCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.ReviewerData |
An interface describing the data returned by calling |
| Word.Interfaces.ReviewerUpdateData |
An interface for updating data on the |
| Word.Interfaces.RevisionCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.RevisionCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.RevisionData |
An interface describing the data returned by calling |
| Word.Interfaces.RevisionsFilterData |
An interface describing the data returned by calling |
| Word.Interfaces.RevisionsFilterUpdateData |
An interface for updating data on the |
| Word.Interfaces.RevisionUpdateData |
An interface for updating data on the |
| Word.Interfaces.SearchOptionsData |
An interface describing the data returned by calling |
| Word.Interfaces.SearchOptionsLoadOptions |
Specifies the options to be included in a search operation. To learn more about how to use search options in the Word JavaScript APIs, read Use search options to find text in your Word add-in. |
| Word.Interfaces.SearchOptionsUpdateData |
An interface for updating data on the |
| Word.Interfaces.SectionCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.SectionCollectionLoadOptions |
Contains the collection of the document's Word.Section objects. |
| Word.Interfaces.SectionCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.SectionData |
An interface describing the data returned by calling |
| Word.Interfaces.SectionLoadOptions |
Represents a section in a Word document. |
| Word.Interfaces.SectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.SelectionData |
An interface describing the data returned by calling |
| Word.Interfaces.SelectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.SettingCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.SettingCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.SettingData |
An interface describing the data returned by calling |
| Word.Interfaces.SettingUpdateData |
An interface for updating data on the |
| Word.Interfaces.ShadingData |
An interface describing the data returned by calling |
| Word.Interfaces.ShadingUniversalData |
An interface describing the data returned by calling |
| Word.Interfaces.ShadingUniversalUpdateData |
An interface for updating data on the |
| Word.Interfaces.ShadingUpdateData |
An interface for updating data on the |
| Word.Interfaces.ShadowFormatData |
An interface describing the data returned by calling |
| Word.Interfaces.ShadowFormatUpdateData |
An interface for updating data on the |
| Word.Interfaces.ShapeCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.ShapeCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.ShapeData |
An interface describing the data returned by calling |
| Word.Interfaces.ShapeFillData |
An interface describing the data returned by calling |
| Word.Interfaces.ShapeFillUpdateData |
An interface for updating data on the |
| Word.Interfaces.ShapeGroupData |
An interface describing the data returned by calling |
| Word.Interfaces.ShapeGroupUpdateData |
An interface for updating data on the |
| Word.Interfaces.ShapeTextWrapData |
An interface describing the data returned by calling |
| Word.Interfaces.ShapeTextWrapUpdateData |
An interface for updating data on the |
| Word.Interfaces.ShapeUpdateData |
An interface for updating data on the |
| Word.Interfaces.SourceCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.SourceCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.SourceData |
An interface describing the data returned by calling |
| Word.Interfaces.StyleCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.StyleCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.StyleData |
An interface describing the data returned by calling |
| Word.Interfaces.StyleUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableBorderData |
An interface describing the data returned by calling |
| Word.Interfaces.TableBorderUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableCellCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.TableCellCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableCellData |
An interface describing the data returned by calling |
| Word.Interfaces.TableCellUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.TableCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableColumnCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.TableColumnCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableColumnData |
An interface describing the data returned by calling |
| Word.Interfaces.TableColumnUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableData |
An interface describing the data returned by calling |
| Word.Interfaces.TableOfAuthoritiesCategoryCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.TableOfAuthoritiesCategoryCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableOfAuthoritiesCategoryData |
An interface describing the data returned by calling |
| Word.Interfaces.TableOfAuthoritiesCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.TableOfAuthoritiesCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableOfAuthoritiesData |
An interface describing the data returned by calling |
| Word.Interfaces.TableOfAuthoritiesUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableOfContentsCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.TableOfContentsCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableOfContentsData |
An interface describing the data returned by calling |
| Word.Interfaces.TableOfContentsUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableOfFiguresCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.TableOfFiguresCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableOfFiguresData |
An interface describing the data returned by calling |
| Word.Interfaces.TableOfFiguresUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableRowCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.TableRowCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableRowData |
An interface describing the data returned by calling |
| Word.Interfaces.TableRowUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableStyleData |
An interface describing the data returned by calling |
| Word.Interfaces.TableStyleUpdateData |
An interface for updating data on the |
| Word.Interfaces.TableUpdateData |
An interface for updating data on the |
| Word.Interfaces.TabStopCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.TabStopCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.TabStopData |
An interface describing the data returned by calling |
| Word.Interfaces.TemplateCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.TemplateCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.TemplateData |
An interface describing the data returned by calling |
| Word.Interfaces.TemplateUpdateData |
An interface for updating data on the |
| Word.Interfaces.TextColumnCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.TextColumnCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.TextColumnData |
An interface describing the data returned by calling |
| Word.Interfaces.TextColumnUpdateData |
An interface for updating data on the |
| Word.Interfaces.TextFrameData |
An interface describing the data returned by calling |
| Word.Interfaces.TextFrameUpdateData |
An interface for updating data on the |
| Word.Interfaces.ThreeDimensionalFormatData |
An interface describing the data returned by calling |
| Word.Interfaces.ThreeDimensionalFormatUpdateData |
An interface for updating data on the |
| Word.Interfaces.TrackedChangeCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.TrackedChangeCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.TrackedChangeData |
An interface describing the data returned by calling |
| Word.Interfaces.ViewData |
An interface describing the data returned by calling |
| Word.Interfaces.ViewUpdateData |
An interface for updating data on the |
| Word.Interfaces.WebSettingsData |
An interface describing the data returned by calling |
| Word.Interfaces.WebSettingsUpdateData |
An interface for updating data on the |
| Word.Interfaces.WindowCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.WindowCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.WindowData |
An interface describing the data returned by calling |
| Word.Interfaces.WindowUpdateData |
An interface for updating data on the |
| Word.Interfaces.XmlMappingData |
An interface describing the data returned by calling |
| Word.Interfaces.XmlMappingUpdateData |
An interface for updating data on the |
| Word.Interfaces.XmlNodeCollectionData |
An interface describing the data returned by calling |
| Word.Interfaces.XmlNodeCollectionUpdateData |
An interface for updating data on the |
| Word.Interfaces.XmlNodeData |
An interface describing the data returned by calling |
| Word.Interfaces.XmlNodeUpdateData |
An interface for updating data on the |
Enums
| Word.Alignment |
Represents the horizontal alignment of text. |
| Word.BreakType |
Specifies the form of a break. |
| Word.ContentControlAppearance |
Represents the content control appearance. |
| Word.ContentControlType |
Specifies supported content control types and subtypes. |
| Word.ErrorCodes | |
| Word.HeaderFooterType |
Represents the type of header or footer. |
| Word.InsertLocation |
Represents the insertion location type. |
| Word.SaveBehavior |
Specifies the save behavior for |
| Word.SelectionMode |
Represents where the cursor (insertion point) is set in the document after a selection. |
| Word.UnderlineType |
Represents the supported styles for underline format. |
Functions
| Word. |
Executes a batch script that performs actions on the Word object model, using the RequestContext of previously created API objects. |
| Word. |
Executes a batch script that performs actions on the Word object model, using the RequestContext of a previously created API object. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released. |
| Word. |
Executes a batch script that performs actions on the Word object model, using a new RequestContext. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released. |
Function Details
Word.run(objects, batch)
Executes a batch script that performs actions on the Word object model, using the RequestContext of previously created API objects.
export function run<T>(objects: OfficeExtension.ClientObject[], batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;
Parameters
- objects
An array of previously created API objects. The array will be validated to make sure that all of the objects share the same context. The batch will use this shared RequestContext, which means that any changes applied to these objects will be picked up by context.sync().
- batch
-
(context: Word.RequestContext) => Promise<T>
A function that takes in a RequestContext and returns a promise (typically, just the result of context.sync()). The context parameter facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the RequestContext is required to get access to the Word object model from the add-in.
Returns
Promise<T>
Examples
// *.run methods automatically create an OfficeExtension.ClientRequestContext
// object to work with the Office file.
await Word.run(async (context) => {
const document = context.document;
// Interact with the Word document...
});
Word.run(object, batch)
Executes a batch script that performs actions on the Word object model, using the RequestContext of a previously created API object. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.
export function run<T>(object: OfficeExtension.ClientObject, batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;
Parameters
- object
- OfficeExtension.ClientObject
A previously created API object. The batch will use the same RequestContext as the passed-in object, which means that any changes applied to the object will be picked up by context.sync().
- batch
-
(context: Word.RequestContext) => Promise<T>
A function that takes in a RequestContext and returns a promise (typically, just the result of context.sync()). The context parameter facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the RequestContext is required to get access to the Word object model from the add-in.
Returns
Promise<T>
Word.run(batch)
Executes a batch script that performs actions on the Word object model, using a new RequestContext. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.
export function run<T>(batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;
Parameters
- batch
-
(context: Word.RequestContext) => Promise<T>
A function that takes in a RequestContext and returns a promise (typically, just the result of context.sync()). The context parameter facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the RequestContext is required to get access to the Word object model from the add-in.
Returns
Promise<T>