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
| Name | Type | Access | Description |
|---|---|---|---|
paragraphs | List<IParagraph> | Read | สร้างและคืนรายการของข้อความ. |
readOnly | boolean | Read | ได้รับการอ่านเท่านั้น. |
slide | IBaseSlide | Read | ได้รับสไลด์. |
presentation | IPresentation | Read | ได้รับการนําเสนอ. |
Methods
| Signature | Description |
|---|---|
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> | ให้การซ้ําต่อบทความ |