Presentation

General

Presentation és una classe en Aspose.Slides FOSS per a C++.

Representa una presentació de Microsoft PowerPoint.

Propietats

NameTypeAccessDescription
PresentationPresentationReadGets the presentation.

Mètodes

SignatureDescription
Presentation()PresentationConstructs a new empty presentation with one blank slide.
Presentation()Constructs a new empty presentation with one blank slide.
presentation()IPresentationReturns a pointer to this presentation.
presentation()IPresentationReturns a pointer to this presentation.
current_date_time()std::chrono::system_clock::time_pointReturns 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()SlideCollectionReturns the collection of slides. Read-only.
slides()SlideCollectionReturns the collection of slides. Read-only.
comment_authors()CommentAuthorCollectionReturns the collection of comment authors. Read-only.
comment_authors()CommentAuthorCollectionReturns the collection of comment authors. Read-only.
images()ImageCollectionReturns the collection of images. Read-only.
images()ImageCollectionReturns the collection of images. Read-only.
document_properties()DocumentPropertiesReturns the document properties. Read-only.
document_properties()DocumentPropertiesReturns the document properties. Read-only.
layout_slides()GlobalLayoutSlideCollectionReturns the collection of layout slides. Read-only.
layout_slides()GlobalLayoutSlideCollectionReturns the collection of layout slides. Read-only.
masters()MasterSlideCollectionReturns the collection of master slides. Read-only.
masters()MasterSlideCollectionReturns the collection of master slides. Read-only.
notes_size()NotesSizeReturns the notes slide size. Read-only.
notes_size()NotesSizeReturns the notes slide size. Read-only.
source_format()SourceFormatReturns source format information. Read-only.
first_slide_number()intReturns 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()IPresentationComponentReturns a pointer to this as IPresentationComponent.
as_i_presentation_component()IPresentationComponentReturns 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)LayoutSlideResolve a layout slide part name to a LayoutSlide pointer.
resolve_master_slide(part_name: std::string_view)MasterSlideResolve 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::OpcPackageGet the OPC package pointer.
set_presentation_part_name(name: std::string_view)Set the presentation part name (used during file loading).
 Català