… | |
… | |
717 | } else |
717 | } else |
718 | return -1; |
718 | return -1; |
719 | } |
719 | } |
720 | |
720 | |
721 | |
721 | |
722 | static struct fileformat_s ffs[] = |
722 | static struct fileformat_s fileformats[] = |
723 | { |
723 | { |
724 | { |
724 | { |
725 | "XHTML", |
725 | "XHTML", |
726 | "XHTML 1.0 Strict, using CSS for formatting", |
726 | "XHTML 1.0 Strict, using CSS for formatting", |
727 | FORMAT_WORD | FORMAT_TEXTED, |
727 | FORMAT_WORD | FORMAT_TEXTED, |
… | |
… | |
737 | |
737 | |
738 | |
738 | |
739 | void init_xhtml(void) |
739 | void init_xhtml(void) |
740 | { |
740 | { |
741 | int i; |
741 | int i; |
742 | for (i = 0; ffs[i].name; i++) |
742 | for (i = 0; fileformats[i].name; i++) |
743 | psiconv_list_add(fileformat_list,ffs+i); |
743 | psiconv_list_add(fileformat_list,fileformats+i); |
744 | } |
744 | } |