Aspose::Slides::LayoutSlide Class Referencefinal

Represents a layout slide. More...

Inherits Aspose::Slides::BaseSlide, and Aspose::Slides::ILayoutSlide.

Public Member Functions

System::SharedPtr< ILayoutSlideHeaderFooterManagerget_HeaderFooterManager () override
 Returns HeaderFooter manager of the layout slide. Read-only ILayoutSlideHeaderFooterManager. More...
 
System::SharedPtr< IMasterSlideget_MasterSlide () override
 Returns the master slide for a layout. Read IMasterSlide. More...
 
void set_MasterSlide (System::SharedPtr< IMasterSlide > value) override
 Sets the master slide for a layout. Write IMasterSlide. More...
 
System::SharedPtr< Theme::IOverrideThemeManagerget_ThemeManager () override
 Returns the overriding theme manager. Read-only Theme::IOverrideThemeManager. More...
 
SlideLayoutType get_LayoutType () override
 Returns layout type of this layout slide. Read-only SlideLayoutType. More...
 
bool get_HasDependingSlides () override
 Returns true if there exists at least one slide that depends on this layout slide. Read-only bool. More...
 
bool get_ShowMasterShapes () override
 Specifies if shapes on the master slide should be shown on slides or not. Read bool. More...
 
void set_ShowMasterShapes (bool value) override
 Specifies if shapes on the master slide should be shown on slides or not. Write bool. More...
 
void Remove () override
 Removes layout from presentation. More...
 
System::ArrayPtr< System::SharedPtr< ISlide > > GetDependingSlides () override
 Returns an array with all slides, which depend on this layout slide. More...
 
- Public Member Functions inherited from Aspose::Slides::BaseSlide
System::SharedPtr< IShapeCollectionget_Shapes () override
 Returns the shapes of a slide. Read-only IShapeCollection. More...
 
System::SharedPtr< IControlCollectionget_Controls () override
 Returns the collection of ActiveX controls on a slide. Read-only IControlCollection. More...
 
System::String get_Name () override
 Returns the name of a slide. Read System::String. More...
 
void set_Name (System::String value) override
 Sets the name of a slide. Write System::String. More...
 
uint32_t get_SlideId () override
 Returns the ID of a slide. Read-only uint32_t. More...
 
System::SharedPtr< ICustomDataget_CustomData () override
 Returns the slide's custom data. Read-only ICustomData. More...
 
System::SharedPtr< IAnimationTimeLineget_Timeline () override
 Returns animation timeline object. Read-only IAnimationTimeLine. More...
 
System::SharedPtr< ISlideShowTransitionget_SlideShowTransition () override
 Returns the Transition object which contains information about how the specified slide advances during a slide show. Read-only ISlideShowTransition. More...
 
System::SharedPtr< IBackgroundget_Background () override
 Returns slide's background. Read-only IBackground. More...
 
System::SharedPtr< IHyperlinkQueriesget_HyperlinkQueries () override
 Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries. More...
 
System::SharedPtr< IDOMObjectget_Parent_Immediate () override
 Returns Parent_Immediate object. Read-only IDOMObject. More...
 
System::SharedPtr< IPresentationget_Presentation () override
 Returns IPresentation interface. Read-only IPresentation. More...
 
System::SharedPtr< IBaseSlideget_Slide () override
 Returns the base slide. Read-only IBaseSlide. More...
 
bool Equals (System::SharedPtr< IBaseSlide > slide) override
 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...
 
void JoinPortionsWithSameFormatting () override
 Joins runs with same formatting in all paragraphs all acceptable shapes. More...
 
virtual void JoinPortionsWithSameFormatting (System::SharedPtr< IShapeCollection > collection)
 Joins runs with same formatting in all paragraphs in all acceptable shapes. More...
 
System::SharedPtr< Theme::IThemeEffectiveDataCreateThemeEffective () override
 Returns an effective theme for this slide. More...
 
System::SharedPtr< IShapeFindShapeByAltText (System::String altText) override
 Finds first occurrence of a shape with the specified alternative text. 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 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...
 
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...
 

Protected Member Functions

System::SharedPtr< Aspose::Slides::UnsupportedProps::PPTXUnsupportedProps::BaseSlidePPTXUnsupportedProps > get_BaseSlidePPTXUnsupportedProps () override
 
System::SharedPtr< Aspose::Slides::UnsupportedProps::PPTUnsupportedProps::BaseSlidePPTUnsupportedProps > get_BaseSlidePPTUnsupportedProps () override
 
System::ArrayPtr< System::SharedPtr< Shape > > GetPlaceholders (System::SharedPtr< IPlaceholder > placeholder) override
 
virtual ~LayoutSlide ()
 
- Protected Member Functions inherited from Aspose::Slides::BaseSlide
void InitSlideShowTransition ()
 Inits slide show transition. More...
 
virtual ~BaseSlide ()
 

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...
 

Detailed Description

Represents a layout slide.

Constructor & Destructor Documentation

◆ ~LayoutSlide()

virtual Aspose::Slides::LayoutSlide::~LayoutSlide ( )
protectedvirtual

Member Function Documentation

◆ get_BaseSlidePPTUnsupportedProps()

System::SharedPtr<Aspose::Slides::UnsupportedProps::PPTUnsupportedProps::BaseSlidePPTUnsupportedProps> Aspose::Slides::LayoutSlide::get_BaseSlidePPTUnsupportedProps ( )
overrideprotected

◆ get_BaseSlidePPTXUnsupportedProps()

System::SharedPtr<Aspose::Slides::UnsupportedProps::PPTXUnsupportedProps::BaseSlidePPTXUnsupportedProps> Aspose::Slides::LayoutSlide::get_BaseSlidePPTXUnsupportedProps ( )
overrideprotected

◆ get_HasDependingSlides()

bool Aspose::Slides::LayoutSlide::get_HasDependingSlides ( )
overridevirtual

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

Implements Aspose::Slides::ILayoutSlide.

◆ get_HeaderFooterManager()

System::SharedPtr<ILayoutSlideHeaderFooterManager> Aspose::Slides::LayoutSlide::get_HeaderFooterManager ( )
overridevirtual

Returns HeaderFooter manager of the layout slide. Read-only ILayoutSlideHeaderFooterManager.

Implements Aspose::Slides::ILayoutSlide.

◆ get_LayoutType()

SlideLayoutType Aspose::Slides::LayoutSlide::get_LayoutType ( )
overridevirtual

Returns layout type of this layout slide. Read-only SlideLayoutType.

Implements Aspose::Slides::ILayoutSlide.

◆ get_MasterSlide()

System::SharedPtr<IMasterSlide> Aspose::Slides::LayoutSlide::get_MasterSlide ( )
overridevirtual

Returns the master slide for a layout. Read IMasterSlide.

Implements Aspose::Slides::ILayoutSlide.

◆ get_ShowMasterShapes()

bool Aspose::Slides::LayoutSlide::get_ShowMasterShapes ( )
overridevirtual

Specifies if shapes on the master slide should be shown on slides or not. Read bool.

Implements Aspose::Slides::BaseSlide.

◆ get_ThemeManager()

System::SharedPtr<Theme::IOverrideThemeManager> Aspose::Slides::LayoutSlide::get_ThemeManager ( )
overridevirtual

Returns the overriding theme manager. Read-only Theme::IOverrideThemeManager.

Implements Aspose::Slides::Theme::IOverrideThemeable.

◆ GetDependingSlides()

System::ArrayPtr<System::SharedPtr<ISlide> > Aspose::Slides::LayoutSlide::GetDependingSlides ( )
overridevirtual

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

Returns

Implements Aspose::Slides::ILayoutSlide.

◆ GetPlaceholders()

System::ArrayPtr<System::SharedPtr<Shape> > Aspose::Slides::LayoutSlide::GetPlaceholders ( System::SharedPtr< IPlaceholder placeholder)
overrideprotected

◆ Remove()

void Aspose::Slides::LayoutSlide::Remove ( )
overridevirtual

Removes layout from presentation.

Exceptions
PptxEditExceptionThrown if layout is already removed from presentation or if layout is used in presentation (its HasDependingSlides property is true).

To avoid throwing of the PptxEditException check layout's HasDependingSlides property before.

Implements Aspose::Slides::ILayoutSlide.

◆ set_MasterSlide()

void Aspose::Slides::LayoutSlide::set_MasterSlide ( System::SharedPtr< IMasterSlide value)
overridevirtual

Sets the master slide for a layout. Write IMasterSlide.

Implements Aspose::Slides::ILayoutSlide.

◆ set_ShowMasterShapes()

void Aspose::Slides::LayoutSlide::set_ShowMasterShapes ( bool  value)
overridevirtual

Specifies if shapes on the master slide should be shown on slides or not. Write bool.

Implements Aspose::Slides::BaseSlide.