Aspose::Slides::MathText::MathGroupingCharacter Class Referencefinal

Specifies a grouping symbol above or below an expression, usually to highlight the relationship between elements More...

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

Public Member Functions

System::SharedPtr< IMathElementget_Base () override
 Base argument More...
 
char16_t get_Character () override
 Grouping Character Default value: U+23DF (BOTTOM CURLY BRACKET) More...
 
void set_Character (char16_t value) override
 Grouping Character Default value: U+23DF (BOTTOM CURLY BRACKET) More...
 
MathTopBotPositions get_Position () override
 Position of grouping character. Default: Bottom More...
 
void set_Position (MathTopBotPositions value) override
 Position of grouping character. Default: Bottom More...
 
MathTopBotPositions get_VerticalJustification () override
 Vertical justification of group character. Specifies the alignment of the object with respect to the baseline. For example, when the group character is above the object, VerticalJustification of Top signifies that the top of the object falls on the baseline; when VerticalJustification is set to Bottom, the bottom of the object is on the baseline Default: Bottom for Position=Top, and Top for Position=Bottom More...
 
void set_VerticalJustification (MathTopBotPositions value) override
 Vertical justification of group character. Specifies the alignment of the object with respect to the baseline. For example, when the group character is above the object, VerticalJustification of Top signifies that the top of the object falls on the baseline; when VerticalJustification is set to Bottom, the bottom of the object is on the baseline Default: Bottom for Position=Top, and Top for Position=Bottom More...
 
 MathGroupingCharacter (System::SharedPtr< IMathElement > element)
 Initializes a new instance of the MathGroupingCharacter class with the default grouping character U+23DF (BOTTOM CURLY BRACKET) More...
 
 MathGroupingCharacter (System::SharedPtr< IMathElement > element, char16_t character, MathTopBotPositions position, MathTopBotPositions verticalJustification)
 Initializes a new instance of the MathGroupingCharacter class. More...
 
System::ArrayPtr< System::SharedPtr< IMathElement > > GetChildren () override
 Get children elements 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...
 

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 a grouping symbol above or below an expression, usually to highlight the relationship between elements

Example:

auto groupingCharacter = System::MakeObject<MathGroupingCharacter>(System::MakeObject<MathematicalText>(u"abc"));

Constructor & Destructor Documentation

◆ MathGroupingCharacter() [1/2]

Aspose::Slides::MathText::MathGroupingCharacter::MathGroupingCharacter ( System::SharedPtr< IMathElement element)

Initializes a new instance of the MathGroupingCharacter class with the default grouping character U+23DF (BOTTOM CURLY BRACKET)

Parameters
elementThe base element to which the bar is applied

Example:

auto groupingCharacter = System::MakeObject<MathGroupingCharacter>(System::MakeObject<MathematicalText>(u"abc"));

◆ MathGroupingCharacter() [2/2]

Aspose::Slides::MathText::MathGroupingCharacter::MathGroupingCharacter ( System::SharedPtr< IMathElement element,
char16_t  character,
MathTopBotPositions  position,
MathTopBotPositions  verticalJustification 
)

Initializes a new instance of the MathGroupingCharacter class.

Parameters
elementThe base element to which the bar is applied
characterGrouping Character
positionPosition of grouping character
verticalJustificationVertical justification of group character

Example:

auto groupingCharacter = System::MakeObject<MathGroupingCharacter>(System::MakeObject<MathematicalText>(u"abc"), u'_', Aspose::Slides::MathText::MathTopBotPositions::Top, Aspose::Slides::MathText::MathTopBotPositions::Bottom);

Member Function Documentation

◆ get_Base()

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

◆ get_Character()

char16_t Aspose::Slides::MathText::MathGroupingCharacter::get_Character ( )
overridevirtual

Grouping Character Default value: U+23DF (BOTTOM CURLY BRACKET)

Example:

auto groupingCharacter = System::MakeObject<MathGroupingCharacter>(System::MakeObject<MathematicalText>(u"abc"));
groupingCharacter->set_Character(u'\u23DD');
// Bottom Parenthesis

Implements Aspose::Slides::MathText::IMathGroupingCharacter.

◆ get_Position()

MathTopBotPositions Aspose::Slides::MathText::MathGroupingCharacter::get_Position ( )
overridevirtual

Position of grouping character. Default: Bottom

Implements Aspose::Slides::MathText::IMathGroupingCharacter.

◆ get_VerticalJustification()

MathTopBotPositions Aspose::Slides::MathText::MathGroupingCharacter::get_VerticalJustification ( )
overridevirtual

Vertical justification of group character. Specifies the alignment of the object with respect to the baseline. For example, when the group character is above the object, VerticalJustification of Top signifies that the top of the object falls on the baseline; when VerticalJustification is set to Bottom, the bottom of the object is on the baseline Default: Bottom for Position=Top, and Top for Position=Bottom

Implements Aspose::Slides::MathText::IMathGroupingCharacter.

◆ GetChildren()

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

Get children elements

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

◆ set_Character()

void Aspose::Slides::MathText::MathGroupingCharacter::set_Character ( char16_t  value)
overridevirtual

Grouping Character Default value: U+23DF (BOTTOM CURLY BRACKET)

Example:

auto groupingCharacter = System::MakeObject<MathGroupingCharacter>(System::MakeObject<MathematicalText>(u"abc"));
groupingCharacter->set_Character(u'\u23DD');
// Bottom Parenthesis

Implements Aspose::Slides::MathText::IMathGroupingCharacter.

◆ set_Position()

void Aspose::Slides::MathText::MathGroupingCharacter::set_Position ( MathTopBotPositions  value)
overridevirtual

Position of grouping character. Default: Bottom

Implements Aspose::Slides::MathText::IMathGroupingCharacter.

◆ set_VerticalJustification()

void Aspose::Slides::MathText::MathGroupingCharacter::set_VerticalJustification ( MathTopBotPositions  value)
overridevirtual

Vertical justification of group character. Specifies the alignment of the object with respect to the baseline. For example, when the group character is above the object, VerticalJustification of Top signifies that the top of the object falls on the baseline; when VerticalJustification is set to Bottom, the bottom of the object is on the baseline Default: Bottom for Position=Top, and Top for Position=Bottom

Implements Aspose::Slides::MathText::IMathGroupingCharacter.