1 | /* |
1 | /* |
2 | gen_html.c - Part of psiconv, a PSION 5 file formats converter |
2 | gen_html.c - Part of psiconv, a PSION 5 file formats converter |
3 | Copyright (c) 1999-2004 Frodo Looijaard <frodol@dds.nl> |
3 | Copyright (c) 1999-2005 Frodo Looijaard <frodo@frodo.looijaard.name> |
4 | |
4 | |
5 | This program is free software; you can redistribute it and/or modify |
5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by |
6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or |
7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. |
8 | (at your option) any later version. |
… | |
… | |
315 | } else |
315 | } else |
316 | return -1; |
316 | return -1; |
317 | } |
317 | } |
318 | |
318 | |
319 | |
319 | |
320 | static struct fileformat_s ffs[] = |
320 | static struct fileformat_s fileformats[] = |
321 | { |
321 | { |
322 | { |
322 | { |
323 | "HTML4", |
323 | "HTML4", |
324 | "HTML 4.01 Transitional, without CSS", |
324 | "HTML 4.01 Transitional, without CSS", |
325 | FORMAT_WORD | FORMAT_TEXTED, |
325 | FORMAT_WORD | FORMAT_TEXTED, |
… | |
… | |
335 | |
335 | |
336 | |
336 | |
337 | void init_html4(void) |
337 | void init_html4(void) |
338 | { |
338 | { |
339 | int i; |
339 | int i; |
340 | for (i = 0; ffs[i].name; i++) |
340 | for (i = 0; fileformats[i].name; i++) |
341 | psiconv_list_add(fileformat_list,ffs+i); |
341 | psiconv_list_add(fileformat_list,fileformats+i); |
342 | } |
342 | } |