wxPdfDocument  1.4.0
Library for generating PDF documents from wxWidgets applications
Loading...
Searching...
No Matches
wxPdfPrinter Class Reference

Class for managing the printing process to PDF. More...

#include <pdfprint.h>

Inheritance diagram for wxPdfPrinter:

Public Member Functions

 wxPdfPrinter ()
 Default constructor.
 wxPdfPrinter (wxPrintDialogData *data)
 Constructor from wxPrintDialogData.
 wxPdfPrinter (wxPdfPrintData *data)
 Constructor from wxPdfPrintData.
 wxPdfPrinter (wxPrintData *data)
 Constructor from wxPrintData.
virtual bool Print (wxWindow *parent, wxPrintout *printout, bool prompt=true)
 Print a printout.
virtual wxDC * PrintDialog (wxWindow *parent)
 Show the print dialog.
virtual bool Setup (wxWindow *parent)
 Show the setup dialog.
void ShowProgressDialog (bool show)
 Show or hide the progress dialog.

Detailed Description

Class for managing the printing process to PDF.

Constructor & Destructor Documentation

◆ wxPdfPrinter() [1/4]

wxPdfPrinter::wxPdfPrinter ( )

Default constructor.

◆ wxPdfPrinter() [2/4]

wxPdfPrinter::wxPdfPrinter ( wxPrintDialogData * data)

Constructor from wxPrintDialogData.

Parameters
dataThe print dialog data

◆ wxPdfPrinter() [3/4]

wxPdfPrinter::wxPdfPrinter ( wxPdfPrintData * data)

Constructor from wxPdfPrintData.

Parameters
dataThe PDF print data

◆ wxPdfPrinter() [4/4]

wxPdfPrinter::wxPdfPrinter ( wxPrintData * data)

Constructor from wxPrintData.

Parameters
dataThe print data

Member Function Documentation

◆ Print()

virtual bool wxPdfPrinter::Print ( wxWindow * parent,
wxPrintout * printout,
bool prompt = true )
virtual

Print a printout.

Parameters
parentThe parent window
printoutThe printout to print
prompttrue to show the print dialog, false otherwise
Returns
true if successful, false otherwise

◆ PrintDialog()

virtual wxDC * wxPdfPrinter::PrintDialog ( wxWindow * parent)
virtual

Show the print dialog.

Parameters
parentThe parent window
Returns
The device context if successful, NULL otherwise

◆ Setup()

virtual bool wxPdfPrinter::Setup ( wxWindow * parent)
virtual

Show the setup dialog.

Parameters
parentThe parent window
Returns
true if successful, false otherwise

◆ ShowProgressDialog()

void wxPdfPrinter::ShowProgressDialog ( bool show)
inline

Show or hide the progress dialog.

Parameters
showtrue to show the progress dialog, false otherwise

The documentation for this class was generated from the following file:
  • E:/github/wxpdfdoc-current/include/wx/pdfprint.h