DelimiterEquationNode

DelimiterEquationNode class

This class specifies the delimiter equation, consisting of opening and closing delimiters (such as parentheses, braces, brackets, and vertical bars), and a component contained inside. The delimiter may have more than one component, with a designated separator character between each component.

Methods

NameDescription
addChild(equationType)Insert a node of the specified type at the end of the child node list of the current node.
addChild(node)Inserts the specified node at the end of the current node’s list of child nodes.
equals(obj)Determine whether the current equation node is equal to the specified node
getBeginChar()Delimiter beginning character. It should be noted that this property only accepts one character, and if multiple charact
getChild(index)Returns the node at the specified index among the children of the current node.
getDelimiterShape()Specifies the shape of delimiters in the delimiter object. The value of the property is EquationDelimiterShapeType integ
getEndChar()Delimiter ending character. It should be noted that this property only accepts one character, and if multiple characters
getEquationType()Get the equation type of the current node The value of the property is EquationNodeType integer constant.
getFont()Returns the font of this object.
getLength()Gets the length of the characters.
getNaryGrow()This property specifies the growth property of the delimiter at the document level. When off, the delimiter will not gro
getParentNode()Specifies the parent node of the current node
getSeparatorChar()Delimiter separator character. It should be noted that this property only accepts one character, and if multiple charact
getStartIndex()Gets the start index of the characters.
getTextOptions()Returns the text options.
getType()Represents the type of the node. The value of the property is TextNodeType integer constant.
insertAfter(equationType)Inserts the specified node after the current node.
insertBefore(equationType)Inserts the specified node before the current node.
insertChild(index, equationType)Inserts a node of the specified type at the specified index position in the current node’s child node list.
remove()Removes itself from the parent.
removeAllChildren()Removes all the child nodes of the current node.
removeChild(node)Removes the specified node from the current node’s children.
removeChild(index)Removes the node at the specified index from the current node’s children.
setBeginChar()Delimiter beginning character. It should be noted that this property only accepts one character, and if multiple charact
setDelimiterShape()Specifies the shape of delimiters in the delimiter object. The value of the property is EquationDelimiterShapeType integ
setEndChar()Delimiter ending character. It should be noted that this property only accepts one character, and if multiple characters
setNaryGrow()This property specifies the growth property of the delimiter at the document level. When off, the delimiter will not gro
setParentNode()Specifies the parent node of the current node
setSeparatorChar()Delimiter separator character. It should be noted that this property only accepts one character, and if multiple charact
setWordArtStyle(style)Sets the preset WordArt style. Only for the text of shape/chart.
toLaTeX()
toMathML()

addChild(equationType)

Insert a node of the specified type at the end of the child node list of the current node.

ParameterTypeDescription
equationTypeNumberEquationNodeType

Returns: EquationNode — EquationNode If the specified type exists, the corresponding node is returned, and if the type does not exist, a node of unknown type is returned.

addChild(node)

Inserts the specified node at the end of the current node’s list of child nodes.

ParameterTypeDescription
nodeEquationNodeThe specified node

equals(obj)

Determine whether the current equation node is equal to the specified node

ParameterTypeDescription
objObjectThe specified node

Returns: boolean — boolean

getBeginChar()

Delimiter beginning character. It should be noted that this property only accepts one character, and if multiple characters are passed in, only the first character is accepted.

getChild(index)

Returns the node at the specified index among the children of the current node.

ParameterTypeDescription
indexNumberIndex of the node

Returns: EquationNode — EquationNode Returns the corresponding node if the specified node exists, otherwise returns null.

getDelimiterShape()

Specifies the shape of delimiters in the delimiter object. The value of the property is EquationDelimiterShapeType integer constant.

getEndChar()

Delimiter ending character. It should be noted that this property only accepts one character, and if multiple characters are passed in, only the first character is accepted.

getEquationType()

Get the equation type of the current node The value of the property is EquationNodeType integer constant.

getFont()

Returns the font of this object.

getLength()

Gets the length of the characters.

getNaryGrow()

This property specifies the growth property of the delimiter at the document level. When off, the delimiter will not grow to match the size of its component height. When enabled, the delimiter grows vertically to match its component height.

getParentNode()

Specifies the parent node of the current node

getSeparatorChar()

Delimiter separator character. It should be noted that this property only accepts one character, and if multiple characters are passed in, only the first character is accepted.

getStartIndex()

Gets the start index of the characters.

getTextOptions()

Returns the text options.

getType()

Represents the type of the node. The value of the property is TextNodeType integer constant.

insertAfter(equationType)

Inserts the specified node after the current node.

ParameterTypeDescription
equationTypeNumberEquationNodeType

Returns: EquationNode — EquationNode If the specified type exists, the corresponding node is returned, and if the type does not exist, a node of unknown type is returned.

insertBefore(equationType)

Inserts the specified node before the current node.

ParameterTypeDescription
equationTypeNumberEquationNodeType

Returns: EquationNode — EquationNode If the specified type exists, the corresponding node is returned, and if the type does not exist, a node of unknown type is returned.

insertChild(index, equationType)

Inserts a node of the specified type at the specified index position in the current node’s child node list.

ParameterTypeDescription
indexNumberindex value
equationTypeNumberEquationNodeType

Returns: EquationNode — EquationNode If the specified type exists, the corresponding node is returned, and if the type does not exist, a node of unknown type is returned.

remove()

Removes itself from the parent.

removeAllChildren()

Removes all the child nodes of the current node.

removeChild(node)

Removes the specified node from the current node’s children.

ParameterTypeDescription
nodeEquationNodeNode to be deleted.

removeChild(index)

Removes the node at the specified index from the current node’s children.

ParameterTypeDescription
indexNumberIndex of the node

setBeginChar()

Delimiter beginning character. It should be noted that this property only accepts one character, and if multiple characters are passed in, only the first character is accepted.

setDelimiterShape()

Specifies the shape of delimiters in the delimiter object. The value of the property is EquationDelimiterShapeType integer constant.

setEndChar()

Delimiter ending character. It should be noted that this property only accepts one character, and if multiple characters are passed in, only the first character is accepted.

setNaryGrow()

This property specifies the growth property of the delimiter at the document level. When off, the delimiter will not grow to match the size of its component height. When enabled, the delimiter grows vertically to match its component height.

setParentNode()

Specifies the parent node of the current node

setSeparatorChar()

Delimiter separator character. It should be noted that this property only accepts one character, and if multiple characters are passed in, only the first character is accepted.

setWordArtStyle(style)

Sets the preset WordArt style. Only for the text of shape/chart.

ParameterTypeDescription
styleNumberPresetWordArtStyle

toLaTeX()

toMathML()