MasterSlideCollection
Overview
MasterSlideCollection là một lớp trong Aspose.Slides FOSS cho C++.
Quản lý bộ sưu tập các slides chủ trong một trình bày.
Khóa học này cung cấp 21 phương pháp để làm việc với các đối tượng MasterSlideCollection trong các chương trình C++. Các phương pháp có sẵn bao gồm: 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,Và 4 phương pháp bổ sung. Tất cả các thành viên công cộng đều có thể truy cập vào bất kỳ ứng dụng C++ nào sau khi cài đặt Aspose.Slides FOSS cho gói C ++. Tài sản : MasterSlideCollection, const_iterator, iterator.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
MasterSlideCollection | MasterSlideCollection | Read | Nhận bộ sưu tập master slide. |
iterator | iterator | Read | Đưa vào iterator. |
const_iterator | const_iterator | Read | - Nhận lại const iterator. |
Methods
| Signature | Description |
|---|---|
MasterSlideCollection() → MasterSlideCollection | Xây dựng bộ sưu tập với một phản hồi về bản trình bày sở hữu. |
iterator() → iterator | Tài sản cho các loại iterator thay đổi cho bộ sưu tập |
iterator() → iterator | |
const_iterator() → const_iterator | Bất động sản cho phép loại iterator đọc-chỉ dành cho bộ sưu tập |
const_iterator() → const_iterator | |
MasterSlideCollection() | Xây dựng bộ sưu tập với một phản hồi về bản trình bày sở hữu. |
as_i_collection() → IMasterSlideCollection | Trả lại bộ sưu tập này như một giao diện thu thập phổ biến. |
as_i_enumerable() → IMasterSlideCollection | Trả lại bộ sưu tập này như một giao diện tổng hợp chung. |
size() → std::size_t | Trả lại số lượng các slides master. |
add_clone(source_master: IMasterSlide) → MasterSlide | Thêm một clone của nguồn master slide vào bộ sưu tập. Clones hình dạng và layout slides từ nguồn. |
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>>) | Bước đầu tiên cho việc tải OPC. |
get_next_master_file_number() → int | Tìm số tập tin master slide tiếp theo có sẵn trong gói. |
get_next_layout_file_number() → int | Tìm số tệp Slide layout tiếp theo có sẵn trong gói. |
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 một phần slide chủ và các tài nguyên liên quan (ngoại trừ bố trí). |
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 một phần vỏ layout và chỉ nó cho chủ cụ thể. |
get_max_master_layout_id_in_presentation() → int64_t | Tìm ID tối đa trên tất cả các mã nhãn hiệu và mã định dạng. trong PPTX, sldMasterIdLst và sltLayoutIidLt chia sẻ cùng một không gian 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>) | Cập nhật các mối quan hệ của Master và XML để chỉ ra các bố trí được clon. |