#NEWLINE# def add_style_of_type( self , name , style_type , builtin ) : #NEWLINE# #INDENT# '\n        Return a newly added `w:style` element having *name* and\n        *style_type*. `w:style/@customStyle` is set based on the value of\n        *builtin*.\n        ' #NEWLINE# style = self . add_style ( ) #NEWLINE# style . type = style_type #NEWLINE# style . customStyle = ( None if style_type else True ) #NEWLINE# style . styleId = styleId_from_name ( name ) #NEWLINE# style . name_val = name #NEWLINE# return style