#include <ap_Win32Dialog_PageSetup.h>
Public Member Functions | |
AP_Win32Dialog_PageSetup_Margin () | |
~AP_Win32Dialog_PageSetup_Margin () | |
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 |
AP_Win32Dialog_PageSetup_Margin::AP_Win32Dialog_PageSetup_Margin | ( | ) |
References s_pageWndProc(), and XAP_Win32PropertyPage::setDialogProc().
AP_Win32Dialog_PageSetup_Margin::~AP_Win32Dialog_PageSetup_Margin | ( | ) |
BOOL AP_Win32Dialog_PageSetup_Margin::_onCommand | ( | HWND | hWnd, | |
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [private, virtual] |
Reimplemented from XAP_Win32DialogBase.
References BUFSIZE, EPSILON, m_pParent, mScale, AP_Win32Dialog_PageSetup::updateBottomMargin(), AP_Win32Dialog_PageSetup::updateFooterMargin(), AP_Win32Dialog_PageSetup::updateHeaderMargin(), AP_Win32Dialog_PageSetup::updateLeftMargin(), AP_Win32Dialog_PageSetup::updateMargins(), AP_Win32Dialog_PageSetup::updatePreview(), AP_Win32Dialog_PageSetup::updateRightMargin(), AP_Win32Dialog_PageSetup::updateTopMargin(), and UT_DEBUGMSG.
void AP_Win32Dialog_PageSetup_Margin::_onInitDialog | ( | ) | [private, virtual] |
void AP_Win32Dialog_PageSetup_Margin::_onKillActive | ( | ) | [inline, private, virtual] |
Reimplemented from XAP_Win32PropertyPage.
References m_pParent, AP_Win32Dialog_PageSetup::updateBottomMargin(), AP_Win32Dialog_PageSetup::updateFooterMargin(), AP_Win32Dialog_PageSetup::updateHeaderMargin(), AP_Win32Dialog_PageSetup::updateLeftMargin(), AP_Win32Dialog_PageSetup::updatePreview(), AP_Win32Dialog_PageSetup::updateRightMargin(), and AP_Win32Dialog_PageSetup::updateTopMargin().
Referenced by s_pageWndProc().
AP_Win32Dialog_PageSetup* AP_Win32Dialog_PageSetup_Margin::getContainer | ( | void | ) | [inline] |
INT_PTR CALLBACK AP_Win32Dialog_PageSetup_Margin::s_pageWndProc | ( | HWND | hWnd, | |
UINT | msg, | |||
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [static] |
Reimplemented from XAP_Win32PropertyPage.
References doSpinControl().
Referenced by AP_Win32Dialog_PageSetup_Margin().
void AP_Win32Dialog_PageSetup_Margin::setContainer | ( | AP_Win32Dialog_PageSetup * | pParent | ) | [inline] |
Referenced by AP_Win32Dialog_PageSetup::runModal().
Reimplemented from XAP_Win32PropertyPage.
Referenced by _onCommand(), _onInitDialog(), and doSpinControl().