/[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 128 Revision 129
502 psiconv_cell_type_t type; 502 psiconv_cell_type_t type;
503 union { 503 union {
504 psiconv_u32 dat_int; 504 psiconv_u32 dat_int;
505 double dat_float; 505 double dat_float;
506 char *dat_string; 506 char *dat_string;
507 psiconv_bool_t dat_bool; 507 psiconv_bool_t dat_bool;
508 psiconv_sheet_errorcode_t dat_error; 508 psiconv_sheet_errorcode_t dat_error;
509 } data; 509 } data;
510 psiconv_sheet_cell_layout layout; 510 psiconv_sheet_cell_layout layout;
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;
677 double dat_float; 677 double dat_float;
678 char *dat_string; 678 char *dat_string;
679 psiconv_sheet_cell_reference_t dat_cellref; 679 psiconv_sheet_cell_reference_t dat_cellref;
680 psiconv_sheet_cell_block_t dat_cellblock; 680 psiconv_sheet_cell_block_t dat_cellblock;
681 psiconv_formula_list fun_operands; 681 psiconv_formula_list fun_operands;
682 psiconv_u32 dat_variable;
682 } data; 683 } data;
683} *psiconv_formula; 684} *psiconv_formula;
684 685
685typedef struct psiconv_sheet_line_s 686typedef struct psiconv_sheet_line_s
686{ 687{
699 psiconv_sheet_line_list row_default_layouts; 700 psiconv_sheet_line_list row_default_layouts;
700 psiconv_sheet_line_list col_default_layouts; 701 psiconv_sheet_line_list col_default_layouts;
701} *psiconv_sheet_worksheet; 702} *psiconv_sheet_worksheet;
702 703
703typedef psiconv_list psiconv_sheet_worksheet_list; 704typedef psiconv_list psiconv_sheet_worksheet_list;
704 /* of struct psiconv_sheet_worksheet */ 705 /* of struct psiconv_sheet_worksheet_s */
706
707typedef enum psiconv_variable_type
708{
709 psiconv_var_int,
710 psiconv_var_float,
711 psiconv_var_string,
712 psiconv_var_cellref,
713 psiconv_var_cellblock
714} psiconv_variable_type_t;
715
716typedef struct psiconv_sheet_variable_s
717{
718 psiconv_u32 number;
719 char *name;
720 psiconv_variable_type_t type;
721 union {
722 psiconv_s32 dat_int;
723 double dat_float;
724 char *dat_string;
725 psiconv_sheet_cell_reference_t dat_cellref;
726 psiconv_sheet_cell_block_t dat_cellblock;
727 } data;
728} *psiconv_sheet_variable;
729
730typedef psiconv_list psiconv_sheet_variable_list;
731 /* of struct psiconv_sheet_variable_s */
732
733typedef struct psiconv_sheet_name_section_s
734{
735 char *name;
736} *psiconv_sheet_name_section;
737
738typedef struct psiconv_sheet_info_section_s
739{
740 psiconv_bool_t auto_recalc;
741} *psiconv_sheet_info_section;
705 742
706typedef struct psiconv_sheet_workbook_section_s 743typedef struct psiconv_sheet_workbook_section_s
707{ 744{
708 psiconv_formula_list formulas; 745 psiconv_formula_list formulas;
709 psiconv_sheet_worksheet_list worksheets; 746 psiconv_sheet_worksheet_list worksheets;
747 psiconv_sheet_variable_list variables;
748 psiconv_sheet_info_section info;
749 psiconv_sheet_name_section name;
710} *psiconv_sheet_workbook_section; 750} *psiconv_sheet_workbook_section;
711 751
712typedef struct psiconv_sheet_f_s 752typedef struct psiconv_sheet_f_s
713{ 753{
714 psiconv_page_layout_section page_sec; 754 psiconv_page_layout_section page_sec;
814extern void psiconv_free_sheet_cell_list(psiconv_sheet_cell_list list); 854extern void psiconv_free_sheet_cell_list(psiconv_sheet_cell_list list);
815extern void psiconv_free_sheet_numberformat 855extern void psiconv_free_sheet_numberformat
816 (psiconv_sheet_numberformat numberformat); 856 (psiconv_sheet_numberformat numberformat);
817extern void psiconv_free_sheet_line_list(psiconv_sheet_line_list list); 857extern void psiconv_free_sheet_line_list(psiconv_sheet_line_list list);
818extern void psiconv_free_sheet_line(psiconv_sheet_line line); 858extern void psiconv_free_sheet_line(psiconv_sheet_line line);
859extern void psiconv_free_sheet_name_section(psiconv_sheet_name_section section);
860extern void psiconv_free_sheet_variable(psiconv_sheet_variable list);
861extern void psiconv_free_sheet_variable_list(psiconv_sheet_variable_list list);
862extern void psiconv_free_sheet_info_section(psiconv_sheet_info_section section);
819extern void psiconv_free_header_section(psiconv_header_section header); 863extern void psiconv_free_header_section(psiconv_header_section header);
820extern void psiconv_free_section_table_entry(psiconv_section_table_entry entry); 864extern void psiconv_free_section_table_entry(psiconv_section_table_entry entry);
821extern void psiconv_free_section_table_section 865extern void psiconv_free_section_table_section
822 (psiconv_section_table_section section); 866 (psiconv_section_table_section section);
823extern void psiconv_free_application_id_section 867extern void psiconv_free_application_id_section

Legend:
Removed from v.128  
changed lines
  Added in v.129

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