Update Spanish translation
[gnumeric.git] / src / print.h
blob0cb8f25505d6568c284bd92e2e8d6d0eeedaa093
1 #ifndef _GNM_PRINT_H_
2 # define _GNM_PRINT_H_
4 #include <gnumeric.h>
5 #include <gsf/gsf-output.h>
6 #include <cairo.h>
8 G_BEGIN_DECLS
10 #define GNUMERIC_PRINT_SETTING_PRINTRANGE_KEY "GnumericPrintRange"
11 #define GNUMERIC_PRINT_SETTING_PRINT_FROM_SHEET_KEY "GnumericPrintFromSheet"
12 #define GNUMERIC_PRINT_SETTING_PRINT_TO_SHEET_KEY "GnumericPrintToSheet"
13 #define GNUMERIC_PRINT_SETTING_IGNORE_PAGE_BREAKS_KEY "GnumericPrintIgnorePageBreaks"
15 GType gnm_print_range_get_type (void);
16 #define GNM_PRINT_RANGE_TYPE (gnm_print_range_get_type ())
18 typedef enum { /* These numbers are saved in pre 1.11.x .gnumeric files */
19 /* In 1.11.x and later the names as defined in */
20 /* gnm_print_range_get_type are used */
21 GNM_PRINT_SAVED_INFO = -1,
22 GNM_PRINT_ACTIVE_SHEET = 0,
23 GNM_PRINT_ALL_SHEETS = 1,
24 GNM_PRINT_ALL_SHEETS_INCLUDING_HIDDEN = 2,
25 GNM_PRINT_SHEET_RANGE = 3,
26 GNM_PRINT_SHEET_SELECTION = 4,
27 GNM_PRINT_IGNORE_PRINTAREA = 5,
28 GNM_PRINT_SHEET_SELECTION_IGNORE_PRINTAREA = 6
29 } PrintRange;
31 void gnm_print_sheet (WorkbookControl *wbc, Sheet *sheet,
32 gboolean preview, PrintRange default_range,
33 GsfOutput *export_dst);
35 void gnm_print_so (WorkbookControl *wbc, GPtrArray *sos,
36 GsfOutput *export_dst);
38 void gnm_print_sheet_objects (cairo_t *cr,
39 Sheet const *sheet,
40 GnmRange *range,
41 double base_x, double base_y);
43 G_END_DECLS
45 #endif /* _GNM_PRINT_H_ */