#include <ap_Win32Dialog_PageSetup.h>
AP_Win32Dialog_PageSetup::AP_Win32Dialog_PageSetup | ( | XAP_DialogFactory * | pDlgFactory, | |
XAP_Dialog_Id | id | |||
) |
Referenced by static_constructor().
AP_Win32Dialog_PageSetup::~AP_Win32Dialog_PageSetup | ( | void | ) | [virtual] |
XAP_DialogFactory* AP_Win32Dialog_PageSetup::getDialogFactory | ( | void | ) | [inline] |
XAP_Frame* AP_Win32Dialog_PageSetup::getFrame | ( | void | ) | [inline] |
void AP_Win32Dialog_PageSetup::runModal | ( | XAP_Frame * | pFrame | ) | [virtual] |
Implements AP_Dialog_PageSetup.
References AP_Dialog_PageSetup::a_OK, XAP_Win32PropertySheet::addPage(), XAP_Win32PropertyPage::createPage(), AP_Dialog_PageSetup::m_answer, m_margin, m_page, XAP_Dialog::m_pApp, AP_Dialog_PageSetup::m_pFrame, XAP_Win32PropertySheet::runModal(), AP_Win32Dialog_PageSetup_Margin::setContainer(), AP_Win32Dialog_PageSetup_Page::setContainer(), AP_Win32Dialog_PageSetup_Sheet::setParent(), and UT_return_if_fail.
XAP_Dialog * AP_Win32Dialog_PageSetup::static_constructor | ( | XAP_DialogFactory * | pDlgFactory, | |
XAP_Dialog_Id | id | |||
) | [static] |
References AP_Win32Dialog_PageSetup().
void AP_Win32Dialog_PageSetup::updateBottomMargin | ( | ) | [protected] |
References XAP_Win32PropertyPage::getHandle(), m_margin, and SIGDIGIT.
Referenced by AP_Win32Dialog_PageSetup_Margin::_onCommand(), AP_Win32Dialog_PageSetup_Margin::doSpinControl(), and updateMargins().
void AP_Win32Dialog_PageSetup::updateFooterMargin | ( | ) | [protected] |
References XAP_Win32PropertyPage::getHandle(), m_margin, and SIGDIGIT.
Referenced by AP_Win32Dialog_PageSetup_Margin::_onCommand(), AP_Win32Dialog_PageSetup_Margin::doSpinControl(), and updateMargins().
void AP_Win32Dialog_PageSetup::updateHeaderMargin | ( | ) | [protected] |
References XAP_Win32PropertyPage::getHandle(), m_margin, and SIGDIGIT.
Referenced by AP_Win32Dialog_PageSetup_Margin::_onCommand(), AP_Win32Dialog_PageSetup_Margin::doSpinControl(), and updateMargins().
void AP_Win32Dialog_PageSetup::updateHeight | ( | ) | [protected] |
void AP_Win32Dialog_PageSetup::updateLeftMargin | ( | ) | [protected] |
References XAP_Win32PropertyPage::getHandle(), m_margin, and SIGDIGIT.
Referenced by AP_Win32Dialog_PageSetup_Margin::_onCommand(), AP_Win32Dialog_PageSetup_Margin::doSpinControl(), and updateMargins().
void AP_Win32Dialog_PageSetup::updateMargins | ( | ) | [protected] |
void AP_Win32Dialog_PageSetup::updatePageSize | ( | ) | [protected] |
void AP_Win32Dialog_PageSetup::updatePreview | ( | void | ) | [protected] |
References DIM_MM, XAP_Win32PropertyPage::getHandle(), fp_PageSize::Height(), m_bmpPreview, m_margin, m_page, m_PageSize, mScale, and fp_PageSize::Width().
Referenced by AP_Win32Dialog_PageSetup_Margin::_onCommand(), AP_Win32Dialog_PageSetup_Page::_onCommand(), AP_Win32Dialog_PageSetup_Sheet::_onInitDialog(), AP_Win32Dialog_PageSetup_Margin::doSpinControl(), and AP_Win32Dialog_PageSetup_Page::doSpinControl().
void AP_Win32Dialog_PageSetup::updateRightMargin | ( | ) | [protected] |
References XAP_Win32PropertyPage::getHandle(), m_margin, and SIGDIGIT.
Referenced by AP_Win32Dialog_PageSetup_Margin::_onCommand(), AP_Win32Dialog_PageSetup_Margin::doSpinControl(), and updateMargins().
void AP_Win32Dialog_PageSetup::updateTopMargin | ( | ) | [protected] |
References XAP_Win32PropertyPage::getHandle(), m_margin, and SIGDIGIT.
Referenced by AP_Win32Dialog_PageSetup_Margin::_onCommand(), AP_Win32Dialog_PageSetup_Margin::doSpinControl(), and updateMargins().
void AP_Win32Dialog_PageSetup::updateWidth | ( | ) | [protected] |
friend class AP_Win32Dialog_PageSetup_Margin [friend] |
friend class AP_Win32Dialog_PageSetup_Page [friend] |
friend class AP_Win32Dialog_PageSetup_Sheet [friend] |
HBITMAP AP_Win32Dialog_PageSetup::m_bmpLandscape [protected] |
HBITMAP AP_Win32Dialog_PageSetup::m_bmpPortrait [protected] |
HBITMAP AP_Win32Dialog_PageSetup::m_bmpPreview [protected] |
Referenced by AP_Win32Dialog_PageSetup_Page::_onInitDialog(), and updatePreview().
Referenced by runModal(), updateHeight(), updatePageSize(), updatePreview(), and updateWidth().
fp_PageSize AP_Win32Dialog_PageSetup::m_PageSize [protected] |
Reimplemented from AP_Dialog_PageSetup.
Referenced by AP_Win32Dialog_PageSetup_Page::_onCommand(), AP_Win32Dialog_PageSetup_Sheet::_onCommand(), AP_Win32Dialog_PageSetup_Page::_onInitDialog(), AP_Win32Dialog_PageSetup_Page::doSpinControl(), updateHeight(), updatePageSize(), updatePreview(), and updateWidth().