Skip to content

API reference / Common / Engine types / TextMath

Interface: TextMath ​

An equation in a text story (OMML m:oMathPara or m:oMath) — the text model's embedding point for the math sub-domain (its own domain, like chart / diagram).

A span and not a block, though EG_MathContent stands at both levels. EG_RunLevelElts sits in EG_ContentRunContent and in EG_ContentBlockContent alike, and math has one type for both — so, unlike w:sdt with its CT_SdtBlock and CT_SdtRun, position cannot change what an equation holds. The in-paragraph spelling <w:p><m:oMathPara>… is the common one, so that is the one modelled, and a block-level equation is given a paragraph of its own on import — as a block-level revision container is. See Text Model.

Placeholder — it will hold the math content, and the display / inline distinction m:oMathPara and m:oMath draw, once the math sub-domain lands. Empty for now. In the paragraph that holds it it occupies one atomic slot, its math edited in its own offset space.