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 deTypeAccessDescription
TableTableLireObtient la table.
RowCollectionRowCollectionLireObtient la collection de lignes.
ColumnCollectionColumnCollectionLireObtient la collection de colonnes.
ITableFormatITableFormatLireObtient le format i table.
TableFormatTableFormatLireObtient le format du tableau.
TableStylePresetTableStylePresetLireObtient le préréglage de style de tableau.
IGraphicalObjectLockIGraphicalObjectLockLireObtient le verrou de l’objet graphique i.
IGraphicalObjectIGraphicalObjectLireObtient l’objet graphique i.
IBulkTextFormattableIBulkTextFormattableLireObtient le i bulk text formattable.

méthodes

SignatureDescription
Table() → TableLa propriété permet l’accès à l’objet de table lui-même
Table() → Table
RowCollection() → RowCollectionLa propriété fournit la collection de rangs de table
RowCollection() → RowCollection
ColumnCollection() → ColumnCollectionLa propriété fournit la collection de colonnes du table
ColumnCollection() → ColumnCollection
ITableFormat() → ITableFormatLa propriété fournit l’interface de format table
TableFormat() → TableFormatPropriété fournit l’objet de format table concrète
TableStylePreset() → TableStylePresetRetourner le style de prédécesse appliqué à la table
IGraphicalObjectLock() → IGraphicalObjectLockRetourner l’interface de lock pour contrôler l’édition d’objets
IGraphicalObject() → IGraphicalObjectRetourner l’interface d’objet graphique pour la table
IBulkTextFormattable() → IBulkTextFormattableRetourner 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() → RowCollectionRetournez la collection de lignes dans cette table.
rows() → RowCollectionRetournez la collection de lignes dans cette table.
columns() → ColumnCollectionRetournez la collection de colonnes dans cette table.
columns() → ColumnCollectionRetournez la collection de colonnes dans cette table.
cell(row: std::size_t, col: std::size_t) → CellRetourne la cellule à l’ordre et à la colonne donnée.
table_format() → ITableFormatRetourner l’objet TableFormat. Lire seulement.
table_format_obj() → TableFormat
style_preset() → TableStylePresetObtient 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() → boolDéterminer si la table a le droit de laisser l’ordre de lecture.
set_right_to_left(value: bool)
first_row() → boolDéterminer si la première ligne a un formatage spécial.
set_first_row(value: bool)
first_col() → boolDéterminer si la première colonne a un formatage spécial.
set_first_col(value: bool)
last_row() → boolDéterminer si la dernière ligne a un formatage spécial.
set_last_row(value: bool)
last_col() → boolDéterminer si la dernière colonne a un formatage spécial.
set_last_col(value: bool)
horizontal_banding() → boolDéterminer si même les lignes ont un format différent.
set_horizontal_banding(value: bool)
vertical_banding() → boolDéterminer si même les colonnes ont un format différent.
set_vertical_banding(value: bool)
graphical_object_lock() → IGraphicalObjectLockRetourner nullptr - Les locaux d’objets graphiques ne sont pas encore mis en œuvre.
as_i_graphical_object() → IGraphicalObjectRetourner la base IGraphicalObject interface.
as_i_bulk_text_formattable() → IBulkTextFormattableRetourner la base IBulkTextFormattable interface.
merge_cells(cell1: Cell, cell2: Cell, allow_splitting: bool) → CellMé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_nodeRetourne le node caché, ou un nœud vide si ce n’est pas présent.
ensure_tbl_pr() → pugi::xml_nodeIl revient au node, le créant comme le premier enfant de l’absence.
get_bool_attr(attr_name: std::string_view) → boolIl 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_nodeTrouvez l’élément de style table — ou héritage.
read_style_guid(style_el: pugi::xml_node) → std::stringLue la barre GUID à partir d’un élément de style (contenu texte ou attribut val).
xml_element() → pugi::xml_nodeRetourner l’élément de support XML.
tbl() → pugi::xml_nodeRetourner l’élément.

Voir aussi

 Français