Word.Interfaces.BuildingBlockLoadOptions interface
代表模板中的构建基块。 构建基块是预先构建的内容,类似于自动图文集,其中可能包含文本、图像和格式。
注解
属性
| $all |
|
| category | 返回一个 |
| description | 指定构建基块的说明。 |
| id | 返回构建基块的内部标识号。 |
| index | 返回此构建基块在集合中的位置。 |
| insert |
指定一个 |
| name | 指定生成块的名称。 |
| type | 返回一个 |
| value | 指定构建基块的内容。 |
属性详细信息
$all
$all为加载选项指定将加载所有标量属性 ((例如Range.address) ,但不加载导航属性 (如 Range.format.fill.color) )。
$all?: boolean;
属性值
boolean
category
返回一个 BuildingBlockCategory 对象,该对象代表构建基块的类别。
category?: Word.Interfaces.BuildingBlockCategoryLoadOptions;
属性值
注解
description
id
index
insertType
指定一个 DocPartInsertType 值,该值表示如何将构建基块的内容插入文档中。
insertType?: boolean;
属性值
boolean
注解
name
type
返回一个 BuildingBlockTypeItem 对象,该对象表示构建基块的类型。
type?: Word.Interfaces.BuildingBlockTypeItemLoadOptions;