MathObjectType

MathObjectType

Overview

MathObjectType is an enum in Aspose.Words FOSS for Java.

Specifies type of an Office Math object.

Edition status of its 36 listed members (a property and its accessor methods are listed separately, overloads once): 36 not yet exercised by a verified example.

This enum declares 4 methods for MathObjectType objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
O_MATHInstance of mathematical text.
O_MATH_PARAMath paragraph, or display math zone, that contains one or more O_MATH elements that are in display mode.
ACCENTAccent function, consisting of a base and a combining diacritical mark.
BARBar function, consisting of a base argument and an overbar or underbar.
BORDER_BOXBorder Box object, consisting of a border drawn around an instance of mathematical text (such as a formula or equation)
BOXBox object, which is used to group components of an equation or other instance of mathematical text.
DELIMITERDelimiter object, consisting of opening and closing delimiters (such as parentheses, braces, brackets, and vertical bars), and an element contained inside.
DEGREEDegree in the mathematical radical.
ARGUMENTArgument object.
ARRAYArray object, consisting of one or more equations, expressions, or other mathematical text runs that can be vertically justified as a unit with respect to surrounding text on the line.
FRACTIONFraction object, consisting of a numerator and denominator separated by a fraction bar.
DENOMINATORDenominator of a fraction object.
NUMERATORNumerator of the Fraction object.
FUNCTIONFunction-Apply object, which consists of a function name and an argument element acted upon.
FUNCTION_NAMEName of the function.
GROUP_CHARACTERGroup-Character object, consisting of a character drawn above or below text, often with the purpose of visually grouping items
LIMITLower limit of the LOWER_LIMIT object and the upper limit of the UPPER_LIMIT function.
LOWER_LIMITLower-Limit object, consisting of text on the baseline and reduced-size text immediately below it.
UPPER_LIMITUpper-Limit object, consisting of text on the baseline and reduced-size text immediately above it.
MATRIXMatrix object, consisting of one or more elements laid out in one or more rows and one or more columns.
MATRIX_ROWSingle row of the matrix.
N_ARYN-ary object, consisting of an n-ary object, a base (or operand), and optional upper and lower limits.
PHANTOMPhantom object.
RADICALRadical object, consisting of a radical, a base element, and an optional degree .
SUBSCRIPT_PARTSubscript of the object that can have subscript part.
SUPERSCRIPT_PARTSuperscript of the superscript object.
PRE_SUB_SUPERSCRIPTPre-Sub-Superscript object, which consists of a base element and a subscript and superscript placed to the left of the base.
SUBSCRIPTSubscript object, which consists of a base element and a reduced-size script placed below and to the right.
SUB_SUPERSCRIPTSub-superscript object, which consists of a base element, a reduced-size script placed below and to the right, and a reduced-size script placed above and to the right.
SUPERSCRIPTSuperscript object, which consists of a base element and a reduced-size script placed above and to the right.
NONEType of object is not specified.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of MathObjectType values.

Methods

SignatureDescription
getName(mathObjectType: int) → StringReturns JAVA_STYLE string representation of integer MathObjectType value.
toString(mathObjectType: int) → StringReturns DotNetStyle string representation of integer MathObjectType value.
fromName(mathObjectTypeName: String) → intReturns integer representation by MathObjectType name.
getValues() → int[]Returns array of MathObjectType values.

See Also