''

def writeFoot(self):

    if (len(self.hasExportedSheet) < len(self.__exportSheetIndex)):
        return
    allDataDefs = self.mapDict.get('allDataDefs', '')
    if (len(allDataDefs) > 0):
        func = getFunc(allDataDefs)
        allDataDefs = func(self.dctData)
        if ('allDataDefs' in g_fdatas):
            g_fdatas['allDataDefs'] += allDataDefs
        else:
            g_fdatas['allDataDefs'] = allDataDefs
    stream = '\nallDatas    =    {\n'
    for (dataName, indexList) in self.sheet2Data.items():
        for index in indexList:
            SheetName = self.xbook.getSheetNameByIndex(index)
            sheetName = SheetName[(SheetName.find(EXPORT_PREFIX_CHAR) + 1):]
            stream += (" DCTB '" + sheetName)
            stream += "':"
            stream += dataName
            stream += ',\n'
    if (len(allDataDefs) > 0):
        stream += ((' DCTB ' + g_fdatas['allDataDefs']) + ',\n')
    stream += '}'
    self.xlsxWrite(stream)
    self.xlsxbyebye()
    print ('\xd0\xb4\xcd\xea\xc1\xcbtime:', time.ctime(time.time()))
