libfort
Public Member Functions | List of all members
fort::table< TT >::table_cell Class Reference

#include <fort.hpp>

Inheritance diagram for fort::table< TT >::table_cell:
Inheritance graph
[legend]
Collaboration diagram for fort::table< TT >::table_cell:
Collaboration graph
[legend]

Public Member Functions

 table_cell (std::size_t row_idx, std::size_t coll_idx, table &tbl)
 
table_celloperator= (const char *str)
 
table_celloperator= (const std::string &str)
 
bool set_cell_span (size_t hor_span)
 
- Public Member Functions inherited from fort::property_owner< table >
 property_owner (std::size_t row_idx, std::size_t coll_idx, table *tbl, bool def=false)
 
bool set_cell_min_width (unsigned value)
 
bool set_cell_text_align (fort::text_align value)
 
bool set_cell_top_padding (unsigned value)
 
bool set_cell_bottom_padding (unsigned value)
 
bool set_cell_left_padding (unsigned value)
 
bool set_cell_right_padding (unsigned value)
 
bool set_cell_row_type (fort::row_type value)
 
bool set_cell_empty_str_height (unsigned value)
 
bool set_cell_content_fg_color (fort::color value)
 
bool set_cell_bg_color (fort::color value)
 
bool set_cell_content_bg_color (fort::color value)
 
bool set_cell_text_style (fort::text_style value)
 
bool set_cell_content_text_style (fort::text_style value)
 

Additional Inherited Members

- Protected Member Functions inherited from fort::property_owner< table >
bool set_property (uint32_t property, int value)
 
- Protected Attributes inherited from fort::property_owner< table >
std::size_t ps_row_idx_
 
std::size_t ps_coll_idx_
 
tableps_table_
 
bool set_default_properties_
 

Detailed Description

template<table_type TT = table_type::character>
class fort::table< TT >::table_cell

Table cell.

Member Function Documentation

template<table_type TT = table_type::character>
bool fort::table< TT >::table_cell::set_cell_span ( size_t  hor_span)
inline

Set column span for the specified cell of the table.

Parameters
hor_spanColumn span.
Returns
  • true: Success; cell span was changed.
  • false: In case of error.

The documentation for this class was generated from the following file: