OfficeMath
Overview
OfficeMath is a class in Aspose.Words FOSS for Java.
Inherits from: CompositeNode<Node>, IInline, ITrackableNode.
Represents an Office Math object such as function, equation, matrix or alike.
Edition status of its 15 listed members (a property and its accessor methods are listed separately, overloads once): 15 not yet exercised by a verified example.
This class declares 10 methods for OfficeMath objects in Java programs.
Available methods include: accept, acceptEnd, acceptStart, getDisplayType, getJustification, getMathObjectType, getNodeType, getParentParagraph, setDisplayType, setJustification.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: displayType, justification, mathObjectType, nodeType, parentParagraph.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
nodeType | int | Read | Returns OfficeMath. |
parentParagraph | Paragraph | Read | Retrieves the parent Paragraph of this node. |
mathObjectType | int | Read | Gets type MathObjectType of this Office Math object. |
justification | int | Read/Write | Gets/sets Office Math justification. |
displayType | int | Read/Write | Gets/sets Office Math display format type which represents whether an equation is displayed inline with the text or displayed on its own line. |
Methods
| Signature | Description |
|---|---|
accept(visitor: DocumentVisitor) → boolean | Calls accept(visitor) on this OfficeMath instance. |
acceptStart(visitor: DocumentVisitor) → int | Accepts a visitor for visiting the start of the office math. |
acceptEnd(visitor: DocumentVisitor) → int | Accepts a visitor for visiting the end of the office math. |
getNodeType() → int | Returns OfficeMath. |
getParentParagraph() → Paragraph | Retrieves the parent Paragraph of this node. |
getMathObjectType() → int | Gets type MathObjectType of this Office Math object. |
getJustification() → int | Gets/sets Office Math justification. |
setJustification(value: int) | Sets the justification value. |
getDisplayType() → int | Gets/sets Office Math display format type which represents whether an equation is displayed inline with the text or displayed on its own line. |
setDisplayType(value: int) | Sets the display type value. |