ParagraphCollection

ParagraphCollection

概要

ParagraphCollection は C++ 用 Aspose.Slides 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読み取り定数イテレータを取得します。

メソッド

シグネチャ説明
ParagraphCollection() → ParagraphCollectionProperty はコレクションインスタンス自体を表します
reference() → referenceProperty はコレクションへの参照アクセスを提供します
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

参照

 日本語