21 #ifndef GNUCASH_STYLE_H
22 #define GNUCASH_STYLE_H
24 #include "gnucash-sheet.h"
34 gboolean can_span_over;
65 gboolean gnucash_style_init (
void);
67 void gnucash_sheet_style_init(
void);
74 void gnucash_sheet_set_col_width (
GnucashSheet *sheet,
int col,
int width);
78 void gnucash_sheet_styles_set_dimensions (
GnucashSheet *sheet,
int width);
87 void gnucash_sheet_styles_recompile (
GnucashSheet *sheet);
97 gnucash_sheet_get_style_from_cursor (
GnucashSheet *sheet,
98 const char *cursor_name);
100 void gnucash_sheet_style_get_cell_pixel_rel_coords (
SheetBlockStyle *style,
112 typedef GHashTable *GNCHeaderWidths;
114 GNCHeaderWidths gnc_header_widths_new (
void);
115 void gnc_header_widths_destroy (GNCHeaderWidths widths);
116 void gnc_header_widths_set_width (GNCHeaderWidths widths,
117 const char *cell_name,
119 int gnc_header_widths_get_width (GNCHeaderWidths widths,
120 const char *cell_name);
122 void gnucash_sheet_get_header_widths (
GnucashSheet *sheet,
123 GNCHeaderWidths widths);
124 void gnucash_sheet_set_header_widths (
GnucashSheet *sheet,
125 GNCHeaderWidths widths);