Aspose::Slides::IBulletFormat Class Referenceabstract

Represents paragraph bullet formatting properties. More...

Inherits System::Object.

Inherited by Aspose::Slides::BulletFormat.

Public Member Functions

virtual BulletType get_Type ()=0
 Returns the bullet type of a paragraph with no inheritance. Read BulletType. More...
 
virtual void set_Type (BulletType value)=0
 Sets the bullet type of a paragraph with no inheritance. Write BulletType. More...
 
virtual char16_t get_Char ()=0
 Returns the bullet char of a paragraph with no inheritance. Read wchar_t. More...
 
virtual void set_Char (char16_t value)=0
 Sets the bullet char of a paragraph with no inheritance. Write wchar_t. More...
 
virtual System::SharedPtr< IFontDataget_Font ()=0
 Returns the bullet font of a paragraph with no inheritance. Read IFontData. More...
 
virtual void set_Font (System::SharedPtr< IFontData > value)=0
 Sets the bullet font of a paragraph with no inheritance. Write IFontData. More...
 
virtual float get_Height ()=0
 Returns the bullet height of a paragraph with no inheritance. Value float.NaN determines that bullet inherits height from the first portion in the paragraph. Read float. More...
 
virtual void set_Height (float value)=0
 Sets the bullet height of a paragraph with no inheritance. Value float.NaN determines that bullet inherits height from the first portion in the paragraph. Write float. More...
 
virtual System::SharedPtr< IColorFormatget_Color ()=0
 Returns the color format of a bullet of a paragraph with no inheritance. Read-only IColorFormat. More...
 
virtual System::SharedPtr< ISlidesPictureget_Picture ()=0
 Returns the picture used as a bullet in a paragraph with no inheritance. Read-only ISlidesPicture. More...
 
virtual int16_t get_NumberedBulletStartWith ()=0
 Returns the first number which is used for group of numbered bullets with no inheritance. Read int16_t. More...
 
virtual void set_NumberedBulletStartWith (int16_t value)=0
 Sets the first number which is used for group of numbered bullets with no inheritance. Write int16_t. More...
 
virtual Aspose::Slides::NumberedBulletStyle get_NumberedBulletStyle ()=0
 Returns the style of a numbered bullet with no inheritance. Read NumberedBulletStyle. More...
 
virtual void set_NumberedBulletStyle (Aspose::Slides::NumberedBulletStyle value)=0
 Sets the style of a numbered bullet with no inheritance. Write NumberedBulletStyle. More...
 
virtual NullableBool get_IsBulletHardColor ()=0
 Determines whether the bullet has own color or inherits it from the first portion in the paragraph. NullableBool.True if bullet has own color and NullableBool.False if bullet inherits color from the first portion in the paragraph. Read NullableBool. More...
 
virtual void set_IsBulletHardColor (NullableBool value)=0
 Determines whether the bullet has own color or inherits it from the first portion in the paragraph. NullableBool.True if bullet has own color and NullableBool.False if bullet inherits color from the first portion in the paragraph. Write NullableBool. More...
 
virtual NullableBool get_IsBulletHardFont ()=0
 Determines whether the bullet has own font or inherits it from the first portion in the paragraph. NullableBool.True if bullet has own font and NullableBool.False if bullet inherits font from the first portion in the paragraph. Read NullableBool. More...
 
virtual void set_IsBulletHardFont (NullableBool value)=0
 Determines whether the bullet has own font or inherits it from the first portion in the paragraph. NullableBool.True if bullet has own font and NullableBool.False if bullet inherits font from the first portion in the paragraph. Write NullableBool. More...
 
virtual void ApplyDefaultParagraphIndentsShifts ()=0
 Sets default non-zero shifts for effective paragraph Indent and MarginLeft when bullets is enabled (like PowerPoint do if enable paragraph bullets/numbering in it). If bullets is disabled then just reset paragraph Indent and MarginLeft (like PowerPoint do if disable paragraph bullets/numbering in it). Indents shifts are applied in regard to current bullet context - IBulletFormat.Type, .NumberedBulletStyle and FontHeight of first portion. Non-zero indents shifts are applied to effective Indent and MarginLeft of current paragraph (make result values to be local values). 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 refernce 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 int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () ASPOSE_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 (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. 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 ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Detailed Description

Represents paragraph bullet formatting properties.

Member Function Documentation

◆ ApplyDefaultParagraphIndentsShifts()

virtual void Aspose::Slides::IBulletFormat::ApplyDefaultParagraphIndentsShifts ( )
pure virtual

Sets default non-zero shifts for effective paragraph Indent and MarginLeft when bullets is enabled (like PowerPoint do if enable paragraph bullets/numbering in it). If bullets is disabled then just reset paragraph Indent and MarginLeft (like PowerPoint do if disable paragraph bullets/numbering in it). Indents shifts are applied in regard to current bullet context - IBulletFormat.Type, .NumberedBulletStyle and FontHeight of first portion. Non-zero indents shifts are applied to effective Indent and MarginLeft of current paragraph (make result values to be local values).

Exceptions
InvalidOperationExceptionCalling this method doesn't matter and throw InvalidOperationException in following cases: if parent formatted object is not a paragraph (for example calling ITextStyle.DefaultParagraphFormat.Bullet.ApplyDefaultParagraphIndentsShifts() will throw exception); or if paragraph wasn't added to any ITextFrame.Paragraphs collection (add it first);

Implemented in Aspose::Slides::BulletFormat.

◆ get_Char()

virtual char16_t Aspose::Slides::IBulletFormat::get_Char ( )
pure virtual

Returns the bullet char of a paragraph with no inheritance. Read wchar_t.

Implemented in Aspose::Slides::BulletFormat.

◆ get_Color()

virtual System::SharedPtr<IColorFormat> Aspose::Slides::IBulletFormat::get_Color ( )
pure virtual

Returns the color format of a bullet of a paragraph with no inheritance. Read-only IColorFormat.

Implemented in Aspose::Slides::BulletFormat.

◆ get_Font()

virtual System::SharedPtr<IFontData> Aspose::Slides::IBulletFormat::get_Font ( )
pure virtual

Returns the bullet font of a paragraph with no inheritance. Read IFontData.

Implemented in Aspose::Slides::BulletFormat.

◆ get_Height()

virtual float Aspose::Slides::IBulletFormat::get_Height ( )
pure virtual

Returns the bullet height of a paragraph with no inheritance. Value float.NaN determines that bullet inherits height from the first portion in the paragraph. Read float.

Implemented in Aspose::Slides::BulletFormat.

◆ get_IsBulletHardColor()

virtual NullableBool Aspose::Slides::IBulletFormat::get_IsBulletHardColor ( )
pure virtual

Determines whether the bullet has own color or inherits it from the first portion in the paragraph. NullableBool.True if bullet has own color and NullableBool.False if bullet inherits color from the first portion in the paragraph. Read NullableBool.

Implemented in Aspose::Slides::BulletFormat.

◆ get_IsBulletHardFont()

virtual NullableBool Aspose::Slides::IBulletFormat::get_IsBulletHardFont ( )
pure virtual

Determines whether the bullet has own font or inherits it from the first portion in the paragraph. NullableBool.True if bullet has own font and NullableBool.False if bullet inherits font from the first portion in the paragraph. Read NullableBool.

Implemented in Aspose::Slides::BulletFormat.

◆ get_NumberedBulletStartWith()

virtual int16_t Aspose::Slides::IBulletFormat::get_NumberedBulletStartWith ( )
pure virtual

Returns the first number which is used for group of numbered bullets with no inheritance. Read int16_t.

Implemented in Aspose::Slides::BulletFormat.

◆ get_NumberedBulletStyle()

virtual Aspose::Slides::NumberedBulletStyle Aspose::Slides::IBulletFormat::get_NumberedBulletStyle ( )
pure virtual

Returns the style of a numbered bullet with no inheritance. Read NumberedBulletStyle.

Implemented in Aspose::Slides::BulletFormat.

◆ get_Picture()

virtual System::SharedPtr<ISlidesPicture> Aspose::Slides::IBulletFormat::get_Picture ( )
pure virtual

Returns the picture used as a bullet in a paragraph with no inheritance. Read-only ISlidesPicture.

Implemented in Aspose::Slides::BulletFormat.

◆ get_Type()

virtual BulletType Aspose::Slides::IBulletFormat::get_Type ( )
pure virtual

Returns the bullet type of a paragraph with no inheritance. Read BulletType.

Implemented in Aspose::Slides::BulletFormat.

◆ set_Char()

virtual void Aspose::Slides::IBulletFormat::set_Char ( char16_t  value)
pure virtual

Sets the bullet char of a paragraph with no inheritance. Write wchar_t.

Implemented in Aspose::Slides::BulletFormat.

◆ set_Font()

virtual void Aspose::Slides::IBulletFormat::set_Font ( System::SharedPtr< IFontData value)
pure virtual

Sets the bullet font of a paragraph with no inheritance. Write IFontData.

Implemented in Aspose::Slides::BulletFormat.

◆ set_Height()

virtual void Aspose::Slides::IBulletFormat::set_Height ( float  value)
pure virtual

Sets the bullet height of a paragraph with no inheritance. Value float.NaN determines that bullet inherits height from the first portion in the paragraph. Write float.

Implemented in Aspose::Slides::BulletFormat.

◆ set_IsBulletHardColor()

virtual void Aspose::Slides::IBulletFormat::set_IsBulletHardColor ( NullableBool  value)
pure virtual

Determines whether the bullet has own color or inherits it from the first portion in the paragraph. NullableBool.True if bullet has own color and NullableBool.False if bullet inherits color from the first portion in the paragraph. Write NullableBool.

Implemented in Aspose::Slides::BulletFormat.

◆ set_IsBulletHardFont()

virtual void Aspose::Slides::IBulletFormat::set_IsBulletHardFont ( NullableBool  value)
pure virtual

Determines whether the bullet has own font or inherits it from the first portion in the paragraph. NullableBool.True if bullet has own font and NullableBool.False if bullet inherits font from the first portion in the paragraph. Write NullableBool.

Implemented in Aspose::Slides::BulletFormat.

◆ set_NumberedBulletStartWith()

virtual void Aspose::Slides::IBulletFormat::set_NumberedBulletStartWith ( int16_t  value)
pure virtual

Sets the first number which is used for group of numbered bullets with no inheritance. Write int16_t.

Implemented in Aspose::Slides::BulletFormat.

◆ set_NumberedBulletStyle()

virtual void Aspose::Slides::IBulletFormat::set_NumberedBulletStyle ( Aspose::Slides::NumberedBulletStyle  value)
pure virtual

Sets the style of a numbered bullet with no inheritance. Write NumberedBulletStyle.

Implemented in Aspose::Slides::BulletFormat.

◆ set_Type()

virtual void Aspose::Slides::IBulletFormat::set_Type ( BulletType  value)
pure virtual

Sets the bullet type of a paragraph with no inheritance. Write BulletType.

Implemented in Aspose::Slides::BulletFormat.