|
OpenCPN Partial API docs
|
Handle the print process and dialog. More...
#include <print_dialog.h>
Public Member Functions | |
| PrintDialog (wxPrintOrientation orientation)=delete | |
| PrintDialog & | operator= (const PrintDialog &)=delete |
| void | Initialize (wxPrintOrientation orientation) |
| Initialize the printer with default setup. | |
| void | EnablePageNumbers (bool enable) |
| Print page numbers. | |
| void | Print (wxWindow *parent, wxPrintout *output) |
| Start print process and opens the print dialog. | |
Static Public Member Functions | |
| static PrintDialog & | GetInstance () |
| Get instance to handle the print process,. | |
Handle the print process and dialog.
Definition at line 27 of file print_dialog.h.
| void PrintDialog::EnablePageNumbers | ( | bool | enable | ) |
Print page numbers.
| enable | Enable or disable page numbers. |
Definition at line 43 of file print_dialog.cpp.
|
static |
Get instance to handle the print process,.
Definition at line 29 of file print_dialog.cpp.
| void PrintDialog::Initialize | ( | wxPrintOrientation | orientation | ) |
Initialize the printer with default setup.
| orientation | Default page orientation. |
Definition at line 34 of file print_dialog.cpp.
| void PrintDialog::Print | ( | wxWindow * | parent, |
| wxPrintout * | output ) |
Start print process and opens the print dialog.
| parent | Parent window. |
| output | Printer output. |
Definition at line 47 of file print_dialog.cpp.