--- psiconv/trunk/lib/psiconv/data.h 2001/01/10 17:19:22 93 +++ psiconv/trunk/lib/psiconv/data.h 2001/01/17 00:05:08 94 @@ -41,7 +41,8 @@ psiconv_texted_file, psiconv_mbm_file, psiconv_sketch_file, - psiconv_clipart_file + psiconv_clipart_file, + psiconv_sheet_file } psiconv_file_type_t; /* Length indicators */ @@ -63,6 +64,13 @@ psiconv_bool_true } psiconv_bool_t; +typedef enum psiconv_triple +{ + psiconv_triple_on, + psiconv_triple_off, + psiconv_triple_auto +} psiconv_triple_t; + typedef enum psiconv_super_sub { psiconv_normalscript, psiconv_superscript, @@ -397,6 +405,27 @@ psiconv_cliparts sections; } *psiconv_clipart_f; +typedef struct psiconv_sheet_status_section_s +{ + psiconv_bool_t show_graph; + psiconv_u32 cursor_row; + psiconv_u32 cursor_column; + psiconv_bool_t show_top_sheet_toolbar; + psiconv_bool_t show_side_sheet_toolbar; + psiconv_bool_t show_top_graph_toolbar; + psiconv_bool_t show_side_graph_toolbar; + psiconv_u32 sheet_display_size; + psiconv_u32 graph_display_size; + psiconv_triple_t show_horizontal_scrollbar; + psiconv_triple_t show_vertical_scrollbar; +} *psiconv_sheet_status_section; + +typedef struct psiconv_sheet_f_s +{ + psiconv_page_layout_section page_sec; + psiconv_sheet_status_section status_sec; +} *psiconv_sheet_f; + typedef struct psiconv_file_s { psiconv_file_type_t type; @@ -414,6 +443,7 @@ #define PSICONV_ID_WORD 0x1000007F #define PSICONV_ID_TEXTED 0x10000085 #define PSICONV_ID_SKETCH 0x1000007D +#define PSICONV_ID_SHEET 0x10000088 /* Section table ids */ #define PSICONV_ID_WORD_STATUS_SECTION 0x10000243 @@ -424,6 +454,7 @@ #define PSICONV_ID_PAGE_LAYOUT_SECTION 0x10000105 #define PSICONV_ID_PASSWORD_SECTION 0x100000CD #define PSICONV_ID_SKETCH_SECTION 0x1000007D +#define PSICONV_ID_SHEET_STATUS_SECTION 0x1000011F /* Other ids */ #define PSICONV_ID_PAGE_DIMENSIONS1 0x100000fd @@ -468,6 +499,9 @@ extern void psiconv_free_word_style(psiconv_word_style style); extern void psiconv_free_word_styles_section (psiconv_word_styles_section styles); +extern void psiconv_free_sheet_status_section + (psiconv_sheet_status_section section); +extern void psiconv_free_sheet_f(psiconv_sheet_f file); extern void psiconv_free_header_section(psiconv_header_section header); extern void psiconv_free_section_table_entry(psiconv_section_table_entry entry); extern void psiconv_free_section_table_section