Aspose::Slides::IMasterSlide Class Referenceabstract

More...

Inherits Aspose::Slides::IBaseSlide, and Aspose::Slides::Theme::IMasterThemeable.

Inherited by Aspose::Slides::MasterSlide.

Public Member Functions

virtual System::SharedPtr< IMasterSlideHeaderFooterManagerget_HeaderFooterManager ()=0
 Returns HeaderFooter manager of the master slide. Read-only IMasterSlideHeaderFooterManager. More...
 
virtual System::SharedPtr< ITextStyleget_TitleStyle ()=0
 Returns the style of a title text. Read-only ITextStyle. More...
 
virtual System::SharedPtr< ITextStyleget_BodyStyle ()=0
 Returns the style of a body text. Read-only ITextStyle. More...
 
virtual System::SharedPtr< ITextStyleget_OtherStyle ()=0
 Returns the style of an other text. Read-only ITextStyle. More...
 
virtual System::SharedPtr< IMasterLayoutSlideCollectionget_LayoutSlides ()=0
 Returns the collection of child layout slides for this master slide. Read-only IMasterLayoutSlideCollection. More...
 
virtual bool get_Preserve ()=0
 Determines whether the corresponding master is deleted when all the slides that follow that master are deleted. Note: Aspose.Slides will never remove any unused master by itself, to actually remove unused masters call IMasterSlideCollection::RemoveUnused Read bool. More...
 
virtual void set_Preserve (bool value)=0
 Determines whether the corresponding master is deleted when all the slides that follow that master are deleted. Note: Aspose.Slides will never remove any unused master by itself, to actually remove unused masters call IMasterSlideCollection::RemoveUnused Write bool. More...
 
virtual bool get_HasDependingSlides ()=0
 Returns true if there exists at least one slide that depends on this master slide. Read-only bool. More...
 
virtual System::SharedPtr< IMasterSlideApplyExternalThemeToDependingSlides (System::String fname)=0
 Creates a new master slide based on the current one, applying an external theme to it and applies the created master slide to all dependent slides. More...
 
virtual System::ArrayPtr< System::SharedPtr< ISlide > > GetDependingSlides ()=0
 Returns an array with all slides, which depend on this master slide. More...
 
- Public Member Functions inherited from Aspose::Slides::IBaseSlide
virtual System::SharedPtr< IShapeCollectionget_Shapes ()=0
 Returns the shapes of a slide. Read-only IShapeCollection. More...
 
virtual System::SharedPtr< IControlCollectionget_Controls ()=0
 Returns the collection of ActiveX controls on a slide. Read-only IControlCollection. More...
 
virtual System::String get_Name ()=0
 Returns the name of a slide. Read System::String. More...
 
virtual void set_Name (System::String value)=0
 Sets the name of a slide. Write System::String. More...
 
virtual uint32_t get_SlideId ()=0
 Returns the ID of a slide. Read-only uint32_t. More...
 
virtual System::SharedPtr< ICustomDataget_CustomData ()=0
 Returns the slide's custom data. Read-only ICustomData. More...
 
virtual System::SharedPtr< IAnimationTimeLineget_Timeline ()=0
 Returns animation timeline object. Read-only IAnimationTimeLine. More...
 
virtual System::SharedPtr< ISlideShowTransitionget_SlideShowTransition ()=0
 Returns the TransitionEx object which contains information about how the specified slide advances during a slide show. Read-only ISlideShowTransition. More...
 
virtual System::SharedPtr< IBackgroundget_Background ()=0
 Returns slide's background. Read-only IBackground. More...
 
virtual System::SharedPtr< IHyperlinkQueriesget_HyperlinkQueries ()=0
 Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries. More...
 
virtual bool get_ShowMasterShapes ()=0
 Specifies if shapes on the master slide should be shown on slides or not. For master slide itself this property always returns false. Read bool. More...
 
virtual void set_ShowMasterShapes (bool value)=0
 Specifies if shapes on the master slide should be shown on slides or not. For master slide itself this property always returns false. Write bool. More...
 
virtual System::SharedPtr< IShapeFindShapeByAltText (System::String altText)=0
 Finds first occurrence of a shape with the specified alternative text. More...
 
virtual void JoinPortionsWithSameFormatting ()=0
 Joins runs with same formatting in all paragraphs in all acceptable shapes. More...
 
virtual System::SharedPtr< IBackgroundEffectiveDataCreateBackgroundEffective ()=0
 Creates and returns IBackgroundEffectiveData object which contains effective background properties. More...
 
virtual bool Equals (System::SharedPtr< IBaseSlide > slide)=0
 Determines whether the two IBaseSlide instances are equal. Returning value is calculated based on slide's structure and static content. Two slides are equal if all shapes, styles, texts, animation and other settings. etc. are equal. The comparison doesn't take into account unique identifier values, e.g. SlideId and dynamic content, e.g. current date value in Date Placeholder. More...
 
- Public Member Functions inherited from Aspose::Slides::Theme::IThemeable
virtual System::SharedPtr< IThemeEffectiveDataCreateThemeEffective ()=0
 Returns an effective theme for this themeable object. More...
 
- Public Member Functions inherited from Aspose::Slides::ISlideComponent
virtual System::SharedPtr< IBaseSlideget_Slide ()=0
 Returns the base slide. Read-only IBaseSlide. More...
 
- Public Member Functions inherited from Aspose::Slides::IPresentationComponent
virtual System::SharedPtr< IPresentationget_Presentation ()=0
 Returns the presentation. Read-only IPresentation. 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)
 
- Public Member Functions inherited from Aspose::Slides::Theme::IMasterThemeable
virtual System::SharedPtr< IMasterThemeManagerget_ThemeManager ()=0
 Returns master theme manager. Read-only IMasterThemeManager. More...
 

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

Member Function Documentation

◆ ApplyExternalThemeToDependingSlides()

virtual System::SharedPtr<IMasterSlide> Aspose::Slides::IMasterSlide::ApplyExternalThemeToDependingSlides ( System::String  fname)
pure virtual

Creates a new master slide based on the current one, applying an external theme to it and applies the created master slide to all dependent slides.

Parameters
fnamePath to the external theme file (.thmx).
Exceptions
PptxReadExceptionWhen external theme cannot be applied.
Returns
New themed MasterSlide.

Implemented in Aspose::Slides::MasterSlide.

◆ get_BodyStyle()

virtual System::SharedPtr<ITextStyle> Aspose::Slides::IMasterSlide::get_BodyStyle ( )
pure virtual

Returns the style of a body text. Read-only ITextStyle.

Implemented in Aspose::Slides::MasterSlide.

◆ get_HasDependingSlides()

virtual bool Aspose::Slides::IMasterSlide::get_HasDependingSlides ( )
pure virtual

Returns true if there exists at least one slide that depends on this master slide. Read-only bool.

Implemented in Aspose::Slides::MasterSlide.

◆ get_HeaderFooterManager()

virtual System::SharedPtr<IMasterSlideHeaderFooterManager> Aspose::Slides::IMasterSlide::get_HeaderFooterManager ( )
pure virtual

Returns HeaderFooter manager of the master slide. Read-only IMasterSlideHeaderFooterManager.

Implemented in Aspose::Slides::MasterSlide.

◆ get_LayoutSlides()

virtual System::SharedPtr<IMasterLayoutSlideCollection> Aspose::Slides::IMasterSlide::get_LayoutSlides ( )
pure virtual

Returns the collection of child layout slides for this master slide. Read-only IMasterLayoutSlideCollection.

You can access to alternative API for adding/inserting/removing/cloning layout slides by using IPresentation::LayoutSlides property.

Implemented in Aspose::Slides::MasterSlide.

◆ get_OtherStyle()

virtual System::SharedPtr<ITextStyle> Aspose::Slides::IMasterSlide::get_OtherStyle ( )
pure virtual

Returns the style of an other text. Read-only ITextStyle.

Implemented in Aspose::Slides::MasterSlide.

◆ get_Preserve()

virtual bool Aspose::Slides::IMasterSlide::get_Preserve ( )
pure virtual

Determines whether the corresponding master is deleted when all the slides that follow that master are deleted. Note: Aspose.Slides will never remove any unused master by itself, to actually remove unused masters call IMasterSlideCollection::RemoveUnused Read bool.

Implemented in Aspose::Slides::MasterSlide.

◆ get_TitleStyle()

virtual System::SharedPtr<ITextStyle> Aspose::Slides::IMasterSlide::get_TitleStyle ( )
pure virtual

Returns the style of a title text. Read-only ITextStyle.

Implemented in Aspose::Slides::MasterSlide.

◆ GetDependingSlides()

virtual System::ArrayPtr<System::SharedPtr<ISlide> > Aspose::Slides::IMasterSlide::GetDependingSlides ( )
pure virtual

Returns an array with all slides, which depend on this master slide.

Returns

Implemented in Aspose::Slides::MasterSlide.

◆ set_Preserve()

virtual void Aspose::Slides::IMasterSlide::set_Preserve ( bool  value)
pure virtual

Determines whether the corresponding master is deleted when all the slides that follow that master are deleted. Note: Aspose.Slides will never remove any unused master by itself, to actually remove unused masters call IMasterSlideCollection::RemoveUnused Write bool.

Implemented in Aspose::Slides::MasterSlide.