Struct to represent the formatting properties of an Excel format.
More...
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:
lxw_format * workbook_add_format(lxw_workbook *workbook)
Create a new Format object to formats cells in worksheets.
lxw_error worksheet_write_string(lxw_worksheet *worksheet, lxw_row_t row, lxw_col_t col, const char *string, lxw_format *format)
Write a string to a worksheet cell.
- Examples
- anatomy.c, autofilter.c, chart_area.c, chart_bar.c, chart_clustered.c, chart_column.c, chart_data_labels.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, chartsheet.c, comments2.c, conditional_format1.c, conditional_format2.c, data_validate.c, dates_and_times01.c, dates_and_times02.c, dates_and_times03.c, dates_and_times04.c, demo.c, diagonal_border.c, dynamic_arrays.c, format_font.c, format_num_format.c, hyperlinks.c, merge_range.c, merge_rich_string.c, outline.c, outline_collapsed.c, panes.c, rich_strings.c, tables.c, tutorial2.c, tutorial3.c, and worksheet_protection.c.