Exemple #1
0
 def txPr_fixture(self, request):
     dLbls_cxml, expected_cxml = request.param
     data_labels = DataLabels(element(dLbls_cxml))
     expected_xml = xml(expected_cxml)
     return data_labels, expected_xml
Exemple #2
0
 def position_set_fixture(self, request):
     dLbls_cxml, new_value, expected_dLbls_cxml = request.param
     data_labels = DataLabels(element(dLbls_cxml))
     expected_xml = xml(expected_dLbls_cxml)
     return data_labels, new_value, expected_xml
Exemple #3
0
 def position_get_fixture(self, request):
     dLbls_cxml, expected_value = request.param
     data_labels = DataLabels(element(dLbls_cxml))
     return data_labels, expected_value
Exemple #4
0
 def number_format_is_linked_set_fixture(self, request):
     dLbls_cxml, new_value, expected_dLbls_cxml = request.param
     data_labels = DataLabels(element(dLbls_cxml))
     expected_xml = xml(expected_dLbls_cxml)
     return data_labels, new_value, expected_xml
Exemple #5
0
 def number_format_is_linked_get_fixture(self, request):
     dLbls_cxml, expected_value = request.param
     data_labels = DataLabels(element(dLbls_cxml))
     return data_labels, expected_value
Exemple #6
0
 def font_fixture(self, Font_, font_):
     dLbls = element('c:dLbls/c:txPr/a:p/a:pPr/a:defRPr')
     defRPr = dLbls.xpath('.//a:defRPr')[0]
     data_labels = DataLabels(dLbls)
     return data_labels, Font_, defRPr, font_