Table — Aspose.Slides FOSS for C++ API Reference
Enumerations Table sınıf, bir slayttaki tablo şekli temsil eder. Tablolar, hücrelerden oluşan satır ve sütunlar içerir, her biri kendi TextFrame.
Enumerations: Aspose::Slides::Foss
#include <Aspose/Slides/Foss/table.h>class TableEnumerations: include/Aspose/Slides/Foss/table.h
İlgili Sınıflar
Enumerations
Tanımlandığı yer include/Aspose/Slides/Foss/row.h. Ana üyeler:
| Enumerations | Enumerations |
|---|---|
cells() | Döndürür ICellCollection bu satır için. |
row_format() | Satır biçim ayarları. |
Enumerations
Tanımlandığı yer include/Aspose/Slides/Foss/column.h. Ana üyeler:
| Enumerations | Enumerations |
|---|---|
cells() | Döndürür ICellCollection bu sütun için. |
column_format() | Sütun biçim ayarları. |
Enumerations
Tanımlandığı yer include/Aspose/Slides/Foss/cell.h. Ana üyeler:
| Enumerations | Enumerations | Enumerations |
|---|---|---|
text_frame() | Enumerations | TextFrame hücre metni içeren. |
cell_format() | Enumerations | Hücre kenarlık ve dolgu biçimi. |
text_vertical_type() | Enumerations | Dikey metin yönlendirmesi. |
text_anchor_type() | Enumerations | Hücre içinde metin sabitleme. |
RowCollection / ColumnCollection
Yöntemleri olan yinelenebilir koleksiyonlar:
| Enumerations | Enumerations |
|---|---|
size() | Satır/sütun sayısı. |
add_clone(...) | Satır/sütunu klonla ve ekle. |
insert_clone(...) | Klonla ve bir konuma ekle. |
remove_at(int index) | İndeksten kaldır. |
begin() / end() | İteratör desteği. |
Kullanım Örneği
#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;
// }