]> git.donarmstrong.com Git - xournal.git/blob - src/xo-file.h
Add internationalization support.
[xournal.git] / src / xo-file.h
1 #define DEFAULT_SHORTEN_MENUS \
2   "optionsAntialiasBG optionsProgressiveBG optionsLeftHanded"
3
4 #define GS_CMDLINE \
5   "gs -sDEVICE=bmp16m -r%f -q -sOutputFile=- " \
6   "-dNOPAUSE -dBATCH -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4 %s"
7
8 extern int GS_BITMAP_DPI, PDFTOPPM_PRINTING_DPI;
9
10 #define TMPDIR_TEMPLATE "/tmp/xournalpdf.XXXXXX"
11
12 void new_journal(void);
13 gboolean save_journal(const char *filename);
14 gboolean close_journal(void);
15 gboolean open_journal(char *filename);
16
17 struct Background *attempt_load_pix_bg(char *filename, gboolean attach);
18 GList *attempt_load_gv_bg(char *filename);
19 struct Background *attempt_screenshot_bg(void);
20
21 void cancel_bgpdf_request(struct BgPdfRequest *req);
22 void add_bgpdf_request(int pageno, double zoom);
23 gboolean bgpdf_scheduler_callback(gpointer data);
24 void shutdown_bgpdf(void);
25 gboolean init_bgpdf(char *pdfname, gboolean create_pages, int file_domain);
26
27 void bgpdf_create_page_with_bg(int pageno, struct BgPdfPage *bgpg);
28 void bgpdf_update_bg(int pageno, struct BgPdfPage *bgpg);
29
30 void init_mru(void);
31 void update_mru_menu(void);
32 void new_mru_entry(char *name);
33 void delete_mru_entry(int which);
34 void save_mru_list(void);
35
36 void init_config_default(void);
37 void load_config_from_file(void);
38 void save_config_to_file(void);