Exemplo n.º 1
0
def getLabelText(caption):
    ''' Return the text to label the figures removing
        spaces and strange chars from the input.'''
    retval= caption
    retval= retval.replace('+','pos').replace('-','neg')
    retval= su.slugify(retval)
    return retval
Exemplo n.º 2
0
 def getFileName(self):
     return su.slugify(self.partLabel + self.limitStateLabel +
                       self.attributeName)
Exemplo n.º 3
0
 def getShortName(self):
     return su.slugify(self.partName)