'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):

    is_border = self.__is_border_func(line)
    if (not is_border):
        self.__write_obj.write('mi<tg<close_____<paragraph-definition\n')
        self.__write_end_border_tag()
        self.__write_obj.write(self.__list_chunk)
        self.__write_obj.write(line)
        self.__state = 'default'
        self.__list_chunk = ''
    else:
        (border_string, pard_string) = self.__parse_pard_with_border(line)
        if (self.__last_border_string == border_string):
            self.__write_obj.write('mi<tg<close_____<paragraph-definition\n')
            self.__write_obj.write(self.__list_chunk)
            self.__list_chunk = ''
            self.__state = 'in_pard'
            self.__write_obj.write(pard_string)
        else:
            self.__write_obj.write('mi<tg<close_____<paragraph-definition\n')
            self.__write_end_border_tag()
            self.__write_obj.write(self.__list_chunk)
            self.__write_start_border_tag(border_string)
            self.__write_obj.write(pard_string)
            self.__state = 'in_pard'
            self.__last_border_string = border_string
            self.__list_chunk = ''
