ParagraphCollection

ParagraphCollection

개요

ParagraphCollection은 Aspose.Slides C++용 FOSS에 포함된 클래스입니다.

텍스트 프레임 내의 단락 컬렉션을 관리합니다.

이 클래스는 C++ 프로그램에서 ParagraphCollection 객체를 다루기 위한 35개의 메서드를 제공합니다. 사용 가능한 메서드에는 ConstIterator, Iterator, ParagraphCollection, add, as_i_enumerable, as_i_presentation_component, as_i_slide_component, begin, clear, contains, end, index_of 및 추가 11개의 메서드가 포함됩니다. Aspose.Slides C++용 FOSS 패키지를 설치한 후에는 모든 공개 멤버에 어떤 C++ 애플리케이션에서도 접근할 수 있습니다. 속성: ConstIterator, Iterator, ParagraphCollection, pointer, reference.

속성

이름유형액세스설명
ParagraphCollectionParagraphCollection읽기단락 컬렉션을 가져옵니다.
referencereference읽기참조를 가져옵니다.
pointerpointer읽기포인터를 가져옵니다.
IteratorIterator읽기반복자를 가져옵니다.
ConstIteratorConstIterator읽기const iterator를 가져옵니다.

메서드

시그니처설명
ParagraphCollection() → ParagraphCollection속성은 컬렉션 인스턴스 자체를 나타냅니다.
reference() → reference속성은 컬렉션에 대한 참조 접근을 제공합니다.
pointer() → pointer
Iterator() → IteratorProperty는 컬렉션에서 사용되는 이터레이터 타입을 나타냅니다.
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지정된 인덱스에 단락을 삽입합니다.
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

참조

 한국어