#NEWLINE# @ when ( 'I assign {value} to paragraph_format.line_spacing_rule' ) #NEWLINE# def when_I_assign_value_to_paragraph_format_line_rule( context , value ) : #NEWLINE# #INDENT# new_value = { #NEWLINE# #INDENT# 'None' : None , #NEWLINE# 'WD_LINE_SPACING.EXACTLY' : WD_LINE_SPACING . EXACTLY , #NEWLINE# 'WD_LINE_SPACING.MULTIPLE' : WD_LINE_SPACING . MULTIPLE , #NEWLINE# 'WD_LINE_SPACING.SINGLE' : WD_LINE_SPACING . SINGLE , #NEWLINE# 'WD_LINE_SPACING.DOUBLE' : WD_LINE_SPACING . DOUBLE , #NEWLINE# 'WD_LINE_SPACING.AT_LEAST' : WD_LINE_SPACING . AT_LEAST , #NEWLINE# 'WD_LINE_SPACING.ONE_POINT_FIVE' : WD_LINE_SPACING . ONE_POINT_FIVE , #NEWLINE# #UNINDENT# } [ value ] #NEWLINE# paragraph_format = context . paragraph_format #NEWLINE# paragraph_format . line_spacing_rule = new_value