/[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 94 Revision 98
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
423typedef 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
431typedef psiconv_list psiconv_formula_list; /* Of struct psiconv_formula_s */
432
433typedef 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
444typedef struct psiconv_sheet_workbook_section_s
445{
446 psiconv_formula_list formulas;
447} *psiconv_sheet_workbook_section;
448
423typedef struct psiconv_sheet_f_s 449typedef 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
429typedef struct psiconv_file_s 456typedef 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
497extern void psiconv_free_paragraph_layout(psiconv_paragraph_layout layout); 525extern void psiconv_free_paragraph_layout(psiconv_paragraph_layout layout);
498extern void psiconv_free_character_layout(psiconv_character_layout layout); 526extern void psiconv_free_character_layout(psiconv_character_layout layout);
499extern void psiconv_free_word_style(psiconv_word_style style); 527extern void psiconv_free_word_style(psiconv_word_style style);
500extern void psiconv_free_word_styles_section 528extern void psiconv_free_word_styles_section
501 (psiconv_word_styles_section styles); 529 (psiconv_word_styles_section styles);
530extern void psiconv_free_formula(psiconv_formula formula);
531extern void psiconv_free_formula_list(psiconv_formula_list list);
502extern void psiconv_free_sheet_status_section 532extern void psiconv_free_sheet_status_section
503 (psiconv_sheet_status_section section); 533 (psiconv_sheet_status_section section);
504extern void psiconv_free_sheet_f(psiconv_sheet_f file); 534extern void psiconv_free_sheet_f(psiconv_sheet_f file);
505extern void psiconv_free_header_section(psiconv_header_section header); 535extern void psiconv_free_header_section(psiconv_header_section header);
506extern void psiconv_free_section_table_entry(psiconv_section_table_entry entry); 536extern void psiconv_free_section_table_entry(psiconv_section_table_entry entry);

Legend:
Removed from v.94  
changed lines
  Added in v.98

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