#include <ap_Win32Dialog_FormatTOC.h>
Public Member Functions | |
AP_Win32Dialog_FormatTOC_Layout () | |
~AP_Win32Dialog_FormatTOC_Layout () | |
void | setContainer (AP_Win32Dialog_FormatTOC *pData) |
AP_Win32Dialog_FormatTOC * | getContainer () |
void | _fillGUI (void) |
virtual BOOL | _onCommand (HWND hWnd, WPARAM wParam, LPARAM lParam) |
virtual void | _onNotify (LPNMHDR hdr, int iCtrlID) |
void | saveCtrlsValuesForDetailsLevel () |
void | loadCtrlsValuesForDetailsLevel () |
Private Member Functions | |
virtual void | _onInitDialog () |
virtual void | _onApply () |
virtual void | _onOK () |
void | getCtrlsValues () |
Private Attributes | |
AP_Win32Dialog_FormatTOC * | m_pData |
AP_Win32Dialog_FormatTOC_Layout::AP_Win32Dialog_FormatTOC_Layout | ( | ) |
AP_Win32Dialog_FormatTOC_Layout::~AP_Win32Dialog_FormatTOC_Layout | ( | ) |
void AP_Win32Dialog_FormatTOC_Layout::_fillGUI | ( | void | ) |
void AP_Win32Dialog_FormatTOC_Layout::_onApply | ( | ) | [private, virtual] |
Reimplemented from XAP_Win32PropertyPage.
References AP_Dialog_FormatTOC::Apply(), getContainer(), and saveCtrlsValuesForDetailsLevel().
Referenced by _onOK().
BOOL AP_Win32Dialog_FormatTOC_Layout::_onCommand | ( | HWND | hWnd, | |
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [virtual] |
Reimplemented from XAP_Win32DialogBase.
References XAP_Win32DialogBase::getComboSelectedIndex(), getContainer(), saveCtrlsValuesForDetailsLevel(), and AP_Win32Dialog_FormatTOC::setDetailsLevel().
void AP_Win32Dialog_FormatTOC_Layout::_onInitDialog | ( | ) | [private, virtual] |
Reimplemented from XAP_Win32PropertyPage.
References XAP_Win32DialogBase::addItemToCombo(), XAP_Win32PropertyPage::getApp(), getContainer(), AP_Dialog_FormatFootnotes::getFootnoteTypeLabelList(), XAP_Win32PropertyPage::getHandle(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), XAP_Win32App::getStringSet(), XAP_StringSet::getValue(), AP_Dialog_FormatTOC::getVecTABLeadersLabel(), FootnoteTypeDesc::label, loadCtrlsValuesForDetailsLevel(), FootnoteTypeDesc::n, XAP_Win32DialogBase::selectComboItem(), XAP_Win32DialogBase::setComboDataItem(), XAP_Win32DialogBase::setDlgItemText(), and UT_DEBUGMSG.
void AP_Win32Dialog_FormatTOC_Layout::_onNotify | ( | LPNMHDR | hdr, | |
int | iCtrlID | |||
) | [virtual] |
void AP_Win32Dialog_FormatTOC_Layout::_onOK | ( | ) | [private, virtual] |
Reimplemented from XAP_Win32PropertyPage.
References _onApply().
AP_Win32Dialog_FormatTOC* AP_Win32Dialog_FormatTOC_Layout::getContainer | ( | void | ) | [inline] |
Referenced by _fillGUI(), _onApply(), _onCommand(), _onInitDialog(), _onNotify(), loadCtrlsValuesForDetailsLevel(), and saveCtrlsValuesForDetailsLevel().
void AP_Win32Dialog_FormatTOC_Layout::getCtrlsValues | ( | ) | [private] |
void AP_Win32Dialog_FormatTOC_Layout::loadCtrlsValuesForDetailsLevel | ( | ) |
References FL_DocLayout::FootnoteTypeFromString(), XAP_Dialog_Modeless::getActiveFrame(), getContainer(), XAP_Frame::getCurrentView(), XAP_Win32PropertyPage::getHandle(), FV_View::getLayout(), AP_Dialog_FormatTOC::getTOCPropVal(), AP_Win32App::s_fromUTF8ToWinLocale(), pt_PieceTable::s_getLocalisedStyleName(), and UT_UTF8String::utf8_str().
Referenced by _onInitDialog(), and AP_Win32Dialog_FormatTOC::setDetailsLevel().
void AP_Win32Dialog_FormatTOC_Layout::saveCtrlsValuesForDetailsLevel | ( | ) |
References UT_String::c_str(), XAP_Win32DialogBase::getComboSelectedIndex(), getContainer(), AP_Dialog_FormatFootnotes::getFootnoteTypeLabelList(), XAP_Win32PropertyPage::getHandle(), FootnoteTypeDesc::prop, AP_Win32App::s_fromWinLocaleToUTF8(), AP_Dialog_FormatTOC::setTOCProperty(), and UT_String_sprintf().
Referenced by _onApply(), and _onCommand().
void AP_Win32Dialog_FormatTOC_Layout::setContainer | ( | AP_Win32Dialog_FormatTOC * | pData | ) | [inline] |
Referenced by AP_Win32Dialog_FormatTOC::runModeless().