OfficeMathML
in package
implements
ReaderInterface
Table of Contents
Interfaces
Properties
- $dom : DOMDocument
- $math : Math
- $operators : array<string|int, string>
- $xpath : DOMXPath
Methods
- read() : Math|null
- getElement() : AbstractElement
- parseNode() : void
Properties
$dom
protected
DOMDocument
$dom
$math
protected
Math
$math
$operators
protected
array<string|int, string>
$operators
= ['+', '-', '/', '∗']
$xpath
protected
DOMXPath
$xpath
Methods
read()
public
read(string $content) : Math|null
Parameters
- $content : string
Return values
Math|nullgetElement()
protected
getElement(DOMNode $nodeElement) : AbstractElement
Parameters
- $nodeElement : DOMNode
Return values
AbstractElementparseNode()
protected
parseNode(DOMNode|null $nodeRowElement, Math|AbstractGroupElement $parent) : void
Parameters
- $nodeRowElement : DOMNode|null
- $parent : Math|AbstractGroupElement