Exemplo n.º 1
0
 def excelFormatting(text):
     if text is None:
         text = ""
     if text.strip() != "":
         text = utils.utf8Tolatin1(text)
         text = text.replace("\x0d", "")
     return text
Exemplo n.º 2
0
 def excelFormatting(text):
     if text is None:
         text = ""
     if text.strip() != "":
         text = utils.utf8Tolatin1(text)
         text = text.replace('\x0d', '')
     return text
Exemplo n.º 3
0
 def excelFormatting(text):
     if text.strip() != "":
         text = utils.utf8Tolatin1(text)
         text = text.replace('"', '""')
         text = "\"%s\"" % text
     return text
Exemplo n.º 4
0
 def excelFormatting(text):
     if text.strip()!="":
         text=utils.utf8Tolatin1(text)
         text=text.replace('"','""')
         text="\"%s\""%text
     return text