… | |
… | |
511 | psiconv_bool_t calculated; |
511 | psiconv_bool_t calculated; |
512 | psiconv_u32 ref_formula; |
512 | psiconv_u32 ref_formula; |
513 | } *psiconv_sheet_cell; |
513 | } *psiconv_sheet_cell; |
514 | |
514 | |
515 | typedef psiconv_list psiconv_sheet_cell_list; |
515 | typedef psiconv_list psiconv_sheet_cell_list; |
516 | /* Of struct psiconv_sheet_cell_s */ |
|
|
517 | |
516 | |
518 | typedef struct psiconv_sheet_status_section_s |
517 | typedef struct psiconv_sheet_status_section_s |
519 | { |
518 | { |
520 | psiconv_bool_t show_graph; |
519 | psiconv_bool_t show_graph; |
521 | psiconv_u32 cursor_row; |
520 | psiconv_u32 cursor_row; |
… | |
… | |
681 | psiconv_sheet_cell_block_t dat_cellblock; |
680 | psiconv_sheet_cell_block_t dat_cellblock; |
682 | psiconv_formula_list fun_operands; |
681 | psiconv_formula_list fun_operands; |
683 | } data; |
682 | } data; |
684 | } *psiconv_formula; |
683 | } *psiconv_formula; |
685 | |
684 | |
|
|
685 | typedef struct psiconv_sheet_line_s |
|
|
686 | { |
|
|
687 | psiconv_u32 position; |
|
|
688 | psiconv_sheet_cell_layout layout; |
|
|
689 | } *psiconv_sheet_line; |
|
|
690 | |
|
|
691 | typedef psiconv_list psiconv_sheet_line_list; |
|
|
692 | /* Of struct psiconv_sheet_line_s */ |
|
|
693 | |
686 | typedef struct psiconv_sheet_worksheet_s |
694 | typedef struct psiconv_sheet_worksheet_s |
687 | { |
695 | { |
688 | psiconv_sheet_cell_layout default_layout; |
696 | psiconv_sheet_cell_layout default_layout; |
689 | psiconv_sheet_cell_list cells; |
697 | psiconv_sheet_cell_list cells; |
690 | psiconv_bool_t show_zeros; |
698 | psiconv_bool_t show_zeros; |
|
|
699 | psiconv_sheet_line_list row_default_layouts; |
|
|
700 | psiconv_sheet_line_list col_default_layouts; |
691 | } *psiconv_sheet_worksheet; |
701 | } *psiconv_sheet_worksheet; |
692 | |
702 | |
693 | typedef psiconv_list psiconv_sheet_worksheet_list; |
703 | typedef psiconv_list psiconv_sheet_worksheet_list; |
694 | /* of struct psiconv_sheet_worksheet */ |
704 | /* of struct psiconv_sheet_worksheet */ |
695 | |
705 | |
… | |
… | |
767 | extern psiconv_character_layout psiconv_clone_character_layout |
777 | extern psiconv_character_layout psiconv_clone_character_layout |
768 | (psiconv_character_layout ls); |
778 | (psiconv_character_layout ls); |
769 | |
779 | |
770 | /* Get a numbered style. Returns NULL if the style is unknown. */ |
780 | /* Get a numbered style. Returns NULL if the style is unknown. */ |
771 | extern psiconv_word_style psiconv_get_style (psiconv_word_styles_section ss, int nr); |
781 | extern psiconv_word_style psiconv_get_style (psiconv_word_styles_section ss, int nr); |
|
|
782 | /* Get a numbered formula. Returns NULL if the style is unknown. */ |
|
|
783 | extern psiconv_formula psiconv_get_formula (psiconv_formula_list ss, int nr); |
|
|
784 | |
|
|
785 | /* Return the default layout */ |
|
|
786 | extern psiconv_sheet_cell_layout psiconv_get_default_layout |
|
|
787 | (psiconv_sheet_line_list row_defaults, |
|
|
788 | psiconv_sheet_line_list col_defaults, |
|
|
789 | psiconv_sheet_cell_layout cell_default, |
|
|
790 | int row,int col); |
772 | |
791 | |
773 | extern void psiconv_free_color(psiconv_color color); |
792 | extern void psiconv_free_color(psiconv_color color); |
774 | extern void psiconv_free_border(psiconv_border border); |
793 | extern void psiconv_free_border(psiconv_border border); |
775 | extern void psiconv_free_bullet(psiconv_bullet bullet); |
794 | extern void psiconv_free_bullet(psiconv_bullet bullet); |
776 | extern void psiconv_free_font(psiconv_font font); |
795 | extern void psiconv_free_font(psiconv_font font); |
… | |
… | |
793 | extern void psiconv_free_sheet_f(psiconv_sheet_f file); |
812 | extern void psiconv_free_sheet_f(psiconv_sheet_f file); |
794 | extern void psiconv_free_sheet_cell(psiconv_sheet_cell cell); |
813 | extern void psiconv_free_sheet_cell(psiconv_sheet_cell cell); |
795 | extern void psiconv_free_sheet_cell_list(psiconv_sheet_cell_list list); |
814 | extern void psiconv_free_sheet_cell_list(psiconv_sheet_cell_list list); |
796 | extern void psiconv_free_sheet_numberformat |
815 | extern void psiconv_free_sheet_numberformat |
797 | (psiconv_sheet_numberformat numberformat); |
816 | (psiconv_sheet_numberformat numberformat); |
|
|
817 | extern void psiconv_free_sheet_line_list(psiconv_sheet_line_list list); |
|
|
818 | extern void psiconv_free_sheet_line(psiconv_sheet_line line); |
798 | extern void psiconv_free_header_section(psiconv_header_section header); |
819 | extern void psiconv_free_header_section(psiconv_header_section header); |
799 | extern void psiconv_free_section_table_entry(psiconv_section_table_entry entry); |
820 | extern void psiconv_free_section_table_entry(psiconv_section_table_entry entry); |
800 | extern void psiconv_free_section_table_section |
821 | extern void psiconv_free_section_table_section |
801 | (psiconv_section_table_section section); |
822 | (psiconv_section_table_section section); |
802 | extern void psiconv_free_application_id_section |
823 | extern void psiconv_free_application_id_section |