1 #define DEFAULT_SHORTEN_MENUS \
2 "optionsProgressiveBG optionsLeftHanded optionsButtonSwitchMapping"
5 "gs -sDEVICE=bmp16m -r%f -q -sOutputFile=- " \
6 "-dNOPAUSE -dBATCH -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4 %s"
8 extern int GS_BITMAP_DPI, PDFTOPPM_PRINTING_DPI;
10 #define TMPDIR_TEMPLATE "/tmp/xournalpdf.XXXXXX"
12 void new_journal(void);
13 gboolean save_journal(const char *filename);
14 gboolean close_journal(void);
15 gboolean open_journal(char *filename);
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);
21 void cancel_bgpdf_request(struct BgPdfRequest *req);
22 gboolean 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);
27 void bgpdf_create_page_with_bg(int pageno, struct BgPdfPage *bgpg);
28 void bgpdf_update_bg(int pageno, struct BgPdfPage *bgpg);
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);
36 void init_config_default(void);
37 void load_config_from_file(void);
38 void save_config_to_file(void);