Table and autofilter

struct auto_filter_column_t

Data for a single column inside autofilter range.

Public Types

using match_values_type = std::unordered_set<std::string_view>

Public Functions

auto_filter_column_t()
auto_filter_column_t(const auto_filter_column_t &other)
auto_filter_column_t(auto_filter_column_t &&other)
~auto_filter_column_t()
auto_filter_column_t &operator=(const auto_filter_column_t &other)
auto_filter_column_t &operator=(auto_filter_column_t &&other)
void reset()
void swap(auto_filter_column_t &r)

Public Members

match_values_type match_values
struct auto_filter_t

Data for a single autofilter entry. An autofilter can belong to either a sheet or a table.

Public Types

typedef std::map<col_t, auto_filter_column_t> columns_type

Public Functions

auto_filter_t()
auto_filter_t(const auto_filter_t &other)
auto_filter_t(auto_filter_t &&other)
~auto_filter_t()
auto_filter_t &operator=(const auto_filter_t &other)
auto_filter_t &operator=(auto_filter_t &&other)
void reset()
void swap(auto_filter_t &r)
void commit_column(col_t col, auto_filter_column_t data)

Set column data to specified column index.

Parameters:
  • col – column index to associate the data to.

  • data – column data.

Public Members

ixion::abs_range_t range
columns_type columns
struct table_column_t

Single column entry in table.

Public Functions

table_column_t()
table_column_t(const table_column_t &other)
~table_column_t()
table_column_t &operator=(const table_column_t &other)
void reset()

Public Members

std::size_t identifier
std::string_view name
std::string_view totals_row_label
totals_row_function_t totals_row_function
struct table_style_t

Table style information.

Public Functions

table_style_t()
table_style_t(const table_style_t &other)
~table_style_t()
table_style_t &operator=(const table_style_t &other)
void reset()

Public Members

std::string_view name
bool show_first_column
bool show_last_column
bool show_row_stripes
bool show_column_stripes
struct table_t

Single table entry. A table is a range in a spreadsheet that represents a single set of data that can be used as a data source.

Public Types

typedef std::vector<table_column_t> columns_type

Public Functions

table_t()
table_t(const table_t &other)
table_t(table_t &&other)
~table_t()
table_t &operator=(const table_t &other)
table_t &operator=(table_t &&other)
void reset()

Public Members

size_t identifier
std::string_view name
std::string_view display_name
ixion::abs_range_t range
size_t totals_row_count
auto_filter_t filter
columns_type columns
table_style_t style