''

def __checkData(self):

    self.sheetIndex2Data()
    self.dctDatas = g_dctDatas
    self.hasExportedSheet = []
    for (dataName, indexList) in self.sheet2Data.items():
        self.curIndexMax = len(indexList)
        self.curProIndex = []
        for index in indexList:
            sheet = self.xbook.getSheetByIndex(index)
            self.curProIndex.append(index)
            cols = self.xbook.getRowCount(index)
            rows = self.xbook.getColCount(index)
            if (dataName not in self.dctDatas):
                self.dctDatas[dataName] = {}
            self.dctData = self.dctDatas[dataName]
            for row in range(3, (rows + 1)):
                rowval = self.xbook.getRowValues(sheet, (row - 1))
                childDict = {}
                for col in range(1, (cols + 1)):
                    val = rowval[(col - 1)]
                    if (val != None):
                        val = (str(rowval[(col - 1)]),)
                    else:
                        val = ('',)
                    if (self.headerDict[index][(col - 1)] is None):
                        continue
                    (name, sign, funcName) = self.headerDict[index][(col - 1)]
                    if (('$' in sign) and (len(val[0]) > 0)):
                        self.needReplace({'v': val[0], 'pos': (row, col)})
                        v = self.mapDict[xlsxtool.GTOUC(xlsxtool.val2Str(val[0]))]
                    else:
                        v = val[0]
                    if ((EXPORT_SIGN_DOT in sign) and (v is None)):
                        self.xlsxClear(EXPORT_ERROR_NOTNULL, (col, row))
                    try:
                        sv = v
                    except:
                        sv = v
                    func = getFunc(funcName)
                    try:
                        v = func(self.mapDict, self.dctData, childDict, sv)
                    except Exception as errstr:
                        self.xlsxClear(EXPORT_ERROR_FUNC, (errstr, funcName, sv, row, col))
                    for ss in sign.replace('$', ''):
                        EXPORT_SIGN[ss](self, {'v': v, 'pos': (row, col)})
                    childDict[name] = v
                print ('\xb5\xb1\xc7\xb0:%i/%i' % (row, rows))
                self.dctData[self.tempKeys[(-1)]] = copy.deepcopy(childDict)
            self.writeHead()
        overFunc = self.mapDict.get('overFunc')
        if (overFunc is not None):
            func = getFunc(overFunc)
            self.dctData = func(self.mapDict, self.dctDatas, self.dctData, dataName)
            self.dctDatas[dataName] = self.dctData
        g_dctDatas.update(self.dctDatas)
        self.__onCheckSheet()
    self.__onCheckData()
    self.writeFoot()
