Update Spanish translation
[gnumeric.git] / src / preview-grid-impl.h
blob2127fa8648e2be896d1e876b7420bbf58244ec7e
1 #ifndef _GNM_PREVIEW_GRID_IMPL_H_
2 #define _GNM_PREVIEW_GRID_IMPL_H_
4 #include <preview-grid.h>
5 #include <goffice/goffice.h>
7 G_BEGIN_DECLS
9 struct GnmPreviewGrid_ {
10 GocGroup base;
12 Sheet *sheet;
14 struct GnmPreviewGridDefaults_ {
15 int col_width;
16 int row_height;
17 GnmStyle *style;
18 GnmValue *value;
19 } defaults;
21 gboolean gridlines;
24 typedef struct {
25 GocGroupClass parent_class;
27 /* Virtuals */
28 GnmStyle * (* get_cell_style) (GnmPreviewGrid *pg, int col, int row);
29 GnmValue*(* get_cell_value) (GnmPreviewGrid *pg, int col, int row);
30 } GnmPreviewGridClass;
32 #define GNM_PREVIEW_GRID_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), gnm_preview_grid_get_type (), GnmPreviewGridClass))
34 G_END_DECLS
36 #endif /* _GNM_PREVIEW_GRID_IMPL_H_ */