'List of possible overrides for the given para'

def get_overrides(self, r, c, num_of_rows, num_of_cols_in_row):

    overrides = [u'wholeTable']
    def divisor(m, n):
        return ((m - (m % n)) // n)
    if (c is not None):
        odd_column_band = ((divisor(c, self.table_style.col_band_size) % 2) == 1)
        overrides.append((u'band%dVert' % (1 if odd_column_band else 2)))
    odd_row_band = ((divisor(r, self.table_style.row_band_size) % 2) == 1)
    overrides.append((u'band%dHorz' % (1 if odd_row_band else 2)))
    if (c is not None):
        if (c == 0):
            overrides.append(u'firstCol')
        if (c >= (num_of_cols_in_row - 1)):
            overrides.append(u'lastCol')
    if (r == 0):
        overrides.append(u'firstRow')
    if (r >= (num_of_rows - 1)):
        overrides.append(u'lastRow')
    if (c is not None):
        if (r == 0):
            if (c == 0):
                overrides.append(u'nwCell')
            if (c == (num_of_cols_in_row - 1)):
                overrides.append(u'neCell')
        if (r == (num_of_rows - 1)):
            if (c == 0):
                overrides.append(u'swCell')
            if (c == (num_of_cols_in_row - 1)):
                overrides.append(u'seCell')
    return tuple(filter(self.override_allowed, overrides))
