Function spreadsheet_ods::defaultstyles::create_default_styles[][src]

pub fn create_default_styles(book: &mut WorkBook)

Adds default-styles for all basic ValueTypes. These are also set as default styles for the respective types. By calling this function for a new workbook, the basic formatting is done.

This function is best seen as an example, as there is currently now I18N support. So I set this up as it suited me.