|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.fields.ParagraphBase
com.spire.doc.fields.omath.OfficeMath
public class OfficeMath
Defines the Office Math class such as function, equation
Constructor Summary | |
---|---|
OfficeMath(Document doc)
Initializes a new instance of the |
|
OfficeMath(Document doc,
MathObject officeMathElement)
Initializes a new instance of the |
Method Summary | |
---|---|
static OfficeMath |
fromEqField(Field eqField)
Froms the EqField. |
void |
fromLatexMathCode(java.lang.String latexMathCode)
Froms the latex math code. |
void |
fromMathMLCode(java.lang.String mathMLCode)
Froms the mathML code. |
DocumentObjectCollection |
getChildObjects()
Gets the child objects of the entity. |
DocumentObjectType |
getDocumentObjectType()
Gets the type of the document object. |
Paragraph |
getParentParagraph()
Gets the parent paragraph. |
java.awt.image.BufferedImage |
saveAsImage(ImageType imageType)
Save the OfficeMath object as Image |
java.lang.String |
toMathMLCode()
To the mathML code. |
java.lang.String |
toOfficeMathMLCode()
To the office mathML code (OMML). |
Methods inherited from class com.spire.doc.fields.ParagraphBase |
---|
applyCharacterFormat, applyStyle, getCharacterFormat, getDeleteRevision, getInsertRevision, getNextWidgetSibling, getOwnerParagraph, getPreviousWidgetSibling, getStyleName, isDeleteRevision, isInsertRevision |
Methods inherited from class com.spire.doc.DocumentObject |
---|
deepClone, getFirstChild, getLastChild, getNextSibling, getOwner, getPreviousSibling, isComposite, prependChild, toString |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Methods inherited from interface com.spire.doc.interfaces.IDocumentObject |
---|
deepClone, getDocument, getNextSibling, getOwner, getPreviousSibling, isComposite |
Constructor Detail |
---|
public OfficeMath(Document doc)
doc
- The document.public OfficeMath(Document doc, MathObject officeMathElement)
doc
- The document.officeMathElement
- The office math element.Method Detail |
---|
public DocumentObjectType getDocumentObjectType()
getDocumentObjectType
in interface IDocumentObject
getDocumentObjectType
in class DocumentObject
public Paragraph getParentParagraph()
getParentParagraph
in class ParagraphBase
public void fromMathMLCode(java.lang.String mathMLCode)
mathMLCode
- The Math ML code.public void fromLatexMathCode(java.lang.String latexMathCode)
latexMathCode
- The latex math code.public static OfficeMath fromEqField(Field eqField)
eqField
- The EqField object.public java.awt.image.BufferedImage saveAsImage(ImageType imageType)
public java.lang.String toMathMLCode()
public java.lang.String toOfficeMathMLCode()
public DocumentObjectCollection getChildObjects()
ParagraphBase
getChildObjects
in interface ICompositeObject
getChildObjects
in class ParagraphBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |