'Required:
line -- the line of current text.
id -- the id of the current list
Return:
Nothing
Logic:'

def __pard_after_par_def_func(self, line):

    if (self.__last_style_name == self.__style_name):
        if self.__wrap:
            self.__write_obj.write('mi<tg<close_____<paragraph-definition\n')
        self.__write_obj.write(self.__list_chunk)
        self.__list_chunk = ''
        self.__state = 'in_pard'
        if self.__wrap:
            self.__write_obj.write(line)
    else:
        self.__write_obj.write('mi<tg<close_____<paragraph-definition\n')
        self.__write_end_wrap()
        self.__write_obj.write(self.__list_chunk)
        self.__write_start_wrap(self.__style_name)
        self.__write_obj.write(line)
        self.__state = 'in_pard'
        self.__last_style_name = self.__style_name
        self.__list_chunk = ''
