#include <ap_Win32Dialog_PageSetup.h>
Public Member Functions | |
AP_Win32Dialog_PageSetup_Page () | |
~AP_Win32Dialog_PageSetup_Page () | |
void | setContainer (AP_Win32Dialog_PageSetup *pParent) |
AP_Win32Dialog_PageSetup * | getContainer () |
Static Public Member Functions | |
static INT_PTR CALLBACK | s_pageWndProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) |
Protected Member Functions | |
void | doSpinControl (UT_uint32 id, UT_sint32 delta) |
Private Member Functions | |
void | _onInitDialog () |
void | _onKillActive () |
BOOL | _onCommand (HWND hWnd, WPARAM wParam, LPARAM lParam) |
Private Attributes | |
AP_Win32Dialog_PageSetup * | m_pParent |
int | m_nCentered |
AP_Win32Dialog_PageSetup_Page::AP_Win32Dialog_PageSetup_Page | ( | ) |
References m_nCentered, s_pageWndProc(), and XAP_Win32PropertyPage::setDialogProc().
AP_Win32Dialog_PageSetup_Page::~AP_Win32Dialog_PageSetup_Page | ( | ) |
BOOL AP_Win32Dialog_PageSetup_Page::_onCommand | ( | HWND | hWnd, | |
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [private, virtual] |
Reimplemented from XAP_Win32DialogBase.
References BUFSIZE, fp_PageSize::getDims(), fp_PageSize::getPredefinedName(), fp_PageSize::Height(), AP_Dialog_PageSetup::LANDSCAPE, AP_Win32Dialog_PageSetup::m_bmpLandscape, AP_Win32Dialog_PageSetup::m_bmpPortrait, AP_Win32Dialog_PageSetup::m_PageSize, m_pParent, fp_PageSize::NameToPredefined(), AP_Dialog_PageSetup::PORTRAIT, fp_PageSize::Set(), fp_PageSize::setLandscape(), fp_PageSize::setPortrait(), AP_Win32Dialog_PageSetup::updateHeight(), AP_Win32Dialog_PageSetup::updatePageSize(), AP_Win32Dialog_PageSetup::updatePreview(), AP_Win32Dialog_PageSetup::updateWidth(), UT_DEBUGMSG, and fp_PageSize::Width().
void AP_Win32Dialog_PageSetup_Page::_onInitDialog | ( | ) | [private, virtual] |
Reimplemented from XAP_Win32PropertyPage.
References _DS, fp_PageSize::_first_predefined_pagesize_, _GVX, fp_PageSize::_last_predefined_pagesize_dont_use_, XAP_Win32DialogBase::addItemToCombo(), Color, XAP_Win32PropertyPage::getApp(), fp_PageSize::getDims(), XAP_Win32PropertyPage::getHandle(), XAP_Win32App::getStringSet(), XAP_StringSet::getValue(), AP_Win32Dialog_PageSetup::m_bmpLandscape, AP_Win32Dialog_PageSetup::m_bmpPortrait, AP_Win32Dialog_PageSetup::m_bmpPreview, AP_Win32Dialog_PageSetup::m_PageSize, m_pParent, AP_Dialog_PageSetup::PORTRAIT, fp_PageSize::PredefinedToLocalName(), XAP_Win32DialogBase::selectComboItem(), fp_PageSize::setLandscape(), fp_PageSize::setPortrait(), AP_Win32Dialog_PageSetup::updateHeight(), AP_Win32Dialog_PageSetup::updatePageSize(), AP_Win32Dialog_PageSetup::updateWidth(), and UT_Xpm2Bmp().
void AP_Win32Dialog_PageSetup_Page::_onKillActive | ( | ) | [inline, private, virtual] |
Reimplemented from XAP_Win32PropertyPage.
References fp_PageSize::getDims(), XAP_Win32PropertyPage::getHandle(), fp_PageSize::Height(), AP_Win32Dialog_PageSetup::m_PageSize, m_pParent, AP_Dialog_PageSetup::PORTRAIT, fp_PageSize::Set(), AP_Win32Dialog_PageSetup::updateHeight(), AP_Win32Dialog_PageSetup::updatePageSize(), AP_Win32Dialog_PageSetup::updatePreview(), AP_Win32Dialog_PageSetup::updateWidth(), and fp_PageSize::Width().
Referenced by s_pageWndProc().
AP_Win32Dialog_PageSetup* AP_Win32Dialog_PageSetup_Page::getContainer | ( | void | ) | [inline] |
INT_PTR CALLBACK AP_Win32Dialog_PageSetup_Page::s_pageWndProc | ( | HWND | hWnd, | |
UINT | msg, | |||
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [static] |
Reimplemented from XAP_Win32PropertyPage.
References doSpinControl(), m_nCentered, and XAP_Win32DialogHelper::s_centerDialog().
Referenced by AP_Win32Dialog_PageSetup_Page().
void AP_Win32Dialog_PageSetup_Page::setContainer | ( | AP_Win32Dialog_PageSetup * | pParent | ) | [inline] |
Referenced by AP_Win32Dialog_PageSetup::runModal().
int AP_Win32Dialog_PageSetup_Page::m_nCentered [private] |
Referenced by AP_Win32Dialog_PageSetup_Page(), and s_pageWndProc().
Reimplemented from XAP_Win32PropertyPage.
Referenced by _onCommand(), _onInitDialog(), and doSpinControl().