FractionEquationNode类

FractionEquationNode类

该类指定分数方程,由分子和分母组成,分子和分母之间用分号分隔。分号可以是水平的,也可以是对角的,具体取决于分数的属性。分数方程也用于表示堆叠函数,该函数将一个元素放置在另一个元素上方,并且不使用分号。

继承: FractionEquationNode

FractionEquationNode 类型公开以下成员:

属性

属性描述
type
start_index
length
font
text_options
equation_type
fraction_type这指定了分数的类型;默认值为“Bar”。

方法

方法描述
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)

也可以看看