Module Expr Str ImportFrom alias alias alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad Dict Str Str Str Str Str Str Index NameLoad Assign NameStore Call NameLoad Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Dict Str Str Str Str Str Str Index NameLoad Assign NameStore Call NameLoad Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore IfExp CompareEq NameLoad Str Str Str Assign NameStore Call NameLoad Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Dict Str Str Str Str Str Str Index NameLoad Assign NameStore Call NameLoad Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad Dict Str Str Str Str Str Str Str Str Str Str Index NameLoad Assign NameStore Call NameLoad Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Dict Str Str Call NameLoad Num Num attr NameLoad Assign NameStore IfExp CompareIs NameLoad NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Dict Str Str Str Str Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Dict Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad Assign NameStore SubscriptLoad Dict Str Str Str NameLoad Call NameLoad Num Call NameLoad Num Index NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad Assign NameStore IfExp CompareEq NameLoad Str NameLoad Call NameLoad Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Dict Str Str Str NameLoad NameLoad NameLoad Index NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Dict Str Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index NameLoad Assign NameStore AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore IfExp CompareEq NameLoad Str NameLoad IfExp CompareIn Str NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If BoolOpOr CompareIs NameLoad NameLoad Call NameLoad NameLoad NameLoad body Assert CompareEq AttributeLoad NameLoad attr NameLoad orelse Assert CompareLt Call NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Dict Str Str Str Str Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index NameLoad Assign NameStore AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore IfExp CompareEq NameLoad Str NameLoad Call NameLoad NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareEq NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore IfExp CompareEq NameLoad Str NameLoad Call NameLoad NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareEq NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad Dict Str Str Str NameLoad NameLoad NameLoad Index NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareEq NameLoad NameLoad decorator_list Call NameLoad Str
N/A N/A 
Step implementations for paragraph format-related features.
 __future__ absolute_import division print_function unicode_literals behave given then when docx Document docx.enum.text WD_ALIGN_PARAGRAPH WD_LINE_SPACING docx.shared Pt helpers test_docx given_a_paragraph_format_having_prop_set N/A N/A context prop_name setting N/A N/A N/A style_name N/A N/A to inherit On Off Normal Base Citation N/A setting N/A document N/A Document N/A test_docx sty-known-styles N/A N/A context paragraph_format N/A N/A N/A document styles N/A style_name paragraph_format N/A N/A given a paragraph format having {prop_name} set {setting} given_a_paragraph_format_having_setting_line_spacing N/A N/A context setting N/A N/A N/A style_name N/A N/A inherited 14 pt double Normal Base Citation N/A setting N/A document N/A Document N/A test_docx sty-known-styles N/A N/A context paragraph_format N/A N/A N/A document styles N/A style_name paragraph_format N/A N/A given a paragraph format having {setting} line spacing given_a_paragraph_format_having_setting_spacing N/A N/A context setting side N/A N/A N/A style_name N/A N/A setting inherited Normal Base N/A document N/A Document N/A test_docx sty-known-styles N/A N/A context paragraph_format N/A N/A N/A document styles N/A style_name paragraph_format N/A N/A given a paragraph format having {setting} space {side} given_a_paragraph_format_having_align_type_alignment N/A N/A context type N/A N/A N/A style_name N/A N/A inherited center right Normal Base Citation N/A type N/A document N/A Document N/A test_docx sty-known-styles N/A N/A context paragraph_format N/A N/A N/A document styles N/A style_name paragraph_format N/A N/A given a paragraph format having {type} alignment given_a_paragraph_format_having_type_indent_value N/A N/A context type value N/A N/A N/A style_name N/A N/A inherit 18 pt 17.3 pt -17.3 pt 46.1 pt Normal Base Base Citation Citation N/A value N/A document N/A Document N/A test_docx sty-known-styles N/A N/A context paragraph_format N/A N/A N/A document styles N/A style_name paragraph_format N/A N/A given a paragraph format having {type} indent of {value} when_I_assign_value_to_paragraph_format_line_spacing N/A N/A context value N/A N/A N/A new_value N/A N/A N/A Pt(14) 2 N/A Pt 14 2 get value N/A new_value N/A N/A new_value None N/A float value new_value N/A N/A N/A context paragraph_format line_spacing new_value N/A N/A when I assign {value} to paragraph_format.line_spacing when_I_assign_value_to_paragraph_format_line_rule N/A N/A context value N/A N/A N/A new_value N/A N/A None WD_LINE_SPACING.EXACTLY WD_LINE_SPACING.MULTIPLE WD_LINE_SPACING.SINGLE WD_LINE_SPACING.DOUBLE WD_LINE_SPACING.AT_LEAST WD_LINE_SPACING.ONE_POINT_FIVE None N/A WD_LINE_SPACING EXACTLY N/A WD_LINE_SPACING MULTIPLE N/A WD_LINE_SPACING SINGLE N/A WD_LINE_SPACING DOUBLE N/A WD_LINE_SPACING AT_LEAST N/A WD_LINE_SPACING ONE_POINT_FIVE N/A value N/A paragraph_format N/A context paragraph_format N/A N/A paragraph_format line_spacing_rule new_value N/A N/A when I assign {value} to paragraph_format.line_spacing_rule when_I_assign_value_to_paragraph_format_alignment N/A N/A context value N/A N/A N/A new_value N/A N/A None WD_ALIGN_PARAGRAPH.CENTER WD_ALIGN_PARAGRAPH.RIGHT None N/A WD_ALIGN_PARAGRAPH CENTER N/A WD_ALIGN_PARAGRAPH RIGHT N/A value N/A paragraph_format N/A context paragraph_format N/A N/A paragraph_format alignment new_value N/A N/A when I assign {value} to paragraph_format.alignment when_I_assign_value_to_paragraph_format_space N/A N/A context value side N/A N/A N/A paragraph_format N/A context paragraph_format N/A prop_name N/A space_%s side N/A new_value N/A N/A None Pt(12) Pt(18) None N/A Pt 12 N/A Pt 18 N/A value N/A N/A setattr paragraph_format prop_name new_value N/A N/A when I assign {value} to paragraph_format.space_{side} when_I_assign_value_to_paragraph_format_indent N/A N/A context value type_ N/A N/A N/A paragraph_format N/A context paragraph_format N/A prop_name N/A %s_indent type_ N/A value N/A N/A value None None N/A Pt N/A float N/A N/A N/A value split N/A 0 N/A N/A setattr paragraph_format prop_name value N/A N/A when I assign {value} to paragraph_format.{type_}_indent when_I_assign_value_to_paragraph_format_prop N/A N/A context value prop_name N/A N/A N/A paragraph_format N/A context paragraph_format N/A value N/A N/A None True False None True False N/A value N/A N/A setattr paragraph_format prop_name value N/A N/A when I assign {value} to paragraph_format.{prop_name} then_paragraph_format_alignment_is_value N/A N/A context value N/A N/A N/A expected_value N/A N/A None WD_ALIGN_PARAGRAPH.LEFT WD_ALIGN_PARAGRAPH.CENTER WD_ALIGN_PARAGRAPH.RIGHT None N/A WD_ALIGN_PARAGRAPH LEFT N/A WD_ALIGN_PARAGRAPH CENTER N/A WD_ALIGN_PARAGRAPH RIGHT N/A value N/A paragraph_format N/A context paragraph_format N/A N/A N/A paragraph_format alignment expected_value N/A N/A then paragraph_format.alignment is {value} then_paragraph_format_line_spacing_is_value N/A N/A context value N/A N/A N/A expected_value N/A N/A value None None N/A N/A . value N/A float value N/A int value N/A paragraph_format N/A context paragraph_format N/A N/A N/A expected_value None N/A isinstance expected_value int N/A N/A N/A N/A paragraph_format line_spacing expected_value N/A N/A N/A N/A abs N/A N/A paragraph_format line_spacing expected_value 0.001 N/A N/A then paragraph_format.line_spacing is {value} then_paragraph_format_line_spacing_rule_is_value N/A N/A context value N/A N/A N/A expected_value N/A N/A None WD_LINE_SPACING.EXACTLY WD_LINE_SPACING.MULTIPLE WD_LINE_SPACING.SINGLE WD_LINE_SPACING.DOUBLE WD_LINE_SPACING.AT_LEAST WD_LINE_SPACING.ONE_POINT_FIVE None N/A WD_LINE_SPACING EXACTLY N/A WD_LINE_SPACING MULTIPLE N/A WD_LINE_SPACING SINGLE N/A WD_LINE_SPACING DOUBLE N/A WD_LINE_SPACING AT_LEAST N/A WD_LINE_SPACING ONE_POINT_FIVE N/A value N/A paragraph_format N/A context paragraph_format N/A N/A N/A paragraph_format line_spacing_rule expected_value N/A N/A then paragraph_format.line_spacing_rule is {value} then_paragraph_format_space_side_is_value N/A N/A context side value N/A N/A N/A expected_value N/A N/A value None None N/A int value N/A prop_name N/A space_%s side N/A paragraph_format N/A context paragraph_format N/A actual_value N/A getattr paragraph_format prop_name N/A N/A actual_value expected_value N/A N/A then paragraph_format.space_{side} is {value} then_paragraph_format_type_indent_is_value N/A N/A context type_ value N/A N/A N/A expected_value N/A N/A value None None N/A int value N/A prop_name N/A %s_indent type_ N/A paragraph_format N/A context paragraph_format N/A actual_value N/A getattr paragraph_format prop_name N/A N/A actual_value expected_value N/A N/A then paragraph_format.{type_}_indent is {value} then_paragraph_format_prop_name_is_value N/A N/A context prop_name value N/A N/A N/A expected_value N/A N/A None True False None True False N/A value N/A paragraph_format N/A context paragraph_format N/A actual_value N/A getattr paragraph_format prop_name N/A N/A actual_value expected_value N/A N/A then paragraph_format.{prop_name} is {value}