First attempt at a psppire print dialog.
[pspp-builds.git] / src / ui / gui / psppire-output-window.h
index 7b62be2069ada9147065c49ce8832ae70a9c4b09..c242e732881f4076e179da6a618b1b04352f463b 100644 (file)
@@ -24,6 +24,7 @@
 #include <gtk/gtkaction.h>
 #include <gtk/gtktextbuffer.h>
 #include "psppire-window.h"
+#include "psppire.h"
 #include <gtk/gtk.h>
 
 extern int viewer_length;
@@ -51,8 +52,23 @@ struct _PsppireOutputWindow
   PsppireWindow parent;
 
   /* <private> */
+  struct psppire_output_driver *driver;
   GtkLayout *output;
+  int max_width;
   int y;
+
+  GtkTreeView *overview;
+  GtkTreeIter cur_command;
+  bool in_command;
+
+  struct output_item **items;
+  size_t n_items, allocated_items;
+
+  /* Variables pertaining to printing */
+  GtkPrintSettings *print_settings;
+  struct xr_driver *print_xrd;
+  int print_item;
+  int print_n_pages;
 };
 
 struct _PsppireOutputWindowClass