… | |
… | |
325 | /* This is not necessarily the same as returned by basic_character_layout_status |
325 | /* This is not necessarily the same as returned by basic_character_layout_status |
326 | This one is specific for the base point of RTF */ |
326 | This one is specific for the base point of RTF */ |
327 | static psiconv_character_layout |
327 | static psiconv_character_layout |
328 | gen_base_char(psiconv_list colors, psiconv_list fonts) |
328 | gen_base_char(psiconv_list colors, psiconv_list fonts) |
329 | { |
329 | { |
330 | struct psiconv_color white = { 0,0,0 }; |
330 | struct psiconv_color_s white = { 0,0,0 }; |
331 | struct psiconv_color black = { 0xff,0xff,0xff }; |
331 | struct psiconv_color_s black = { 0xff,0xff,0xff }; |
332 | struct psiconv_font font = { NULL,-1 }; /* Pseudo - not added! */ |
332 | struct psiconv_font_s font = { NULL,-1 }; /* Pseudo - not added! */ |
333 | |
333 | |
334 | struct psiconv_character_layout base_char_struct = |
334 | struct psiconv_character_layout_s base_char_struct = |
335 | { |
335 | { |
336 | &black, /* color */ |
336 | &black, /* color */ |
337 | &white, /* back_color */ |
337 | &white, /* back_color */ |
338 | 13.0, /* font_size */ |
338 | 13.0, /* font_size */ |
339 | psiconv_bool_false, /* italic */ |
339 | psiconv_bool_false, /* italic */ |
… | |
… | |
538 | return -1; |
538 | return -1; |
539 | } |
539 | } |
540 | return fclose(of); |
540 | return fclose(of); |
541 | } |
541 | } |
542 | |
542 | |
543 | static struct psiconv_fileformat ff = |
543 | static struct psiconv_fileformat_s ff = |
544 | { |
544 | { |
545 | "RTF", |
545 | "RTF", |
546 | "Rich Text Format (not functional yet!)", |
546 | "Rich Text Format (not functional yet!)", |
547 | psiconv_gen_rtf |
547 | psiconv_gen_rtf |
548 | }; |
548 | }; |