public interface IMathBlock extends IMathElementCollection, IMathElement
Specifies an instance of mathematical text that contained within a MathParagraph and starts on its own line. All math zones, including equations, expressions, arrays of equations or expressions, and formulas are represented by math block.
Example:IMathBlock mathBlock = new MathBlock();
| Modifier and Type | Method and Description |
|---|---|
IMathDelimiter |
delimit(char separatorCharacter)
Delimits all child elements with separator character (without the brackets)
|
IMathDelimiter |
enclose(char beginningCharacter,
char endingCharacter,
char separatorCharacter)
Encloses child elements of this block in specified characters such as parenthesis or another as framing
and delimit with a separator character
|
IMathBlock |
joinBlock(IMathBlock other)
Joins another mathematical block with this one
|
void |
writeAsMathMl(java.io.OutputStream stream)
Saves content of this
IMathBlock as MathML |
add, clear, contains, copyTo, get_Item, getCount, indexOf, insert, remove, removeAtiteratoraccent, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, divide, divide, divide, divide, enclose, enclose, function, function, getChildren, group, group, integral, integral, integral, integral, integral, join, join, nary, nary, overbar, radical, radical, setLowerLimit, setLowerLimit, setSubscript, setSubscript, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheRight, setSubSuperscriptOnTheRight, setSuperscript, setSuperscript, setUpperLimit, setUpperLimit, toBorderBox, toBorderBox, toBox, toMathArray, underbarIMathDelimiter delimit(char separatorCharacter)
Delimits all child elements with separator character (without the brackets)
Example:IMathBlock mathBlock = new MathematicalText("x").join("y"); IMathDelimiter delimiterElement = mathBlock.delimit('|');
separatorCharacter - Character used as a separatorIMathDelimiter enclose(char beginningCharacter, char endingCharacter, char separatorCharacter)
Encloses child elements of this block in specified characters such as parenthesis or another as framing and delimit with a separator character
Example:IMathBlock mathBlock = new MathematicalText("x").join("y"); IMathDelimiter delimiterElement = mathBlock.enclose('{', '}', '%');
beginningCharacter - Beginning character (usually left bracket)endingCharacter - Ending character (usually right bracket)separatorCharacter - Separator characterIMathDelimiter which includes specified characters as framing and delimiterIMathBlock joinBlock(IMathBlock other)
Joins another mathematical block with this one
Example:IMathBlock block1 = new MathSuperscriptElement(new MathematicalText("c"), new MathematicalText("2")).join(new MathematicalText("=")); IMathBlock block2 = new MathSuperscriptElement(new MathematicalText("a"), new MathematicalText("2")).join(new MathematicalText("+")) .join(new MathSuperscriptElement(new MathematicalText("b"), new MathematicalText("2"))); IMathBlock block3 = block1.joinBlock(block2);
other - The joining blockvoid writeAsMathMl(java.io.OutputStream stream)
Saves content of this IMathBlock as MathML
stream - Target streamCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.