#define __PS_DOCUMENT_H__
#include <sys/types.h>
+#include <gtk/gtkwidget.h>
#include "ev-document.h"
#include "ps.h"
struct _PSDocument {
GObject object;
+ GtkWidget *target_window;
GdkWindow *pstarget;
GdkPixmap *bpixmap;
long message_window; /* Used by ghostview to receive messages from app */
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;
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 {