#NEWLINE# def _write_xdr_sp_pr( self , index , col_absolute , row_absolute , width , height , shape ) : #NEWLINE# #INDENT# attributes = [ ] #NEWLINE# self . _xml_start_tag ( 'xdr:spPr' , attributes ) #NEWLINE# self . _write_a_xfrm ( col_absolute , row_absolute , width , height , shape ) #NEWLINE# self . _write_a_prst_geom ( shape ) #NEWLINE# if shape . fill : #NEWLINE# #INDENT# if ( not shape . fill [ 'defined' ] ) : #NEWLINE# #INDENT# self . _write_a_solid_fill_scheme ( 'lt1' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( 'none' in shape . fill ) : #NEWLINE# #INDENT# self . _xml_empty_tag ( 'a:noFill' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( 'color' in width . fill ) : #NEWLINE# #INDENT# self . _write_a_solid_fill ( get_rgb_color ( shape . fill [ 'color' ] ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# if shape . gradient : #NEWLINE# #INDENT# self . _write_a_grad_fill ( shape . gradient ) #NEWLINE# #UNINDENT# self . _write_a_ln ( shape . line ) #NEWLINE# self . _xml_end_tag ( 'xdr:spPr' )