def excelLoader(modelXbrl, mappedUri, filepath, *args, **kwargs):
    if (not isExcelLoadable(modelXbrl, mappedUri, None, filepath)):
        return None
    cntlr = modelXbrl.modelManager.cntlr
    cntlr.showStatus(_('Loading Excel file: {0}').format(os.path.basename(filepath)))
    doc = loadFromExcel(cntlr, modelXbrl, filepath, mappedUri)
    if (doc is None):
        return None
    modelXbrl.loadedFromExcel = True
    return doc
def excelLoader(modelXbrl, mappedUri, filepath, *args, **kwargs):
    if (not isExcelLoadable(modelXbrl, mappedUri, None, filepath)):
        return None
    cntlr = modelXbrl.modelManager.cntlr
    cntlr.showStatus(_('Loading Excel file: {0}').format(os.path.basename(filepath)))
    doc = loadFromExcel(cntlr, modelXbrl, filepath, mappedUri)
    if (doc is None):
        return None
    modelXbrl.loadedFromExcel = True
    return doc