#NEWLINE# @ when ( 'I assign {value} to text_frame.auto_size' ) #NEWLINE# def when_I_assign_value_to_text_frame_auto_size( context , value ) : #NEWLINE# #INDENT# text_frame = context . text_frame #NEWLINE# text_frame . auto_size = { #NEWLINE# #INDENT# 'None' : None , #NEWLINE# 'MSO_AUTO_SIZE.NONE' : MSO_AUTO_SIZE . NONE , #NEWLINE# 'MSO_AUTO_SIZE.SHAPE_TO_FIT_TEXT' : MSO_AUTO_SIZE . SHAPE_TO_FIT_TEXT , #NEWLINE# 'MSO_AUTO_SIZE.TEXT_TO_FIT_SHAPE' : MSO_AUTO_SIZE . TEXT_TO_FIT_SHAPE , #NEWLINE# #UNINDENT# } [ value ]