Update Spanish translation
[gnumeric.git] / src / sheet-object-cell-comment.h
blob62ded718e131408e0727af0d561aa165bcf8afb7
1 #ifndef _GNM_SHEET_OBJECT_CELL_COMMENT_H_
2 # define _GNM_SHEET_OBJECT_CELL_COMMENT_H_
4 #include <sheet-object.h>
6 G_BEGIN_DECLS
8 #define GNM_CELL_COMMENT_TYPE (cell_comment_get_type ())
9 #define GNM_CELL_COMMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNM_CELL_COMMENT_TYPE, GnmComment))
10 #define GNM_IS_CELL_COMMENT(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GNM_CELL_COMMENT_TYPE))
12 GType cell_comment_get_type (void);
14 char const *cell_comment_author_get (GnmComment const *cc);
15 void cell_comment_author_set (GnmComment *cc, char const *author);
16 char const *cell_comment_text_get (GnmComment const *cc);
17 void cell_comment_text_set (GnmComment *cc, char const *text);
19 /* convenience routine */
20 void cell_comment_set_pos (GnmComment *cc, GnmCellPos const *pos);
21 GnmComment *cell_set_comment (Sheet *sheet, GnmCellPos const *pos,
22 char const *author, char const *text,
23 PangoAttrList * markup);
25 G_END_DECLS
27 #endif /* _GNM_SHEET_OBJECT_CELL_COMMENT_H_ */