ParagraphCollection

ParagraphCollection

Overview

ParagraphCollection เป็นคลาสใน Aspose.Slides FOSS สําหรับ Java. ทายาทจาก: BaseCollection<IParagraph>, IParagraphCollection, ISlideComponent.

เป็นการแสดงรวมของข้อความ.

หมวดนี้ให้ 21 วิธีในการทํางานกับวัตถุ ParagraphCollection ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: ParagraphCollection, add, asIEnumerable, asIPresentationComponent, asISlideComponent, clear, contains, count, get, getParagraphs, getPresentation, getSlide,และ 8 วิธีเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: paragraphs, presentation, readOnly, slide.

Properties

NameTypeAccessDescription
paragraphsList<IParagraph>Readสร้างและคืนรายการของข้อความ.
readOnlybooleanReadได้รับการอ่านเท่านั้น.
slideIBaseSlideReadได้รับสไลด์.
presentationIPresentationReadได้รับการนําเสนอ.

Methods

SignatureDescription
ParagraphCollection()สร้าง ParagraphCollection ที่ว่างเปล่า.
ParagraphCollection(paragraphs: List<IParagraph>)สร้าง ParagraphCollection ด้วยข้อแรกที่ให้.
initInternal(txbodyElement: Element, slidePart: Object, parentSlide: IBaseSlide)ParagraphCollectionเริ่มการรวบรวมนี้จากองค์ประกอบตัวข้อความ OOXML.
getParagraphs()List<IParagraph>สร้างและคืนรายการของข้อความ.
get(index: int)IParagraph
size()int
count()intส่งจํานวนข้อ (ชื่อของขนาด)
isReadOnly()booleanกลับ true หากตั้งค่า read only.
asISlideComponent()ISlideComponentการคืนคอลเลกชั่นเป็น ISlideComponent
asIEnumerable()Iterable<IParagraph>การคืน Iterable มากกว่าข้อความ
asIPresentationComponent()IPresentationComponentการคืนคอลเลกชั่นเป็น IPresentationComponent
getSlide()IBaseSlideกลับสไลด์.
getPresentation()IPresentationส่งผลการแสดงภาพกลับคืนมา.
add(value: IParagraph)ใส่ข้อหนึ่งที่ปลายของชุด
insert(index: int, value: IParagraph)
indexOf(item: IParagraph)intการคืนอินเด็กซ์ของข้อที่ให้ หรือ -1 หากไม่มี
contains(item: IParagraph)booleanกลับ true หากการรวบรวมมีข้อที่ระบุไว้ในตัวเลข
clear()
removeAt(index: int)ลบข้อที่อยู่ในอัตราการแสดงตัวที่ให้ไว้
remove(item: IParagraph)booleanลบข้อที่ระบุและคืนสถานะความสําเร็จ
iterator()Iterator<IParagraph>ให้การซ้ําต่อบทความ

See Also

 ภาษาไทย