Presentation
Overview
Presentation is a class in Aspose.Slides FOSS for C++.
Represents a Microsoft PowerPoint presentation.
This class provides 34 methods for working with Presentation objects in C++ programs.
Available methods include: Presentation, as_i_presentation_component, comment_authors, current_date_time, detect_source_format, dispose, document_properties, ensure_layout_slides_parsed, first_slide_number, images, layout_slides, masters, and 12 additional methods.
All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Properties: Presentation.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Presentation | Presentation | Read | Gets the presentation. |
Methods
| Signature | Description |
|---|---|
Presentation() → Presentation | Constructs a new empty presentation with one blank slide. |
Presentation() | Constructs a new empty presentation with one blank slide. |
presentation() → IPresentation | Returns a pointer to this presentation. |
presentation() → IPresentation | Returns a pointer to this presentation. |
current_date_time() → std::chrono::system_clock::time_point | Returns date and time for datetime field substitution. |
set_current_date_time(value: std::chrono::system_clock::time_point) | Sets date and time for datetime field substitution. |
slides() → SlideCollection | Returns the collection of slides. Read-only. |
slides() → SlideCollection | Returns the collection of slides. Read-only. |
comment_authors() → CommentAuthorCollection | Returns the collection of comment authors. Read-only. |
comment_authors() → CommentAuthorCollection | Returns the collection of comment authors. Read-only. |
images() → ImageCollection | Returns the collection of images. Read-only. |
images() → ImageCollection | Returns the collection of images. Read-only. |
document_properties() → DocumentProperties | Returns the document properties. Read-only. |
document_properties() → DocumentProperties | Returns the document properties. Read-only. |
layout_slides() → GlobalLayoutSlideCollection | Returns the collection of layout slides. Read-only. |
layout_slides() → GlobalLayoutSlideCollection | Returns the collection of layout slides. Read-only. |
masters() → MasterSlideCollection | Returns the collection of master slides. Read-only. |
masters() → MasterSlideCollection | Returns the collection of master slides. Read-only. |
notes_size() → NotesSize | Returns the notes slide size. Read-only. |
notes_size() → NotesSize | Returns the notes slide size. Read-only. |
source_format() → SourceFormat | Returns source format information. Read-only. |
first_slide_number() → int | Returns the first slide number in the presentation. |
set_first_slide_number(value: int) | Sets the first slide number in the presentation. |
as_i_presentation_component() → IPresentationComponent | Returns a pointer to this as IPresentationComponent. |
as_i_presentation_component() → IPresentationComponent | Returns a pointer to this as IPresentationComponent. |
save(path: std::string_view, format: SaveFormat) | Saves the presentation to a file path with the given format. |
dispose() | Releases all resources used by this Presentation. |
detect_source_format(path: std::string_view) | Detect source format from a file extension. |
ensure_layout_slides_parsed() | Parse all master slides and layout slides from the OPC package on first access. |
resolve_layout_slide(part_name: std::string_view) → LayoutSlide | Resolve a layout slide part name to a LayoutSlide pointer. |
resolve_master_slide(part_name: std::string_view) → MasterSlide | Resolve a master slide part name to a MasterSlide pointer. |
set_opc_package(package: Internal::opc::OpcPackage) | Set the OPC package pointer (used during file loading). |
opc_package() → Internal::opc::OpcPackage | Get the OPC package pointer. |
set_presentation_part_name(name: std::string_view) | Set the presentation part name (used during file loading). |