X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=ps%2Fps-document.h;h=c8d19db3cb01f359775401de6cef47bf57b3cd81;hb=1a9964cbdc190840aa6ea2d762be1b8132d3dcbb;hp=1c6761bd6db21d85f0cf54b2d76942205301f676;hpb=1c0d19bd22598eca159c3febdcdaf4168891cb8f;p=evince.git diff --git a/ps/ps-document.h b/ps/ps-document.h index 1c6761bd..c8d19db3 100644 --- a/ps/ps-document.h +++ b/ps/ps-document.h @@ -25,6 +25,7 @@ #define __PS_DOCUMENT_H__ #include +#include #include "ev-document.h" #include "ps.h" @@ -43,6 +44,7 @@ typedef struct _PSDocumentClass PSDocumentClass; struct _PSDocument { GObject object; + GtkWidget *target_window; GdkWindow *pstarget; GdkPixmap *bpixmap; long message_window; /* Used by ghostview to receive messages from app */ @@ -55,19 +57,8 @@ struct _PSDocument { guint interpreter_output_id; guint interpreter_error_id; - gint width; /* Size of window at last setup() */ - gint llx; - gint lly; - gint urx; - gint ury; - gint height; - gint orientation; gboolean busy; /* Is gs busy drawing? */ - gfloat zoom_factor; - gint current_page; gboolean structured_doc; - gboolean loaded; - gboolean changed; struct record_list *ps_input; gchar *input_buffer_ptr; @@ -81,11 +72,11 @@ struct _PSDocument { gboolean send_filename_to_gs; /* True if gs should read from file directly */ gboolean reading_from_pipe; /* True if ggv is reading input from pipe */ struct document *doc; + + int *ps_export_pagelist; + char *ps_export_filename; const gchar *gs_status; /* PSDocument status */ - - int page_x_offset; - int page_y_offset; }; struct _PSDocumentClass {