RowCollection
ภาพรวม
RowCollection เป็นคลาสใน Aspose.Slides FOSS สําหรับ C++.
แสดงให้เห็นถึงการรวบรวมแถวในตาราง.
หมวดนี้ให้ 21 วิธีในการทํางานกับวัตถุ RowCollection ในโปรแกรม C++. วิธีการที่ใช้ได้แก่: RowCollection, add, add_clone, as_i_collection, as_i_enumerable, begin, clear, const_iterator, end, init_internal, insert_clone, iterator,และ 4 วิธีเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน C++ ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.Slides FOSS for C++. คุณสมบัติ: const_iterator, iterator.
คุณสมบัติ
| ชื่อ | ประเภท | Access | คําอธิบาย |
|---|---|---|---|
iterator | iterator | อ่าน | รับ iterator. |
const_iterator | const_iterator | อ่าน | รับ iterator คงที่. |
วิธีการ
| Signature | คําอธิบาย |
|---|---|
iterator() → iterator | เอกสารที่ให้การเข้าถึงประเภทของตัวอิเทอร์สําหรับคอลเลกชั่น |
iterator() → iterator | |
const_iterator() → const_iterator | การคืนตัวอิเทอร์ const ไปยังต้นของการรวบรวมแถว |
const_iterator() → const_iterator | |
RowCollection() | |
~RowCollection() | |
init_internal(tbl_element: pugi::xml_node, save_callback: std::function<void()>, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide, table: Table) | เริ่มการเก็บจาก a อุปกรณ์ XML. พารัสทั้งหมด เด็กและสร้างวัตถุ Row ที่ตรงกัน. |
rebuild() | สร้างรายการแถวจากตัว XML ที่เก็บไว้. ทําความสะอาดแถลงที่มีอยู่และพาร์สใหม่ทั้งหมด เด็กๆ. |
size() → std::size_t | การคืนจํานวนแถว. |
add(row: std::unique_ptr<Row>) → Row | เพิ่มแถวให้กับการรวบรวม. |
add_clone(templ: Row, with_attached_rows: bool) → std::vector<Row*> | คลอนแถวแบบอย่างที่ให้แล้วและติดต่อมันลงท้าย. |
insert_clone(index: std::size_t, templ: Row, with_attached_rows: bool) → std::vector<Row*> | คลอนแถวแบบเทมป์ที่ให้แล้ว และใส่มันในอัตรานิยมที่กําหนดไว้. |
remove_at(first_row_index: std::size_t, with_attached_rows: bool) | ลบแถวที่อัตรานิยมที่ให้ไว้. |
remove_at(index: std::size_t) | ลบแถวที่อัตรานิยมที่ให้ไว้. |
clear() | ลบแถวทั้งหมด. |
as_i_collection() → std::vector<Row*> | ส่งผลภาพของแถวเป็นตัวชี้แจงสด. |
as_i_enumerable() → std::vector<Row*> | ส่งผลภาพฉบับของแถวเป็นตัวชี้แจง raw (เหมือนกันกับ as_i_collection). |
begin() → iterator | |
end() → iterator | |
begin() → const_iterator | |
end() → const_iterator |