OfficeMath module
- class OfficeMath.OfficeMath
Bases:
ParagraphBase,ICompositeObjectRepresents an OfficeMath object in a document.
- property ChildObjects: DocumentObjectCollection
Gets the child objects of the OfficeMath object. :return: The child objects.
- property DocumentObjectType: DocumentObjectType
Gets the type of the document object. :return: The type of the document object.
- FromLatexMathCode(latexMathCode: str)
Creates an OfficeMath object from LaTeX math code. :param latexMathCode: The LaTeX math code.
- FromMathMLCode(mathMLCode: str)
Creates an OfficeMath object from MathML code. :param mathMLCode: The MathML code.
- property ParentParagraph: Paragraph
Gets the parent paragraph. :return: The parent paragraph.
- ToMathMLCode() str
Converts the OfficeMath object to MathML code. :return: The MathML code.