All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
lxw_format Struct Reference

Struct to represent the formatting properties of an Excel format. More...

Detailed Description

Formats in libxlsxwriter are accessed via this struct.

The members of the lxw_format struct aren't modified directly. Instead the format properties are set by calling the functions shown in format.h.

For example:

// Create the Format.
lxw_format *format = workbook_add_format(workbook);
// Set some of the format properties.
// Use the format to change the text format in a cell.
worksheet_write_string(worksheet, 0, 0, "Hello", format);
anatomy.c, chart_area.c, chart_bar.c, chart_clustered.c, chart_column.c, chart_data_table.c, chart_data_tools.c, chart_doughnut.c, chart_line.c, chart_pattern.c, chart_pie.c, chart_radar.c, chart_scatter.c, data_validate.c, dates_and_times01.c, dates_and_times02.c, dates_and_times03.c, demo.c, format_font.c, format_num_format.c, hyperlinks.c, merge_range.c, outline.c, outline_collapsed.c, panes.c, tutorial2.c, tutorial3.c, and worksheet_protection.c.