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

NameTypeAccessDescription
nodeTypeintReadReturns OfficeMath.
parentParagraphParagraphReadRetrieves the parent Paragraph of this node.
mathObjectTypeintReadGets type MathObjectType of this Office Math object.
justificationintRead/WriteGets/sets Office Math justification.
displayTypeintRead/WriteGets/sets Office Math display format type which represents whether an equation is displayed inline with the text or displayed on its own line.

Methods

SignatureDescription
accept(visitor: DocumentVisitor) → booleanCalls accept(visitor) on this OfficeMath instance.
acceptStart(visitor: DocumentVisitor) → intAccepts a visitor for visiting the start of the office math.
acceptEnd(visitor: DocumentVisitor) → intAccepts a visitor for visiting the end of the office math.
getNodeType() → intReturns OfficeMath.
getParentParagraph() → ParagraphRetrieves the parent Paragraph of this node.
getMathObjectType() → intGets type MathObjectType of this Office Math object.
getJustification() → intGets/sets Office Math justification.
setJustification(value: int)Sets the justification value.
getDisplayType() → intGets/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.

See Also