def METHOD_NAME(self, sheet, line, column, table_name, datas):
    if table_name:
        sheet.write(line, column, table_name)
        line += 1
    #write headers
    headers=[]
    for section in datas:
        for elements in section :
            try:
                if isinstance (elements[0], basestring):
                    if elements[0] not in headers:
                        headers.append(elements[0])
                        sheet.write(line,column,self._T(elements[0]))
                    column += 1
            except Exception:
                pass
    line += 1
    #write data
    for section in datas:
        for elements in section :
            try:
                if isinstance (elements[0], basestring) and isinstance (elements[1], basestring):
                    sheet.write(line, headers.index(elements[0]), elements[1])
            except Exception:
                pass
            column += 1
        line += 1
    line += 1
    return line