ParagraphCollection
ภาพรวม
ParagraphCollection เป็นคลาสใน Aspose.Slides FOSS สําหรับ C++.
จัดการสะสมข้อในกรอบบทความ.
หมวดนี้ให้ 35 วิธีในการทํางานกับวัตถุ ParagraphCollection ในโปรแกรม C++. วิธีการที่ใช้ได้แก่: ConstIterator, Iterator, ParagraphCollection, add, as_i_enumerable, as_i_presentation_component, as_i_slide_component, begin, clear, contains, end, index_of,และ 11 วิธีเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน C++ ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.Slides FOSS for C++. คุณสมบัติ: ConstIterator, Iterator, ParagraphCollection, pointer, reference.
คุณสมบัติ
| ชื่อ | ประเภท | Access | คําอธิบาย |
|---|---|---|---|
ParagraphCollection | ParagraphCollection | อ่าน | รับคอลเลกชันของย่อหน้า. |
reference | reference | อ่าน | รับอ้างอิง. |
pointer | pointer | อ่าน | รับพอยน์เตอร์. |
Iterator | Iterator | อ่าน | รับอิเทอเรเตอร์. |
ConstIterator | ConstIterator | อ่าน | รับ iterator คงที่. |
วิธีการ
| Signature | คําอธิบาย |
|---|---|
ParagraphCollection() → ParagraphCollection | อสังหาริมทรัพย์แสดงตัวอย่างการเก็บเงินเอง |
reference() → reference | อสังหาริมทรัพย์ให้การเข้าถึงข้อมูลที่เกี่ยวข้องกับสะสมของคอมเมนต์ |
pointer() → pointer | |
Iterator() → Iterator | คุณสมบัติแสดงประเภทของตัวอิเทอร์ที่ใช้โดยการรวบรวม |
Iterator() → Iterator | |
reference() → reference | |
pointer() → pointer | |
ConstIterator() → ConstIterator | |
ConstIterator() → ConstIterator | |
ParagraphCollection() | |
init_internal(txbody_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide) | เริ่มต้นจาก XML, เข้าสู่โหมดที่รองรับด้วย XML. |
size() → std::size_t | การคืนจํานวนข้อความ. |
add(paragraph: Paragraph) → Paragraph | เพิ่มข้อหนึ่งที่ปลายของชุด. |
insert(index: std::size_t, paragraph: Paragraph) → Paragraph | การใส่ข้อที่ 1 ลงในอัตราการแสดงตัวที่ให้ไว้. |
remove_at(index: std::size_t) | ลบข้อที่อยู่ในอัตราการแสดงให้เห็น. |
remove(item: Paragraph) → bool | ลบข้อที่ให้จากคอลเลกชั่น. |
clear() | ยกเลิกทุกข้อความ. |
is_read_only() → bool | กลับข้อมูลที่ว่าการรวมเป็นอ่านเท่านั้น (เสมอ false). |
index_of(item: Paragraph) → std::optional<std::size_t> | ส่งผลการแสดงตัวของข้อที่ให้ไว้, หรือ std::nullopt หากไม่พบ. |
contains(item: Paragraph) → bool | การคืนข้อมูลว่า กลุ่มรวมมีข้อที่ให้ไว้หรือไม่. |
as_i_slide_component() → ISlideComponent | ให้การเข้าถึงพื้นฐาน ISlideComponent ช่องทางอ่านเท่านั้น. |
as_i_slide_component() → ISlideComponent | ให้การเข้าถึงพื้นฐาน ISlideComponent ช่องทางอ่านเท่านั้น. |
as_i_enumerable() → IParagraphCollection | กลับคําอ้างอิงไปยังคอลเลกชั่นนี้เป็นอินเตอร์เฟสที่สามารถนับได้ทั่วไป. |
as_i_enumerable() → IParagraphCollection | กลับคําอ้างอิงไปยังคอลเลกชั่นนี้เป็นอินเตอร์เฟสที่สามารถนับได้ทั่วไป. |
slide() → IBaseSlide | |
slide() → IBaseSlide | |
as_i_presentation_component() → IPresentationComponent | |
as_i_presentation_component() → IPresentationComponent | |
presentation() → IPresentation | |
presentation() → IPresentation | |
set_slide(slide: IBaseSlide) | ตั้งสไลด์แม่สำหรับคอลเลกชันนี้. |
begin() → Iterator | การคืนตัวอิเทเรเตอร์ที่ параграфแรก |
end() → Iterator | การคืนการคัดสรรหลังข้อสุดท้าย |
begin() → ConstIterator | |
end() → ConstIterator |