'Required:
line -- line to parse
Returns:
nothing
Logic:
if in caps, convert. Otherwise, print out.'

def __text_func(self, line):

    text = line[17:(-1)]
    if (self.__current_dict_name in ('Symbol', 'Wingdings', 'Zapf    Dingbats')):
        the_string = ''
        for letter in text:
            hex_num = hex(ord(letter))
            hex_num = str(hex_num)
            hex_num = hex_num.upper()
            hex_num = hex_num[2:]
            hex_num = ("'%s" % hex_num)
            converted = self.__current_dict.get(hex_num)
            if (converted is None):
                sys.stderr.write('module    is    hex_2_ut8\nmethod    is    __text_func\n')
                sys.stderr.write(('no    hex    value    for    "%s"\n' % hex_num))
            else:
                the_string += converted
        self.__write_obj.write(('tx<nu<__________<%s\n' % the_string))
    else:
        if ((self.__caps_list[(-1)] == 'true') and self.__convert_caps and (self.__current_dict_name not in ('Symbol', 'Wingdings', 'Zapf    Dingbats'))):
            text = text.upper()
        self.__write_obj.write(('tx<nu<__________<%s\n' % text))
