worksheet_write_string(worksheet, 0, 0, "This text is indented 1 level", format1);
worksheet_write_string(worksheet, 1, 0, "This text is indented 2 levels", format2);
@endcode
@image html text_indent.png
@note
Indentation is a horizontal alignment property. It will override any other
horizontal properties but it can be used in conjunction with vertical
properties.
@brief Set the cell text indentation level.
@param format Pointer to a Format instance. @param level Indentation level.
This method can be used to indent text in a cell. The argument, which should be an integer, is taken as the level of indentation:
@code format1 = workbook_add_format(workbook); format2 = workbook_add_format(workbook);
format_set_indent(format1, 1); format_set_indent(format2, 2);
worksheet_write_string(worksheet, 0, 0, "This text is indented 1 level", format1); worksheet_write_string(worksheet, 1, 0, "This text is indented 2 levels", format2); @endcode
@image html text_indent.png
@note Indentation is a horizontal alignment property. It will override any other horizontal properties but it can be used in conjunction with vertical properties.