

def get_ordered_list_type(meta_data, numId, ilvl):
    '\n    Return the list type. If numId or ilvl not in the numbering dict then\n    default to returning decimal.\n\n    This function only cares about ordered lists, unordered lists get dealt\n    with elsewhere.\n    '
    numbering_dict = meta_data.numbering_dict
    if (numId not in numbering_dict):
        return DEFAULT_LIST_NUMBERING_STYLE
    if (ilvl not in numbering_dict[numId]):
        return DEFAULT_LIST_NUMBERING_STYLE
    return meta_data.numbering_dict[numId][ilvl]

dataset/ETHPy150Open PolicyStat/docx2html/docx2html/core.py get_ordered_list_type/original