Aspose::Cells::Drawing::Equations::NaryEquationNode class

NaryEquationNode class

This class specifies an n-ary operator equation consisting of an n-ary operator, a base (or operand), and optional upper and lower bounds.

class NaryEquationNode : public Aspose::Cells::Drawing::Equations::EquationNode

Methods

MethodDescription
AddChild(EquationNodeType equationType)Insert a node of the specified type at the end of the child node list of the current node.
AddChild(const EquationNode& node)Inserts the specified node at the end of the current node’s list of child nodes.
static CreateNode(EquationNodeType equationType, const Workbook& workbook, const EquationNode& parent)Create a node of the specified type.
Equals(const Aspose::Cells::Object& obj)Determine whether the current equation node is equal to the specified node.
EquationNode(EquationNode_Impl* impl)Constructs from an implementation object.
EquationNode(const EquationNode& src)Copy constructor.
EquationNode(const FontSetting& src)Constructs from a parent object.
FontSetting(int32_t startIndex, int32_t length, const WorksheetCollection& sheets)
FontSetting(FontSetting_Impl* impl)Constructs from an implementation object.
FontSetting(const FontSetting& src)Copy constructor.
GetChild(int32_t index)Returns the node at the specified index among the children of the current node.
GetEquationType()Get the equation type of the current node.
GetFont()Returns the font of this object.
GetLength()Gets the length of the characters.
GetLimitLocation()This attribute specifies the location of limits in n-ary operators. Limits can be either centered above and below the n-ary operator, or positioned just to the right of the operator.
GetNaryGrow()This attribute specifies the growth property of n-ary operators at the document level. When off, n-ary operators such as integrals and summations do not grow to match the size of their operand height. When on, the n-ary operator grows vertically to match its operand height.
GetNaryOperator()an n-ary operator.e.g “∑”. It is strongly recommended to use attribute NaryOperatorType to set n-ary operator. Use this property setting if you cannot find the character you need in a known type.
GetNaryOperatorType()an n-ary operator.e.g “∑”
GetParentNode()Specifies the parent node of the current node.
GetStartIndex()Gets the start index of the characters.
GetTextOptions()Returns the text options.
GetType()Represents the type of the node.
InsertAfter(EquationNodeType equationType)Inserts the specified node after the current node.
InsertBefore(EquationNodeType equationType)Inserts the specified node before the current node.
InsertChild(int32_t index, EquationNodeType equationType)Inserts a node of the specified type at the specified index position in the current node’s child node list.
IsHideSubscript()Whether to display the lower bound.
IsHideSuperscript()Whether to display the upper bound.
IsNull() constChecks whether the implementation object is nullptr.
NaryEquationNode(NaryEquationNode_Impl* impl)Constructs from an implementation object.
NaryEquationNode(const NaryEquationNode& src)Copy constructor.
NaryEquationNode(const EquationNode& src)Constructs from a parent object.
explicit operator bool() constoperator bool()
operator=(const NaryEquationNode& src)operator=
operator=(const EquationNode& src)operator=
operator=(const FontSetting& src)operator=
Remove()Removes itself from the parent.
RemoveAllChildren()Removes all the child nodes of the current node.
RemoveChild(const EquationNode& node)Removes the specified node from the current node’s children.
RemoveChild(int32_t index)Removes the node at the specified index from the current node’s children.
SetIsHideSubscript(bool value)Whether to display the lower bound.
SetIsHideSuperscript(bool value)Whether to display the upper bound.
SetLimitLocation(EquationLimitLocationType value)This attribute specifies the location of limits in n-ary operators. Limits can be either centered above and below the n-ary operator, or positioned just to the right of the operator.
SetNaryGrow(bool value)This attribute specifies the growth property of n-ary operators at the document level. When off, n-ary operators such as integrals and summations do not grow to match the size of their operand height. When on, the n-ary operator grows vertically to match its operand height.
SetNaryOperator(const U16String& value)an n-ary operator.e.g “∑”. It is strongly recommended to use attribute NaryOperatorType to set n-ary operator. Use this property setting if you cannot find the character you need in a known type.
SetNaryOperator(const char16_t* value)an n-ary operator.e.g “∑”. It is strongly recommended to use attribute NaryOperatorType to set n-ary operator. Use this property setting if you cannot find the character you need in a known type.
SetNaryOperatorType(EquationMathematicalOperatorType value)an n-ary operator.e.g “∑”
SetParentNode(const EquationNode& value)Specifies the parent node of the current node.
SetWordArtStyle(PresetWordArtStyle style)Sets the preset WordArt style.
ToLaTeX()Convert this equtation to LaTeX expression.
ToMathML()Convert this equtation to MathML expression.
~EquationNode()Destructor.
~FontSetting()Destructor.
~NaryEquationNode()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also