PortionCollection

PortionCollection

개요

PortionCollection은(는) Aspose.Slides C++용 FOSS에 포함된 클래스입니다.

단락 내 텍스트 부분들의 컬렉션을 관리합니다.

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

속성

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

메서드

시그니처설명
PortionCollection() → PortionCollection속성은 컬렉션 자체에 대한 접근을 제공합니다.
reference() → reference기본 컬렉션에 대한 가변 참조를 반환합니다.
pointer() → pointer속성은 기본 컬렉션에 대한 포인터를 제공합니다.
Iterator() → Iterator컬렉션의 시작에 위치한 새로운 반복자를 생성합니다
Iterator() → Iterator
reference() → reference
pointer() → pointer
ConstIterator() → ConstIterator
ConstIterator() → ConstIterator
PortionCollection()
init_internal(p_element: pugi::xml_node, txbody_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide)XML에서 초기화하고, XML-백드 모드에 진입합니다.
size() → std::size_t부분 수를 반환합니다.
count() → std::size_t부분 수를 반환합니다 (size()의 별칭).
is_read_only() → bool컬렉션이 읽기 전용인지 여부를 반환합니다.
add(portion: Portion) → Portion컬렉션의 끝에 부분을 추가합니다.
index_of(item: Portion) → std::optional<std::size_t>주어진 부분의 인덱스를 반환하며, 찾을 수 없으면 std::nullopt를 반환합니다.
insert(index: std::size_t, portion: Portion) → Portion주어진 인덱스에 부분을 삽입합니다.
clear()모든 부분을 제거합니다.
contains(item: Portion) → bool컬렉션에 지정된 부분이 포함되어 있으면 true를 반환합니다.
remove(item: Portion) → bool컬렉션에서 지정된 부분을 제거합니다.
remove_at(index: std::size_t)지정된 인덱스에 있는 부분을 제거합니다.
as_i_enumerable() → IPortionCollection이 컬렉션에 대한 참조를 일반 enumerable 인터페이스로 반환합니다.
as_i_enumerable() → IPortionCollection이 컬렉션에 대한 참조를 제네릭 열거형 인터페이스로 반환합니다.
begin() → Iterator첫 번째 부분에 대한 반복자를 반환합니다
end() → Iterator마지막 부분 이후의 반복자를 반환합니다
begin() → ConstIterator
end() → ConstIterator

참조

 한국어