Aspose::Slides::NotesSlide Class Reference

Represents a notes slide in a presentation. More...

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

Public Member Functions

System::SharedPtr< INotesSlideHeaderFooterManagerget_HeaderFooterManager ()
 Returns HeaderFooter manager of the notes slide. Read-only INotesSlideHeaderFooterManager. More...
 
System::SharedPtr< ITextFrameget_NotesTextFrame ()
 Returns a TextFrame with notes' text if there is one. Read-only ITextFrame. More...
 
System::SharedPtr< Theme::IOverrideThemeManagerget_ThemeManager ()
 Returns the overriding theme manager. Read-only IOverrideThemeManager. More...
 
System::SharedPtr< ISlideget_ParentSlide ()
 Returns the parent slide. Read-only ISlide. More...
 
virtual bool get_ShowMasterShapes ()
 Specifies if shapes on the master slide should be shown on slides or not. Read bool. More...
 
virtual void set_ShowMasterShapes (bool value)
 Specifies if shapes on the master slide should be shown on slides or not. Write bool. More...
 
- Public Member Functions inherited from Aspose::Slides::BaseSlide
System::SharedPtr< IShapeCollectionget_Shapes ()
 Returns the shapes of a slide. Read-only IShapeCollection. More...
 
System::SharedPtr< IControlCollectionget_Controls ()
 Returns the collection of ActiveX controls on a slide. Read-only IControlCollection. More...
 
virtual System::String get_Name ()
 Returns the name of a slide. Read System::String. More...
 
virtual void set_Name (System::String value)
 Sets the name of a slide. Write System::String. More...
 
uint32_t get_SlideId ()
 Returns the ID of a slide. Read-only uint32_t. More...
 
System::SharedPtr< ICustomDataget_CustomData ()
 Returns the slide's custom data. Read-only ICustomData. More...
 
System::SharedPtr< IAnimationTimeLineget_Timeline ()
 Returns animation timeline object. Read-only IAnimationTimeLine. More...
 
virtual System::SharedPtr< ISlideShowTransitionget_SlideShowTransition ()
 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 ()
 Returns slide's background. Read-only IBackground. More...
 
System::SharedPtr< IHyperlinkQueriesget_HyperlinkQueries ()
 Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries. More...
 
System::SharedPtr< IDOMObjectget_Parent_Immediate ()
 Returns Parent_Immediate object. Read-only IDOMObject. More...
 
System::SharedPtr< IPresentationget_Presentation ()
 Returns IPresentation interface. Read-only IPresentation. More...
 
System::SharedPtr< IBaseSlideget_Slide ()
 Returns the base slide. Read-only IBaseSlide. More...
 
bool Equals (System::SharedPtr< IBaseSlide > slide)
 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...
 
virtual void JoinPortionsWithSameFormatting ()
 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 ()
 Returns an effective theme for this slide. More...
 
System::SharedPtr< IBackgroundEffectiveDataCreateBackgroundEffective ()
 Creates and returns IBackgroundEffectiveData object which contains effective background properties. More...
 
System::SharedPtr< IShapeFindShapeByAltText (System::String altText)
 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 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)
 

Protected Member Functions

virtual System::SharedPtr< Aspose::Slides::UnsupportedProps::PPTXUnsupportedProps::BaseSlidePPTXUnsupportedProps > get_BaseSlidePPTXUnsupportedProps ()
 
virtual System::SharedPtr< Aspose::Slides::UnsupportedProps::PPTUnsupportedProps::BaseSlidePPTUnsupportedProps > get_BaseSlidePPTUnsupportedProps ()
 
System::SharedPtr< UnsupportedProps::PPTXUnsupportedProps::NotesSlidePPTXUnsupportedProps > get_PPTXUnsupportedProps ()
 
System::SharedPtr< UnsupportedProps::PPTUnsupportedProps::NotesOrMasterNotesPPTUnsupportedProps > get_PPTUnsupportedProps ()
 
 NotesSlide (System::SharedPtr< NotesSlideManager > parentImmediate)
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::Drawing::Size imageSize)
 Returns a Thumbnail Bitmap object with specified size. More...
 
void Draw (System::SharedPtr< Drawing::Canvas > canvas, System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>> imageCache, System::SharedPtr< Drawing::RenderingOptions > renderingOptions)
 
System::SharedPtr< Aspose::Foundation::Rendering::Aps::ApsCanvas > SaveToAps (System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>> imageCache, System::SharedPtr< Drawing::RenderingOptions > renderingOptions)
 
System::SharedPtr< Aspose::Foundation::Rendering::Aps::ApsCanvas > SaveToAps (bool saveMetafileAsPng, System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>> imageCache, System::SharedPtr< Drawing::RenderingOptions > renderingOptions)
 
virtual System::ArrayPtr< System::SharedPtr< Shape > > GetPlaceholders (System::SharedPtr< IPlaceholder > placeholder)
 
- Protected Member Functions inherited from Aspose::Slides::BaseSlide
uint64_t get_SlideInternalId ()
 
System::SharedPtr< Theme::IThemeManagerget_ThemeManagerInternal ()
 
uint32_t get_NextShapeId ()
 
virtual System::ArrayPtr< System::SharedPtr< IBaseSlide > > get_BaseSlides ()
 
System::SharedPtr< IPresentationComponentget_Parent_IPresentationComponent ()
 
System::SharedPtr< Aspose::Slides::Presentationget_PresentationInternal ()
 
 BaseSlide (System::SharedPtr< IDOMObject > parentImmediate)
 Creates new Slide - called by Presentation to create a slide from scratch. You should not be calling this from application code (its protected anyhow). More...
 
void UpdateNextVmlSpId (System::String spid)
 
System::String GenerateSpId ()
 
System::SharedPtr< ColorFormatGetSchemeColor (SchemeColor color)
 Returns color format of effective scheme color. Use as readonly value only! More...
 
void InitSlideShowTransition ()
 Inits slide show transition. More...
 
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Shape > > > GetAllShapes ()
 
System::SharedPtr< ShapeFindShapeByPlaceholderType (PlaceholderType placeholderType)
 
System::SharedPtr< ShapeFindShapeByPlaceholderIndex (uint32_t index)
 
void ApplyDefaultTextStyle (System::SharedPtr< ITextStyle > style)
 
void ApplyShapesStyles (System::SharedPtr< IBaseSlide > sourceSlide)
 
void PptxAfterInit ()
 
uint32_t CreateShapeId ()
 
void UpdateNextShapeId (uint32_t newNextId, bool check)
 
System::SharedPtr< FillParam > GetBackgroundFillParam (System::SharedPtr< Aspose::Slides::Background > background, System::SharedPtr< ShapeFrame > shapeFrame, System::SharedPtr< Drawing::Canvas > canvas, System::SharedPtr< Drawing::RenderContext > renderContext)
 
System::SharedPtr< ShapeFrameGetEntireSlideFrame ()
 
System::SharedPtr< MasterSlideGetMasterSlideInternal ()
 Returns master slide for a slide or null if none can be found. More...
 
void DrawLicensing (System::SharedPtr< Drawing::Canvas > canvas)
 
void ScaleGeometry (float scalingCoefX, float scalingCoefY)
 
virtual void ScaleGeometry (float scalingCoefX, float scalingCoefY, float scalingContentCoef)
 
virtual void LocateGeometry (float locatingCoefX, float locatingCoefY)
 
void SetParent (System::SharedPtr< IDOMObject > parentImmediate)
 

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...
 
- Static Protected Member Functions inherited from Aspose::Slides::BaseSlide
static bool CheckScaleCoefficient (float scalingCoef)
 
static bool CheckScaleCoefficients (float scalingCoefX, float scalingCoefY)
 
- Static Protected Attributes inherited from Aspose::Slides::BaseSlide
static const float SCALING_MIN_COEF
 
static System::ArrayPtr< System::SharedPtr< BaseSlide > > emptySlides
 
static System::ArrayPtr< System::SharedPtr< Shape > > emptyShapes
 

Detailed Description

Represents a notes slide in a presentation.

Constructor & Destructor Documentation

◆ NotesSlide()

Aspose::Slides::NotesSlide::NotesSlide ( System::SharedPtr< NotesSlideManager parentImmediate)
protected

Member Function Documentation

◆ Draw()

void Aspose::Slides::NotesSlide::Draw ( System::SharedPtr< Drawing::Canvas >  canvas,
System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>>  imageCache,
System::SharedPtr< Drawing::RenderingOptions >  renderingOptions 
)
protected

◆ get_BaseSlidePPTUnsupportedProps()

virtual System::SharedPtr<Aspose::Slides::UnsupportedProps::PPTUnsupportedProps::BaseSlidePPTUnsupportedProps> Aspose::Slides::NotesSlide::get_BaseSlidePPTUnsupportedProps ( )
protectedvirtual

◆ get_BaseSlidePPTXUnsupportedProps()

virtual System::SharedPtr<Aspose::Slides::UnsupportedProps::PPTXUnsupportedProps::BaseSlidePPTXUnsupportedProps> Aspose::Slides::NotesSlide::get_BaseSlidePPTXUnsupportedProps ( )
protectedvirtual

◆ get_HeaderFooterManager()

System::SharedPtr<INotesSlideHeaderFooterManager> Aspose::Slides::NotesSlide::get_HeaderFooterManager ( )
virtual

Returns HeaderFooter manager of the notes slide. Read-only INotesSlideHeaderFooterManager.

Implements Aspose::Slides::INotesSlide.

◆ get_NotesTextFrame()

System::SharedPtr<ITextFrame> Aspose::Slides::NotesSlide::get_NotesTextFrame ( )
virtual

Returns a TextFrame with notes' text if there is one. Read-only ITextFrame.

Implements Aspose::Slides::INotesSlide.

◆ get_ParentSlide()

System::SharedPtr<ISlide> Aspose::Slides::NotesSlide::get_ParentSlide ( )
virtual

Returns the parent slide. Read-only ISlide.

Implements Aspose::Slides::INotesSlide.

◆ get_PPTUnsupportedProps()

System::SharedPtr<UnsupportedProps::PPTUnsupportedProps::NotesOrMasterNotesPPTUnsupportedProps> Aspose::Slides::NotesSlide::get_PPTUnsupportedProps ( )
protected

◆ get_PPTXUnsupportedProps()

System::SharedPtr<UnsupportedProps::PPTXUnsupportedProps::NotesSlidePPTXUnsupportedProps> Aspose::Slides::NotesSlide::get_PPTXUnsupportedProps ( )
protected

◆ get_ShowMasterShapes()

virtual bool Aspose::Slides::NotesSlide::get_ShowMasterShapes ( )
virtual

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::NotesSlide::get_ThemeManager ( )
virtual

Returns the overriding theme manager. Read-only IOverrideThemeManager.

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

◆ GetPlaceholders()

virtual System::ArrayPtr<System::SharedPtr<Shape> > Aspose::Slides::NotesSlide::GetPlaceholders ( System::SharedPtr< IPlaceholder placeholder)
protectedvirtual

Reimplemented from Aspose::Slides::BaseSlide.

◆ GetThumbnail()

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::NotesSlide::GetThumbnail ( System::Drawing::Size  imageSize)
protected

Returns a Thumbnail Bitmap object with specified size.

Parameters
imageSizeSize of the image to create.
Returns
Bitmap object.

◆ SaveToAps() [1/2]

System::SharedPtr<Aspose::Foundation::Rendering::Aps::ApsCanvas> Aspose::Slides::NotesSlide::SaveToAps ( System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>>  imageCache,
System::SharedPtr< Drawing::RenderingOptions >  renderingOptions 
)
protected

◆ SaveToAps() [2/2]

System::SharedPtr<Aspose::Foundation::Rendering::Aps::ApsCanvas> Aspose::Slides::NotesSlide::SaveToAps ( bool  saveMetafileAsPng,
System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>>  imageCache,
System::SharedPtr< Drawing::RenderingOptions >  renderingOptions 
)
protected

◆ set_ShowMasterShapes()

virtual void Aspose::Slides::NotesSlide::set_ShowMasterShapes ( bool  value)
virtual

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

Implements Aspose::Slides::BaseSlide.