/[public]/psiconv/trunk/lib/psiconv/data.h
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/data.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 166 Revision 167
32 32
33#ifdef __cplusplus 33#ifdef __cplusplus
34extern "C" { 34extern "C" {
35#endif /* __cplusplus */ 35#endif /* __cplusplus */
36 36
37/* Forward declaration (for psiconv_object) */ 37/* Forward declaration (for psiconv_embedded_object_section) */
38typedef struct psiconv_file_s *psiconv_file; 38typedef struct psiconv_file_s *psiconv_file;
39 39
40typedef double psiconv_float_t; 40typedef double psiconv_float_t;
41 41
42typedef enum psiconv_file_type { 42typedef enum psiconv_file_type {
242 psiconv_bool_t show_icon; 242 psiconv_bool_t show_icon;
243 psiconv_length_t width; 243 psiconv_length_t width;
244 psiconv_length_t height; 244 psiconv_length_t height;
245} *psiconv_object_display_section; 245} *psiconv_object_display_section;
246 246
247typedef struct psiconv_object_s 247typedef struct psiconv_embedded_object_section_s
248{ 248{
249 psiconv_object_icon_section icon; 249 psiconv_object_icon_section icon;
250 psiconv_object_display_section display; 250 psiconv_object_display_section display;
251 psiconv_file object; 251 psiconv_file object;
252} *psiconv_object; 252} *psiconv_embedded_object_section;
253 253
254typedef struct psiconv_in_line_layout_s 254typedef struct psiconv_in_line_layout_s
255{ 255{
256 psiconv_character_layout layout; 256 psiconv_character_layout layout;
257 int length; 257 int length;
258 /* If object is NULL, this does not apply to an object */ 258 /* If object is NULL, this does not apply to an object */
259 psiconv_object object; 259 psiconv_embedded_object_section object;
260 psiconv_length_t object_width; 260 psiconv_length_t object_width;
261 psiconv_length_t object_height; 261 psiconv_length_t object_height;
262} *psiconv_in_line_layout; 262} *psiconv_in_line_layout;
263 263
264typedef psiconv_list psiconv_in_line_layouts; /* of struct in_line_layout */ 264typedef psiconv_list psiconv_in_line_layouts; /* of struct in_line_layout */
946 (psiconv_application_id_section section); 946 (psiconv_application_id_section section);
947extern void psiconv_free_object_display_section 947extern void psiconv_free_object_display_section
948 (psiconv_object_display_section section); 948 (psiconv_object_display_section section);
949extern void psiconv_free_object_icon_section 949extern void psiconv_free_object_icon_section
950 (psiconv_object_icon_section section); 950 (psiconv_object_icon_section section);
951extern void psiconv_free_object(psiconv_object object); 951extern void psiconv_free_embedded_object_section
952 (psiconv_embedded_object_section object);
952extern void psiconv_free_in_line_layout(psiconv_in_line_layout layout); 953extern void psiconv_free_in_line_layout(psiconv_in_line_layout layout);
953extern void psiconv_free_in_line_layouts(psiconv_in_line_layouts layouts); 954extern void psiconv_free_in_line_layouts(psiconv_in_line_layouts layouts);
954extern void psiconv_free_replacement(psiconv_replacement replacement); 955extern void psiconv_free_replacement(psiconv_replacement replacement);
955extern void psiconv_free_replacements(psiconv_replacements replacements); 956extern void psiconv_free_replacements(psiconv_replacements replacements);
956extern void psiconv_free_paragraph(psiconv_paragraph paragraph); 957extern void psiconv_free_paragraph(psiconv_paragraph paragraph);

Legend:
Removed from v.166  
changed lines
  Added in v.167

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26