--- psiconv/trunk/lib/psiconv/data.h 2000/12/25 00:26:53 76 +++ psiconv/trunk/lib/psiconv/data.h 2001/01/10 16:39:30 90 @@ -92,6 +92,14 @@ psiconv_border_dotdotdashed } psiconv_border_kind_t; +typedef enum psiconv_screenfont +{ + psiconv_font_misc, + psiconv_font_sansserif, + psiconv_font_nonprop, + psiconv_font_serif +} psiconv_screenfont_t; + /* Colors. black: 0x00 0x00 0x00 white: 0xff 0xff 0xff */ @@ -105,7 +113,7 @@ typedef struct psiconv_font_s { char *name; - psiconv_u8 screenfont; + psiconv_screenfont_t screenfont; } *psiconv_font; typedef struct psiconv_border_s @@ -491,9 +499,32 @@ extern void psiconv_free_cliparts(psiconv_cliparts section); extern void psiconv_free_clipart_f(psiconv_clipart_f file); - extern void psiconv_free_file(psiconv_file file); +extern int psiconv_compare_color(const psiconv_color value1, + const psiconv_color value2); +extern int psiconv_compare_font(const psiconv_font value1, + const psiconv_font value2); +extern int psiconv_compare_border(const psiconv_border value1, + const psiconv_border value2); +extern int psiconv_compare_bullet(const psiconv_bullet value1, + const psiconv_bullet value2); +extern int psiconv_compare_tab(const psiconv_tab value1, + const psiconv_tab value2); +extern int psiconv_compare_all_tabs(const psiconv_all_tabs value1, + const psiconv_all_tabs value2); +extern int psiconv_compare_paragraph_layout + (const psiconv_paragraph_layout value1, + const psiconv_paragraph_layout value2); + +extern int psiconv_compare_character_layout + (const psiconv_character_layout value1, + const psiconv_character_layout value2); + +/* Get a newly allocated file with sensible defaults, ready to generate. */ +extern psiconv_file psiconv_empty_file(psiconv_file_type_t type); + + #ifdef __cplusplus } #endif /* __cplusplus */