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
| Value | Description |
|---|---|
O_MATH | Instance of mathematical text. |
O_MATH_PARA | Math paragraph, or display math zone, that contains one or more O_MATH elements that are in display mode. |
ACCENT | Accent function, consisting of a base and a combining diacritical mark. |
BAR | Bar function, consisting of a base argument and an overbar or underbar. |
BORDER_BOX | Border Box object, consisting of a border drawn around an instance of mathematical text (such as a formula or equation) |
BOX | Box object, which is used to group components of an equation or other instance of mathematical text. |
DELIMITER | Delimiter object, consisting of opening and closing delimiters (such as parentheses, braces, brackets, and vertical bars), and an element contained inside. |
DEGREE | Degree in the mathematical radical. |
ARGUMENT | Argument object. |
ARRAY | Array 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. |
FRACTION | Fraction object, consisting of a numerator and denominator separated by a fraction bar. |
DENOMINATOR | Denominator of a fraction object. |
NUMERATOR | Numerator of the Fraction object. |
FUNCTION | Function-Apply object, which consists of a function name and an argument element acted upon. |
FUNCTION_NAME | Name of the function. |
GROUP_CHARACTER | Group-Character object, consisting of a character drawn above or below text, often with the purpose of visually grouping items |
LIMIT | Lower limit of the LOWER_LIMIT object and the upper limit of the UPPER_LIMIT function. |
LOWER_LIMIT | Lower-Limit object, consisting of text on the baseline and reduced-size text immediately below it. |
UPPER_LIMIT | Upper-Limit object, consisting of text on the baseline and reduced-size text immediately above it. |
MATRIX | Matrix object, consisting of one or more elements laid out in one or more rows and one or more columns. |
MATRIX_ROW | Single row of the matrix. |
N_ARY | N-ary object, consisting of an n-ary object, a base (or operand), and optional upper and lower limits. |
PHANTOM | Phantom object. |
RADICAL | Radical object, consisting of a radical, a base element, and an optional degree . |
SUBSCRIPT_PART | Subscript of the object that can have subscript part. |
SUPERSCRIPT_PART | Superscript of the superscript object. |
PRE_SUB_SUPERSCRIPT | Pre-Sub-Superscript object, which consists of a base element and a subscript and superscript placed to the left of the base. |
SUBSCRIPT | Subscript object, which consists of a base element and a reduced-size script placed below and to the right. |
SUB_SUPERSCRIPT | Sub-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. |
SUPERSCRIPT | Superscript object, which consists of a base element and a reduced-size script placed above and to the right. |
NONE | Type of object is not specified. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of MathObjectType values. |
Methods
| Signature | Description |
|---|---|
getName(mathObjectType: int) → String | Returns JAVA_STYLE string representation of integer MathObjectType value. |
toString(mathObjectType: int) → String | Returns DotNetStyle string representation of integer MathObjectType value. |
fromName(mathObjectTypeName: String) → int | Returns integer representation by MathObjectType name. |
getValues() → int[] | Returns array of MathObjectType values. |