Table of Contents

Class MathElement

Namespace
DocWright.Dom.Equations
Assembly
DocWright.Dom.dll

One element of an equation: a run of math text or a structure.

public abstract class MathElement
Inheritance
MathElement
Derived
Inherited Members

Constructors

MathElement()

Properties

ControlFormat

Gets or sets the formatting of the structure's own glyphs (m:ctrlPr/w:rPr: a fraction bar's colour, a delimiter's size), or null when none is given.

Revision

Gets or sets the revision the element sits in (w:ins, w:del around it), or null.

Slots

Gets the structure's slots in reading order (Phase 166): a fraction's numerator then denominator; a script's base then the scripts its kind has (pre-scripts first for a pre-script); a radical's degree then base; an n-ary operator's sub, sup, base; a delimiter's arguments; a matrix row by row; a function's name then base; a limit's base then limit; an equation array's rows; any other structure's base. A run and an unknown element have none. A MathPosition path names a slot by its index here.

Methods

Clone()

Creates a deep copy.

CloneCore()

Copies the element's own state and its arguments.

CopyArguments(IList<MathArgument>, IList<MathArgument>)

Copies a list of arguments.