#NEWLINE# def _write_comment( self , row , col , text , author_id ) : #NEWLINE# #INDENT# ref = xl_rowcol_to_cell ( row , col ) #NEWLINE# attributes = [ ( 'ref' , ref ) ] #NEWLINE# if ( author_id is not None ) : #NEWLINE# #INDENT# attributes . append ( ( 'authorId' , author_id ) ) #NEWLINE# #UNINDENT# self . _xml_start_tag ( 'comment' , attributes ) #NEWLINE# self . _write_text ( text ) #NEWLINE# self . _xml_end_tag ( 'comment' )