ParaProps
概述
ParaProps 是 Aspose.Words FOSS 中用于 Python 的一个类。
从 PAPX 中提取的单段落属性。
此类提供 1 个方法,用于在 Python 程序中处理 ParaProps 对象。可用的方法包括:__init__。在安装了 Aspose.Words FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:add_space_between_far_east_and_alpha、add_space_between_far_east_and_digit、alignment、auto_adjust_right_indent、baseline_alignment、borders,以及另外 26 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
istd | int | 读取 | 获取 istd。 |
ilfo | int | 读取 | 获取 ilfo。 |
ilvl | int | 读取 | 获取 ilvl。 |
alignment | int | 读取 | 获取对齐方式。 |
left_indent | float | 读取 | 获取左缩进。 |
right_indent | float | 读取 | 获取右侧缩进。 |
first_line_indent | float | 读取 | 获取首行缩进。 |
space_before | float | 读取 | 获取前面的空格。 |
space_after | float | 读取 | 获取后面的空间。 |
space_before_auto | bool | 读取 | 获取 auto 前的空格。 |
space_after_auto | bool | 读取 | 获取 auto 之后的空格。 |
line_spacing | float | 读取 | 获取行间距。 |
line_spacing_rule | int | 读取 | 获取行间距规则。 |
keep_with_next | bool | 读取 | 获取下一个的 keep。 |
keep_together | bool | 读取 | 获取保持在一起。 |
widow_control | bool | 读取 | 获取 widow 控件。 |
suppress_auto_hyphens | bool | 读取 | 获取抑制自动连字符。 |
suppress_line_numbers | bool | 读取 | 获取抑制行号。 |
snap_to_grid | bool | 读取 | 获取网格捕捉。 |
add_space_between_far_east_and_alpha | bool | 读取 | 获取 far east 与 alpha 之间添加的空格。 |
add_space_between_far_east_and_digit | bool | 读取 | 获取在 far east 与 digit 之间添加的空格。 |
auto_adjust_right_indent | bool | 读取 | 获取自动调整右缩进。 |
no_space_between_paragraphs_of_same_style | bool | 读取 | 获取相同样式的段落之间的无间距。 |
page_break_before | bool | 读取 | 获取页面之前的分页符。 |
outline_level | int | 读取 | 获取大纲级别。 |
tab_stops | list[tuple[float, int, int]] | 读取 | 获取制表位。 |
borders | list[Optional[tuple[int, float, str, int]]] | 读取 | 获取边框。 |
shading_back | str | 读取 | 获取阴影。 |
baseline_alignment | int | 读取 | 获取基线对齐方式。 |
conditional_style | str | 读取 | 获取条件样式。 |
in_table | bool | 读取 | 获取 in 表格。 |
is_table_terminator | bool | 读取 | 获取 is 表终止符。 |
方法
| 签名 | 描述 |
|---|---|
__init__() | Calls init 在此 ParaProps 实例上。 |