word package

Word.Annotation

表示附加到段落的批注。

Word.AnnotationCollection

包含Word的集合。批注对象。

Word.Application

表示应用程序对象。

Word.Bibliography

表示附加到当前列表中的文档 (的可用源列表) 或主控列表) 中应用程序 (可用的源列表。

Word.Body

表示文档或节的正文。

Word.Border

表示文本、段落或表格的 Border 对象。

Word.BorderCollection

表示边框样式的集合。

Word.BorderUniversal

表示 BorderUniversal 对象,该对象管理区域、段落、表格或框架的边框。

Word.BorderUniversalCollection

表示Word的集合。BorderUniversal 对象。

Word.Break

表示Word文档中的中断。 这可以是页、列或分节符。

Word.BreakCollection

包含Word的集合。中断对象。

Word.BuildingBlock

代表模板中的构建基块。 构建基块是预先构建的内容,类似于自动图文集,其中可能包含文本、图像和格式。

Word.BuildingBlockCategory

表示Word文档中构建基块的类别。

Word.BuildingBlockCategoryCollection

表示Word的集合。Word文档中的 BuildingBlockCategory 对象。

Word.BuildingBlockCollection

表示Word的集合。模板中特定构建基块类型和类别的 BuildingBlock 对象。

Word.BuildingBlockEntryCollection

表示Word模板中的构建基块条目的集合。

Word.BuildingBlockGalleryContentControl

表示 BuildingBlockGalleryContentControl 对象。

Word.BuildingBlockTypeItem

表示Word文档中的构建基块的类型。

Word.BuildingBlockTypeItemCollection

表示Word文档中的构建基块类型的集合。

Word.Canvas

表示文档中的画布。 若要获取相应的 Shape 对象,请使用 Canvas.shape。

Word.CheckboxContentControl

特定于类型为 CheckBox 的内容控件的数据。

Word.ColorFormat

表示Word中形状或文本的颜色格式。

Word.ComboBoxContentControl

特定于类型为“ComboBox”的内容控件的数据。

Word.Comment

表示文档中的注释。

Word.CommentCollection

包含Word的集合。注释对象。

Word.CommentContentRange
Word.CommentReply

表示文档中的批注答复。

Word.CommentReplyCollection

包含Word的集合。CommentReply 对象。 表示一个批注线程中的所有批注答复。

Word.ContentControl

表示内容控件。 内容控件是文档中绑定的、有可能添加标签的区域,它们充当特定类型的内容的容器。 各个内容控件可能包含诸如图像、表格或格式化文本段落等内容。 目前,仅支持格式文本、纯文本、复选框、下拉列表和组合框内容控件。

Word.ContentControlCollection

包含Word的集合。ContentControl 对象。 内容控件是文档中绑定的、有可能添加标签的区域,它们充当特定类型的内容的容器。 各个内容控件可能包含诸如图像、表格或格式化文本段落等内容。 目前,仅支持格式文本、纯文本、复选框、下拉列表和组合框内容控件。

Word.ContentControlListItem

表示下拉列表或组合框内容控件中的列表项。

Word.ContentControlListItemCollection

包含Word的集合。ContentControlListItem 对象,这些对象表示下拉列表或组合框内容控件中的项。

Word.CritiqueAnnotation

表示文档中显示的批注包装。

Word.CustomProperty

表示自定义属性。

Word.CustomPropertyCollection

包含 Word 的集合。CustomProperty 对象。

Word.CustomXmlNode

表示文档中树中的 XML 节点。 对象CustomXmlNodeWord的成员。CustomXmlNodeCollection 对象。

Word.CustomXmlNodeCollection

包含Word的集合。CustomXmlNode 对象,表示文档中的 XML 节点。

Word.CustomXmlPart

表示自定义 XML 部件。

Word.CustomXmlPartCollection

包含 Word 的集合。CustomXmlPart 对象。

Word.CustomXmlPartScopedCollection

包含 Word 的集合具有特定命名空间的 CustomXmlPart 对象。

Word.CustomXmlPrefixMapping

表示 CustomXmlPrefixMapping 对象。

Word.CustomXmlPrefixMappingCollection

表示Word的集合。CustomXmlPrefixMapping 对象。

Word.CustomXmlSchema

表示Word中的架构。CustomXmlSchemaCollection 对象。

Word.CustomXmlSchemaCollection

表示Word的集合。附加到数据流的 CustomXmlSchema 对象。

Word.CustomXmlValidationError

表示Word中的单个验证错误。CustomXmlValidationErrorCollection 对象。

Word.CustomXmlValidationErrorCollection

表示Word的集合。CustomXmlValidationError 对象。

Word.DatePickerContentControl

表示 DatePickerContentControl 对象。

Word.Document

Document 对象是顶层对象。 Document 对象包含一个或多个节、内容控件以及包含文档内容的正文。

Word.DocumentCreated

DocumentCreated 对象是由 Application.CreateDocument 创建的顶级对象。 DocumentCreated 对象是一个特殊的 Document 对象。

Word.DocumentLibraryVersion

表示文档库版本。

Word.DocumentLibraryVersionCollection

表示Word的集合。DocumentLibraryVersion 对象。

Word.DocumentProperties

表示文档属性。

Word.DropDownListContentControl

特定于 DropDownList 类型的内容控件的数据。

Word.Field

表示一个字段。

Word.FieldCollection

包含Word的集合。Field 对象。

Word.FillFormat

表示形状或文本的填充格式。

Word.Font

表示字体。

Word.Frame

表示框架。 对象FrameWord的成员。FrameCollection 对象。

Word.FrameCollection

表示Word的集合。框架对象。

Word.GlowFormat

表示文本范围使用的字体的发光格式。

Word.GroupContentControl

表示 GroupContentControl 对象。

Word.Hyperlink

表示Word文档中的超链接。

Word.HyperlinkCollection

包含Word的集合。超链接对象。

Word.InlinePicture

表示嵌入式图片。

Word.InlinePictureCollection

包含Word的集合。InlinePicture 对象。

Word.LineFormat

代表线条和箭头格式。 对于线条, LineFormat 对象包含线条本身的格式设置信息;对于具有边框的形状,此对象包含形状边框的格式信息。

Word.LineNumbering

代表位于左边距中的行号或位于各新闻稿样式分栏左侧的行号。

Word.List

包含Word的集合。Paragraph 对象。

Word.ListCollection

包含Word的集合。列出对象。

Word.ListFormat

表示区域的列表格式设置特征。

Word.ListItem

表示段落列表项格式。

Word.ListLevel

表示列表级别。

Word.ListLevelCollection

包含Word的集合。ListLevel 对象。

Word.ListTemplate

表示 ListTemplate。

Word.NoteItem

表示脚注或尾注。

Word.NoteItemCollection

包含Word的集合。NoteItem 对象。

Word.Page

表示文档中的一页。 Page 对象管理页面布局和内容。

Word.PageCollection

表示页的集合。

Word.PageSetup

表示Word文档或节的页面设置设置。

Word.Pane

代表一个窗格。 对象 Pane 是窗格集合的成员。 窗格集合包括单个窗口的所有窗口窗格。

Word.PaneCollection

表示窗格的集合。

Word.Paragraph

表示选定内容、区域、内容控件或文档正文中的单个段落。

Word.ParagraphCollection

包含Word的集合。Paragraph 对象。

Word.ParagraphFormat

表示文档中段落的样式。

Word.PictureContentControl

表示 PictureContentControl 对象。

Word.Range

表示文档中的一个连续区域。

Word.RangeCollection

包含Word的集合。Range 对象。

Word.ReflectionFormat

表示Word中形状的反射格式。

Word.RepeatingSectionContentControl

表示 RepeatingSectionContentControl 对象。

Word.RepeatingSectionItem

表示 中的单个项。

Word.RepeatingSectionItemCollection

表示Word的集合。Word文档中的 RepeatingSectionItem 对象。

Word.RequestContext

RequestContext 对象可简化对 Word 应用程序的请求。 由于 Office 加载项和 Word 应用程序在两个不同的进程中运行,因此需要请求上下文才能从外接程序访问 Word 对象模型。

Word.SearchOptions

指定要包括在搜索操作中的选项。 若要详细了解如何在 Word JavaScript API 中使用搜索选项,请阅读使用搜索选项查找Word加载项中的文本。

Word.Section

表示 Word 文档中的一节。

Word.SectionCollection

包含文档Word的集合。Section 对象。

Word.Setting

表示加载项的设置。

Word.SettingCollection

包含 Word 的集合。设置对象。

Word.Shading

表示底纹对象。

Word.ShadingUniversal

表示 ShadingUniversal 对象,该对象管理区域、段落、框架或表格的底纹。

Word.ShadowFormat

表示Word中形状或文本的阴影格式。

Word.Shape

表示页眉、页脚或文档正文中的形状。 目前,仅支持以下形状:文本框、几何形状、组、图片和画布。

Word.ShapeCollection

包含Word的集合。形状对象。 目前,仅支持以下形状:文本框、几何形状、组、图片和画布。

Word.ShapeFill

表示形状对象的填充格式。

Word.ShapeGroup

表示文档中的形状组。 若要获取相应的 Shape 对象,请使用 ShapeGroup.shape。

Word.ShapeTextWrap

表示在形状周围环绕文本的所有属性。

Word.Source

代表单个源,如书籍、杂志文章或采访。

Word.SourceCollection

表示Word的集合。源对象。

Word.Style

表示Word文档中的样式。

Word.StyleCollection

包含Word的集合。样式对象。

Word.Table

表示Word文档中的表。

Word.TableBorder

指定边框样式。

Word.TableCell

表示Word文档中的表格单元格。

Word.TableCellCollection

包含文档的 TableCell 对象的集合。

Word.TableCollection

包含文档的 Table 对象的集合。

Word.TableColumn

表示Word文档中的表格列。

Word.TableColumnCollection

表示Word的集合。Word文档中的 TableColumn 对象。

Word.TableRow

表示Word文档中的行。

Word.TableRowCollection

包含文档的 TableRow 对象的集合。

Word.TableStyle

表示 TableStyle 对象。

Word.Template

代表一个文档模板。

Word.TemplateCollection

包含Word的集合表示当前可用的所有模板的模板对象。 该集合包括打开的模板、附加到打开的文档的模板和在“模板和加载项”对话框中加载的共用模板。 若要了解如何在Word UI 中访问此对话框,请参阅加载或卸载模板或外接程序程序

Word.TextColumn

表示节中的单个文本列。

Word.TextColumnCollection

Word的集合。TextColumn 对象,表示文档或文档部分中的所有文本列。

Word.TextFrame

表示形状对象的文本框。

Word.ThreeDimensionalFormat

代表形状的三维格式。

Word.TrackedChange

表示Word文档中的修订。

Word.TrackedChangeCollection

包含Word的集合。TrackedChange 对象。

Word.Window

表示显示文档的窗口。 可以拆分窗口以包含多个阅读窗格。

Word.WindowCollection

表示窗口对象的集合。

Word.XmlMapping

表示Word上的 XML 映射自定义 XML 与该内容控件之间的 ContentControl 对象。 XML 映射是内容控件中的文本与此文档的自定义 XML 数据存储中的 XML 元素之间的链接。

接口

Word.AnnotationClickedEventArgs

保存在批注插入事件上传递回的批注信息。

Word.AnnotationHoveredEventArgs

保存在批注悬停事件上传递回的批注信息。

Word.AnnotationInsertedEventArgs

保存在批注添加事件上传递回的批注信息。

Word.AnnotationPopupActionEventArgs

表示在批注弹出作事件上传递回的作信息。

Word.AnnotationRemovedEventArgs

保存在批注删除事件上传递回的批注信息。

Word.AnnotationSet

加载项生成的批注集。 目前仅支持批评。

Word.CommentDetail

此注释的 ID 和答复 ID 的结构。

Word.CommentEventArgs

提供有关引发注释事件的注释的信息。

Word.ContentControlAddedEventArgs

提供有关引发 contentControlAdded 事件的内容控件的信息。

Word.ContentControlDataChangedEventArgs

提供有关引发 contentControlDataChanged 事件的内容控件的信息。

Word.ContentControlDeletedEventArgs

提供有关引发 contentControlDeleted 事件的内容控件的信息。

Word.ContentControlEnteredEventArgs

提供有关引发 contentControlEntered 事件的内容控件的信息。

Word.ContentControlExitedEventArgs

提供有关引发 contentControlExited 事件的内容控件的信息。

Word.ContentControlOptions

指定定义返回哪些内容控件的选项。

Word.ContentControlPlaceholderOptions

用于定义要在内容控件中使用的占位符的选项。

Word.ContentControlSelectionChangedEventArgs

提供有关引发 contentControlSelectionChanged 事件的内容控件的信息。

Word.Critique

将为文档中段落的指定部分呈现为下划线的批评。

Word.CritiquePopupOptions

定义给定批评的弹出菜单行为的属性。

Word.CustomXmlAddNodeOptions

用于将节点添加到 XML 树的选项。

Word.CustomXmlAddSchemaOptions

将一个或多个架构添加到架构集合,然后将其添加到数据存储中的流和架构库中。

Word.CustomXmlAddValidationErrorOptions

用于定义描述性错误文本和 状态的选项 clearedOnUpdate

Word.CustomXmlAppendChildNodeOptions

用于定义前缀映射和自定义 XML 数据源的选项。

Word.CustomXmlInsertNodeBeforeOptions

在树中的上下文节点前面插入新节点。

Word.CustomXmlInsertSubtreeBeforeOptions

在树中的上下文节点前面插入新节点。

Word.CustomXmlReplaceChildNodeOptions

删除指定的子节点,并将其替换为同一位置中的其他节点。

Word.DocumentCompareOptions

指定要包含在比较文档作中的选项。

Word.GetTextOptions

指定要包含在 getText作中的选项。

Word.HyperlinkAddOptions

指定用于添加到Word的选项。HyperlinkCollection 对象。

Word.InsertFileOptions

指定用于确定插入文件时要复制的内容的选项。

Word.InsertShapeOptions

指定用于在插入形状时确定位置和大小的选项。

Word.Interfaces.AnnotationCollectionData

一个接口,用于描述通过调用 annotationCollection.toJSON()返回的数据。

Word.Interfaces.AnnotationCollectionLoadOptions

包含Word的集合。批注对象。

Word.Interfaces.AnnotationCollectionUpdateData

用于更新对象上的 AnnotationCollection 数据的接口,用于 在 中使用 annotationCollection.set({ ... })

Word.Interfaces.AnnotationData

一个接口,用于描述通过调用 annotation.toJSON()返回的数据。

Word.Interfaces.AnnotationLoadOptions

表示附加到段落的批注。

Word.Interfaces.ApplicationData

一个接口,用于描述通过调用 application.toJSON()返回的数据。

Word.Interfaces.ApplicationLoadOptions

表示应用程序对象。

Word.Interfaces.ApplicationUpdateData

用于更新对象上的 Application 数据的接口,用于 在 中使用 application.set({ ... })

Word.Interfaces.BibliographyData

一个接口,用于描述通过调用 bibliography.toJSON()返回的数据。

Word.Interfaces.BibliographyLoadOptions

表示附加到当前列表中的文档 (的可用源列表) 或主控列表) 中应用程序 (可用的源列表。

Word.Interfaces.BibliographyUpdateData

用于更新对象上的 Bibliography 数据的接口,用于 在 中使用 bibliography.set({ ... })

Word.Interfaces.BodyData

一个接口,用于描述通过调用 body.toJSON()返回的数据。

Word.Interfaces.BodyLoadOptions

表示文档或节的正文。

Word.Interfaces.BodyUpdateData

用于更新对象上的 Body 数据的接口,用于 在 中使用 body.set({ ... })

Word.Interfaces.BorderCollectionData

一个接口,用于描述通过调用 borderCollection.toJSON()返回的数据。

Word.Interfaces.BorderCollectionLoadOptions

表示边框样式的集合。

Word.Interfaces.BorderCollectionUpdateData

用于更新对象上的 BorderCollection 数据的接口,用于 在 中使用 borderCollection.set({ ... })

Word.Interfaces.BorderData

一个接口,用于描述通过调用 border.toJSON()返回的数据。

Word.Interfaces.BorderLoadOptions

表示文本、段落或表格的 Border 对象。

Word.Interfaces.BorderUniversalCollectionData

一个接口,用于描述通过调用 borderUniversalCollection.toJSON()返回的数据。

Word.Interfaces.BorderUniversalCollectionLoadOptions

表示Word的集合。BorderUniversal 对象。

Word.Interfaces.BorderUniversalCollectionUpdateData

用于更新对象上的 BorderUniversalCollection 数据的接口,用于 在 中使用 borderUniversalCollection.set({ ... })

Word.Interfaces.BorderUniversalData

一个接口,用于描述通过调用 borderUniversal.toJSON()返回的数据。

Word.Interfaces.BorderUniversalLoadOptions

表示 BorderUniversal 对象,该对象管理区域、段落、表格或框架的边框。

Word.Interfaces.BorderUniversalUpdateData

用于更新对象上的 BorderUniversal 数据的接口,用于 在 中使用 borderUniversal.set({ ... })

Word.Interfaces.BorderUpdateData

用于更新对象上的 Border 数据的接口,用于 在 中使用 border.set({ ... })

Word.Interfaces.BreakCollectionData

一个接口,用于描述通过调用 breakCollection.toJSON()返回的数据。

Word.Interfaces.BreakCollectionLoadOptions

包含Word的集合。中断对象。

Word.Interfaces.BreakCollectionUpdateData

用于更新对象上的 BreakCollection 数据的接口,用于 在 中使用 breakCollection.set({ ... })

Word.Interfaces.BreakData

一个接口,用于描述通过调用 break.toJSON()返回的数据。

Word.Interfaces.BreakLoadOptions

表示Word文档中的中断。

Word.Interfaces.BreakUpdateData

用于更新对象上的 Break 数据的接口,用于 在 中使用 break.set({ ... })

Word.Interfaces.BuildingBlockCategoryData

一个接口,用于描述通过调用 buildingBlockCategory.toJSON()返回的数据。

Word.Interfaces.BuildingBlockCategoryLoadOptions

表示Word文档中构建基块的类别。

Word.Interfaces.BuildingBlockData

一个接口,用于描述通过调用 buildingBlock.toJSON()返回的数据。

Word.Interfaces.BuildingBlockGalleryContentControlData

一个接口,用于描述通过调用 buildingBlockGalleryContentControl.toJSON()返回的数据。

Word.Interfaces.BuildingBlockGalleryContentControlLoadOptions

表示 BuildingBlockGalleryContentControl 对象。

Word.Interfaces.BuildingBlockGalleryContentControlUpdateData

用于更新对象上的 BuildingBlockGalleryContentControl 数据的接口,用于 在 中使用 buildingBlockGalleryContentControl.set({ ... })

Word.Interfaces.BuildingBlockLoadOptions

代表模板中的构建基块。 构建基块是预先构建的内容,类似于自动图文集,其中可能包含文本、图像和格式。

Word.Interfaces.BuildingBlockTypeItemData

一个接口,用于描述通过调用 buildingBlockTypeItem.toJSON()返回的数据。

Word.Interfaces.BuildingBlockTypeItemLoadOptions

表示Word文档中的构建基块的类型。

Word.Interfaces.BuildingBlockUpdateData

用于更新对象上的 BuildingBlock 数据的接口,用于 在 中使用 buildingBlock.set({ ... })

Word.Interfaces.CanvasData

一个接口,用于描述通过调用 canvas.toJSON()返回的数据。

Word.Interfaces.CanvasLoadOptions

表示文档中的画布。 若要获取相应的 Shape 对象,请使用 Canvas.shape。

Word.Interfaces.CanvasUpdateData

用于更新对象上的 Canvas 数据的接口,用于 在 中使用 canvas.set({ ... })

Word.Interfaces.CheckboxContentControlData

一个接口,用于描述通过调用 checkboxContentControl.toJSON()返回的数据。

Word.Interfaces.CheckboxContentControlLoadOptions

特定于类型为 CheckBox 的内容控件的数据。

Word.Interfaces.CheckboxContentControlUpdateData

用于更新对象上的 CheckboxContentControl 数据的接口,用于 在 中使用 checkboxContentControl.set({ ... })

Word.Interfaces.CollectionLoadOptions

提供仅加载集合的一部分成员的属性的方法。

Word.Interfaces.ColorFormatData

一个接口,用于描述通过调用 colorFormat.toJSON()返回的数据。

Word.Interfaces.ColorFormatLoadOptions

表示Word中形状或文本的颜色格式。

Word.Interfaces.ColorFormatUpdateData

用于更新对象上的 ColorFormat 数据的接口,用于 在 中使用 colorFormat.set({ ... })

Word.Interfaces.ComboBoxContentControlData

一个接口,用于描述通过调用 comboBoxContentControl.toJSON()返回的数据。

Word.Interfaces.CommentCollectionData

一个接口,用于描述通过调用 commentCollection.toJSON()返回的数据。

Word.Interfaces.CommentCollectionLoadOptions

包含Word的集合。注释对象。

Word.Interfaces.CommentCollectionUpdateData

用于更新对象上的 CommentCollection 数据的接口,用于 在 中使用 commentCollection.set({ ... })

Word.Interfaces.CommentContentRangeData

一个接口,用于描述通过调用 commentContentRange.toJSON()返回的数据。

Word.Interfaces.CommentContentRangeLoadOptions
Word.Interfaces.CommentContentRangeUpdateData

用于更新对象上的 CommentContentRange 数据的接口,用于 在 中使用 commentContentRange.set({ ... })

Word.Interfaces.CommentData

一个接口,用于描述通过调用 comment.toJSON()返回的数据。

Word.Interfaces.CommentLoadOptions

表示文档中的注释。

Word.Interfaces.CommentReplyCollectionData

一个接口,用于描述通过调用 commentReplyCollection.toJSON()返回的数据。

Word.Interfaces.CommentReplyCollectionLoadOptions

包含Word的集合。CommentReply 对象。 表示一个批注线程中的所有批注答复。

Word.Interfaces.CommentReplyCollectionUpdateData

用于更新对象上的 CommentReplyCollection 数据的接口,用于 在 中使用 commentReplyCollection.set({ ... })

Word.Interfaces.CommentReplyData

一个接口,用于描述通过调用 commentReply.toJSON()返回的数据。

Word.Interfaces.CommentReplyLoadOptions

表示文档中的批注答复。

Word.Interfaces.CommentReplyUpdateData

用于更新对象上的 CommentReply 数据的接口,用于 在 中使用 commentReply.set({ ... })

Word.Interfaces.CommentUpdateData

用于更新对象上的 Comment 数据的接口,用于 在 中使用 comment.set({ ... })

Word.Interfaces.ContentControlCollectionData

一个接口,用于描述通过调用 contentControlCollection.toJSON()返回的数据。

Word.Interfaces.ContentControlCollectionLoadOptions

包含Word的集合。ContentControl 对象。 内容控件是文档中绑定的、有可能添加标签的区域,它们充当特定类型的内容的容器。 各个内容控件可能包含诸如图像、表格或格式化文本段落等内容。 目前,仅支持格式文本、纯文本、复选框、下拉列表和组合框内容控件。

Word.Interfaces.ContentControlCollectionUpdateData

用于更新对象上的 ContentControlCollection 数据的接口,用于 在 中使用 contentControlCollection.set({ ... })

Word.Interfaces.ContentControlData

一个接口,用于描述通过调用 contentControl.toJSON()返回的数据。

Word.Interfaces.ContentControlListItemCollectionData

一个接口,用于描述通过调用 contentControlListItemCollection.toJSON()返回的数据。

Word.Interfaces.ContentControlListItemCollectionLoadOptions

包含Word的集合。ContentControlListItem 对象,这些对象表示下拉列表或组合框内容控件中的项。

Word.Interfaces.ContentControlListItemCollectionUpdateData

用于更新对象上的 ContentControlListItemCollection 数据的接口,用于 在 中使用 contentControlListItemCollection.set({ ... })

Word.Interfaces.ContentControlListItemData

一个接口,用于描述通过调用 contentControlListItem.toJSON()返回的数据。

Word.Interfaces.ContentControlListItemLoadOptions

表示下拉列表或组合框内容控件中的列表项。

Word.Interfaces.ContentControlListItemUpdateData

用于更新对象上的 ContentControlListItem 数据的接口,用于 在 中使用 contentControlListItem.set({ ... })

Word.Interfaces.ContentControlLoadOptions

表示内容控件。 内容控件是文档中绑定的、有可能添加标签的区域,它们充当特定类型的内容的容器。 各个内容控件可能包含诸如图像、表格或格式化文本段落等内容。 目前,仅支持格式文本、纯文本、复选框、下拉列表和组合框内容控件。

Word.Interfaces.ContentControlUpdateData

用于更新对象上的 ContentControl 数据的接口,用于 在 中使用 contentControl.set({ ... })

Word.Interfaces.CritiqueAnnotationData

一个接口,用于描述通过调用 critiqueAnnotation.toJSON()返回的数据。

Word.Interfaces.CritiqueAnnotationLoadOptions

表示文档中显示的批注包装。

Word.Interfaces.CustomPropertyCollectionData

一个接口,用于描述通过调用 customPropertyCollection.toJSON()返回的数据。

Word.Interfaces.CustomPropertyCollectionLoadOptions

包含 Word 的集合。CustomProperty 对象。

Word.Interfaces.CustomPropertyCollectionUpdateData

用于更新对象上的 CustomPropertyCollection 数据的接口,用于 在 中使用 customPropertyCollection.set({ ... })

Word.Interfaces.CustomPropertyData

一个接口,用于描述通过调用 customProperty.toJSON()返回的数据。

Word.Interfaces.CustomPropertyLoadOptions

表示自定义属性。

Word.Interfaces.CustomPropertyUpdateData

用于更新对象上的 CustomProperty 数据的接口,用于 在 中使用 customProperty.set({ ... })

Word.Interfaces.CustomXmlNodeCollectionData

一个接口,用于描述通过调用 customXmlNodeCollection.toJSON()返回的数据。

Word.Interfaces.CustomXmlNodeCollectionLoadOptions

包含Word的集合。CustomXmlNode 对象,表示文档中的 XML 节点。

Word.Interfaces.CustomXmlNodeCollectionUpdateData

用于更新对象上的 CustomXmlNodeCollection 数据的接口,用于 在 中使用 customXmlNodeCollection.set({ ... })

Word.Interfaces.CustomXmlNodeData

一个接口,用于描述通过调用 customXmlNode.toJSON()返回的数据。

Word.Interfaces.CustomXmlNodeLoadOptions

表示文档中树中的 XML 节点。 对象CustomXmlNodeWord的成员。CustomXmlNodeCollection 对象。

Word.Interfaces.CustomXmlNodeUpdateData

用于更新对象上的 CustomXmlNode 数据的接口,用于 在 中使用 customXmlNode.set({ ... })

Word.Interfaces.CustomXmlPartCollectionData

一个接口,用于描述通过调用 customXmlPartCollection.toJSON()返回的数据。

Word.Interfaces.CustomXmlPartCollectionLoadOptions

包含 Word 的集合。CustomXmlPart 对象。

Word.Interfaces.CustomXmlPartCollectionUpdateData

用于更新对象上的 CustomXmlPartCollection 数据的接口,用于 在 中使用 customXmlPartCollection.set({ ... })

Word.Interfaces.CustomXmlPartData

一个接口,用于描述通过调用 customXmlPart.toJSON()返回的数据。

Word.Interfaces.CustomXmlPartLoadOptions

表示自定义 XML 部件。

Word.Interfaces.CustomXmlPartScopedCollectionData

一个接口,用于描述通过调用 customXmlPartScopedCollection.toJSON()返回的数据。

Word.Interfaces.CustomXmlPartScopedCollectionLoadOptions

包含 Word 的集合具有特定命名空间的 CustomXmlPart 对象。

Word.Interfaces.CustomXmlPartScopedCollectionUpdateData

用于更新对象上的 CustomXmlPartScopedCollection 数据的接口,用于 在 中使用 customXmlPartScopedCollection.set({ ... })

Word.Interfaces.CustomXmlPartUpdateData

用于更新对象上的 CustomXmlPart 数据的接口,用于 在 中使用 customXmlPart.set({ ... })

Word.Interfaces.CustomXmlPrefixMappingCollectionData

一个接口,用于描述通过调用 customXmlPrefixMappingCollection.toJSON()返回的数据。

Word.Interfaces.CustomXmlPrefixMappingCollectionLoadOptions

表示Word的集合。CustomXmlPrefixMapping 对象。

Word.Interfaces.CustomXmlPrefixMappingCollectionUpdateData

用于更新对象上的 CustomXmlPrefixMappingCollection 数据的接口,用于 在 中使用 customXmlPrefixMappingCollection.set({ ... })

Word.Interfaces.CustomXmlPrefixMappingData

一个接口,用于描述通过调用 customXmlPrefixMapping.toJSON()返回的数据。

Word.Interfaces.CustomXmlPrefixMappingLoadOptions

表示 CustomXmlPrefixMapping 对象。

Word.Interfaces.CustomXmlSchemaCollectionData

一个接口,用于描述通过调用 customXmlSchemaCollection.toJSON()返回的数据。

Word.Interfaces.CustomXmlSchemaCollectionLoadOptions

表示Word的集合。附加到数据流的 CustomXmlSchema 对象。

Word.Interfaces.CustomXmlSchemaCollectionUpdateData

用于更新对象上的 CustomXmlSchemaCollection 数据的接口,用于 在 中使用 customXmlSchemaCollection.set({ ... })

Word.Interfaces.CustomXmlSchemaData

一个接口,用于描述通过调用 customXmlSchema.toJSON()返回的数据。

Word.Interfaces.CustomXmlSchemaLoadOptions

表示Word中的架构。CustomXmlSchemaCollection 对象。

Word.Interfaces.CustomXmlValidationErrorCollectionData

一个接口,用于描述通过调用 customXmlValidationErrorCollection.toJSON()返回的数据。

Word.Interfaces.CustomXmlValidationErrorCollectionLoadOptions

表示Word的集合。CustomXmlValidationError 对象。

Word.Interfaces.CustomXmlValidationErrorCollectionUpdateData

用于更新对象上的 CustomXmlValidationErrorCollection 数据的接口,用于 在 中使用 customXmlValidationErrorCollection.set({ ... })

Word.Interfaces.CustomXmlValidationErrorData

一个接口,用于描述通过调用 customXmlValidationError.toJSON()返回的数据。

Word.Interfaces.CustomXmlValidationErrorLoadOptions

表示Word中的单个验证错误。CustomXmlValidationErrorCollection 对象。

Word.Interfaces.CustomXmlValidationErrorUpdateData

用于更新对象上的 CustomXmlValidationError 数据的接口,用于 在 中使用 customXmlValidationError.set({ ... })

Word.Interfaces.DatePickerContentControlData

一个接口,用于描述通过调用 datePickerContentControl.toJSON()返回的数据。

Word.Interfaces.DatePickerContentControlLoadOptions

表示 DatePickerContentControl 对象。

Word.Interfaces.DatePickerContentControlUpdateData

用于更新对象上的 DatePickerContentControl 数据的接口,用于 在 中使用 datePickerContentControl.set({ ... })

Word.Interfaces.DocumentCreatedData

一个接口,用于描述通过调用 documentCreated.toJSON()返回的数据。

Word.Interfaces.DocumentCreatedLoadOptions

DocumentCreated 对象是由 Application.CreateDocument 创建的顶级对象。 DocumentCreated 对象是一个特殊的 Document 对象。

Word.Interfaces.DocumentCreatedUpdateData

用于更新对象上的 DocumentCreated 数据的接口,用于 在 中使用 documentCreated.set({ ... })

Word.Interfaces.DocumentData

一个接口,用于描述通过调用 document.toJSON()返回的数据。

Word.Interfaces.DocumentLibraryVersionCollectionData

一个接口,用于描述通过调用 documentLibraryVersionCollection.toJSON()返回的数据。

Word.Interfaces.DocumentLibraryVersionCollectionLoadOptions

表示Word的集合。DocumentLibraryVersion 对象。

Word.Interfaces.DocumentLibraryVersionCollectionUpdateData

用于更新对象上的 DocumentLibraryVersionCollection 数据的接口,用于 在 中使用 documentLibraryVersionCollection.set({ ... })

Word.Interfaces.DocumentLibraryVersionData

一个接口,用于描述通过调用 documentLibraryVersion.toJSON()返回的数据。

Word.Interfaces.DocumentLibraryVersionLoadOptions

表示文档库版本。

Word.Interfaces.DocumentLoadOptions

Document 对象是顶层对象。 Document 对象包含一个或多个节、内容控件以及包含文档内容的正文。

Word.Interfaces.DocumentPropertiesData

一个接口,用于描述通过调用 documentProperties.toJSON()返回的数据。

Word.Interfaces.DocumentPropertiesLoadOptions

表示文档属性。

Word.Interfaces.DocumentPropertiesUpdateData

用于更新对象上的 DocumentProperties 数据的接口,用于 在 中使用 documentProperties.set({ ... })

Word.Interfaces.DocumentUpdateData

用于更新对象上的 Document 数据的接口,用于 在 中使用 document.set({ ... })

Word.Interfaces.DropDownListContentControlData

一个接口,用于描述通过调用 dropDownListContentControl.toJSON()返回的数据。

Word.Interfaces.FieldCollectionData

一个接口,用于描述通过调用 fieldCollection.toJSON()返回的数据。

Word.Interfaces.FieldCollectionLoadOptions

包含Word的集合。Field 对象。

Word.Interfaces.FieldCollectionUpdateData

用于更新对象上的 FieldCollection 数据的接口,用于 在 中使用 fieldCollection.set({ ... })

Word.Interfaces.FieldData

一个接口,用于描述通过调用 field.toJSON()返回的数据。

Word.Interfaces.FieldLoadOptions

表示一个字段。

Word.Interfaces.FieldUpdateData

用于更新对象上的 Field 数据的接口,用于 在 中使用 field.set({ ... })

Word.Interfaces.FillFormatData

一个接口,用于描述通过调用 fillFormat.toJSON()返回的数据。

Word.Interfaces.FillFormatLoadOptions

表示形状或文本的填充格式。

Word.Interfaces.FillFormatUpdateData

用于更新对象上的 FillFormat 数据的接口,用于 在 中使用 fillFormat.set({ ... })

Word.Interfaces.FontData

一个接口,用于描述通过调用 font.toJSON()返回的数据。

Word.Interfaces.FontLoadOptions

表示字体。

Word.Interfaces.FontUpdateData

用于更新对象上的 Font 数据的接口,用于 在 中使用 font.set({ ... })

Word.Interfaces.FrameCollectionData

一个接口,用于描述通过调用 frameCollection.toJSON()返回的数据。

Word.Interfaces.FrameCollectionLoadOptions

表示Word的集合。框架对象。

Word.Interfaces.FrameCollectionUpdateData

用于更新对象上的 FrameCollection 数据的接口,用于 在 中使用 frameCollection.set({ ... })

Word.Interfaces.FrameData

一个接口,用于描述通过调用 frame.toJSON()返回的数据。

Word.Interfaces.FrameLoadOptions

表示框架。 对象FrameWord的成员。FrameCollection 对象。

Word.Interfaces.FrameUpdateData

用于更新对象上的 Frame 数据的接口,用于 在 中使用 frame.set({ ... })

Word.Interfaces.GlowFormatData

一个接口,用于描述通过调用 glowFormat.toJSON()返回的数据。

Word.Interfaces.GlowFormatLoadOptions

表示文本范围使用的字体的发光格式。

Word.Interfaces.GlowFormatUpdateData

用于更新对象上的 GlowFormat 数据的接口,用于 在 中使用 glowFormat.set({ ... })

Word.Interfaces.GroupContentControlData

一个接口,用于描述通过调用 groupContentControl.toJSON()返回的数据。

Word.Interfaces.GroupContentControlLoadOptions

表示 GroupContentControl 对象。

Word.Interfaces.GroupContentControlUpdateData

用于更新对象上的 GroupContentControl 数据的接口,用于 在 中使用 groupContentControl.set({ ... })

Word.Interfaces.HyperlinkCollectionData

一个接口,用于描述通过调用 hyperlinkCollection.toJSON()返回的数据。

Word.Interfaces.HyperlinkCollectionLoadOptions

包含Word的集合。超链接对象。

Word.Interfaces.HyperlinkCollectionUpdateData

用于更新对象上的 HyperlinkCollection 数据的接口,用于 在 中使用 hyperlinkCollection.set({ ... })

Word.Interfaces.HyperlinkData

一个接口,用于描述通过调用 hyperlink.toJSON()返回的数据。

Word.Interfaces.HyperlinkLoadOptions

表示Word文档中的超链接。

Word.Interfaces.HyperlinkUpdateData

用于更新对象上的 Hyperlink 数据的接口,用于 在 中使用 hyperlink.set({ ... })

Word.Interfaces.InlinePictureCollectionData

一个接口,用于描述通过调用 inlinePictureCollection.toJSON()返回的数据。

Word.Interfaces.InlinePictureCollectionLoadOptions

包含Word的集合。InlinePicture 对象。

Word.Interfaces.InlinePictureCollectionUpdateData

用于更新对象上的 InlinePictureCollection 数据的接口,用于 在 中使用 inlinePictureCollection.set({ ... })

Word.Interfaces.InlinePictureData

一个接口,用于描述通过调用 inlinePicture.toJSON()返回的数据。

Word.Interfaces.InlinePictureLoadOptions

表示嵌入式图片。

Word.Interfaces.InlinePictureUpdateData

用于更新对象上的 InlinePicture 数据的接口,用于 在 中使用 inlinePicture.set({ ... })

Word.Interfaces.LineFormatData

一个接口,用于描述通过调用 lineFormat.toJSON()返回的数据。

Word.Interfaces.LineFormatLoadOptions

代表线条和箭头格式。 对于线条, LineFormat 对象包含线条本身的格式设置信息;对于具有边框的形状,此对象包含形状边框的格式信息。

Word.Interfaces.LineFormatUpdateData

用于更新对象上的 LineFormat 数据的接口,用于 在 中使用 lineFormat.set({ ... })

Word.Interfaces.LineNumberingData

一个接口,用于描述通过调用 lineNumbering.toJSON()返回的数据。

Word.Interfaces.LineNumberingLoadOptions

代表位于左边距中的行号或位于各新闻稿样式分栏左侧的行号。

Word.Interfaces.LineNumberingUpdateData

用于更新对象上的 LineNumbering 数据的接口,用于 在 中使用 lineNumbering.set({ ... })

Word.Interfaces.ListCollectionData

一个接口,用于描述通过调用 listCollection.toJSON()返回的数据。

Word.Interfaces.ListCollectionLoadOptions

包含Word的集合。列出对象。

Word.Interfaces.ListCollectionUpdateData

用于更新对象上的 ListCollection 数据的接口,用于 在 中使用 listCollection.set({ ... })

Word.Interfaces.ListData

一个接口,用于描述通过调用 list.toJSON()返回的数据。

Word.Interfaces.ListFormatData

一个接口,用于描述通过调用 listFormat.toJSON()返回的数据。

Word.Interfaces.ListFormatLoadOptions

表示区域的列表格式设置特征。

Word.Interfaces.ListFormatUpdateData

用于更新对象上的 ListFormat 数据的接口,用于 在 中使用 listFormat.set({ ... })

Word.Interfaces.ListItemData

一个接口,用于描述通过调用 listItem.toJSON()返回的数据。

Word.Interfaces.ListItemLoadOptions

表示段落列表项格式。

Word.Interfaces.ListItemUpdateData

用于更新对象上的 ListItem 数据的接口,用于 在 中使用 listItem.set({ ... })

Word.Interfaces.ListLevelCollectionData

一个接口,用于描述通过调用 listLevelCollection.toJSON()返回的数据。

Word.Interfaces.ListLevelCollectionLoadOptions

包含Word的集合。ListLevel 对象。

Word.Interfaces.ListLevelCollectionUpdateData

用于更新对象上的 ListLevelCollection 数据的接口,用于 在 中使用 listLevelCollection.set({ ... })

Word.Interfaces.ListLevelData

一个接口,用于描述通过调用 listLevel.toJSON()返回的数据。

Word.Interfaces.ListLevelLoadOptions

表示列表级别。

Word.Interfaces.ListLevelUpdateData

用于更新对象上的 ListLevel 数据的接口,用于 在 中使用 listLevel.set({ ... })

Word.Interfaces.ListLoadOptions

包含Word的集合。Paragraph 对象。

Word.Interfaces.ListTemplateData

一个接口,用于描述通过调用 listTemplate.toJSON()返回的数据。

Word.Interfaces.ListTemplateLoadOptions

表示 ListTemplate。

Word.Interfaces.ListTemplateUpdateData

用于更新对象上的 ListTemplate 数据的接口,用于 在 中使用 listTemplate.set({ ... })

Word.Interfaces.NoteItemCollectionData

一个接口,用于描述通过调用 noteItemCollection.toJSON()返回的数据。

Word.Interfaces.NoteItemCollectionLoadOptions

包含Word的集合。NoteItem 对象。

Word.Interfaces.NoteItemCollectionUpdateData

用于更新对象上的 NoteItemCollection 数据的接口,用于 在 中使用 noteItemCollection.set({ ... })

Word.Interfaces.NoteItemData

一个接口,用于描述通过调用 noteItem.toJSON()返回的数据。

Word.Interfaces.NoteItemLoadOptions

表示脚注或尾注。

Word.Interfaces.NoteItemUpdateData

用于更新对象上的 NoteItem 数据的接口,用于 在 中使用 noteItem.set({ ... })

Word.Interfaces.PageCollectionData

一个接口,用于描述通过调用 pageCollection.toJSON()返回的数据。

Word.Interfaces.PageCollectionLoadOptions

表示页的集合。

Word.Interfaces.PageCollectionUpdateData

用于更新对象上的 PageCollection 数据的接口,用于 在 中使用 pageCollection.set({ ... })

Word.Interfaces.PageData

一个接口,用于描述通过调用 page.toJSON()返回的数据。

Word.Interfaces.PageLoadOptions

表示文档中的一页。 Page 对象管理页面布局和内容。

Word.Interfaces.PageSetupData

一个接口,用于描述通过调用 pageSetup.toJSON()返回的数据。

Word.Interfaces.PageSetupLoadOptions

表示Word文档或节的页面设置设置。

Word.Interfaces.PageSetupUpdateData

用于更新对象上的 PageSetup 数据的接口,用于 在 中使用 pageSetup.set({ ... })

Word.Interfaces.PaneCollectionData

一个接口,用于描述通过调用 paneCollection.toJSON()返回的数据。

Word.Interfaces.PaneCollectionUpdateData

用于更新对象上的 PaneCollection 数据的接口,用于 在 中使用 paneCollection.set({ ... })

Word.Interfaces.PaneData

一个接口,用于描述通过调用 pane.toJSON()返回的数据。

Word.Interfaces.ParagraphCollectionData

一个接口,用于描述通过调用 paragraphCollection.toJSON()返回的数据。

Word.Interfaces.ParagraphCollectionLoadOptions

包含Word的集合。Paragraph 对象。

Word.Interfaces.ParagraphCollectionUpdateData

用于更新对象上的 ParagraphCollection 数据的接口,用于 在 中使用 paragraphCollection.set({ ... })

Word.Interfaces.ParagraphData

一个接口,用于描述通过调用 paragraph.toJSON()返回的数据。

Word.Interfaces.ParagraphFormatData

一个接口,用于描述通过调用 paragraphFormat.toJSON()返回的数据。

Word.Interfaces.ParagraphFormatLoadOptions

表示文档中段落的样式。

Word.Interfaces.ParagraphFormatUpdateData

用于更新对象上的 ParagraphFormat 数据的接口,用于 在 中使用 paragraphFormat.set({ ... })

Word.Interfaces.ParagraphLoadOptions

表示选定内容、区域、内容控件或文档正文中的单个段落。

Word.Interfaces.ParagraphUpdateData

用于更新对象上的 Paragraph 数据的接口,用于 在 中使用 paragraph.set({ ... })

Word.Interfaces.PictureContentControlData

一个接口,用于描述通过调用 pictureContentControl.toJSON()返回的数据。

Word.Interfaces.PictureContentControlLoadOptions

表示 PictureContentControl 对象。

Word.Interfaces.PictureContentControlUpdateData

用于更新对象上的 PictureContentControl 数据的接口,用于 在 中使用 pictureContentControl.set({ ... })

Word.Interfaces.RangeCollectionData

一个接口,用于描述通过调用 rangeCollection.toJSON()返回的数据。

Word.Interfaces.RangeCollectionLoadOptions

包含Word的集合。Range 对象。

Word.Interfaces.RangeCollectionUpdateData

用于更新对象上的 RangeCollection 数据的接口,用于 在 中使用 rangeCollection.set({ ... })

Word.Interfaces.RangeData

一个接口,用于描述通过调用 range.toJSON()返回的数据。

Word.Interfaces.RangeLoadOptions

表示文档中的一个连续区域。

Word.Interfaces.RangeUpdateData

用于更新对象上的 Range 数据的接口,用于 在 中使用 range.set({ ... })

Word.Interfaces.ReflectionFormatData

一个接口,用于描述通过调用 reflectionFormat.toJSON()返回的数据。

Word.Interfaces.ReflectionFormatLoadOptions

表示Word中形状的反射格式。

Word.Interfaces.ReflectionFormatUpdateData

用于更新对象上的 ReflectionFormat 数据的接口,用于 在 中使用 reflectionFormat.set({ ... })

Word.Interfaces.RepeatingSectionContentControlData

一个接口,用于描述通过调用 repeatingSectionContentControl.toJSON()返回的数据。

Word.Interfaces.RepeatingSectionContentControlLoadOptions

表示 RepeatingSectionContentControl 对象。

Word.Interfaces.RepeatingSectionContentControlUpdateData

用于更新对象上的 RepeatingSectionContentControl 数据的接口,用于 在 中使用 repeatingSectionContentControl.set({ ... })

Word.Interfaces.RepeatingSectionItemData

一个接口,用于描述通过调用 repeatingSectionItem.toJSON()返回的数据。

Word.Interfaces.RepeatingSectionItemLoadOptions

表示 中的单个项。

Word.Interfaces.RepeatingSectionItemUpdateData

用于更新对象上的 RepeatingSectionItem 数据的接口,用于 在 中使用 repeatingSectionItem.set({ ... })

Word.Interfaces.SearchOptionsData

一个接口,用于描述通过调用 searchOptions.toJSON()返回的数据。

Word.Interfaces.SearchOptionsLoadOptions

指定要包括在搜索操作中的选项。 若要详细了解如何在 Word JavaScript API 中使用搜索选项,请阅读使用搜索选项查找Word加载项中的文本。

Word.Interfaces.SearchOptionsUpdateData

用于更新对象上的 SearchOptions 数据的接口,用于 在 中使用 searchOptions.set({ ... })

Word.Interfaces.SectionCollectionData

一个接口,用于描述通过调用 sectionCollection.toJSON()返回的数据。

Word.Interfaces.SectionCollectionLoadOptions

包含文档Word的集合。Section 对象。

Word.Interfaces.SectionCollectionUpdateData

用于更新对象上的 SectionCollection 数据的接口,用于 在 中使用 sectionCollection.set({ ... })

Word.Interfaces.SectionData

一个接口,用于描述通过调用 section.toJSON()返回的数据。

Word.Interfaces.SectionLoadOptions

表示 Word 文档中的一节。

Word.Interfaces.SectionUpdateData

用于更新对象上的 Section 数据的接口,用于 在 中使用 section.set({ ... })

Word.Interfaces.SettingCollectionData

一个接口,用于描述通过调用 settingCollection.toJSON()返回的数据。

Word.Interfaces.SettingCollectionLoadOptions

包含 Word 的集合。设置对象。

Word.Interfaces.SettingCollectionUpdateData

用于更新对象上的 SettingCollection 数据的接口,用于 在 中使用 settingCollection.set({ ... })

Word.Interfaces.SettingData

一个接口,用于描述通过调用 setting.toJSON()返回的数据。

Word.Interfaces.SettingLoadOptions

表示加载项的设置。

Word.Interfaces.SettingUpdateData

用于更新对象上的 Setting 数据的接口,用于 在 中使用 setting.set({ ... })

Word.Interfaces.ShadingData

一个接口,用于描述通过调用 shading.toJSON()返回的数据。

Word.Interfaces.ShadingLoadOptions

表示底纹对象。

Word.Interfaces.ShadingUniversalData

一个接口,用于描述通过调用 shadingUniversal.toJSON()返回的数据。

Word.Interfaces.ShadingUniversalLoadOptions

表示 ShadingUniversal 对象,该对象管理区域、段落、框架或表格的底纹。

Word.Interfaces.ShadingUniversalUpdateData

用于更新对象上的 ShadingUniversal 数据的接口,用于 在 中使用 shadingUniversal.set({ ... })

Word.Interfaces.ShadingUpdateData

用于更新对象上的 Shading 数据的接口,用于 在 中使用 shading.set({ ... })

Word.Interfaces.ShadowFormatData

一个接口,用于描述通过调用 shadowFormat.toJSON()返回的数据。

Word.Interfaces.ShadowFormatLoadOptions

表示Word中形状或文本的阴影格式。

Word.Interfaces.ShadowFormatUpdateData

用于更新对象上的 ShadowFormat 数据的接口,用于 在 中使用 shadowFormat.set({ ... })

Word.Interfaces.ShapeCollectionData

一个接口,用于描述通过调用 shapeCollection.toJSON()返回的数据。

Word.Interfaces.ShapeCollectionLoadOptions

包含Word的集合。形状对象。 目前,仅支持以下形状:文本框、几何形状、组、图片和画布。

Word.Interfaces.ShapeCollectionUpdateData

用于更新对象上的 ShapeCollection 数据的接口,用于 在 中使用 shapeCollection.set({ ... })

Word.Interfaces.ShapeData

一个接口,用于描述通过调用 shape.toJSON()返回的数据。

Word.Interfaces.ShapeFillData

一个接口,用于描述通过调用 shapeFill.toJSON()返回的数据。

Word.Interfaces.ShapeFillLoadOptions

表示形状对象的填充格式。

Word.Interfaces.ShapeFillUpdateData

用于更新对象上的 ShapeFill 数据的接口,用于 在 中使用 shapeFill.set({ ... })

Word.Interfaces.ShapeGroupData

一个接口,用于描述通过调用 shapeGroup.toJSON()返回的数据。

Word.Interfaces.ShapeGroupLoadOptions

表示文档中的形状组。 若要获取相应的 Shape 对象,请使用 ShapeGroup.shape。

Word.Interfaces.ShapeGroupUpdateData

用于更新对象上的 ShapeGroup 数据的接口,用于 在 中使用 shapeGroup.set({ ... })

Word.Interfaces.ShapeLoadOptions

表示页眉、页脚或文档正文中的形状。 目前,仅支持以下形状:文本框、几何形状、组、图片和画布。

Word.Interfaces.ShapeTextWrapData

一个接口,用于描述通过调用 shapeTextWrap.toJSON()返回的数据。

Word.Interfaces.ShapeTextWrapLoadOptions

表示在形状周围环绕文本的所有属性。

Word.Interfaces.ShapeTextWrapUpdateData

用于更新对象上的 ShapeTextWrap 数据的接口,用于 在 中使用 shapeTextWrap.set({ ... })

Word.Interfaces.ShapeUpdateData

用于更新对象上的 Shape 数据的接口,用于 在 中使用 shape.set({ ... })

Word.Interfaces.SourceCollectionData

一个接口,用于描述通过调用 sourceCollection.toJSON()返回的数据。

Word.Interfaces.SourceCollectionLoadOptions

表示Word的集合。源对象。

Word.Interfaces.SourceCollectionUpdateData

用于更新对象上的 SourceCollection 数据的接口,用于 在 中使用 sourceCollection.set({ ... })

Word.Interfaces.SourceData

一个接口,用于描述通过调用 source.toJSON()返回的数据。

Word.Interfaces.SourceLoadOptions

代表单个源,如书籍、杂志文章或采访。

Word.Interfaces.StyleCollectionData

一个接口,用于描述通过调用 styleCollection.toJSON()返回的数据。

Word.Interfaces.StyleCollectionLoadOptions

包含Word的集合。样式对象。

Word.Interfaces.StyleCollectionUpdateData

用于更新对象上的 StyleCollection 数据的接口,用于 在 中使用 styleCollection.set({ ... })

Word.Interfaces.StyleData

一个接口,用于描述通过调用 style.toJSON()返回的数据。

Word.Interfaces.StyleLoadOptions

表示Word文档中的样式。

Word.Interfaces.StyleUpdateData

用于更新对象上的 Style 数据的接口,用于 在 中使用 style.set({ ... })

Word.Interfaces.TableBorderData

一个接口,用于描述通过调用 tableBorder.toJSON()返回的数据。

Word.Interfaces.TableBorderLoadOptions

指定边框样式。

Word.Interfaces.TableBorderUpdateData

用于更新对象上的 TableBorder 数据的接口,用于 在 中使用 tableBorder.set({ ... })

Word.Interfaces.TableCellCollectionData

一个接口,用于描述通过调用 tableCellCollection.toJSON()返回的数据。

Word.Interfaces.TableCellCollectionLoadOptions

包含文档的 TableCell 对象的集合。

Word.Interfaces.TableCellCollectionUpdateData

用于更新对象上的 TableCellCollection 数据的接口,用于 在 中使用 tableCellCollection.set({ ... })

Word.Interfaces.TableCellData

一个接口,用于描述通过调用 tableCell.toJSON()返回的数据。

Word.Interfaces.TableCellLoadOptions

表示Word文档中的表格单元格。

Word.Interfaces.TableCellUpdateData

用于更新对象上的 TableCell 数据的接口,用于 在 中使用 tableCell.set({ ... })

Word.Interfaces.TableCollectionData

一个接口,用于描述通过调用 tableCollection.toJSON()返回的数据。

Word.Interfaces.TableCollectionLoadOptions

包含文档的 Table 对象的集合。

Word.Interfaces.TableCollectionUpdateData

用于更新对象上的 TableCollection 数据的接口,用于 在 中使用 tableCollection.set({ ... })

Word.Interfaces.TableColumnCollectionData

一个接口,用于描述通过调用 tableColumnCollection.toJSON()返回的数据。

Word.Interfaces.TableColumnCollectionLoadOptions

表示Word的集合。Word文档中的 TableColumn 对象。

Word.Interfaces.TableColumnCollectionUpdateData

用于更新对象上的 TableColumnCollection 数据的接口,用于 在 中使用 tableColumnCollection.set({ ... })

Word.Interfaces.TableColumnData

一个接口,用于描述通过调用 tableColumn.toJSON()返回的数据。

Word.Interfaces.TableColumnLoadOptions

表示Word文档中的表格列。

Word.Interfaces.TableColumnUpdateData

用于更新对象上的 TableColumn 数据的接口,用于 在 中使用 tableColumn.set({ ... })

Word.Interfaces.TableData

一个接口,用于描述通过调用 table.toJSON()返回的数据。

Word.Interfaces.TableLoadOptions

表示Word文档中的表。

Word.Interfaces.TableRowCollectionData

一个接口,用于描述通过调用 tableRowCollection.toJSON()返回的数据。

Word.Interfaces.TableRowCollectionLoadOptions

包含文档的 TableRow 对象的集合。

Word.Interfaces.TableRowCollectionUpdateData

用于更新对象上的 TableRowCollection 数据的接口,用于 在 中使用 tableRowCollection.set({ ... })

Word.Interfaces.TableRowData

一个接口,用于描述通过调用 tableRow.toJSON()返回的数据。

Word.Interfaces.TableRowLoadOptions

表示Word文档中的行。

Word.Interfaces.TableRowUpdateData

用于更新对象上的 TableRow 数据的接口,用于 在 中使用 tableRow.set({ ... })

Word.Interfaces.TableStyleData

一个接口,用于描述通过调用 tableStyle.toJSON()返回的数据。

Word.Interfaces.TableStyleLoadOptions

表示 TableStyle 对象。

Word.Interfaces.TableStyleUpdateData

用于更新对象上的 TableStyle 数据的接口,用于 在 中使用 tableStyle.set({ ... })

Word.Interfaces.TableUpdateData

用于更新对象上的 Table 数据的接口,用于 在 中使用 table.set({ ... })

Word.Interfaces.TemplateCollectionData

一个接口,用于描述通过调用 templateCollection.toJSON()返回的数据。

Word.Interfaces.TemplateCollectionLoadOptions

包含Word的集合表示当前可用的所有模板的模板对象。 该集合包括打开的模板、附加到打开的文档的模板和在“模板和加载项”对话框中加载的共用模板。 若要了解如何在Word UI 中访问此对话框,请参阅加载或卸载模板或外接程序程序

Word.Interfaces.TemplateCollectionUpdateData

用于更新对象上的 TemplateCollection 数据的接口,用于 在 中使用 templateCollection.set({ ... })

Word.Interfaces.TemplateData

一个接口,用于描述通过调用 template.toJSON()返回的数据。

Word.Interfaces.TemplateLoadOptions

代表一个文档模板。

Word.Interfaces.TemplateUpdateData

用于更新对象上的 Template 数据的接口,用于 在 中使用 template.set({ ... })

Word.Interfaces.TextColumnCollectionData

一个接口,用于描述通过调用 textColumnCollection.toJSON()返回的数据。

Word.Interfaces.TextColumnCollectionLoadOptions

Word的集合。TextColumn 对象,表示文档或文档部分中的所有文本列。

Word.Interfaces.TextColumnCollectionUpdateData

用于更新对象上的 TextColumnCollection 数据的接口,用于 在 中使用 textColumnCollection.set({ ... })

Word.Interfaces.TextColumnData

一个接口,用于描述通过调用 textColumn.toJSON()返回的数据。

Word.Interfaces.TextColumnLoadOptions

表示节中的单个文本列。

Word.Interfaces.TextColumnUpdateData

用于更新对象上的 TextColumn 数据的接口,用于 在 中使用 textColumn.set({ ... })

Word.Interfaces.TextFrameData

一个接口,用于描述通过调用 textFrame.toJSON()返回的数据。

Word.Interfaces.TextFrameLoadOptions

表示形状对象的文本框。

Word.Interfaces.TextFrameUpdateData

用于更新对象上的 TextFrame 数据的接口,用于 在 中使用 textFrame.set({ ... })

Word.Interfaces.ThreeDimensionalFormatData

一个接口,用于描述通过调用 threeDimensionalFormat.toJSON()返回的数据。

Word.Interfaces.ThreeDimensionalFormatLoadOptions

代表形状的三维格式。

Word.Interfaces.ThreeDimensionalFormatUpdateData

用于更新对象上的 ThreeDimensionalFormat 数据的接口,用于 在 中使用 threeDimensionalFormat.set({ ... })

Word.Interfaces.TrackedChangeCollectionData

一个接口,用于描述通过调用 trackedChangeCollection.toJSON()返回的数据。

Word.Interfaces.TrackedChangeCollectionLoadOptions

包含Word的集合。TrackedChange 对象。

Word.Interfaces.TrackedChangeCollectionUpdateData

用于更新对象上的 TrackedChangeCollection 数据的接口,用于 在 中使用 trackedChangeCollection.set({ ... })

Word.Interfaces.TrackedChangeData

一个接口,用于描述通过调用 trackedChange.toJSON()返回的数据。

Word.Interfaces.TrackedChangeLoadOptions

表示Word文档中的修订。

Word.Interfaces.WindowCollectionData

一个接口,用于描述通过调用 windowCollection.toJSON()返回的数据。

Word.Interfaces.WindowCollectionUpdateData

用于更新对象上的 WindowCollection 数据的接口,用于 在 中使用 windowCollection.set({ ... })

Word.Interfaces.WindowData

一个接口,用于描述通过调用 window.toJSON()返回的数据。

Word.Interfaces.XmlMappingData

一个接口,用于描述通过调用 xmlMapping.toJSON()返回的数据。

Word.Interfaces.XmlMappingLoadOptions

表示Word上的 XML 映射自定义 XML 与该内容控件之间的 ContentControl 对象。 XML 映射是内容控件中的文本与此文档的自定义 XML 数据存储中的 XML 元素之间的链接。

Word.Interfaces.XmlMappingUpdateData

用于更新对象上的 XmlMapping 数据的接口,用于 在 中使用 xmlMapping.set({ ... })

Word.ListFormatCountNumberedItemsOptions

表示用于对区域中的编号项进行计数的选项。

Word.ListTemplateApplyOptions

表示用于将列表模板应用于区域的选项。

Word.ParagraphAddedEventArgs

提供有关引发 paragraphAdded 事件的段落的信息。

Word.ParagraphChangedEventArgs

提供有关引发 paragraphChanged 事件的段落的信息。

Word.ParagraphDeletedEventArgs

提供有关引发 paragraphDeleted 事件的段落的信息。

Word.TextColumnAddOptions

表示文档或文档节中新文本列的选项。

Word.XmlSetMappingOptions

用于定义前缀映射和自定义 XML 数据源的选项。

枚举

Word.Alignment
Word.AnnotationState

表示批注的状态。

Word.ArrowheadLength

指定线条末端的箭头长度。

Word.ArrowheadStyle

指定线条末端的箭头样式。

Word.ArrowheadWidth

指定线条末端的箭头宽度。

Word.BevelType

指示Word的棱台类型。ThreeDimensionalFormat 对象。

Word.BodyType

表示正文对象的类型。

Word.BorderLineStyle

指定对象的边框样式。

Word.BorderLocation
Word.BorderType
Word.BorderWidth

表示样式边框的宽度。

Word.BreakType

指定分页符的窗体。

Word.BuildingBlockType

指定生成块的类型。

Word.BuiltInStyleName

表示Word文档中的内置样式。

Word.CalendarType

日历类型。

Word.CellPaddingLocation
Word.ChangeTrackingMode

表示可能的更改跟踪模式。

Word.ChangeTrackingState

指定启用 ChangeTracking 时的跟踪状态。

Word.ChangeTrackingVersion

指定文本的当前版本或原始版本。

Word.CloseBehavior

指定 的 Document.close关闭行为。

Word.ColorIndex

表示Word文档中的颜色索引值。

Word.ColorType

指定颜色类型。

Word.CommentChangeType

表示更改事件中的注释的方式。

Word.CompareTarget

指定用于显示文档比较结果差异的目标文档。

Word.ContentControlAppearance

ContentControl 外观。

Word.ContentControlDateStorageFormat

Word的日期存储格式。DatePickerContentControl

Word.ContentControlLevel

内容控件级别类型。

Word.ContentControlState

表示内容控件的状态。

Word.ContentControlType

指定支持的内容控件类型和子类型。

Word.Continue

指定是否可以继续使用上一列表中的格式。

Word.CritiqueColorScheme

表示文档中批评的配色方案,影响下划线和突出显示。

Word.CustomXmlNodeType

表示Word的类型。CustomXmlNode

Word.CustomXmlValidationErrorType

表示Word的类型。CustomXmlValidationError

Word.DefaultListBehavior

指定列表的默认列表行为。

Word.DocPartInsertType

指定如何将生成块插入文档。

Word.DocumentPropertyType
Word.EmphasisMark

指定用于字符或指定字符串的着重号类型。

Word.ErrorCodes
Word.EventSource

一个枚举,指定事件的源。 通过共同创作) ,它可以是本地或远程 (。

Word.EventType

提供有关引发事件的类型的信息。

Word.ExtrusionColorType

指定延伸区域的颜色是否基于原图形的填充(延伸区域的正面),并随着图形填充的改变而自动改变,或者延伸区域的颜色是否与图形填充无关。

Word.FarEastLineBreakLanguageId

表示在指定文档或模板中断行文本时使用的东亚语言。

Word.FarEastLineBreakLevel

表示指定文档或模板中东亚语言使用的换行级别。

Word.FieldKind

表示字段的类型。 指示字段与更新相关的工作原理。

Word.FieldType

表示 Field 的类型。

Word.FillType

指定形状的填充类型。

Word.FlowDirection

指定从一个文本列到下一个文本列的文字排列方向。

Word.FrameSizeRule

表示Word如何解释用于确定Word的高度或宽度的规则。框架

Word.GeometricShapeType

指定对象的形状类型 GeometricShape

Word.GradientColorType

指定用于形状填充的渐变类型。

Word.GradientStyle

指定渐变填充的样式。

Word.GutterPosition

指定装订线显示在文档中的位置。

Word.GutterStyle

指定装订线样式应符合从左向右文字排列规则还是从右向左文字排列规则。

Word.HeaderFooterType
Word.HyperlinkType

指定超链接类型。

Word.ImageFormat
Word.ImportedStylesConflictBehavior

指定如何处理任何冲突,即当导入的样式与当前文档中的现有样式同名时。

Word.InsertLocation

插入位置类型。

Word.JustificationMode

指定文档的字符间距调整。

Word.LanguageId

表示Word文档的语言 ID。

Word.LayoutMode

指定在当前文档的版式模式下排放文本的方式。

Word.Ligature

指定应用于字体的连字类型。

Word.LightRigType

指定对象的照明效果。

Word.LineDashStyle

指定直线的虚线线型。

Word.LineFormatStyle

指定线型。

Word.LineWidth

指定对象边框的宽度。

Word.ListApplyTo

指定要应用列表模板的列表部分。

Word.ListBuiltInNumberStyle
Word.ListBullet
Word.ListLevelType
Word.ListNumbering
Word.ListType

表示列表类型。

Word.LocationRelation
Word.NoteItemType

备注项类型

Word.NumberForm

指定 OpenType 字体的数字形式设置。

Word.NumberingRule

指定要应用的编号规则。

Word.NumberSpacing

指定 OpenType 字体的数字间距设置。

Word.NumberType

指定列表中的数字类型。

Word.OutlineLevel

表示大纲级别。

Word.PageBorderArt

指定某页的图形页面边框设置。

Word.PageOrientation

指定页面布局方向。

Word.PageSetupVerticalAlignment

指定要应用的垂直对齐方式的类型。

Word.PaperSize

指定纸张大小。

Word.PatternType

指定形状中所使用的填充图案。

Word.PreferredWidthType

指定要在测量项目宽度时使用的首选度量单位。

Word.PresetCamera

指示由指定对象使用的效果照相机类型。

Word.PresetExtrusionDirection

指定延伸经过的路径偏离延伸形状(延伸的正面)的方向。

Word.PresetGradientType

指定使用哪种预定义渐变填充形状。

Word.PresetLightingDirection

指定延伸(三维)形状上的光源相对于该形状的位置。

Word.PresetLightingSoftness

指定形状上所使用光的亮度。

Word.PresetMaterial

指定延伸表面的材料。

Word.PresetTexture

指定用于填充形状的纹理。

Word.PresetThreeDimensionalFormat

指定延伸 (三维) 格式。

Word.RangeLocation

表示区域的位置。 可以通过对不同对象(例如Word)调用 getRange 来获取范围。段落Word。ContentControl

Word.ReflectionType

指定Word的类型。ReflectionFormat 对象。

Word.RelativeHorizontalPosition

表示形状相对于的水平位置。 有关边距的详细信息,请参阅更改Word文档中的边距。

Word.RelativeSize

表示形状相对于的水平或垂直大小。 有关边距的详细信息,请参阅更改Word文档中的边距。

Word.RelativeVerticalPosition

表示形状相对于的垂直位置。 有关边距的详细信息,请参阅更改Word文档中的边距。

Word.RulerStyle

指定 Word 在左缩进更改时调整表格的方式。

Word.SaveBehavior

指定 的 Document.save保存行为。

Word.SectionDirection

指定 Word 如何显示指定节的阅读顺序和对齐方式。

Word.SectionStart

指定所指定项的分节符的类型。

Word.SelectionMode

此枚举设置文档中光标 (插入点) 在选定内容之后的位置。

Word.ShadingTextureType

表示底纹纹理。 若要详细了解如何应用背景(如纹理),请参阅在 Word 中添加、更改或删除背景色。

Word.ShadowStyle

指定阴影效果的类型。

Word.ShadowType

指定与形状一起显示的阴影的类型。

Word.ShapeAutoSize

确定允许的自动调整大小的类型。

Word.ShapeFillType

指定形状的填充类型。

Word.ShapeScaleFrom

指定在缩放形状时,该形状的哪一部分将保持在原有的位置。

Word.ShapeScaleType

指定形状的刻度大小类型。

Word.ShapeTextOrientation

指定形状中文本框架的方向。

Word.ShapeTextVerticalAlignment

指定形状中文本框架的垂直对齐方式。

Word.ShapeTextWrapSide

指定文档文本是应环绕在指定形状的两侧、仅在左侧或右侧,还是应环绕在距离相应页边距较远的形状的一侧。

Word.ShapeTextWrapType

指定如何在形状周围环绕文档文本。 有关详细信息,请参阅 布局选项的“文本环绕”选项卡。

Word.ShapeType

表示形状类型。

Word.StyleType

表示样式的类型。

Word.StylisticSet

指定要应用于字体的样式集。

Word.TemplateType

指定模板的类型。

Word.TextureAlignment

指定用于平铺纹理填充的对齐方式(坐标网格的原点)。

Word.TextureType

指定选定填充的纹理类型。

Word.ThemeColorIndex

指定文档主题的主题颜色。

Word.TrackedChangeType

TrackedChange 类型。

Word.TrailingCharacter

表示在列表项标记后插入的字符。

Word.UnderlineType

支持下划线格式的样式。

Word.VerticalAlignment

函数

Word.run(objects, batch)

使用以前创建的 API 对象的 RequestContext 执行对 Word 对象模型执行作的批处理脚本。

Word.run(object, batch)

使用以前创建的 API 对象的 RequestContext 执行对 Word 对象模型执行作的批处理脚本。 承诺解决后,将释放在执行过程中自动分配的任何跟踪对象。

Word.run(batch)

使用新的 RequestContext 执行批处理脚本,该脚本对 Word 对象模型执行作。 承诺解决后,将释放在执行过程中自动分配的任何跟踪对象。

函数详细信息

Word.run(objects, batch)

使用以前创建的 API 对象的 RequestContext 执行对 Word 对象模型执行作的批处理脚本。

export function run<T>(objects: OfficeExtension.ClientObject[], batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;

参数

objects

OfficeExtension.ClientObject[]

以前创建的 API 对象的数组。 将对数组进行验证,以确保所有对象共享相同的上下文。 批处理将使用此共享的 RequestContext,这意味着应用于这些对象的任何更改都将由 context.sync()选取。

batch

(context: Word.RequestContext) => Promise<T>

一个函数,它接受 RequestContext 并返回承诺 (通常只是) 的结果 context.sync() 。 上下文参数有助于向 Word 应用程序发出请求。 由于 Office 加载项和 Word 应用程序在两个不同的进程中运行,因此需要 RequestContext 才能从外接程序访问 Word 对象模型。

返回

Promise<T>

Word.run(object, batch)

使用以前创建的 API 对象的 RequestContext 执行对 Word 对象模型执行作的批处理脚本。 承诺解决后,将释放在执行过程中自动分配的任何跟踪对象。

export function run<T>(object: OfficeExtension.ClientObject, batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;

参数

object
OfficeExtension.ClientObject

以前创建的 API 对象。 该批将使用与传入对象相同的 RequestContext,这意味着应用于对象的任何更改都将由 context.sync()选取。

batch

(context: Word.RequestContext) => Promise<T>

一个函数,它接受 RequestContext 并返回承诺 (通常只是) 的结果 context.sync() 。 上下文参数有助于向 Word 应用程序发出请求。 由于 Office 加载项和 Word 应用程序在两个不同的进程中运行,因此需要 RequestContext 才能从外接程序访问 Word 对象模型。

返回

Promise<T>

Word.run(batch)

使用新的 RequestContext 执行批处理脚本,该脚本对 Word 对象模型执行作。 承诺解决后,将释放在执行过程中自动分配的任何跟踪对象。

export function run<T>(batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;

参数

batch

(context: Word.RequestContext) => Promise<T>

一个函数,它接受 RequestContext 并返回承诺 (通常只是) 的结果 context.sync() 。 上下文参数有助于向 Word 应用程序发出请求。 由于 Office 加载项和 Word 应用程序在两个不同的进程中运行,因此需要 RequestContext 才能从外接程序访问 Word 对象模型。

返回

Promise<T>