Word.Interfaces.BuildingBlockData interface
一个接口,用于描述通过调用 buildingBlock.toJSON()返回的数据。
属性
| description | 指定构建基块的说明。 |
| id | 返回构建基块的内部标识号。 |
| index | 返回此构建基块在集合中的位置。 |
| insert |
指定一个 |
| name | 指定生成块的名称。 |
| value | 指定构建基块的内容。 |
属性详细信息
description
id
index
insertType
指定一个 DocPartInsertType 值,该值表示如何将构建基块的内容插入文档中。
insertType?: Word.DocPartInsertType | "Content" | "Paragraph" | "Page";
属性值
Word.DocPartInsertType | "Content" | "Paragraph" | "Page"