MasterSlideCollection
개요
MasterSlideCollection는 Aspose.Slides FOSS for C++의 클래스입니다.
프레젠테이션에서 마스터 슬라이드 컬렉션을 관리합니다.
이 클래스는 C++ 프로그램에서 MasterSlideCollection 객체를 다루기 위한 21개의 메서드를 제공합니다. 사용 가능한 메서드에는 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개의 메서드가 포함됩니다. Aspose.Slides FOSS for C++ 패키지를 설치한 후 모든 C++ 애플리케이션에서 모든 public 멤버에 접근할 수 있습니다. 속성: MasterSlideCollection, const_iterator, iterator.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
MasterSlideCollection | MasterSlideCollection | 읽기 | 마스터 슬라이드 컬렉션을 가져옵니다. |
iterator | iterator | 읽기 | 반복자를 가져옵니다. |
const_iterator | const_iterator | 읽기 | 상수 반복자를 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
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) | 레이아웃 슬라이드 파트를 복제하고 지정된 마스터를 가리키게 합니다. |
get_max_master_layout_id_in_presentation() → int64_t | 모든 마스터 슬라이드 ID와 레이아웃 ID 중에서 최대 ID를 찾습니다. PPTX에서는 sldMasterIdLst와 sldLayoutIdLst가 동일한 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>) | 마스터의 관계와 XML를 복제된 레이아웃을 가리키도록 업데이트합니다. |