MasterSlideCollection
Overview
MasterSlideCollection เป็นคลาสใน Aspose.Slides FOSS สําหรับ Java. ทายาทจาก: IMasterSlideCollection, Iterable<IMasterSlide>.
แสดงให้เห็นถึงการรวบรวมสไลด์หลักในภาพนําเสนอ.
หมวดนี้ให้ 15 วิธีในการทํางานกับวัตถุ MasterSlideCollection ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: MasterSlideCollection, add, addClone, asICollection, asIEnumerable, cloneLayoutPart, cloneMasterPart, get, getMaxMasterLayoutIdInPresentation, getNextLayoutFileNumber, getNextMasterFileNumber, initInternal,และวิธีการเพิ่มเติมอีก 3 วิธี. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: maxMasterLayoutIdInPresentation, nextLayoutFileNumber, nextMasterFileNumber.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
nextMasterFileNumber | int | Read | ค้นหาเลขไฟล์สไลด์หลักที่มีอยู่ข้างหน้าในแพ็คเกจ. |
nextLayoutFileNumber | int | Read | ค้นหาเลขไฟล์ลายสไลด์ที่มีอยู่ข้างหน้าในแพ็คเกจ. |
maxMasterLayoutIdInPresentation | long | Read | ค้นหา ID สูงสุดของ ID ของสไลด์หลักและ layout ในการแสดงภาพ. |
Methods
| Signature | Description |
|---|---|
MasterSlideCollection() | สร้าง MasterSlideCollection ที่ว่างเปล่า. |
initInternal(presentation: IPresentation, opcPackage: OpcPackage, presentationPart: PresentationPart, masterSlides: List<IMasterSlide>) | ทําการประกอบภายในสําหรับสไลด์หลัก. |
get(index: int) → IMasterSlide | |
size() → int | |
asICollection() → List<IMasterSlide> | การคืนสไลด์หลักเป็นรายการ |
asIEnumerable() → Iterable<IMasterSlide> | |
iterator() → Iterator<IMasterSlide> | การคืนการคัดเลือกของสไลด์หลัก |
addClone(sourceMaster: IMasterSlide) → IMasterSlide | สร้างคลอนของสไลด์หลักที่ให้แล้วและเพิ่มมันไปในสะสม |
add(master: IMasterSlide) | เพิ่มสไลด์หลักให้กับการรวบรวม. |
getNextMasterFileNumber() → int | ค้นหาเลขไฟล์สไลด์หลักที่มีอยู่ข้างหน้าในแพ็คเกจ. |
getNextLayoutFileNumber() → int | ค้นหาเลขไฟล์ลายสไลด์ที่มีอยู่ข้างหน้าในแพ็คเกจ. |
cloneMasterPart(sourcePackage: OpcPackage, sourcePartName: String, destPackage: OpcPackage, destPartName: String) → Map<String, String> | คลอนส่วนของสไลด์หลักและทรัพยากรที่เกี่ยวข้อง (ยกเว้นการวางแผน) จากแพ็คเกจหนึ่งไปยังแพคเกตอื่น. |
cloneLayoutPart(sourcePackage: OpcPackage, sourcePartName: String, destPackage: OpcPackage, destPartName: String, destMasterPartName: String) | คลอนส่วนของสไลด์การวางแผนจากแพ็คเกจหนึ่งไปยังอีกแพ็กเกต. |
getMaxMasterLayoutIdInPresentation() → long | ค้นหา ID สูงสุดของ ID ของสไลด์หลักและ layout ในการแสดงภาพ. |
updateMasterLayoutRelationships(sourcePackage: OpcPackage, sourceMasterPartName: String, destMasterPartName: String, layoutMapping: Map<String, String>, sourceLayoutRids: Map<String, String>) | อัพเดทความสัมพันธ์ของสไลด์หลักและ XML เพื่อชี้ให้เห็นการวางแผนที่คลอน. |