CCLicensePropPage Class Reference

Class handling the license selection page of the Printer UI. More...

#include <CCLicensePropPage.h>

Inherits CCPrintUIPropPage.

Collaboration diagram for CCLicensePropPage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CCLicensePropPage (HANDLE hPrinter, IPrintOemDriverUI *pHelper, POEMDEV pDevMode=NULL, PDEVMODE pPublicDM=NULL)
 Constructor.
 ~CCLicensePropPage ()
 Destructor: deletes the license image if available.

Protected Member Functions

virtual BOOL PageProc (UINT uMsg, WPARAM wParam, LPARAM lParam)
 Called when a window message is sent to the page.
void UpdateControls ()
 Updates the page controls (enabling/showing according to the current settings).
void UpdateLicenseControls ()
 Updates the license selection controls.
void UpdateLicenseLocationControls ()
 Updates the license location controls.
void InitControls ()
 Resets the license and location data and updates the page controls.
SIZE GetPageSize ()
 Returns the size of the currently selected print page.
SIZE GetLicenseSize ()
 Returns the size of the currently selected license stamp.

Protected Attributes

HBITMAP m_hBmp
 Handle to the license image.
LicenseInfoLoader m_license
 License data.
LicenseLocationInfo m_location
 License location data.
BOOL m_bSetProperties
 Flag incidating if the license properties should be added to the PDF's XMP.
PDEVMODE m_pPublicDM
 Pointer to the general printer data structure.

Detailed Description

Class handling the license selection page of the Printer UI.

Definition at line 39 of file CCLicensePropPage.h.


Constructor & Destructor Documentation

CCLicensePropPage::CCLicensePropPage ( HANDLE  hPrinter,
IPrintOemDriverUI *  pHelper,
POEMDEV  pDevMode = NULL,
PDEVMODE  pPublicDM = NULL 
) [inline]

Constructor.

Parameters:
hPrinter Handle to the printer
pHelper Pointer to the Print UI Core object
pDevMode Pointer to the CCPrinter data structure (can be NULL)
pPublicDM Pointer to the General printer data structure (can be NULL)

Definition at line 50 of file CCLicensePropPage.h.


Member Function Documentation

SIZE CCLicensePropPage::GetLicenseSize (  )  [protected]

Returns the size of the currently selected license stamp.

Returns:
The size of the license stamp

Definition at line 396 of file CCLicensePropPage.cpp.

References m_pPublicDM.

Referenced by PageProc().

SIZE CCLicensePropPage::GetPageSize (  )  [protected]

Returns the size of the currently selected print page.

Returns:
Size of the page (from the general printer structure)

Definition at line 373 of file CCLicensePropPage.cpp.

References m_pPublicDM.

Referenced by PageProc().

BOOL CCLicensePropPage::PageProc ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

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

Generated on Mon Jun 18 12:40:41 2012 for CC PDF Converter by doxygen 1.6.1