/[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 125 Revision 128
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
515typedef psiconv_list psiconv_sheet_cell_list; 515typedef psiconv_list psiconv_sheet_cell_list;
516 /* Of struct psiconv_sheet_cell_s */
517 516
518typedef struct psiconv_sheet_status_section_s 517typedef 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
685typedef struct psiconv_sheet_line_s
686{
687 psiconv_u32 position;
688 psiconv_sheet_cell_layout layout;
689} *psiconv_sheet_line;
690
691typedef psiconv_list psiconv_sheet_line_list;
692 /* Of struct psiconv_sheet_line_s */
693
686typedef struct psiconv_sheet_worksheet_s 694typedef 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
693typedef psiconv_list psiconv_sheet_worksheet_list; 703typedef psiconv_list psiconv_sheet_worksheet_list;
694 /* of struct psiconv_sheet_worksheet */ 704 /* of struct psiconv_sheet_worksheet */
695 705
767extern psiconv_character_layout psiconv_clone_character_layout 777extern 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. */
771extern psiconv_word_style psiconv_get_style (psiconv_word_styles_section ss, int nr); 781extern 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. */
772extern psiconv_formula psiconv_get_formula (psiconv_formula_list ss, int nr); 783extern psiconv_formula psiconv_get_formula (psiconv_formula_list ss, int nr);
784
785/* Return the default layout */
786extern 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);
773 791
774extern void psiconv_free_color(psiconv_color color); 792extern void psiconv_free_color(psiconv_color color);
775extern void psiconv_free_border(psiconv_border border); 793extern void psiconv_free_border(psiconv_border border);
776extern void psiconv_free_bullet(psiconv_bullet bullet); 794extern void psiconv_free_bullet(psiconv_bullet bullet);
777extern void psiconv_free_font(psiconv_font font); 795extern void psiconv_free_font(psiconv_font font);
794extern void psiconv_free_sheet_f(psiconv_sheet_f file); 812extern void psiconv_free_sheet_f(psiconv_sheet_f file);
795extern void psiconv_free_sheet_cell(psiconv_sheet_cell cell); 813extern void psiconv_free_sheet_cell(psiconv_sheet_cell cell);
796extern void psiconv_free_sheet_cell_list(psiconv_sheet_cell_list list); 814extern void psiconv_free_sheet_cell_list(psiconv_sheet_cell_list list);
797extern void psiconv_free_sheet_numberformat 815extern void psiconv_free_sheet_numberformat
798 (psiconv_sheet_numberformat numberformat); 816 (psiconv_sheet_numberformat numberformat);
817extern void psiconv_free_sheet_line_list(psiconv_sheet_line_list list);
818extern void psiconv_free_sheet_line(psiconv_sheet_line line);
799extern void psiconv_free_header_section(psiconv_header_section header); 819extern void psiconv_free_header_section(psiconv_header_section header);
800extern void psiconv_free_section_table_entry(psiconv_section_table_entry entry); 820extern void psiconv_free_section_table_entry(psiconv_section_table_entry entry);
801extern void psiconv_free_section_table_section 821extern void psiconv_free_section_table_section
802 (psiconv_section_table_section section); 822 (psiconv_section_table_section section);
803extern void psiconv_free_application_id_section 823extern void psiconv_free_application_id_section

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

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