… | |
… | |
418 | psiconv_u32 graph_display_size; |
418 | psiconv_u32 graph_display_size; |
419 | psiconv_triple_t show_horizontal_scrollbar; |
419 | psiconv_triple_t show_horizontal_scrollbar; |
420 | psiconv_triple_t show_vertical_scrollbar; |
420 | psiconv_triple_t show_vertical_scrollbar; |
421 | } *psiconv_sheet_status_section; |
421 | } *psiconv_sheet_status_section; |
422 | |
422 | |
|
|
423 | typedef enum psiconv_formula_type |
|
|
424 | { |
|
|
425 | psiconv_formula_unknown, |
|
|
426 | psiconv_formula_int, |
|
|
427 | psiconv_formula_float, |
|
|
428 | psiconv_formula_string |
|
|
429 | } psiconv_formula_type_t; |
|
|
430 | |
|
|
431 | typedef psiconv_list psiconv_formula_list; /* Of struct psiconv_formula_s */ |
|
|
432 | |
|
|
433 | typedef struct psiconv_formula_s |
|
|
434 | { |
|
|
435 | psiconv_formula_type_t type; |
|
|
436 | union { |
|
|
437 | psiconv_u32 d_int; |
|
|
438 | double d_real; |
|
|
439 | char *d_string; |
|
|
440 | psiconv_formula_list d_subformulas; |
|
|
441 | } data; |
|
|
442 | } *psiconv_formula; |
|
|
443 | |
|
|
444 | typedef struct psiconv_sheet_workbook_section_s |
|
|
445 | { |
|
|
446 | psiconv_formula_list formulas; |
|
|
447 | } *psiconv_sheet_workbook_section; |
|
|
448 | |
423 | typedef struct psiconv_sheet_f_s |
449 | typedef struct psiconv_sheet_f_s |
424 | { |
450 | { |
425 | psiconv_page_layout_section page_sec; |
451 | psiconv_page_layout_section page_sec; |
426 | psiconv_sheet_status_section status_sec; |
452 | psiconv_sheet_status_section status_sec; |
|
|
453 | psiconv_sheet_workbook_section workbook_sec; |
427 | } *psiconv_sheet_f; |
454 | } *psiconv_sheet_f; |
428 | |
455 | |
429 | typedef struct psiconv_file_s |
456 | typedef struct psiconv_file_s |
430 | { |
457 | { |
431 | psiconv_file_type_t type; |
458 | psiconv_file_type_t type; |
… | |
… | |
453 | #define PSICONV_ID_WORD_STYLES_SECTION 0x10000104 |
480 | #define PSICONV_ID_WORD_STYLES_SECTION 0x10000104 |
454 | #define PSICONV_ID_PAGE_LAYOUT_SECTION 0x10000105 |
481 | #define PSICONV_ID_PAGE_LAYOUT_SECTION 0x10000105 |
455 | #define PSICONV_ID_PASSWORD_SECTION 0x100000CD |
482 | #define PSICONV_ID_PASSWORD_SECTION 0x100000CD |
456 | #define PSICONV_ID_SKETCH_SECTION 0x1000007D |
483 | #define PSICONV_ID_SKETCH_SECTION 0x1000007D |
457 | #define PSICONV_ID_SHEET_STATUS_SECTION 0x1000011F |
484 | #define PSICONV_ID_SHEET_STATUS_SECTION 0x1000011F |
|
|
485 | #define PSICONV_ID_SHEET_WORKBOOK_SECTION 0x1000011D |
458 | |
486 | |
459 | /* Other ids */ |
487 | /* Other ids */ |
460 | #define PSICONV_ID_PAGE_DIMENSIONS1 0x100000fd |
488 | #define PSICONV_ID_PAGE_DIMENSIONS1 0x100000fd |
461 | #define PSICONV_ID_PAGE_DIMENSIONS2 0x1000010e |
489 | #define PSICONV_ID_PAGE_DIMENSIONS2 0x1000010e |
462 | #define PSICONV_ID_TEXTED_BODY 0x1000005c |
490 | #define PSICONV_ID_TEXTED_BODY 0x1000005c |
… | |
… | |
497 | extern void psiconv_free_paragraph_layout(psiconv_paragraph_layout layout); |
525 | extern void psiconv_free_paragraph_layout(psiconv_paragraph_layout layout); |
498 | extern void psiconv_free_character_layout(psiconv_character_layout layout); |
526 | extern void psiconv_free_character_layout(psiconv_character_layout layout); |
499 | extern void psiconv_free_word_style(psiconv_word_style style); |
527 | extern void psiconv_free_word_style(psiconv_word_style style); |
500 | extern void psiconv_free_word_styles_section |
528 | extern void psiconv_free_word_styles_section |
501 | (psiconv_word_styles_section styles); |
529 | (psiconv_word_styles_section styles); |
|
|
530 | extern void psiconv_free_formula(psiconv_formula formula); |
|
|
531 | extern void psiconv_free_formula_list(psiconv_formula_list list); |
502 | extern void psiconv_free_sheet_status_section |
532 | extern void psiconv_free_sheet_status_section |
503 | (psiconv_sheet_status_section section); |
533 | (psiconv_sheet_status_section section); |
504 | extern void psiconv_free_sheet_f(psiconv_sheet_f file); |
534 | extern void psiconv_free_sheet_f(psiconv_sheet_f file); |
505 | extern void psiconv_free_header_section(psiconv_header_section header); |
535 | extern void psiconv_free_header_section(psiconv_header_section header); |
506 | extern void psiconv_free_section_table_entry(psiconv_section_table_entry entry); |
536 | extern void psiconv_free_section_table_entry(psiconv_section_table_entry entry); |