EquationNodeParagraph类

EquationNodeParagraph类

此类指定包含一个或多个 MathEquationNode(OMath) 元素的数学段落。

继承: EquationNodeParagraph

EquationNodeParagraph 类型公开以下成员:

属性

属性描述
type
start_index
length
font
text_options
equation_type
justification这指定了数学段落(同一段落中一系列相邻的方程式)的对齐方式。数学段落可以左对齐、右对齐、居中或按组居中。默认情况下,数学段落按组居中。这意味着方程式可以彼此对齐,但整个方程式组将整体居中。

方法

方法描述
add_child(self, equation_type)
add_child(self, node)
remove_child(self, node)
remove_child(self, index)
set_word_art_style(self, style)
to_la_te_x(self)
to_math_ml(self)
insert_child(self, index, equation_type)
insert_after(self, equation_type)
insert_before(self, equation_type)
get_child(self, index)
remove(self)
remove_all_children(self)
create_node(, equation_type, workbook, parent)

也可以看看