--- psiconv/trunk/lib/psiconv/data.h 1999/11/30 00:12:52 28 +++ psiconv/trunk/lib/psiconv/data.h 1999/12/04 00:40:10 43 @@ -35,7 +35,8 @@ psiconv_word_file, psiconv_texted_file, psiconv_mbm_file, - psiconv_sketch_file + psiconv_sketch_file, + psiconv_clipart_file } psiconv_file_type_t; /* Length indicators */ @@ -316,7 +317,7 @@ psiconv_texted_section texted_sec; } *psiconv_texted_f; -typedef psiconv_list psiconv_mbm_jumptable_section; /* of psiconv_u32 */ +typedef psiconv_list psiconv_jumptable_section; /* of psiconv_u32 */ /* Normalized values [0..1] for each component Origin is (x,y)=(0,0), to get pixel at (X,Y) use index [Y*xsize+X] */ @@ -363,6 +364,17 @@ psiconv_sketch_section sketch_sec; } *psiconv_sketch_f; +typedef struct psiconv_clipart_section { + /* Perhaps later on some currently unknown stuff. */ + psiconv_paint_data_section picture; +} * psiconv_clipart_section; + +typedef psiconv_list psiconv_cliparts; /* of struct psiconv_clipart_section */ + +typedef struct psiconv_clipart_f { + psiconv_cliparts sections; +} *psiconv_clipart_f; + typedef struct psiconv_file { psiconv_file_type_t type; void *file; @@ -371,6 +383,7 @@ /* UID1 */ #define PSICONV_ID_PSION5 0x10000037 +#define PSICONV_ID_CLIPART 0x10000041 /* UID2 */ #define PSICONV_ID_DATA_FILE 0x1000006D #define PSICONV_ID_MBM_FILE 0x10000042 @@ -398,6 +411,7 @@ #define PSICONV_ID_TEXTED_TEXT 0x10000064 #define PSICONV_ID_STYLE_REMOVABLE 0x1000004F #define PSICONV_ID_STYLE_BUILT_IN 0x1000004C +#define PSICONV_ID_CLIPART_ITEM 0x10000040 /* Return a clean layout_status. You can modify it at will */ @@ -450,11 +464,15 @@ extern void psiconv_free_texted_f(psiconv_texted_f file); extern void psiconv_free_paint_data_section(psiconv_paint_data_section section); extern void psiconv_free_pictures(psiconv_pictures section); -extern void psiconv_free_mbm_jumptable_section - (psiconv_mbm_jumptable_section section); +extern void psiconv_free_jumptable_section + (psiconv_jumptable_section section); extern void psiconv_free_mbm_f(psiconv_mbm_f file); extern void psiconv_free_sketch_section(psiconv_sketch_section sec); extern void psiconv_free_sketch_f(psiconv_sketch_f file); +extern void psiconv_free_clipart_section(psiconv_clipart_section section); +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);