IPresentation

IPresentation class

Presentation document

class IPresentation : public Aspose::Slides::IPresentationComponent,
                      public System::IDisposable

Methods

MethodDescription
virtual void Dispose()Does nothing.
virtual bool Equals(ptr)Compares objects using C# Object.Equals semantics.
static std::enable_if<IsSmartPtr<T1>::value&&IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&)Compares reference type objects in C# style.
static std::enable_if<!IsSmartPtr<T1>::value&&!IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&)Compares value type objects in C# style.
static bool Equals(float const&, float const&)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.
static bool Equals(double const&, double const&)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.
virtual bool FastCast(const Details::FastRttiBase&, void **) constFor internal purposes only.
virtual System::ArrayPtr<System::SharedPtr<ICustomXmlPart>> get_AllCustomXmlParts()Returns all custom data parts in the presentaion. Read-only ICustomXmlPart[].
virtual System::SharedPtr<IAudio> get_Audio(int32_t)Return embedded audio file in the presentation at the specified index. Read-only Aspose::Slides::IAudio
virtual System::SharedPtr<IAudioCollection> get_Audios()Returns the collection of all embedded audio files in the presentation. Read-only IAudioCollection.
virtual System::SharedPtr<ICommentAuthor> get_CommentAuthor(int32_t)Returns the comment author at the specified index. Read-only Aspose::Slides::ICommentAuthor
virtual System::SharedPtr<ICommentAuthorCollection> get_CommentAuthors()Returns the collection of comments autors. Read-only ICommentAuthorCollection.
virtual System::DateTime get_CurrentDateTime()Returns date and time which will substitute content of datetime fields. Time of this Presentation object creation by default. Read System::DateTime.
virtual System::SharedPtr<ICustomData> get_CustomData()Returns the presentation’s custom data. Read-only ICustomData.
virtual System::SharedPtr<ITextStyle> get_DefaultTextStyle()Returns default text style for shapes. Read-only ITextStyle.
virtual System::SharedPtr<IDigitalSignature> get_DigitalSignature(int32_t)Returns digital signature used to sign the presentation at the specified index.
virtual System::SharedPtr<IDigitalSignatureCollection> get_DigitalSignatures()Returns the collection of signatures used to sign the presentation. Read-only IDigitalSignatureCollection.
virtual System::SharedPtr<IDocumentProperties> get_DocumentProperties()Returns DocumentProperties object which contains standard and custom document properties. Read-only IDocumentProperties.
virtual System::SharedPtr<System::Object> get_DocumentProperty(System::String)Returns custom property defined by name.
virtual int32_t get_FirstSlideNumber()Represents the first slide number in the presentation. Read int32_t.
virtual System::SharedPtr<IFontsManager> get_FontsManager()Returns fonts manager. Read-only IFontsManager.
virtual System::SharedPtr<IPresentationHeaderFooterManager> get_HeaderFooterManager()Returns HeaderFooter manager of the presentation. Read-only IPresentationHeaderFooterManager.
virtual System::SharedPtr<IHyperlinkQueries> get_HyperlinkQueries()Provides easy access to all hyperlinks contained in all presentation slides (not in master, layout, notes slides). Read-only IHyperlinkQueries.
virtual System::SharedPtr<IPPImage> get_Image(int32_t)Returns image in the presentation at the specified index.
virtual System::SharedPtr<IImageCollection> get_Images()Returns the collection of all images in the presentation. Read-only IImageCollection.
virtual System::SharedPtr<ILayoutSlide> get_LayoutSlide(int32_t)Returns the layout slide by index. Read-only Aspose::Slides::ILayoutSlide.
virtual System::SharedPtr<IGlobalLayoutSlideCollection> get_LayoutSlides()Returns a list of all layout slides that are defined in the presentation. Read-only IGlobalLayoutSlideCollection.
virtual System::SharedPtr<IMasterSlide> get_Master(int32_t)Returns a master slide defined in the presentation at the specified index. Read-only Aspose::Slides::IMasterSlide
virtual System::SharedPtr<IMasterHandoutSlideManager> get_MasterHandoutSlideManager()Returns handout master manager. Read-only IMasterHandoutSlideManager.
virtual System::SharedPtr<IMasterNotesSlideManager> get_MasterNotesSlideManager()Returns notes master manager. Read-only IMasterNotesSlideManager.
virtual System::SharedPtr<IMasterSlideCollection> get_Masters()Returns a list of all master slides that are defined in the presentation. Read-only IMasterSlideCollection.
virtual System::SharedPtr<Theme::IMasterTheme> get_MasterTheme()Returns master theme of the presentation. Read-only Theme::IMasterTheme.
virtual System::SharedPtr<INotesSize> get_NotesSize()Returns notes slide size object. Read-only INotesSize.
virtual System::SharedPtr<IPresentation> get_Presentation()Returns the presentation. Read-only IPresentation.
virtual System::SharedPtr<IProtectionManager> get_ProtectionManager()Gets manager of the permissions for this presentation. Read-only IProtectionManager.
virtual System::SharedPtr<ISection> get_Section(int32_t)Returns a slide section defined in the presentation at the specified index. Read-only Aspose::Slides::ISection
virtual System::SharedPtr<ISectionCollection> get_Sections()Returns a list of all slides sections that are defined in the presentation. Read-only ISectionCollection.
virtual System::SharedPtr<ISensitivityLabelCollection> get_SensitivityLabels()Returns the collection of sensitivity labels applied to the presentation document. Read-only ISensitivityLabelCollection.
virtual System::SharedPtr<ISlide> get_Slide(int32_t)Returns a slide defined in the presentation at the specified index. Read-only Aspose::Slides::ISlide.
virtual System::SharedPtr<ISlideCollection> get_Slides()Returns a list of all slides that are defined in the presentation. Read-only ISlideCollection.
virtual System::SharedPtr<ISlideSize> get_SlideSize()Returns slide size object. Read-only ISlideSize.
virtual Aspose::Slides::SourceFormat get_SourceFormat()Returns information about from which format presentation was loaded. Read-only IPresentation::get_SourceFormat.
virtual System::SharedPtr<Vba::IVbaProject> get_VbaProject()Gets VBA project with presentation macros. Read Vba::IVbaProject.
virtual System::SharedPtr<IVideo> get_Video(int32_t)Return embedded video file in the presentation at the specified index. Read-only Aspose::Slides::IVideo
virtual System::SharedPtr<IVideoCollection> get_Videos()Returns the collection of all embedded video files in the presentation. Read-only IVideoCollection.
virtual System::SharedPtr<IViewProperties> get_ViewProperties()Gets presentation wide view properties. Read-only IViewProperties.
Detail::SmartPtrCounter * GetCounter()Gets reference counter data structure associated with the object.
virtual int32_t GetHashCode() constAnalog of C# Object.GetHashCode() method. Enables hashing of custom objects.
virtual System::ArrayPtr<System::SharedPtr<IImage>> GetImages(System::SharedPtr<Export::IRenderingOptions>)Returns a Thumbnail Image objects for all slides of a presentation.
virtual System::ArrayPtr<System::SharedPtr<IImage>> GetImages(System::SharedPtr<Export::IRenderingOptions>, System::ArrayPtr<int32_t>)Returns a Thumbnail Bitmap objects for specified slides of a presentation.
virtual System::ArrayPtr<System::SharedPtr<IImage>> GetImages(System::SharedPtr<Export::IRenderingOptions>, float, float)Returns a Thumbnail Image objects for all slides of a presentation with custom scaling.
virtual System::ArrayPtr<System::SharedPtr<IImage>> GetImages(System::SharedPtr<Export::IRenderingOptions>, System::ArrayPtr<int32_t>, float, float)Returns a Thumbnail Image objects for specified slides of a presentation with custom scaling.
virtual System::ArrayPtr<System::SharedPtr<IImage>> GetImages(System::SharedPtr<Export::IRenderingOptions>, System::Drawing::Size)Returns a Thumbnail Image objects for all slides of a presentation with specified size.
virtual System::ArrayPtr<System::SharedPtr<IImage>> GetImages(System::SharedPtr<Export::IRenderingOptions>, System::ArrayPtr<int32_t>, System::Drawing::Size)Returns a Thumbnail Image objects for specified slides of a presentation with specified size.
virtual System::SharedPtr<IBaseSlide> GetSlideById(uint32_t)Returns a Slide, MasterSlide or LayoutSlide by Id.
virtual const TypeInfo& GetType() constGets actual type of object. Analog of C# System.Object.GetType() call.
virtual void HighlightRegex(System::SharedPtr<System::Text::RegularExpressions::Regex>, System::Drawing::Color, System::SharedPtr<IFindResultCallback>)Highlights all matches of the regular expression with the specified color.
virtual void HighlightText(System::String, System::Drawing::Color)Highlights all matches of the sample text with the specified color.
virtual void HighlightText(System::String, System::Drawing::Color, System::SharedPtr<ITextSearchOptions>, System::SharedPtr<IFindResultCallback>)Highlights all matches of the sample text with the specified color.
virtual bool Is(const TypeInfo&) constCheck if object represents an instance of type described by targetType. Analog of C# ‘is’ operator.
virtual void JoinPortionsWithSameFormatting()Joins runs with same formatting in all paragraphs in all acceptable shapes in all slides.
void Lock()Implements C# lock() statement locking. Call directly or use LockContext sentry object.
virtual ptr MemberwiseClone() constAnalog of C# Object.MemberwiseClone() method. Enables cloning custom types.
Object()Creates object. Initializes all internal data structures.
Object(Object const&)Copy constructor. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
Object& operator=(Object const&)Assignment operator. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
static bool ReferenceEquals(ptr const&, ptr const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, T const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, std::nullptr_t)Reference-compares value type object with nullptr.
bool ReferenceEquals(String const&, std::nullptr_t)Specialization of Object::ReferenceEquals for case of string and nullptr.
bool ReferenceEquals(String const&, String const&)Specialization of Object::ReferenceEquals for case of strings.
virtual void RefreshChartsData(bool)Reloads the data for all charts in the presentation from their source workbooks.
int RemovedSharedRefs(int)Decreases shared reference count by specified value.
virtual void ReplaceRegex(System::SharedPtr<System::Text::RegularExpressions::Regex>, System::String, System::SharedPtr<IFindResultCallback>)Replaces all matches of the regular expression with the specified string.
virtual void ReplaceText(System::String, System::String, System::SharedPtr<ITextSearchOptions>, System::SharedPtr<IFindResultCallback>)Replaces all occurrences of the specified text with another specified text.
virtual void Save(System::String, Export::SaveFormat)Saves all slides of a presentation to a file with the specified format.
virtual void Save(System::SharedPtr<System::IO::Stream>, Export::SaveFormat)Saves all slides of a presentation to a stream in the specified format.
virtual void Save(System::String, Export::SaveFormat, System::SharedPtr<Export::ISaveOptions>)Saves all slides of a presentation to a file with the specified format and with additional options.
virtual void Save(System::SharedPtr<System::IO::Stream>, Export::SaveFormat, System::SharedPtr<Export::ISaveOptions>)Saves all slides of a presentation to a stream in the specified format and with additional options.
virtual void Save(System::String, System::ArrayPtr<int32_t>, Export::SaveFormat)Saves specified slides of a presentation to a file with the specified format.
virtual void Save(System::String, System::ArrayPtr<int32_t>, Export::SaveFormat, System::SharedPtr<Export::ISaveOptions>)Saves specified slides of a presentation to a file with the specified format.
virtual void Save(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, Export::SaveFormat)Saves specified slides of a presentation to a stream in the specified format.
virtual void Save(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, Export::SaveFormat, System::SharedPtr<Export::ISaveOptions>)Saves specified slides of a presentation to a stream in the specified format.
virtual void Save(System::SharedPtr<Export::Xaml::IXamlOptions>)Saves all slides of a presentation to a set of files representing XAML markup.
virtual void set_CurrentDateTime(System::DateTime)Sets date and time which will substitute content of datetime fields. Time of this Presentation object creation by default. Write System::DateTime.
virtual void set_DocumentProperty(System::String, System::SharedPtr<System::Object>)Set custom property defined by name.
virtual void set_FirstSlideNumber(int32_t)Represents the first slide number in the presentation. Write int32_t.
virtual void set_VbaProject(System::SharedPtr<Vba::IVbaProject>)Gets VBA project with presentation macros. Write Vba::IVbaProject.
virtual void SetTemplateWeakPtr(uint32_t)Set n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
int SharedCount() constGets current value of shared reference counter.
Object * SharedRefAdded()Increments shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
int SharedRefRemovedSafe()Decrements and returns shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
virtual String ToString() constAnalog of C# Object.ToString() method. Enables converting custom objects to string.
static const TypeInfo& Type()Implements C# typeof(System.Object) construct.
void Unlock()Implements C# lock() statement unlocking. Call directly or use LockContext sentry object.
Detail::SmartPtrCounter * WeakRefAdded()Increments weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
void WeakRefRemoved()Decrements weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
virtual ~Object()Destroys object. Frees all internal data structures.

See Also