From d5f6bff1a13c848afbd74dd2e82c78bbdead54d2 Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Thu, 31 Oct 2002 19:34:00 +0000 Subject: add field for GPdfView (gc_setup_widgets, gc_set_pdf_cb, * xpdf/gpdf-control.cc (_GpdfControlPrivate): add field for GPdfView (gc_setup_widgets, gc_set_pdf_cb, verb_GoPageLast_cb) (verb_GoPageFirst_cb, verb_GoPageNext_cb, verb_GoPagePrev_cb): use GPdfView instead of PdfView * xpdf/gpdf-view.cc, xpdf/gpdf-view.h: widget for for GPOutputDev to draw on. Using GnomePrintPreview. * xpdf/GPOutputDev.cc, xpdf/GPOutputDev.h: new Gnome Print Output Device class, strokes and fills look (surprisingly) quite okay, font and text handling is throw-away code * xpdf/gpdf-util.h (BEGIN_C_DECLS, END_C_DECLS): remove macros, use those from glib (GPDF_BOILERPLATE, GPDF_CLASS_BOILERPLATE, GPDF_REGISTER_TYPE): macros from bonobo-macros.h and gnome-macros.h compatible with c++ type system rules * xpdf/OutputDev.h: declare class Object * xpdf/Gfx.h: include Object.h * configure.in: check for libgnomeprint(ui)-2.0 --- (limited to 'pdf/xpdf/GfxState.cc') -- cgit v0.9.1