… | |
… | |
32 | |
32 | |
33 | #ifdef __cplusplus |
33 | #ifdef __cplusplus |
34 | extern "C" { |
34 | extern "C" { |
35 | #endif /* __cplusplus */ |
35 | #endif /* __cplusplus */ |
36 | |
36 | |
|
|
37 | typedef double psiconv_float_t; |
37 | |
38 | |
38 | typedef enum psiconv_file_type { |
39 | typedef enum psiconv_file_type { |
39 | psiconv_unknown_file, |
40 | psiconv_unknown_file, |
40 | psiconv_word_file, |
41 | psiconv_word_file, |
41 | psiconv_texted_file, |
42 | psiconv_texted_file, |
… | |
… | |
190 | psiconv_size_t space_below; |
191 | psiconv_size_t space_below; |
191 | psiconv_bool_t keep_together; |
192 | psiconv_bool_t keep_together; |
192 | psiconv_bool_t keep_with_next; |
193 | psiconv_bool_t keep_with_next; |
193 | psiconv_bool_t on_next_page; |
194 | psiconv_bool_t on_next_page; |
194 | psiconv_bool_t no_widow_protection; |
195 | psiconv_bool_t no_widow_protection; |
|
|
196 | psiconv_bool_t wrap_to_fit_cell; |
195 | psiconv_length_t border_distance; |
197 | psiconv_length_t border_distance; |
196 | psiconv_bullet bullet; |
198 | psiconv_bullet bullet; |
197 | psiconv_border left_border; |
199 | psiconv_border left_border; |
198 | psiconv_border right_border; |
200 | psiconv_border right_border; |
199 | psiconv_border top_border; |
201 | psiconv_border top_border; |
… | |
… | |
402 | |
404 | |
403 | typedef struct psiconv_clipart_f_s |
405 | typedef struct psiconv_clipart_f_s |
404 | { |
406 | { |
405 | psiconv_cliparts sections; |
407 | psiconv_cliparts sections; |
406 | } *psiconv_clipart_f; |
408 | } *psiconv_clipart_f; |
|
|
409 | |
|
|
410 | typedef struct psiconv_sheet_ref_s |
|
|
411 | { |
|
|
412 | psiconv_s16 offset; |
|
|
413 | psiconv_bool_t absolute; |
|
|
414 | } psiconv_sheet_ref_t; |
|
|
415 | |
|
|
416 | typedef struct psiconv_sheet_cell_reference_s |
|
|
417 | { |
|
|
418 | psiconv_sheet_ref_t row; |
|
|
419 | psiconv_sheet_ref_t column; |
|
|
420 | } psiconv_sheet_cell_reference_t; |
|
|
421 | |
|
|
422 | typedef struct psiconv_sheet_cell_block_s |
|
|
423 | { |
|
|
424 | psiconv_sheet_cell_reference_t first; |
|
|
425 | psiconv_sheet_cell_reference_t last; |
|
|
426 | } psiconv_sheet_cell_block_t; |
407 | |
427 | |
408 | typedef struct psiconv_sheet_status_section_s |
428 | typedef struct psiconv_sheet_status_section_s |
409 | { |
429 | { |
410 | psiconv_bool_t show_graph; |
430 | psiconv_bool_t show_graph; |
411 | psiconv_u32 cursor_row; |
431 | psiconv_u32 cursor_row; |
… | |
… | |
562 | psiconv_formula_type_t type; |
582 | psiconv_formula_type_t type; |
563 | union { |
583 | union { |
564 | psiconv_u32 dat_int; |
584 | psiconv_u32 dat_int; |
565 | double dat_float; |
585 | double dat_float; |
566 | char *dat_string; |
586 | char *dat_string; |
|
|
587 | psiconv_sheet_cell_reference_t dat_cellref; |
|
|
588 | psiconv_sheet_cell_block_t dat_cellblock; |
567 | psiconv_formula_list fun_operands; |
589 | psiconv_formula_list fun_operands; |
568 | } data; |
590 | } data; |
569 | } *psiconv_formula; |
591 | } *psiconv_formula; |
570 | |
592 | |
571 | typedef struct psiconv_sheet_workbook_section_s |
593 | typedef struct psiconv_sheet_workbook_section_s |