wxMaxima
Loading...
Searching...
No Matches
Public Member Functions
wxPdfPrinter Class Reference

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

#include <pdfprint.h>

Inheritance diagram for wxPdfPrinter:
[legend]
Collaboration diagram for wxPdfPrinter:
[legend]

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/3]

wxPdfPrinter::wxPdfPrinter ( wxPrintDialogData *  data)

Constructor from wxPrintDialogData.

Parameters
dataThe print dialog data

◆ wxPdfPrinter() [2/3]

wxPdfPrinter::wxPdfPrinter ( wxPdfPrintData *  data)

Constructor from wxPdfPrintData.

Parameters
dataThe PDF print data

◆ wxPdfPrinter() [3/3]

wxPdfPrinter::wxPdfPrinter ( wxPrintData *  data)

Constructor from wxPrintData.

Parameters
dataThe print data

Member Function Documentation

◆ Print()

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()

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

Show the print dialog.

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

◆ Setup()

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 files: