Lines Matching refs:name
36 name = None
41 "Error encoding '%s' as %s barcode: %s\n" % (text, self.name, msg))
70 def get_id(self, name='element'):
73 while name in self.known_ids:
75 name = 'barcode%d' % index
76 self.known_ids.append(name)
77 return name
94 name = self.get_id('barcode')
98 barcode.set('id', name)
125 rect.set('id', "%s_bar%d" % (name, bar_id))
144 text.set('id', '%s_text' % name)