--- psiconv/trunk/lib/psiconv/data.h 2000/12/15 18:52:49 67 +++ psiconv/trunk/lib/psiconv/data.h 2000/12/30 22:17:59 87 @@ -273,6 +273,7 @@ psiconv_length_t page_height; psiconv_page_header header; psiconv_page_header footer; + psiconv_bool_t landscape; } * psiconv_page_layout_section; typedef struct psiconv_word_status_section_s @@ -417,7 +418,8 @@ #define PSICONV_ID_SKETCH_SECTION 0x1000007D /* Other ids */ -#define PSICONV_ID_PAGE_DIMENSIONS 0x100000fd +#define PSICONV_ID_PAGE_DIMENSIONS1 0x100000fd +#define PSICONV_ID_PAGE_DIMENSIONS2 0x1000010e #define PSICONV_ID_TEXTED_BODY 0x1000005c #define PSICONV_ID_TEXTED_REPLACEMENT 0x10000063 #define PSICONV_ID_TEXTED_UNKNOWN 0x10000065 @@ -489,9 +491,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 */