libxlsxwriter
Data Fields
lxw_table_column Struct Reference

Table columns options. More...

Detailed Description

Structure to set the options of a table column added with worksheet_add_table(). See Parameter: columns.

Examples:
tables.c.

Data Fields

const char * header
 
const char * formula
 
const char * total_string
 
uint8_t total_function
 
lxw_formatheader_format
 
lxw_formatformat
 
double total_value
 

Field Documentation

const char* lxw_table_column::header

Set the header name/caption for the column. If NULL the header defaults to Column 1, Column 2, etc.

Examples:
tables.c.
const char* lxw_table_column::formula

Set the formula for the column.

const char* lxw_table_column::total_string

Set the string description for the column total.

uint8_t lxw_table_column::total_function

Set the function for the column total.

lxw_format* lxw_table_column::header_format

Set the format for the column header.

lxw_format* lxw_table_column::format

Set the format for the data rows in the column.

double lxw_table_column::total_value

Set the formula value for the column total (not generally required).