]> www.fi.muni.cz Git - evince.git/blobdiff - ps/ps-document.h
Added French translation Added fr to DOC_LINGUAS
[evince.git] / ps / ps-document.h
index 1c6761bd6db21d85f0cf54b2d76942205301f676..c8d19db3cb01f359775401de6cef47bf57b3cd81 100644 (file)
@@ -25,6 +25,7 @@
 #define __PS_DOCUMENT_H__
 
 #include <sys/types.h>
+#include <gtk/gtkwidget.h>
 
 #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 {