Aspose::Slides::MathText::MathNaryOperator Class Referencefinal

Specifies an N-ary mathematical object, such as Summation and Integral. It consists of an operator, a base (or operand), and optional upper and lower limits. Examples of N-ary operators are: Summation, Union, Intersection, Integral More...

Inherits Aspose::Slides::MathText::MathElementBase, Aspose::Slides::MathText::IMathNaryOperator, and Aspose::Slides::MathText::IHasControlCharacterProperties.

Public Member Functions

System::SharedPtr< IMathElementget_Base () override
 Base argument More...
 
System::SharedPtr< IMathElementget_Subscript () override
 Specifies a subscript argument that, for example, in the case of an integral, sets the lower limit More...
 
System::SharedPtr< IMathElementget_Superscript () override
 Specifies a supersript argument that, for example, in the case of an integral, sets the upper limit More...
 
char16_t get_Operator () override
 Nary Operator Character For example: '∑', '∫' More...
 
void set_Operator (char16_t value) override
 Nary Operator Character For example: '∑', '∫' More...
 
MathLimitLocations get_LimitLocation () override
 The location of limits (subscript and superscript) More...
 
void set_LimitLocation (MathLimitLocations value) override
 The location of limits (subscript and superscript) More...
 
bool get_GrowToMatchOperandHeight () override
 Operator Character grows vertically to match its operand height More...
 
void set_GrowToMatchOperandHeight (bool value) override
 Operator Character grows vertically to match its operand height More...
 
bool get_HideSubscript () override
 Hide Subscript More...
 
void set_HideSubscript (bool value) override
 Hide Subscript More...
 
bool get_HideSuperscript () override
 Hide Superscript More...
 
void set_HideSuperscript (bool value) override
 Hide Superscript More...
 
System::ArrayPtr< System::SharedPtr< IMathElement > > GetChildren () override
 Get children elements More...
 
 MathNaryOperator (char16_t operatorSymbol, System::SharedPtr< IMathElement > baseArgument, System::SharedPtr< IMathElement > lowerLimit, System::SharedPtr< IMathElement > upperLimit)
 Initializes a new instance of the MathNaryOperator class. More...
 
 MathNaryOperator (char16_t operatorSymbol, System::SharedPtr< IMathElement > baseArgument, System::SharedPtr< IMathElement > lowerLimit)
 Initializes a new instance of the MathNaryOperator class. More...
 
 MathNaryOperator (char16_t operatorSymbol, System::SharedPtr< IMathElement > baseArgument)
 Initializes a new instance of the MathNaryOperator class. More...
 
- Public Member Functions inherited from Aspose::Slides::MathText::MathElementBase
System::SharedPtr< IMathBlockJoin (System::SharedPtr< IMathElement > mathElement) override
 Joins a mathematical element and forms a mathematical block More...
 
System::SharedPtr< IMathBlockJoin (System::String mathText) override
 Joins a mathematical text and forms a mathematical block More...
 
System::SharedPtr< IMathFractionDivide (System::SharedPtr< IMathElement > denominator) override
 Creates a fraction with this numerator and specified denominator More...
 
System::SharedPtr< IMathFractionDivide (System::String denominator) override
 Creates a fraction with this numerator and specified denominator More...
 
System::SharedPtr< IMathFractionDivide (System::SharedPtr< IMathElement > denominator, MathFractionTypes fractionType) override
 Creates a fraction of the specified type with this numerator and specified denominator More...
 
System::SharedPtr< IMathFractionDivide (System::String denominator, MathFractionTypes fractionType) override
 Creates a fraction of the specified type with this numerator and specified denominator More...
 
System::SharedPtr< IMathDelimiterEnclose () override
 Encloses a math element in parenthesis More...
 
System::SharedPtr< IMathDelimiterEnclose (char16_t beginningCharacter, char16_t endingCharacter) override
 Encloses a math element in specified characters such as parenthesis or another characters as framing More...
 
System::SharedPtr< IMathFunctionFunction (System::SharedPtr< IMathElement > functionArgument) override
 Takes a function of an argument using this instance as the function name More...
 
System::SharedPtr< IMathFunctionFunction (System::String functionArgument) override
 Takes a function of an argument using this instance as the function name More...
 
System::SharedPtr< IMathFunctionAsArgumentOfFunction (System::SharedPtr< IMathElement > functionName) override
 Takes specified function using this instance as the argument More...
 
System::SharedPtr< IMathFunctionAsArgumentOfFunction (System::String functionName) override
 Takes specified function using this instance as the argument More...
 
System::SharedPtr< IMathFunctionAsArgumentOfFunction (MathFunctionsOfOneArgument functionType) override
 Takes specified function using this instance as the argument More...
 
System::SharedPtr< IMathFunctionAsArgumentOfFunction (MathFunctionsOfTwoArguments functionType, System::SharedPtr< IMathElement > additionalArgument) override
 Takes specified function using this instance as the argument and specified additional argument More...
 
System::SharedPtr< IMathFunctionAsArgumentOfFunction (MathFunctionsOfTwoArguments functionType, System::String additionalArgument) override
 Takes specified function using this instance as the argument and specified additional argument More...
 
System::SharedPtr< IMathSubscriptElementSetSubscript (System::SharedPtr< IMathElement > subscript) override
 Creates subscript More...
 
System::SharedPtr< IMathSubscriptElementSetSubscript (System::String subscript) override
 Creates subscript More...
 
System::SharedPtr< IMathSuperscriptElementSetSuperscript (System::SharedPtr< IMathElement > superscript) override
 Creates superscript More...
 
System::SharedPtr< IMathSuperscriptElementSetSuperscript (System::String superscript) override
 Creates superscript More...
 
System::SharedPtr< IMathRightSubSuperscriptElementSetSubSuperscriptOnTheRight (System::SharedPtr< IMathElement > subscript, System::SharedPtr< IMathElement > superscript) override
 Creates subscript and superscript on the right More...
 
System::SharedPtr< IMathRightSubSuperscriptElementSetSubSuperscriptOnTheRight (System::String subscript, System::String superscript) override
 Creates subscript and superscript on the right More...
 
System::SharedPtr< IMathLeftSubSuperscriptElementSetSubSuperscriptOnTheLeft (System::SharedPtr< IMathElement > subscript, System::SharedPtr< IMathElement > superscript) override
 Creates subscript and superscript on the left More...
 
System::SharedPtr< IMathLeftSubSuperscriptElementSetSubSuperscriptOnTheLeft (System::String subscript, System::String superscript) override
 Creates subscript and superscript on the left More...
 
System::SharedPtr< IMathRadicalRadical (System::SharedPtr< IMathElement > degree) override
 Specifies the mathematical root of the given degree from the specified argument. More...
 
System::SharedPtr< IMathRadicalRadical (System::String degree) override
 Specifies the mathematical root of the given degree from the specified argument. More...
 
System::SharedPtr< IMathLimitSetUpperLimit (System::SharedPtr< IMathElement > limit) override
 Takes upper limit More...
 
System::SharedPtr< IMathLimitSetUpperLimit (System::String limit) override
 Takes upper limit More...
 
System::SharedPtr< IMathLimitSetLowerLimit (System::SharedPtr< IMathElement > limit) override
 Takes lower limit More...
 
System::SharedPtr< IMathLimitSetLowerLimit (System::String limit) override
 Takes lower limit More...
 
System::SharedPtr< IMathNaryOperatorNary (MathNaryOperatorTypes type, System::SharedPtr< IMathElement > lowerLimit, System::SharedPtr< IMathElement > upperLimit) override
 Creates a N-ary operator More...
 
System::SharedPtr< IMathNaryOperatorNary (MathNaryOperatorTypes type, System::String lowerLimit, System::String upperLimit) override
 Creates a N-ary operator More...
 
System::SharedPtr< IMathArrayToMathArray () override
 Puts in a vertical array More...
 
System::SharedPtr< IMathNaryOperatorIntegral (MathIntegralTypes integralType, System::SharedPtr< IMathElement > lowerLimit, System::SharedPtr< IMathElement > upperLimit, MathLimitLocations limitLocations) override
 Takes the integral More...
 
System::SharedPtr< IMathNaryOperatorIntegral (MathIntegralTypes integralType, System::SharedPtr< IMathElement > lowerLimit, System::SharedPtr< IMathElement > upperLimit) override
 Takes the integral More...
 
System::SharedPtr< IMathNaryOperatorIntegral (MathIntegralTypes integralType) override
 Takes the integral without limits More...
 
System::SharedPtr< IMathNaryOperatorIntegral (MathIntegralTypes integralType, System::String lowerLimit, System::String upperLimit, MathLimitLocations limitLocations) override
 Takes the integral More...
 
System::SharedPtr< IMathNaryOperatorIntegral (MathIntegralTypes integralType, System::String lowerLimit, System::String upperLimit) override
 Takes the integral More...
 
System::SharedPtr< IMathAccentAccent (char16_t accentCharacter) override
 Sets an accent mark (a character on the top of this element) More...
 
System::SharedPtr< IMathBarOverbar () override
 Sets a bar on the top of this element More...
 
System::SharedPtr< IMathBarUnderbar () override
 Sets a bar on the bottom of this element More...
 
System::SharedPtr< IMathGroupingCharacterGroup () override
 Places this element in a group using a bottom curly bracket More...
 
System::SharedPtr< IMathGroupingCharacterGroup (char16_t character, MathTopBotPositions position, MathTopBotPositions verticalJustification) override
 Places this element in a group using a grouping character such as bottom curly bracket or another More...
 
System::SharedPtr< IMathBorderBoxToBorderBox () override
 Places this element in a border-box More...
 
System::SharedPtr< IMathBorderBoxToBorderBox (bool hideTop, bool hideBottom, bool hideLeft, bool hideRight, bool strikethroughHorizontal, bool strikethroughVertical, bool strikethroughBottomLeftToTopRight, bool strikethroughTopLeftToBottomRight) override
 Places this element in a border-box More...
 
System::SharedPtr< IMathBoxToBox () override
 Places this element in a non-visual box (logical grouping) which is used to group components of an equation or other instance of mathematical text. A boxed object can (for example) serve as an operator emulator with or without an alignment point, serve as a line break point, or be grouped such as not to allow line breaks within. More...
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ~Object ()
 Destroys object. Frees all internal data structures. More...
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared reference counter. More...
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 

Static Protected Attributes

static const int8_t c_DefaultArgumentSize
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
- Protected Member Functions inherited from Aspose::Slides::MathText::MathElementBase
 MathElementBase ()
 Default constructor More...
 
System::ArrayPtr< System::SharedPtr< IMathElement > > GetChildren (System::SharedPtr< IMathElement > child1, System::SharedPtr< IMathElement > child2, System::SharedPtr< IMathElement > child3)
 Get children elements More...
 
System::ArrayPtr< System::SharedPtr< IMathElement > > GetChildren (System::SharedPtr< IMathElement > child1, System::SharedPtr< IMathElement > child2)
 
System::ArrayPtr< System::SharedPtr< IMathElement > > GetChildren (System::SharedPtr< IMathElement > child)
 
virtual ~MathElementBase ()
 

Detailed Description

Specifies an N-ary mathematical object, such as Summation and Integral. It consists of an operator, a base (or operand), and optional upper and lower limits. Examples of N-ary operators are: Summation, Union, Intersection, Integral

Example:

auto naryOperator = System::MakeObject<MathematicalText>(u"x")->Nary(Aspose::Slides::MathText::MathNaryOperatorTypes::Summation, u"x=1", u"100");

Constructor & Destructor Documentation

◆ MathNaryOperator() [1/3]

Aspose::Slides::MathText::MathNaryOperator::MathNaryOperator ( char16_t  operatorSymbol,
System::SharedPtr< IMathElement baseArgument,
System::SharedPtr< IMathElement lowerLimit,
System::SharedPtr< IMathElement upperLimit 
)

Initializes a new instance of the MathNaryOperator class.

Parameters
operatorSymbolNary operator symbol
baseArgumentBase argument
lowerLimitLower limit
upperLimitUpper limit

Example:

auto naryOperator = System::MakeObject<MathNaryOperator>(u'?', System::MakeObject<MathematicalText>(u"i"), System::MakeObject<MathematicalText>(u"i=0"), System::MakeObject<MathematicalText>(u"\U0001d465"));

◆ MathNaryOperator() [2/3]

Aspose::Slides::MathText::MathNaryOperator::MathNaryOperator ( char16_t  operatorSymbol,
System::SharedPtr< IMathElement baseArgument,
System::SharedPtr< IMathElement lowerLimit 
)

Initializes a new instance of the MathNaryOperator class.

Parameters
operatorSymbolNary operator symbol
baseArgumentBase argument
lowerLimitLower limit

Example:

auto naryOperator = System::MakeObject<MathNaryOperator>(u'?', System::MakeObject<MathematicalText>(u"i"), System::MakeObject<MathematicalText>(u"i"));

◆ MathNaryOperator() [3/3]

Aspose::Slides::MathText::MathNaryOperator::MathNaryOperator ( char16_t  operatorSymbol,
System::SharedPtr< IMathElement baseArgument 
)

Initializes a new instance of the MathNaryOperator class.

Parameters
operatorSymbolNary operator symbol
baseArgumentBase argument

Example:

auto naryOperator = System::MakeObject<MathNaryOperator>(u'?', System::MakeObject<MathematicalText>(u"i"));

Member Function Documentation

◆ get_Base()

System::SharedPtr<IMathElement> Aspose::Slides::MathText::MathNaryOperator::get_Base ( )
overridevirtual

◆ get_GrowToMatchOperandHeight()

bool Aspose::Slides::MathText::MathNaryOperator::get_GrowToMatchOperandHeight ( )
overridevirtual

Operator Character grows vertically to match its operand height

Implements Aspose::Slides::MathText::IMathNaryOperatorProperties.

◆ get_HideSubscript()

bool Aspose::Slides::MathText::MathNaryOperator::get_HideSubscript ( )
overridevirtual

◆ get_HideSuperscript()

bool Aspose::Slides::MathText::MathNaryOperator::get_HideSuperscript ( )
overridevirtual

◆ get_LimitLocation()

MathLimitLocations Aspose::Slides::MathText::MathNaryOperator::get_LimitLocation ( )
overridevirtual

The location of limits (subscript and superscript)

Implements Aspose::Slides::MathText::IMathNaryOperatorProperties.

◆ get_Operator()

char16_t Aspose::Slides::MathText::MathNaryOperator::get_Operator ( )
overridevirtual

Nary Operator Character For example: '∑', '∫'

Implements Aspose::Slides::MathText::IMathNaryOperatorProperties.

◆ get_Subscript()

System::SharedPtr<IMathElement> Aspose::Slides::MathText::MathNaryOperator::get_Subscript ( )
overridevirtual

Specifies a subscript argument that, for example, in the case of an integral, sets the lower limit

Implements Aspose::Slides::MathText::IMathNaryOperator.

◆ get_Superscript()

System::SharedPtr<IMathElement> Aspose::Slides::MathText::MathNaryOperator::get_Superscript ( )
overridevirtual

Specifies a supersript argument that, for example, in the case of an integral, sets the upper limit

Implements Aspose::Slides::MathText::IMathNaryOperator.

◆ GetChildren()

System::ArrayPtr<System::SharedPtr<IMathElement> > Aspose::Slides::MathText::MathNaryOperator::GetChildren ( )
overridevirtual

Get children elements

Reimplemented from Aspose::Slides::MathText::MathElementBase.

◆ set_GrowToMatchOperandHeight()

void Aspose::Slides::MathText::MathNaryOperator::set_GrowToMatchOperandHeight ( bool  value)
overridevirtual

Operator Character grows vertically to match its operand height

Implements Aspose::Slides::MathText::IMathNaryOperatorProperties.

◆ set_HideSubscript()

void Aspose::Slides::MathText::MathNaryOperator::set_HideSubscript ( bool  value)
overridevirtual

◆ set_HideSuperscript()

void Aspose::Slides::MathText::MathNaryOperator::set_HideSuperscript ( bool  value)
overridevirtual

◆ set_LimitLocation()

void Aspose::Slides::MathText::MathNaryOperator::set_LimitLocation ( MathLimitLocations  value)
overridevirtual

The location of limits (subscript and superscript)

Implements Aspose::Slides::MathText::IMathNaryOperatorProperties.

◆ set_Operator()

void Aspose::Slides::MathText::MathNaryOperator::set_Operator ( char16_t  value)
overridevirtual

Nary Operator Character For example: '∑', '∫'

Implements Aspose::Slides::MathText::IMathNaryOperatorProperties.

Member Data Documentation

◆ c_DefaultArgumentSize

const int8_t Aspose::Slides::MathText::MathNaryOperator::c_DefaultArgumentSize
staticprotected