format_set_hidden

@brief Hide formulas in a cell.

@param format Pointer to a Format instance.

This property is used to hide a formula while still displaying its result. This is generally used to hide complex calculations from end users who are only interested in the result. It only has an effect if the worksheet has been protected using the worksheet worksheet_protect() function:

@code format = workbook_add_format(workbook); format_set_hidden(format);

// Enable worksheet protection, without password or options. worksheet_protect(worksheet, NULL, NULL);

// The formula in this cell isn't visible. worksheet_write_formula(worksheet, 0, 0, "=1+2", format); @endcode

extern (C)
void
format_set_hidden

Meta