GUI: Move .ui files from goffice resources to glib resources
[gnumeric.git] / src / cellspan.h
blob980bd66a3dc75a7cbbcdfddb3c0616a6aa06202c
1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef _GNM_CELLSPAN_H_
3 # define _GNM_CELLSPAN_H_
5 #include "gnumeric.h"
7 G_BEGIN_DECLS
9 typedef struct {
10 GnmCell const *cell;
11 int left, right;
12 } CellSpanInfo;
14 void cell_calc_span (GnmCell const *cell, int *col1, int *col2);
16 /* Management routines for spans */
17 void cell_register_span (GnmCell const *cell, int left, int right);
18 void cell_unregister_span (GnmCell const *cell);
20 GType cell_span_info_get_type (void);
21 CellSpanInfo const *row_span_get (ColRowInfo const *ri, int col);
22 void row_destroy_span (ColRowInfo *ri);
23 void row_calc_spans (ColRowInfo *ri, int row, Sheet const *sheet);
25 G_END_DECLS
27 #endif /* _GNM_CELLSPAN_H_ */