MasterSlideCollection

MasterSlideCollection

General

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

Gestiona la col·lecció de diapositives mestres en una presentació.

Propietats

NameTypeAccessDescription
MasterSlideCollectionMasterSlideCollectionReadConstructs the collection with a back‑reference to its owning Presentation
iteratoriteratorReadReturns a mutable iterator to the first master slide (overload for non‑const context)
const_iteratorconst_iteratorReadProperty denotes the const iterator type for read‑only traversal of master slides

Mètodes

SignatureDescription
MasterSlideCollection()MasterSlideCollectionConstructs the collection with a back-reference to the owning presentation.
iterator()iteratorReturns a mutable iterator to the first master slide (overload for non‑const context)
iterator()iterator
const_iterator()const_iteratorProperty denotes the const iterator type for read‑only traversal of master slides
const_iterator()const_iterator
size()std::size_tReturns the number of master slides.
init_internal(presentation: Presentation, package: Internal::opc::OpcPackage, presentation_part_name: std::string_view, master_references: std::vector<MasterReference>, master_slides: std::vector<std::unique_ptr<MasterSlide>>)Internal initialization for OPC-based loading.
get_next_master_file_number()intFind the next available master slide file number in the package.
get_next_layout_file_number()intFind the next available layout slide file number in the package.
clone_master_part(source_package: Internal::opc::OpcPackage, source_part_name: std::string_view, dest_package: Internal::opc::OpcPackage, dest_part_name: std::string_view)std::unordered_map<std::string, std::string>Clone a master slide part and its related resources (except layouts).
clone_layout_part(source_package: Internal::opc::OpcPackage, source_part_name: std::string_view, dest_package: Internal::opc::OpcPackage, dest_part_name: std::string_view, dest_master_part_name: std::string_view)Clone a layout slide part and point it to the specified master.
get_max_master_layout_id_in_presentation()int64_tFind the maximum ID across all master slide IDs and layout IDs. In PPTX, sldMasterIdLst and sldLayoutIdLst share the same ID space.
update_master_layout_relationships(source_package: Internal::opc::OpcPackage, source_master_part_name: std::string_view, dest_master_part_name: std::string_view, layout_mapping: std::unordered_map<std::string, std::string>, source_layout_rids: std::unordered_map<std::string, std::string>)Update master’s relationships and XML to point to cloned layouts.
 Català