… | |
… | |
90 | psiconv_border_dashed, |
90 | psiconv_border_dashed, |
91 | psiconv_border_dotdashed, |
91 | psiconv_border_dotdashed, |
92 | psiconv_border_dotdotdashed |
92 | psiconv_border_dotdotdashed |
93 | } psiconv_border_kind_t; |
93 | } psiconv_border_kind_t; |
94 | |
94 | |
|
|
95 | typedef enum psiconv_screenfont |
|
|
96 | { |
|
|
97 | psiconv_font_misc, |
|
|
98 | psiconv_font_sansserif, |
|
|
99 | psiconv_font_nonprop, |
|
|
100 | psiconv_font_serif |
|
|
101 | } psiconv_screenfont_t; |
|
|
102 | |
95 | /* Colors. |
103 | /* Colors. |
96 | black: 0x00 0x00 0x00 |
104 | black: 0x00 0x00 0x00 |
97 | white: 0xff 0xff 0xff */ |
105 | white: 0xff 0xff 0xff */ |
98 | typedef struct psiconv_color_s |
106 | typedef struct psiconv_color_s |
99 | { |
107 | { |
… | |
… | |
103 | } * psiconv_color; |
111 | } * psiconv_color; |
104 | |
112 | |
105 | typedef struct psiconv_font_s |
113 | typedef struct psiconv_font_s |
106 | { |
114 | { |
107 | char *name; |
115 | char *name; |
108 | psiconv_u8 screenfont; |
116 | psiconv_screenfont_t screenfont; |
109 | } *psiconv_font; |
117 | } *psiconv_font; |
110 | |
118 | |
111 | typedef struct psiconv_border_s |
119 | typedef struct psiconv_border_s |
112 | { |
120 | { |
113 | psiconv_border_kind_t kind; |
121 | psiconv_border_kind_t kind; |
… | |
… | |
489 | extern void psiconv_free_sketch_f(psiconv_sketch_f file); |
497 | extern void psiconv_free_sketch_f(psiconv_sketch_f file); |
490 | extern void psiconv_free_clipart_section(psiconv_clipart_section section); |
498 | extern void psiconv_free_clipart_section(psiconv_clipart_section section); |
491 | extern void psiconv_free_cliparts(psiconv_cliparts section); |
499 | extern void psiconv_free_cliparts(psiconv_cliparts section); |
492 | extern void psiconv_free_clipart_f(psiconv_clipart_f file); |
500 | extern void psiconv_free_clipart_f(psiconv_clipart_f file); |
493 | |
501 | |
494 | |
|
|
495 | extern void psiconv_free_file(psiconv_file file); |
502 | extern void psiconv_free_file(psiconv_file file); |
|
|
503 | |
|
|
504 | extern int psiconv_compare_color(const psiconv_color value1, |
|
|
505 | const psiconv_color value2); |
|
|
506 | extern int psiconv_compare_font(const psiconv_font value1, |
|
|
507 | const psiconv_font value2); |
|
|
508 | extern int psiconv_compare_border(const psiconv_border value1, |
|
|
509 | const psiconv_border value2); |
|
|
510 | extern int psiconv_compare_bullet(const psiconv_bullet value1, |
|
|
511 | const psiconv_bullet value2); |
|
|
512 | extern int psiconv_compare_tab(const psiconv_tab value1, |
|
|
513 | const psiconv_tab value2); |
|
|
514 | extern int psiconv_compare_all_tabs(const psiconv_all_tabs value1, |
|
|
515 | const psiconv_all_tabs value2); |
|
|
516 | extern int psiconv_compare_paragraph_layout |
|
|
517 | (const psiconv_paragraph_layout value1, |
|
|
518 | const psiconv_paragraph_layout value2); |
|
|
519 | |
|
|
520 | extern int psiconv_compare_character_layout |
|
|
521 | (const psiconv_character_layout value1, |
|
|
522 | const psiconv_character_layout value2); |
|
|
523 | |
|
|
524 | /* Get a newly allocated file with sensible defaults, ready to generate. */ |
|
|
525 | extern psiconv_file psiconv_empty_file(psiconv_file_type_t type); |
|
|
526 | |
496 | |
527 | |
497 | #ifdef __cplusplus |
528 | #ifdef __cplusplus |
498 | } |
529 | } |
499 | #endif /* __cplusplus */ |
530 | #endif /* __cplusplus */ |
500 | |
531 | |