MasterSlideCollection
ภาพรวม
MasterSlideCollection เป็นคลาสใน Aspose.Slides FOSS สําหรับ C++.
จัดการเก็บภาพสไลด์หลักในงานนําเสนอ.
หมวดนี้ให้ 21 วิธีในการทํางานกับวัตถุ MasterSlideCollection ในโปรแกรม C++. วิธีการที่ใช้ได้แก่: MasterSlideCollection, add_clone, as_i_collection, as_i_enumerable, begin, clone_layout_part, clone_master_part, const_iterator, end, get_max_master_layout_id_in_presentation, get_next_layout_file_number, get_next_master_file_number,และ 4 วิธีเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน C++ ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.Slides FOSS for C++. คุณสมบัติ: MasterSlideCollection, const_iterator, iterator.
คุณสมบัติ
| ชื่อ | ประเภท | Access | คําอธิบาย |
|---|---|---|---|
MasterSlideCollection | MasterSlideCollection | อ่าน | รับคอลเลกชันสไลด์หลัก. |
iterator | iterator | อ่าน | รับ iterator. |
const_iterator | const_iterator | อ่าน | รับ iterator คงที่. |
วิธีการ
| Signature | คําอธิบาย |
|---|---|
MasterSlideCollection() → MasterSlideCollection | สร้างคอลเลกชั่นด้วยการอ้างอิงกลับสู่ การนําเสนอของเจ้าของ. |
iterator() → iterator | คุณสมบัติให้ประเภทการคัดแปลงของสรรหาชนิดสําหรับสะสม |
iterator() → iterator | |
const_iterator() → const_iterator | คุณสมบัติให้ประเภทการคัดสรรอ่านเพียงสําหรับสะสม |
const_iterator() → const_iterator | |
MasterSlideCollection() | สร้างคอลเลกชั่นด้วยการอ้างอิงกลับสู่ การนําเสนอของเจ้าของ. |
as_i_collection() → IMasterSlideCollection | ส่งผลการรวบรวมนี้เป็นอินเตอร์เฟสของกลุ่มทั่วไป. |
as_i_enumerable() → IMasterSlideCollection | กลับคอลเลกชั่นนี้เป็นอินเตอร์เฟสที่สามารถนับได้ทั่วไป. |
size() → std::size_t | ส่งจํานวนสไลด์หลักกลับ. |
add_clone(source_master: IMasterSlide) → MasterSlide | เพิ่มคลอนของสไลด์หลักที่ได้รับมาจากแหล่งเข้ากับคอลเลกชั่น คลอนรูปแบบและการวางแผนสได จากแปล้นํา. |
begin() → iterator | |
end() → iterator | |
begin() → const_iterator | |
end() → const_iterator | |
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>>) | การเริ่มต้นภายในสําหรับการอัตราบรรจุที่ใช้ OPC. |
get_next_master_file_number() → int | ค้นหาเลขไฟล์สไลด์หลักที่อยู่ข้างหน้าในแพ็คเกจ. |
get_next_layout_file_number() → int | ค้นหาเลขไฟล์ลายแบบที่อยู่ข้างหน้าในแพ็คเกจ. |
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_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) | คลอนส่วนของสไลด์การวางแผนและชี้มันไปยัง master ที่กําหนดไว้. |
get_max_master_layout_id_in_presentation() → int64_t | ค้นหา ID สูงสุดของทั้งหมดที่ใช้ในการทําการแสดงภาพ master slide และ layout id ใน PPTX, sldMasterIdLst และ slidLayoutIdlst มีพื้นที่เดียวกันกับ ID. |
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>) | ปรับปรุงความสัมพันธ์ของ master และ XML เพื่อชี้ไปที่การจัดสรรแบบคลอน. |