MasterSlideCollection

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

NameTypeAccessDescription
nextMasterFileNumberintReadค้นหาเลขไฟล์สไลด์หลักที่มีอยู่ข้างหน้าในแพ็คเกจ.
nextLayoutFileNumberintReadค้นหาเลขไฟล์ลายสไลด์ที่มีอยู่ข้างหน้าในแพ็คเกจ.
maxMasterLayoutIdInPresentationlongReadค้นหา ID สูงสุดของ ID ของสไลด์หลักและ layout ในการแสดงภาพ.

Methods

SignatureDescription
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 เพื่อชี้ให้เห็นการวางแผนที่คลอน.

See Also

 ภาษาไทย