ParagraphCollection

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

NameTypeAccessDescription
ParagraphCollectionParagraphCollectionReadNhận bộ sưu tập đoạn.
referencereferenceReadNhận được tham chiếu.
pointerpointerReadNhận được điểm số.
IteratorIteratorReadĐưa vào iterator.
ConstIteratorConstIteratorRead- Nhận lại const iterator.

Methods

SignatureDescription
ParagraphCollection()ParagraphCollectionBất động sản đại diện cho bản thân đơn thu thập
reference()referenceBất động sản cung cấp truy cập tham khảo đến bộ sưu tập
pointer()pointer
Iterator()IteratorBấ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_tTrả lại số đoạn.
add(paragraph: Paragraph)ParagraphThêm một đoạn đến cuối bộ sưu tập.
insert(index: std::size_t, paragraph: Paragraph)ParagraphNhập một đoạn trong chỉ số đó.
remove_at(index: std::size_t)Xóa đoạn ở chỉ số đó.
remove(item: Paragraph)boolXóa đoạn này từ bộ sưu tập.
clear()Xóa tất cả các đoạn.
is_read_only()boolTrả 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)boolTrả về việc thu thập có chứa đoạn cụ thể.
as_i_slide_component()ISlideComponentCho phép bạn có được giao diện cơ sở ISlideComponent. đọc-chỉ.
as_i_slide_component()ISlideComponentCho phép bạn có được giao diện cơ sở ISlideComponent. đọc-chỉ.
as_i_enumerable()IParagraphCollectionTrả 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()IParagraphCollectionTrả 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()IteratorTrả lại một iterator cho đoạn đầu tiên
end()IteratorTrả lại một iterator qua đoạn cuối
begin()ConstIterator
end()ConstIterator

See Also

 Tiếng Việt