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

Class for the PDF page setup dialog. More...

#include <pdfprint.h>

Inheritance diagram for wxPdfPageSetupDialog:

Public Member Functions

 wxPdfPageSetupDialog (wxWindow *parent, wxPageSetupDialogData *data, const wxString &title=wxEmptyString)
 Constructor.
virtual ~wxPdfPageSetupDialog ()
 Destructor.
void OnOK (wxCommandEvent &event)
 Handle OK button press.
void OnMarginUnit (wxCommandEvent &event)
 Handle margin unit change.
void OnPaperType (wxCommandEvent &event)
 Handle paper type change.
void OnOrientation (wxCommandEvent &event)
 Handle orientation change.
void OnMarginText (wxCommandEvent &event)
 Handle margin text change.
virtual bool TransferDataFromWindow ()
 Transfer data from window controls.
virtual bool TransferDataToWindow ()
 Transfer data to window controls.
virtual wxPageSetupDialogData & GetPageSetupDialogData ()
 Get the page setup dialog data.
wxPageSetupDialogData & GetPageSetupData ()
 Get the page setup dialog data (compatibility name).

Protected Attributes

wxChoice * m_orientationChoice
wxChoice * m_marginUnits
wxTextCtrl * m_marginLeftText
wxTextCtrl * m_marginTopText
wxTextCtrl * m_marginRightText
wxTextCtrl * m_marginBottomText
wxChoice * m_paperTypeChoice

Detailed Description

Class for the PDF page setup dialog.

Constructor & Destructor Documentation

◆ wxPdfPageSetupDialog()

wxPdfPageSetupDialog::wxPdfPageSetupDialog ( wxWindow * parent,
wxPageSetupDialogData * data,
const wxString & title = wxEmptyString )

Constructor.

Parameters
parentThe parent window
dataThe page setup dialog data
titleThe dialog title

◆ ~wxPdfPageSetupDialog()

virtual wxPdfPageSetupDialog::~wxPdfPageSetupDialog ( )
virtual

Destructor.

Member Function Documentation

◆ GetPageSetupData()

wxPageSetupDialogData & wxPdfPageSetupDialog::GetPageSetupData ( )

Get the page setup dialog data (compatibility name).

Returns
The page setup dialog data

◆ GetPageSetupDialogData()

virtual wxPageSetupDialogData & wxPdfPageSetupDialog::GetPageSetupDialogData ( )
virtual

Get the page setup dialog data.

Returns
The page setup dialog data

◆ OnMarginText()

void wxPdfPageSetupDialog::OnMarginText ( wxCommandEvent & event)

Handle margin text change.

Parameters
eventThe command event

◆ OnMarginUnit()

void wxPdfPageSetupDialog::OnMarginUnit ( wxCommandEvent & event)

Handle margin unit change.

Parameters
eventThe command event

◆ OnOK()

void wxPdfPageSetupDialog::OnOK ( wxCommandEvent & event)

Handle OK button press.

Parameters
eventThe command event

◆ OnOrientation()

void wxPdfPageSetupDialog::OnOrientation ( wxCommandEvent & event)

Handle orientation change.

Parameters
eventThe command event

◆ OnPaperType()

void wxPdfPageSetupDialog::OnPaperType ( wxCommandEvent & event)

Handle paper type change.

Parameters
eventThe command event

◆ TransferDataFromWindow()

virtual bool wxPdfPageSetupDialog::TransferDataFromWindow ( )
virtual

Transfer data from window controls.

Returns
true if successful, false otherwise

◆ TransferDataToWindow()

virtual bool wxPdfPageSetupDialog::TransferDataToWindow ( )
virtual

Transfer data to window controls.

Returns
true if successful, false otherwise

Member Data Documentation

◆ m_marginBottomText

wxTextCtrl* wxPdfPageSetupDialog::m_marginBottomText
protected

◆ m_marginLeftText

wxTextCtrl* wxPdfPageSetupDialog::m_marginLeftText
protected

◆ m_marginRightText

wxTextCtrl* wxPdfPageSetupDialog::m_marginRightText
protected

◆ m_marginTopText

wxTextCtrl* wxPdfPageSetupDialog::m_marginTopText
protected

◆ m_marginUnits

wxChoice* wxPdfPageSetupDialog::m_marginUnits
protected

◆ m_orientationChoice

wxChoice* wxPdfPageSetupDialog::m_orientationChoice
protected

◆ m_paperTypeChoice

wxChoice* wxPdfPageSetupDialog::m_paperTypeChoice
protected

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