'Requires:
nothing
Returns:
nothing
Logic:
Get a unique value for each style.'

def __get_num_of_style(self):

    my_string = ''
    new_style = 0
    ignore_values = ['style-num', 'nest-level', 'in-table']
    keys = self.__att_val_dict.keys()
    keys.sort()
    for key in keys:
        if (key in ignore_values):
            continue
        my_string += ('%s:%s' % (key, self.__att_val_dict[key]))
    if (my_string in self.__style_num_strings):
        num = self.__style_num_strings.index(my_string)
        num += 1
    else:
        self.__style_num_strings.append(my_string)
        num = len(self.__style_num_strings)
        new_style = 1
    num = ('%04d' % num)
    self.__att_val_dict['style-num'] = ('s' + str(num))
    if new_style:
        self.__write_body_styles()
