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 项。

属性

名称类型访问描述
istdint读取获取 istd。
ilfoint读取获取 ilfo。
ilvlint读取获取 ilvl。
alignmentint读取获取对齐方式。
left_indentfloat读取获取左缩进。
right_indentfloat读取获取右侧缩进。
first_line_indentfloat读取获取首行缩进。
space_beforefloat读取获取前面的空格。
space_afterfloat读取获取后面的空间。
space_before_autobool读取获取 auto 前的空格。
space_after_autobool读取获取 auto 之后的空格。
line_spacingfloat读取获取行间距。
line_spacing_ruleint读取获取行间距规则。
keep_with_nextbool读取获取下一个的 keep。
keep_togetherbool读取获取保持在一起。
widow_controlbool读取获取 widow 控件。
suppress_auto_hyphensbool读取获取抑制自动连字符。
suppress_line_numbersbool读取获取抑制行号。
snap_to_gridbool读取获取网格捕捉。
add_space_between_far_east_and_alphabool读取获取 far east 与 alpha 之间添加的空格。
add_space_between_far_east_and_digitbool读取获取在 far east 与 digit 之间添加的空格。
auto_adjust_right_indentbool读取获取自动调整右缩进。
no_space_between_paragraphs_of_same_stylebool读取获取相同样式的段落之间的无间距。
page_break_beforebool读取获取页面之前的分页符。
outline_levelint读取获取大纲级别。
tab_stopslist[tuple[float, int, int]]读取获取制表位。
borderslist[Optional[tuple[int, float, str, int]]]读取获取边框。
shading_backstr读取获取阴影。
baseline_alignmentint读取获取基线对齐方式。
conditional_stylestr读取获取条件样式。
in_tablebool读取获取 in 表格。
is_table_terminatorbool读取获取 is 表终止符。

方法

签名描述
__init__()Calls init 在此 ParaProps 实例上。

另请参阅

 中文