'Write all the strings, which represent all the data in the preamble.
Write a body and section beginning.'

def __write_preamble(self):

    if self.__no_namespace:
        self.__write_obj.write('mi<tg<open______<doc\n')
    else:
        self.__write_obj.write('mi<tg<open-att__<doc<xmlns>http://rtf2xml.sourceforge.net/\n')
    self.__write_obj.write('mi<tg<open______<preamble\n')
    self.__write_obj.write(self.__rtf_final)
    if (not self.__color_table_final):
        self.__make_default_color_table()
    if (not self.__font_table_final):
        self.__make_default_font_table()
    self.__write_obj.write(self.__font_table_final)
    self.__write_obj.write(self.__color_table_final)
    if (not self.__style_sheet_final):
        self.__make_default_style_table()
    self.__write_obj.write(self.__style_sheet_final)
    self.__write_obj.write(self.__list_table_final)
    self.__write_obj.write(self.__override_table_final)
    self.__write_obj.write(self.__revision_table_final)
    self.__write_obj.write(self.__doc_info_table_final)
    self.__print_page_info()
    self.__write_obj.write('ob<nu<open-brack<0001\n')
    self.__write_obj.write('ob<nu<open-brack<0002\n')
    self.__write_obj.write('cb<nu<clos-brack<0002\n')
    self.__write_obj.write('mi<tg<close_____<preamble\n')
    self.__write_obj.write('mi<tg<open______<body\n')
    self.__write_obj.write('mi<mk<body-open_\n')
