BulletFormat
概述
BulletFormat 是 Aspose.Slides FOSS for C++ 中的一个类。
表示段落项目符号格式属性。
此类提供 35 个用于在 C++ 程序中处理 BulletFormat 对象的方法。可用的方法包括:BulletFormat、BulletType、NullableBool、NumberedBulletStyle、Picture、SimpleColorFormat、character、color、font_name、get_char、height、init_internal,以及另外 18 个方法。安装 Aspose.Slides FOSS for C++ 包后,所有公共成员对任何 C++ 应用程序均可访问。属性:BulletType、NullableBool、NumberedBulletStyle、Picture、SimpleColorFormat。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
BulletType | BulletType | 读取 | 获取项目符号类型。 |
SimpleColorFormat | SimpleColorFormat | 读取 | 获取简单颜色格式。 |
NumberedBulletStyle | NumberedBulletStyle | 读取 | 获取编号项目符号样式。 |
NullableBool | NullableBool | 读取 | 获取可空布尔值。 |
Picture | Picture | 读取 | 获取图片。 |
方法
| 签名 | 描述 |
|---|---|
BulletType() → BulletType | 返回 BulletType 枚举,指示段落的项目符号样式 |
SimpleColorFormat() → SimpleColorFormat | 属性提供对项目符号的简单颜色格式的访问 |
SimpleColorFormat() → SimpleColorFormat | |
NumberedBulletStyle() → NumberedBulletStyle | 返回用于编号项目符号的 NumberedBulletStyle 枚举 |
NullableBool() → NullableBool | 属性指示项目符号是否已启用,采用可为空的三状态值 |
NullableBool() → NullableBool | |
Picture() → Picture | 属性获取或设置用于图片项目符号的图片 |
Picture() → Picture | |
BulletFormat() | |
~BulletFormat() | |
type() → BulletType | 返回项目符号类型。 |
set_type(value: BulletType) | |
character() → std::string | 返回项目符号字符。 |
set_character(value: std::string) | |
get_char() → std::string | 返回项目符号字符。 |
set_char(value: std::string) | |
font_name() → std::string | 返回项目符号字体名称。 |
set_font_name(value: std::string) | |
height() → float | 返回项目符号高度(百分比)。NaN 表示继承。 |
set_height(value: float) | |
color() → SimpleColorFormat | 返回项目符号颜色格式。 |
color() → SimpleColorFormat | 返回项目符号颜色格式。 |
numbered_bullet_start_with() → int | 返回编号项目符号的起始值。 |
set_numbered_bullet_start_with(value: int) | |
numbered_bullet_style() → NumberedBulletStyle | 返回编号项目符号样式。 |
set_numbered_bullet_style(value: NumberedBulletStyle) | |
is_bullet_hard_color() → NullableBool | 返回项目符号是否具有硬编码颜色。 |
set_is_bullet_hard_color(value: NullableBool) | |
is_bullet_hard_font() → NullableBool | 返回项目符号是否具有硬编码字体。 |
set_is_bullet_hard_font(value: NullableBool) | |
picture() → Picture | 返回在未继承的段落中用作项目符号的图片。 |
picture() → Picture | 返回在段落中用作项目符号且不继承的图片。 |
init_internal(ppr_element: pugi::xml_node, save_callback: std::function<void()>) | 从现有的 XML 节点进行初始化。 |
save() | 通过 save 回调持久化更改。 |
remove_bullet_type_elements() | 从 pPr 中移除所有项目符号类型的子元素 (buNone, buAutoNum, buChar, buBlip)。 |