Aspose::Words::Math Namespace Reference

Classes

class  OfficeMath
 Represents an Office Math object such as function, equation, matrix or alike. Can contain child elements including runs of mathematical text, bookmarks, comments, other Aspose::Words::Math::OfficeMath instances and some other nodes. More...
 

Enumerations

enum  MathObjectType {
  MathObjectType::OMath, MathObjectType::OMathPara, MathObjectType::Accent, MathObjectType::Bar,
  MathObjectType::BorderBox, MathObjectType::Box, MathObjectType::Delimiter, MathObjectType::Degree,
  MathObjectType::Argument, MathObjectType::Array, MathObjectType::Fraction, MathObjectType::Denominator,
  MathObjectType::Numerator, MathObjectType::Function, MathObjectType::FunctionName, MathObjectType::GroupCharacter,
  MathObjectType::Limit, MathObjectType::LowerLimit, MathObjectType::UpperLimit, MathObjectType::Matrix,
  MathObjectType::MatrixRow, MathObjectType::NAry, MathObjectType::Phantom, MathObjectType::Radical,
  MathObjectType::SubscriptPart, MathObjectType::SuperscriptPart, MathObjectType::PreSubSuperscript, MathObjectType::Subscript,
  MathObjectType::SubSuperscript, MathObjectType::Supercript
}
 Specifies type of an Office Math object. More...
 
enum  OfficeMathDisplayType { OfficeMathDisplayType::Display = 0, OfficeMathDisplayType::Inline = 1 }
 Specifies the display format type of the equation. More...
 
enum  OfficeMathJustification {
  OfficeMathJustification::CenterGroup = 1, OfficeMathJustification::Center = 2, OfficeMathJustification::Left = 3, OfficeMathJustification::Right = 4,
  OfficeMathJustification::Inline = 7, OfficeMathJustification::Default = static_cast<int32_t>(CenterGroup)
}
 Specifies the justification of the equation. More...
 

Detailed Description

The Aspose.Words.Math namespace contains classes that represent Office Math elements.

Enumeration Type Documentation

◆ MathObjectType

Specifies type of an Office Math object.

Enumerator
OMath 

Instance of mathematical text.

OMathPara 

Math paragraph, or display math zone, that contains one or more Aspose::Words::Math::MathObjectType::OMath elements that are in display mode.

Accent 

Accent function, consisting of a base and a combining diacritical mark.

Bar 

Bar function, consisting of a base argument and an overbar or underbar.

BorderBox 

Border Box object, consisting of a border drawn around an instance of mathematical text (such as a formula or equation)

Box 

Box object, which is used to group components of an equation or other instance of mathematical text.

Delimiter 

Delimiter object, consisting of opening and closing delimiters (such as parentheses, braces, brackets, and vertical bars), and an element contained inside.

Degree 

Degree in the mathematical radical.

Argument 

Argument object. Encloses Office Math entities when they are used as arguments to other Office Math entities.

Array 

Array object, consisting of one or more equations, expressions, or other mathematical text runs that can be vertically justified as a unit with respect to surrounding text on the line.

Fraction 

Fraction object, consisting of a numerator and denominator separated by a fraction bar.

Denominator 

Denominator of a fraction object.

Numerator 

Numerator of the Fraction object.

Function 

Function-Apply object, which consists of a function name and an argument element acted upon.

FunctionName 

Name of the function. For example, function names are sin and cos.

GroupCharacter 

Group-Character object, consisting of a character drawn above or below text, often with the purpose of visually grouping items

Limit 

Lower limit of the Aspose::Words::Math::MathObjectType::LowerLimit object and the upper limit of the Aspose::Words::Math::MathObjectType::UpperLimit function.

LowerLimit 

Lower-Limit object, consisting of text on the baseline and reduced-size text immediately below it.

UpperLimit 

Upper-Limit object, consisting of text on the baseline and reduced-size text immediately above it.

Matrix 

Matrix object, consisting of one or more elements laid out in one or more rows and one or more columns.

MatrixRow 

Single row of the matrix.

NAry 

N-ary object, consisting of an n-ary object, a base (or operand), and optional upper and lower limits.

Phantom 

Phantom object.

Radical 

Radical object, consisting of a radical, a base element, and an optional degree .

SubscriptPart 

Subscript of the object that can have subscript part.

SuperscriptPart 

Superscript of the superscript object.

PreSubSuperscript 

Pre-Sub-Superscript object, which consists of a base element and a subscript and superscript placed to the left of the base.

Subscript 

Subscript object, which consists of a base element and a reduced-size script placed below and to the right.

SubSuperscript 

Sub-superscript object, which consists of a base element, a reduced-size script placed below and to the right, and a reduced-size script placed above and to the right.

Supercript 

Superscript object, which consists of a base element and a reduced-size script placed above and to the right.

◆ OfficeMathDisplayType

Specifies the display format type of the equation.

Enumerator
Display 

The Office Math is displayed on its own line.

Inline 

The Office Math is displayed inline with the text.

◆ OfficeMathJustification

Specifies the justification of the equation.

Enumerator
CenterGroup 

Justifies instances of mathematical text to the left with respect to each other, and centers the group of mathematical text (the Math Paragraph) with respect to the page.

Center 

Centers each instance of mathematical text individually with respect to margins.

Left 

Left justification of Math Paragraph.

Right 

Right Justification of Math Paragraph.

Inline 

Inline position of Math.

Default 

Default value Aspose::Words::Math::OfficeMathJustification::CenterGroup.