Esempio n. 1
0
 def space_before_set_fixture(self, request):
     p_cxml, value, expected_p_cxml = request.param
     paragraph_format = ParagraphFormat(element(p_cxml))
     expected_xml = xml(expected_p_cxml)
     return paragraph_format, value, expected_xml
Esempio n. 2
0
 def space_before_get_fixture(self, request):
     p_cxml, expected_value = request.param
     paragraph_format = ParagraphFormat(element(p_cxml))
     return paragraph_format, expected_value
Esempio n. 3
0
 def right_indent_get_fixture(self, request):
     p_cxml, expected_value = request.param
     paragraph_format = ParagraphFormat(element(p_cxml))
     return paragraph_format, expected_value
Esempio n. 4
0
 def on_off_set_fixture(self, request):
     p_cxml, prop_name, value, expected_cxml = request.param
     paragraph_format = ParagraphFormat(element(p_cxml))
     expected_xml = xml(expected_cxml)
     return paragraph_format, prop_name, value, expected_xml
Esempio n. 5
0
 def line_spacing_rule_get_fixture(self, request):
     p_cxml, expected_value = request.param
     paragraph_format = ParagraphFormat(element(p_cxml))
     return paragraph_format, expected_value
Esempio n. 6
0
 def tab_stops_fixture(self, TabStops_, tab_stops_):
     p = element('w:p/w:pPr')
     pPr = p.pPr
     paragraph_format = ParagraphFormat(p, None)
     return paragraph_format, TabStops_, pPr, tab_stops_