Public Member Functions | Static Public Member Functions | Protected Attributes

XAP_UnixDialog_Print Class Reference

#include <xap_UnixDlg_Print.h>

Inheritance diagram for XAP_UnixDialog_Print:
XAP_Dialog_Print XAP_Dialog_AppPersistent XAP_Dialog_Persistent XAP_Dialog

List of all members.

Public Member Functions

 XAP_UnixDialog_Print (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~XAP_UnixDialog_Print (void)
virtual void runModal (XAP_Frame *pFrame)
virtual GR_GraphicsgetPrinterGraphicsContext (void)
virtual void releasePrinterGraphicsContext (GR_Graphics *)
void setupPrint (void)
void BeginPrint (GtkPrintContext *context)
void PrintPage (gint iPage)
virtual void setPreview (bool b)
virtual void PrintDirectly (XAP_Frame *pFrame, const char *szFilename, const char *szPrinter)
void cleanup (void)

Static Public Member Functions

static XAP_Dialogstatic_constructor (XAP_DialogFactory *, XAP_Dialog_Id id)

Protected Attributes

GR_Graphics::ColorSpace colorSpace
bool m_bIsPreview
GtkPageSetup * m_pPageSetup
GtkPaperSize * m_pGtkPageSize
GtkPrintOperation * m_pPO
gint m_iNumberPages
gint m_iCurrentPage
bool m_bDidQuickPrint
bool m_bShowParagraphs

Constructor & Destructor Documentation

XAP_UnixDialog_Print::XAP_UnixDialog_Print ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 

Referenced by static_constructor().

XAP_UnixDialog_Print::~XAP_UnixDialog_Print ( void   )  [virtual]

Member Function Documentation

GR_Graphics * XAP_UnixDialog_Print::getPrinterGraphicsContext ( void   )  [virtual]

Implements XAP_Dialog_Print.

References m_pPrintGraphics.

void XAP_UnixDialog_Print::PrintDirectly ( XAP_Frame pFrame,
const char *  szFilename,
const char *  szPrinter 
) [virtual]

Reimplemented from XAP_Dialog_Print.

References cleanup(), m_pFrame, m_pPO, and setupPrint().

void XAP_UnixDialog_Print::releasePrinterGraphicsContext ( GR_Graphics pGraphics  )  [virtual]
void XAP_UnixDialog_Print::runModal ( XAP_Frame pFrame  )  [virtual]
void XAP_UnixDialog_Print::setPreview ( bool  b  )  [virtual]

Reimplemented from XAP_Dialog_Print.

References m_bIsPreview.

XAP_Dialog * XAP_UnixDialog_Print::static_constructor ( XAP_DialogFactory pFactory,
XAP_Dialog_Id  id 
) [static]

Member Data Documentation

Referenced by BeginPrint(), and cleanup().

Referenced by runModal(), and setPreview().

Referenced by BeginPrint(), and cleanup().

Referenced by setupPrint().

The documentation for this class was generated from the following files: