/[public]/psiconv/trunk/program/psiconv/gen_xhtml.c
ViewVC logotype

Diff of /psiconv/trunk/program/psiconv/gen_xhtml.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 195 Revision 270
1/* gen_html.c - Part of psiconv, a PSION 5 file formats converter 1/* gen_html.c - Part of psiconv, a PSION 5 file formats converter
2 Copyright (c) 1999-2004 Frodo Looijaard <frodol@dds.nl> 2 Copyright (c) 1999-2004 Frodo Looijaard <frodo@frodo.looijaard.name>
3 3
4 This program is free software; you can redistribute it and/or modify 4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or 6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version. 7 (at your option) any later version.
717 } else 717 } else
718 return -1; 718 return -1;
719} 719}
720 720
721 721
722static struct fileformat_s ffs[] = 722static 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
739void init_xhtml(void) 739void 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}

Legend:
Removed from v.195  
changed lines
  Added in v.270

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26