Table
Vue d’ensemble
Table C’est une classe dans Aspose.Slides FOSS pour C++.
Il représente une table sur un slide.
Cette classe fournit 55 méthodes pour travailler avec des objets de table dans les programmes C++. Les méthodes disponibles comprennent : ColumnCollection, IBulkTextFormattable, IGraphicalObject, IGraphicalObjectLock, ITableFormat, RowCollection, Table, TableFormat, TableStylePreset, as_i_bulk_text_formattable, as_i_graphical_object, cell,33 méthodes supplémentaires. Tous les membres publics sont accessibles à n’importe quelle application C++ après l’installation de la Aspose.Slides FOSS pour le package C+. Propriétés : ColumnCollection, IBulkTextFormattable, IGraphicalObject, IGraphicalObjectLock, ITableFormat, RowCollection,Et 3 autres.
Propriétés
| Nom de | Type | Access | Description |
|---|---|---|---|
Table | Table | Lire | Obtient la table. |
RowCollection | RowCollection | Lire | Obtient la collection de lignes. |
ColumnCollection | ColumnCollection | Lire | Obtient la collection de colonnes. |
ITableFormat | ITableFormat | Lire | Obtient le format i table. |
TableFormat | TableFormat | Lire | Obtient le format du tableau. |
TableStylePreset | TableStylePreset | Lire | Obtient le préréglage de style de tableau. |
IGraphicalObjectLock | IGraphicalObjectLock | Lire | Obtient le verrou de l’objet graphique i. |
IGraphicalObject | IGraphicalObject | Lire | Obtient l’objet graphique i. |
IBulkTextFormattable | IBulkTextFormattable | Lire | Obtient le i bulk text formattable. |
méthodes
| Signature | Description |
|---|---|
Table() → Table | La propriété permet l’accès à l’objet de table lui-même |
Table() → Table | |
RowCollection() → RowCollection | La propriété fournit la collection de rangs de table |
RowCollection() → RowCollection | |
ColumnCollection() → ColumnCollection | La propriété fournit la collection de colonnes du table |
ColumnCollection() → ColumnCollection | |
ITableFormat() → ITableFormat | La propriété fournit l’interface de format table |
TableFormat() → TableFormat | Propriété fournit l’objet de format table concrète |
TableStylePreset() → TableStylePreset | Retourner le style de prédécesse appliqué à la table |
IGraphicalObjectLock() → IGraphicalObjectLock | Retourner l’interface de lock pour contrôler l’édition d’objets |
IGraphicalObject() → IGraphicalObject | Retourner l’interface d’objet graphique pour la table |
IBulkTextFormattable() → IBulkTextFormattable | Retourner l’interface de formatage du texte en masse |
Table() | |
Table() | |
~Table() | |
Table() | |
init_internal(xml_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide) | Initialisez cette table à partir d’un élément XML dans une partie de slide. |
rows() → RowCollection | Retournez la collection de lignes dans cette table. |
rows() → RowCollection | Retournez la collection de lignes dans cette table. |
columns() → ColumnCollection | Retournez la collection de colonnes dans cette table. |
columns() → ColumnCollection | Retournez la collection de colonnes dans cette table. |
cell(row: std::size_t, col: std::size_t) → Cell | Retourne la cellule à l’ordre et à la colonne donnée. |
table_format() → ITableFormat | Retourner l’objet TableFormat. Lire seulement. |
table_format_obj() → TableFormat | |
style_preset() → TableStylePreset | Obtient le préréglage de style de tableau intégré. |
set_style_preset(value: TableStylePreset) | Définit le préréglage de style de tableau intégré. |
right_to_left() → bool | Déterminer si la table a le droit de laisser l’ordre de lecture. |
set_right_to_left(value: bool) | |
first_row() → bool | Déterminer si la première ligne a un formatage spécial. |
set_first_row(value: bool) | |
first_col() → bool | Déterminer si la première colonne a un formatage spécial. |
set_first_col(value: bool) | |
last_row() → bool | Déterminer si la dernière ligne a un formatage spécial. |
set_last_row(value: bool) | |
last_col() → bool | Déterminer si la dernière colonne a un formatage spécial. |
set_last_col(value: bool) | |
horizontal_banding() → bool | Déterminer si même les lignes ont un format différent. |
set_horizontal_banding(value: bool) | |
vertical_banding() → bool | Déterminer si même les colonnes ont un format différent. |
set_vertical_banding(value: bool) | |
graphical_object_lock() → IGraphicalObjectLock | Retourner nullptr - Les locaux d’objets graphiques ne sont pas encore mis en œuvre. |
as_i_graphical_object() → IGraphicalObject | Retourner la base IGraphicalObject interface. |
as_i_bulk_text_formattable() → IBulkTextFormattable | Retourner la base IBulkTextFormattable interface. |
merge_cells(cell1: Cell, cell2: Cell, allow_splitting: bool) → Cell | Mélange deux cellules, élargit la cellule1 pour couvrir l’espace des deux. |
set_text_format(source: IPortionFormat) | IBulkTextFormattable surrides (no-op stubs pour l’interface). |
set_text_format(source: IParagraphFormat) | IBulkTextFormattable surrides (no-op stubs pour l’interface). |
set_text_format(source: ITextFrameFormat) | IBulkTextFormattable surrides (no-op stubs pour l’interface). |
get_tbl_pr() → pugi::xml_node | Retourne le node caché, ou un nœud vide si ce n’est pas présent. |
ensure_tbl_pr() → pugi::xml_node | Il revient au node, le créant comme le premier enfant de l’absence. |
get_bool_attr(attr_name: std::string_view) → bool | Il lit un attribut boolean de («1» = vrai, absent / «0»= faux). |
set_bool_attr(attr_name: std::string_view, value: bool) | Définit ou supprime un attribut booléen sur , puis enregistre. |
find_style_element(tbl_pr: pugi::xml_node) → pugi::xml_node | Trouvez l’élément de style table — ou héritage. |
read_style_guid(style_el: pugi::xml_node) → std::string | Lue la barre GUID à partir d’un élément de style (contenu texte ou attribut val). |
xml_element() → pugi::xml_node | Retourner l’élément de support XML. |
tbl() → pugi::xml_node | Retourner l’élément. |