Table — Aspose.Slides FOSS for C++ API Reference

ImageRenderOptions Table クラスはスライド上のテーブル形状を表します。テーブルは行と列のセルで構成され、各セルはそれぞれ独自の TextFrame.

ImageRenderOptions: Aspose::Slides::Foss

#include <Aspose/Slides/Foss/table.h>
class Table

ImageRenderOptions: include/Aspose/Slides/Foss/table.h


関連クラス

ImageRenderOptions

定義場所 include/Aspose/Slides/Foss/row.h. 主なメンバー:

ImageRenderOptionsImageRenderOptions
cells()返します ICellCollection この行の。.
row_format()行の書式設定。.

ImageRenderOptions

定義場所 include/Aspose/Slides/Foss/column.h. 主なメンバー:

ImageRenderOptionsImageRenderOptions
cells()返します ICellCollection この列の。.
column_format()列の書式設定。.

ImageRenderOptions

定義場所 include/Aspose/Slides/Foss/cell.h. 主なメンバー:

ImageRenderOptionsImageRenderOptionsImageRenderOptions
text_frame()ImageRenderOptionsTextFrame セルテキストを含む。.
cell_format()ImageRenderOptionsセルの枠線と塗りつぶしの書式。.
text_vertical_type()ImageRenderOptions縦向きテキストの配置。.
text_anchor_type()ImageRenderOptionsセル内のテキストアンカー。.

RowCollection / ColumnCollection

メソッドを持つ反復可能コレクション:

ImageRenderOptionsImageRenderOptions
size()行/列の数。.
add_clone(...)行/列をクローンして追加する。.
insert_clone(...)クローンして指定位置に挿入する。.
remove_at(int index)インデックスで削除する。.
begin() / end()イテレータのサポート。.

使用例

#include <Aspose/Slides/Foss/presentation.h>
using namespace Aspose::Slides::Foss;

Presentation prs("deck.pptx");
// Access a table shape on slide 0
// auto& table = dynamic_cast<Table&>(prs.slides()[0].shapes()[0]);
// for (auto& row : table.rows()) {
//     for (auto& cell : row.cells()) {
//         std::cout << cell.text_frame()->text() << "\t";
//     }
//     std::cout << std::endl;
// }

関連項目

 日本語