ParagraphFormat
ParagraphFormat
概述
ParagraphFormat 是 Aspose.Slides FOSS 中用于 Python 的一个类。继承自:PVIObject、ISlideComponent、IPresentationComponent。
此类包含段落格式属性。
此类提供 1 个方法,用于在 Python 程序中处理 ParagraphFormat 对象。可用的方法包括:__init__。在安装了 Aspose.Slides FOSS for Python 包之后,所有公共成员对任何 Python 应用程序均可访问。属性:alignment、as_i_presentation_component、bullet、default_portion_format、default_tab_size、depth,以及另外 13 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
alignment | TextAlignment | 读写 | 返回或设置段落中没有继承的文本对齐方式。 |
space_within | float | 读写 | 返回或设置段落基线之间的间距。 |
space_before | float | 读写 | 返回或设置段落首行之前的空间量(不继承)。 |
space_after | float | 读写 | 返回或设置段落末行之后的空间量(不继承)。 |
east_asian_line_break | NullableBool | 读写 | 确定段落是否使用东亚换行符。 |
right_to_left | NullableBool | 读写 | 确定段落是否使用从右到左的书写。 |
latin_line_break | NullableBool | 读写 | 确定段落是否使用拉丁换行。 |
hanging_punctuation | NullableBool | 读写 | 确定段落是否使用悬挂标点。 |
margin_left | float | 读写 | 返回或设置段落中没有继承的左边距。 |
margin_right | float | 读写 | 返回或设置段落中没有继承的右边距。 |
indent | float | 读写 | 返回或设置段落的 First Line Indent/Hanging Indent,且不继承。 |
default_tab_size | float | 读写 | 返回或设置默认 tabulation 大小,且不继承。 |
font_alignment | FontAlignment | 读写 | 返回或设置段落中的 font alignment,且不继承。 |
bullet | IBulletFormat | 读取 | 获取项目符号。 |
depth | int | 读写 | 获取或设置深度。 |
default_portion_format | IPortionFormat | 读取 | 获取默认的部分格式。 |
as_i_presentation_component | IPresentationComponent | 读取 | 允许获取基础 IPresentationComponent 接口。 |
slide | IBaseSlide | 读取 | 获取幻灯片。 |
presentation | IPresentation | 读取 | 获取演示文稿。 |
方法
| 签名 | 描述 |
|---|---|
__init__() |