public final class MathNaryOperator extends MathElementBase implements IMathNaryOperator
Specifies an N-ary mathematical object, such as Summation and Integral. It consists of an operator, a base (or operand), and optional upper and lower limits. Examples of N-ary operators are: Summation, Union, Intersection, Integral
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
Constructor and Description |
---|
MathNaryOperator(char operatorSymbol,
IMathElement baseArgument)
Initializes a new instance of the MathNaryOperator class.
|
MathNaryOperator(char operatorSymbol,
IMathElement baseArgument,
IMathElement lowerLimit)
Initializes a new instance of the MathNaryOperator class.
|
MathNaryOperator(char operatorSymbol,
IMathElement baseArgument,
IMathElement lowerLimit,
IMathElement upperLimit)
Initializes a new instance of the MathNaryOperator class.
|
Modifier and Type | Method and Description |
---|---|
IMathElement |
getBase()
Base argument
|
IMathElement[] |
getChildren()
Get children elements
|
com.aspose.slides.OmmlControlCharacterPPTXUnsupportedProps |
getControlCharacterProperties()
Control Character Properties
|
boolean |
getGrowToMatchOperandHeight()
Operator Character grows vertically to match its operand height
|
boolean |
getHideSubscript()
Hide Subscript
|
boolean |
getHideSuperscript()
Hide Superscript
|
int |
getLimitLocation()
The location of limits (subscript and superscript)
|
char |
getOperator()
Nary Operator Character
For example: '∑', '∫'
|
IMathElement |
getSubscript()
Specifies a subscript argument that, for example, in the case of an integral, sets the lower limit
|
IMathElement |
getSuperscript()
Specifies a supersript argument that, for example, in the case of an integral, sets the upper limit
|
void |
setGrowToMatchOperandHeight(boolean value)
Operator Character grows vertically to match its operand height
|
void |
setHideSubscript(boolean value)
Hide Subscript
|
void |
setHideSuperscript(boolean value)
Hide Superscript
|
void |
setLimitLocation(int value)
The location of limits (subscript and superscript)
|
void |
setOperator(char value)
Nary Operator Character
For example: '∑', '∫'
|
accent, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, divide, divide, divide, divide, enclose, enclose, function, function, getParent_Immediate, 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, underbar
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accent, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, divide, divide, divide, divide, enclose, enclose, function, function, 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, underbar
public MathNaryOperator(char operatorSymbol, IMathElement baseArgument, IMathElement lowerLimit, IMathElement upperLimit)
Initializes a new instance of the MathNaryOperator class.
Example:IMathNaryOperator naryOperator = new MathNaryOperator('∑', new MathematicalText("i"), new MathematicalText("i=0"), new MathematicalText("𝑛"));
operatorSymbol
- Nary operator symbolbaseArgument
- Base argumentlowerLimit
- Lower limitupperLimit
- Upper limitpublic MathNaryOperator(char operatorSymbol, IMathElement baseArgument, IMathElement lowerLimit)
Initializes a new instance of the MathNaryOperator class.
Example:IMathNaryOperator naryOperator = new MathNaryOperator('∑', new MathematicalText("i"), new MathematicalText("i"));
operatorSymbol
- Nary operator symbolbaseArgument
- Base argumentlowerLimit
- Lower limitpublic MathNaryOperator(char operatorSymbol, IMathElement baseArgument)
Initializes a new instance of the MathNaryOperator class.
Example:IMathNaryOperator naryOperator = new MathNaryOperator('∑', new MathematicalText("i"));
operatorSymbol
- Nary operator symbolbaseArgument
- Base argumentpublic final IMathElement getBase()
Base argument
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); IMathElement baseArg = naryOperator.getBase();
getBase
in interface IMathNaryOperator
public final IMathElement getSubscript()
Specifies a subscript argument that, for example, in the case of an integral, sets the lower limit
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); IMathElement subscriptArg = naryOperator.getSubscript();
getSubscript
in interface IMathNaryOperator
public final IMathElement getSuperscript()
Specifies a supersript argument that, for example, in the case of an integral, sets the upper limit
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); IMathElement superscriptArg = naryOperator.getSuperscript();
getSuperscript
in interface IMathNaryOperator
public final char getOperator()
Nary Operator Character For example: '∑', '∫'
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); char operatorSymbol = naryOperator.getOperator();
getOperator
in interface IMathNaryOperatorProperties
public final void setOperator(char value)
Nary Operator Character For example: '∑', '∫'
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); char operatorSymbol = naryOperator.getOperator();
setOperator
in interface IMathNaryOperatorProperties
public final int getLimitLocation()
The location of limits (subscript and superscript)
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setLimitLocation(MathLimitLocations.SubscriptSuperscript);
getLimitLocation
in interface IMathNaryOperatorProperties
public final void setLimitLocation(int value)
The location of limits (subscript and superscript)
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setLimitLocation(MathLimitLocations.SubscriptSuperscript);
setLimitLocation
in interface IMathNaryOperatorProperties
public final boolean getGrowToMatchOperandHeight()
Operator Character grows vertically to match its operand height
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setGrowToMatchOperandHeight(true);
getGrowToMatchOperandHeight
in interface IMathNaryOperatorProperties
public final void setGrowToMatchOperandHeight(boolean value)
Operator Character grows vertically to match its operand height
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setGrowToMatchOperandHeight(true);
setGrowToMatchOperandHeight
in interface IMathNaryOperatorProperties
public final boolean getHideSubscript()
Hide Subscript
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setHideSubscript(true);
getHideSubscript
in interface IMathNaryOperatorProperties
public final void setHideSubscript(boolean value)
Hide Subscript
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setHideSubscript(true);
setHideSubscript
in interface IMathNaryOperatorProperties
public final boolean getHideSuperscript()
Hide Superscript
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setHideSuperscript(true);
getHideSuperscript
in interface IMathNaryOperatorProperties
public final void setHideSuperscript(boolean value)
Hide Superscript
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setHideSuperscript(true);
setHideSuperscript
in interface IMathNaryOperatorProperties
public final IMathElement[] getChildren()
Get children elements
getChildren
in interface IMathElement
getChildren
in class MathElementBase
IMathElement
public final com.aspose.slides.OmmlControlCharacterPPTXUnsupportedProps getControlCharacterProperties()
Control Character Properties