#NEWLINE# @ classmethod #NEWLINE# def set_style_definition( cls , name , table_style ) : #NEWLINE# #INDENT# '\n        Sets a style definition.\n\n        :param name: The name of the style\n        :type name: str\n\n        :param table_style: A TableStyle instance\n        :type table_style: TableStyle\n        ' #NEWLINE# if ( not cls . styles ) : #NEWLINE# #INDENT# cls . styles = cls . _init_styles ( ) #NEWLINE# #UNINDENT# cls . styles [ name ] = table_style