Aspose::Slides::BulletFormat Class Reference

Represents paragraph bullet formatting properties. More...

Inherits Aspose::Slides::PVIObject, and Aspose::Slides::IBulletFormat.

Public Member Functions

BulletType get_Type ()
 Returns the bullet type of a paragraph with no inheritance. Read BulletType. More...
 
void set_Type (BulletType value)
 Sets the bullet type of a paragraph with no inheritance. Write BulletType. More...
 
char16_t get_Char ()
 Returns the bullet char of a paragraph with no inheritance. Read wchar_t. More...
 
void set_Char (char16_t value)
 Sets the bullet char of a paragraph with no inheritance. Write wchar_t. More...
 
System::SharedPtr< IFontDataget_Font ()
 Returns the bullet font of a paragraph with no inheritance. Read IFontData. More...
 
void set_Font (System::SharedPtr< IFontData > value)
 Sets the bullet font of a paragraph with no inheritance. Write IFontData. More...
 
float get_Height ()
 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...
 
void set_Height (float value)
 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...
 
System::SharedPtr< IColorFormatget_Color ()
 Returns the color format of a bullet of a paragraph with no inheritance. Read-only IColorFormat. More...
 
int16_t get_NumberedBulletStartWith ()
 Returns the first number which is used for group of numbered bullets with no inheritance. Read int16_t. More...
 
void set_NumberedBulletStartWith (int16_t value)
 Sets the first number which is used for group of numbered bullets with no inheritance. Write int16_t. More...
 
Aspose::Slides::NumberedBulletStyle get_NumberedBulletStyle ()
 Returns the style of a numbered bullet with no inheritance. Read Slides::NumberedBulletStyle. More...
 
void set_NumberedBulletStyle (Aspose::Slides::NumberedBulletStyle value)
 Sets the style of a numbered bullet with no inheritance. Write Slides::NumberedBulletStyle. More...
 
NullableBool get_IsBulletHardColor ()
 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...
 
void set_IsBulletHardColor (NullableBool value)
 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...
 
NullableBool get_IsBulletHardFont ()
 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...
 
void set_IsBulletHardFont (NullableBool value)
 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...
 
System::SharedPtr< ISlidesPictureget_Picture ()
 Returns the picture used as a bullet in a paragraph with no inheritance. Read-only ISlidesPicture. More...
 
void ApplyDefaultParagraphIndentsShifts ()
 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 Aspose::Slides::PVIObject
virtual bool Equals (System::SharedPtr< System::Object > obj)
 Compares with specified object. More...
 
virtual int32_t GetHashCode () const
 Returns hash code. 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 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)
 

Protected Member Functions

System::SharedPtr< BulletFormatImpl > get_RealObject ()
 
System::String get_BulletChar ()
 Returns the bullet string of a paragraph with no inheritance. Read System::String. More...
 
void set_BulletChar (System::String value)
 Sets the bullet string of a paragraph with no inheritance. Write System::String. More...
 
System::SharedPtr< UnsupportedProps::PPTUnsupportedProps::BulletFormatPPTUnsupportedProps > get_PPTUnsupportedProps ()
 
System::SharedPtr< UnsupportedProps::PPTXUnsupportedProps::BulletFormatPPTXUnsupportedProps > get_PPTXUnsupportedProps ()
 
System::SharedPtr< Aspose::Slides::Pictureget_PictureInternal ()
 Returns a Picture used as a bullet in a paragraph. Read-only Slides::Picture. More...
 
void set_PictureInternal (System::SharedPtr< Aspose::Slides::Picture > value)
 Returns a Picture used as a bullet in a paragraph. Read-only Slides::Picture. More...
 
bool get_HasBullet ()
 Determines if the paragraph has a bullet. Read-only bool. More...
 
bool get_HasChar ()
 Determines if the paragraph has a bullet character defined. Read-only bool. More...
 
 BulletFormat (System::SharedPtr< IDOMObject > parentImmediate)
 
virtual void CreateChildObjects ()
 
virtual System::SharedPtr< System::ObjectCreateRealObject ()
 
System::SharedPtr< BulletFormatEffectiveData > GetEffective ()
 
void CopyDataFrom (System::SharedPtr< IBulletFormat > source)
 
void CopyDefinedDataFrom (System::SharedPtr< IBulletFormat > source)
 
void CopyDataFrom (System::SharedPtr< BulletFormatEffectiveData > source)
 
bool EqualFormatting (System::SharedPtr< IBulletFormat > bullet)
 
void CombineTo (System::SharedPtr< IBulletFormat > props)
 
void CombineFrom (System::SharedPtr< IBulletFormat > props)
 
void CombineFrom (System::SharedPtr< IBulletFormatEffectiveData > source)
 
void AddOverride (System::SharedPtr< IBulletFormat > overriding, System::SharedPtr< IBulletFormat > overriden)
 
- Protected Member Functions inherited from Aspose::Slides::PVIObject
System::SharedPtr< ObjectWrapper > get_Wrapper () const
 
System::SharedPtr< IDOMObjectget_Parent_Immediate ()
 Returns Parent_Immediate object. Read-only IDOMObject. More...
 
void set_Parent_Immediate (System::SharedPtr< IDOMObject > value)
 
virtual uint32_t get_Version ()
 Version. Read-only uint32_t. More...
 
System::SharedPtr< IPresentationComponentget_Parent_IPresentationComponent ()
 Returns parent IPresentationComponent. Read-only IPresentationComponent. More...
 
System::SharedPtr< ISlideComponentget_Parent_ISlideComponent ()
 
System::SharedPtr< BaseSlideget_Slide ()
 
System::SharedPtr< Aspose::Slides::Presentationget_Presentation ()
 
 PVIObject (System::SharedPtr< IDOMObject > parentImmediate)
 
void Reset_Parent_IPresentationComponent ()
 

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.

Constructor & Destructor Documentation

◆ BulletFormat()

Aspose::Slides::BulletFormat::BulletFormat ( System::SharedPtr< IDOMObject parentImmediate)
protected

Member Function Documentation

◆ AddOverride()

void Aspose::Slides::BulletFormat::AddOverride ( System::SharedPtr< IBulletFormat overriding,
System::SharedPtr< IBulletFormat overriden 
)
protected

◆ ApplyDefaultParagraphIndentsShifts()

void Aspose::Slides::BulletFormat::ApplyDefaultParagraphIndentsShifts ( )
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);

Implements Aspose::Slides::IBulletFormat.

◆ CombineFrom() [1/2]

void Aspose::Slides::BulletFormat::CombineFrom ( System::SharedPtr< IBulletFormat props)
protected

◆ CombineFrom() [2/2]

void Aspose::Slides::BulletFormat::CombineFrom ( System::SharedPtr< IBulletFormatEffectiveData source)
protected

◆ CombineTo()

void Aspose::Slides::BulletFormat::CombineTo ( System::SharedPtr< IBulletFormat props)
protected

◆ CopyDataFrom() [1/2]

void Aspose::Slides::BulletFormat::CopyDataFrom ( System::SharedPtr< IBulletFormat source)
protected

◆ CopyDataFrom() [2/2]

void Aspose::Slides::BulletFormat::CopyDataFrom ( System::SharedPtr< BulletFormatEffectiveData >  source)
protected

◆ CopyDefinedDataFrom()

void Aspose::Slides::BulletFormat::CopyDefinedDataFrom ( System::SharedPtr< IBulletFormat source)
protected

◆ CreateChildObjects()

virtual void Aspose::Slides::BulletFormat::CreateChildObjects ( )
protectedvirtual

◆ CreateRealObject()

virtual System::SharedPtr<System::Object> Aspose::Slides::BulletFormat::CreateRealObject ( )
protectedvirtual

◆ EqualFormatting()

bool Aspose::Slides::BulletFormat::EqualFormatting ( System::SharedPtr< IBulletFormat bullet)
protected

◆ get_BulletChar()

System::String Aspose::Slides::BulletFormat::get_BulletChar ( )
protected

Returns the bullet string of a paragraph with no inheritance. Read System::String.

◆ get_Char()

char16_t Aspose::Slides::BulletFormat::get_Char ( )
virtual

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

Implements Aspose::Slides::IBulletFormat.

◆ get_Color()

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

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

Implements Aspose::Slides::IBulletFormat.

◆ get_Font()

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

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

Implements Aspose::Slides::IBulletFormat.

◆ get_HasBullet()

bool Aspose::Slides::BulletFormat::get_HasBullet ( )
protected

Determines if the paragraph has a bullet. Read-only bool.

◆ get_HasChar()

bool Aspose::Slides::BulletFormat::get_HasChar ( )
protected

Determines if the paragraph has a bullet character defined. Read-only bool.

◆ get_Height()

float Aspose::Slides::BulletFormat::get_Height ( )
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.

Implements Aspose::Slides::IBulletFormat.

◆ get_IsBulletHardColor()

NullableBool Aspose::Slides::BulletFormat::get_IsBulletHardColor ( )
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.

Implements Aspose::Slides::IBulletFormat.

◆ get_IsBulletHardFont()

NullableBool Aspose::Slides::BulletFormat::get_IsBulletHardFont ( )
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.

Implements Aspose::Slides::IBulletFormat.

◆ get_NumberedBulletStartWith()

int16_t Aspose::Slides::BulletFormat::get_NumberedBulletStartWith ( )
virtual

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

Implements Aspose::Slides::IBulletFormat.

◆ get_NumberedBulletStyle()

Aspose::Slides::NumberedBulletStyle Aspose::Slides::BulletFormat::get_NumberedBulletStyle ( )
virtual

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

Implements Aspose::Slides::IBulletFormat.

◆ get_Picture()

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

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

Implements Aspose::Slides::IBulletFormat.

◆ get_PictureInternal()

System::SharedPtr<Aspose::Slides::Picture> Aspose::Slides::BulletFormat::get_PictureInternal ( )
protected

Returns a Picture used as a bullet in a paragraph. Read-only Slides::Picture.

◆ get_PPTUnsupportedProps()

System::SharedPtr<UnsupportedProps::PPTUnsupportedProps::BulletFormatPPTUnsupportedProps> Aspose::Slides::BulletFormat::get_PPTUnsupportedProps ( )
protected

◆ get_PPTXUnsupportedProps()

System::SharedPtr<UnsupportedProps::PPTXUnsupportedProps::BulletFormatPPTXUnsupportedProps> Aspose::Slides::BulletFormat::get_PPTXUnsupportedProps ( )
protected

◆ get_RealObject()

System::SharedPtr<BulletFormatImpl> Aspose::Slides::BulletFormat::get_RealObject ( )
protected

◆ get_Type()

BulletType Aspose::Slides::BulletFormat::get_Type ( )
virtual

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

Implements Aspose::Slides::IBulletFormat.

◆ GetEffective()

System::SharedPtr<BulletFormatEffectiveData> Aspose::Slides::BulletFormat::GetEffective ( )
protected

◆ set_BulletChar()

void Aspose::Slides::BulletFormat::set_BulletChar ( System::String  value)
protected

Sets the bullet string of a paragraph with no inheritance. Write System::String.

◆ set_Char()

void Aspose::Slides::BulletFormat::set_Char ( char16_t  value)
virtual

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

Implements Aspose::Slides::IBulletFormat.

◆ set_Font()

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

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

Implements Aspose::Slides::IBulletFormat.

◆ set_Height()

void Aspose::Slides::BulletFormat::set_Height ( float  value)
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.

Implements Aspose::Slides::IBulletFormat.

◆ set_IsBulletHardColor()

void Aspose::Slides::BulletFormat::set_IsBulletHardColor ( NullableBool  value)
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.

Implements Aspose::Slides::IBulletFormat.

◆ set_IsBulletHardFont()

void Aspose::Slides::BulletFormat::set_IsBulletHardFont ( NullableBool  value)
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.

Implements Aspose::Slides::IBulletFormat.

◆ set_NumberedBulletStartWith()

void Aspose::Slides::BulletFormat::set_NumberedBulletStartWith ( int16_t  value)
virtual

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

Implements Aspose::Slides::IBulletFormat.

◆ set_NumberedBulletStyle()

void Aspose::Slides::BulletFormat::set_NumberedBulletStyle ( Aspose::Slides::NumberedBulletStyle  value)
virtual

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

Implements Aspose::Slides::IBulletFormat.

◆ set_PictureInternal()

void Aspose::Slides::BulletFormat::set_PictureInternal ( System::SharedPtr< Aspose::Slides::Picture value)
protected

Returns a Picture used as a bullet in a paragraph. Read-only Slides::Picture.

◆ set_Type()

void Aspose::Slides::BulletFormat::set_Type ( BulletType  value)
virtual

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

Implements Aspose::Slides::IBulletFormat.