ParagraphCollection
Overview
ParagraphCollection là một lớp trong Aspose.Slides FOSS cho C++.
Quản lý một bộ sưu tập các đoạn trong một khung văn bản.
Khóa học này cung cấp 35 phương pháp để làm việc với các đối tượng ParagraphCollection trong các chương trình C++. Các phương pháp có sẵn bao gồm: ConstIterator, Iterator, ParagraphCollection, add, as_i_enumerable, as_i_presentation_component, as_i_slide_component, begin, clear, contains, end, index_of,11 phương pháp bổ sung. Tất cả các thành viên công cộng đều có thể truy cập vào bất kỳ ứng dụng C++ nào sau khi cài đặt Aspose.Slides FOSS cho gói C ++. Tài sản : ConstIterator, Iterator, ParagraphCollection, pointer, reference.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ParagraphCollection | ParagraphCollection | Read | Nhận bộ sưu tập đoạn. |
reference | reference | Read | Nhận được tham chiếu. |
pointer | pointer | Read | Nhận được điểm số. |
Iterator | Iterator | Read | Đưa vào iterator. |
ConstIterator | ConstIterator | Read | - Nhận lại const iterator. |
Methods
| Signature | Description |
|---|---|
ParagraphCollection() → ParagraphCollection | Bất động sản đại diện cho bản thân đơn thu thập |
reference() → reference | Bất động sản cung cấp truy cập tham khảo đến bộ sưu tập |
pointer() → pointer | |
Iterator() → Iterator | Bất động sản chỉ định loại iterator được sử dụng bởi bộ sưu tập |
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) | Bắt đầu từ XML, nhập chế độ hỗ trợ XML. |
size() → std::size_t | Trả lại số đoạn. |
add(paragraph: Paragraph) → Paragraph | Thêm một đoạn đến cuối bộ sưu tập. |
insert(index: std::size_t, paragraph: Paragraph) → Paragraph | Nhập một đoạn trong chỉ số đó. |
remove_at(index: std::size_t) | Xóa đoạn ở chỉ số đó. |
remove(item: Paragraph) → bool | Xóa đoạn này từ bộ sưu tập. |
clear() | Xóa tất cả các đoạn. |
is_read_only() → bool | Trả về xem bộ sưu tập chỉ được đọc (vẫn luôn giả). |
index_of(item: Paragraph) → std::optional<std::size_t> | Trả lại chỉ số của đoạn cụ thể, hoặc std::nullopt nếu không tìm thấy. |
contains(item: Paragraph) → bool | Trả về việc thu thập có chứa đoạn cụ thể. |
as_i_slide_component() → ISlideComponent | Cho phép bạn có được giao diện cơ sở ISlideComponent. đọc-chỉ. |
as_i_slide_component() → ISlideComponent | Cho phép bạn có được giao diện cơ sở ISlideComponent. đọc-chỉ. |
as_i_enumerable() → IParagraphCollection | Trả lại một tham chiếu đến bộ sưu tập này như là một giao diện tổng hợp chung. |
as_i_enumerable() → IParagraphCollection | Trả lại một tham chiếu đến bộ sưu tập này như là một giao diện tổng hợp chung. |
slide() → IBaseSlide | |
slide() → IBaseSlide | |
as_i_presentation_component() → IPresentationComponent | |
as_i_presentation_component() → IPresentationComponent | |
presentation() → IPresentation | |
presentation() → IPresentation | |
set_slide(slide: IBaseSlide) | Hãy đặt slide của cha mẹ cho bộ sưu tập này. |
begin() → Iterator | Trả lại một iterator cho đoạn đầu tiên |
end() → Iterator | Trả lại một iterator qua đoạn cuối |
begin() → ConstIterator | |
end() → ConstIterator |