#NEWLINE# def appendFill( self , shapeStr ) : #NEWLINE# #INDENT# shapeStr . append ( '<v:fill opacity="' ) #NEWLINE# shapeStr . append ( str ( ( self . context . globalAlpha * self . context . fillStyle . alpha ) ) ) #NEWLINE# shapeStr . append ( '"' ) #NEWLINE# if ( self . context . fillStyle . type == 'Gradient' ) : #NEWLINE# #INDENT# if ( len ( self . context . fillStyle . gradient . colorStops ) > 0 ) : #NEWLINE# #INDENT# self . appendGradient ( self . context . fillStyle , shapeStr ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# shapeStr . append ( ' color="' ) #NEWLINE# shapeStr . append ( str ( self . context . fillStyle . color ) ) #NEWLINE# #UNINDENT# shapeStr . append ( '"></v:fill>' )