Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes

AP_Win32Dialog_Options Class Reference

#include <ap_Win32Dialog_Options.h>

Inheritance diagram for AP_Win32Dialog_Options:
AP_Dialog_Options XAP_Win32DialogBase XAP_TabbedDialog_NonPersistent XAP_Dialog_NonPersistent XAP_Dialog

List of all members.

Public Member Functions

 AP_Win32Dialog_Options (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~AP_Win32Dialog_Options (void)
virtual void runModal (XAP_Frame *pFrame)
HWND getPage (PSH_PAGES page)
XAP_DialogFactorygetDialogFactory ()
XAP_FramegetFrame ()
void checkLanguageChange ()
HFONT getBoldFontHandle ()

Static Public Member Functions

static XAP_Dialogstatic_constructor (XAP_DialogFactory *, XAP_Dialog_Id id)

Protected Member Functions

virtual void _controlEnable (tControl id, bool value)
virtual void _initEnableControlsPlatformSpecific ()
 SET_GATHER (SpellCheckAsType, bool)
 SET_GATHER (SpellHideErrors, bool)
 SET_GATHER (SpellSuggest, bool)
 SET_GATHER (SpellMainOnly, bool)
 SET_GATHER (SpellUppercase, bool)
 SET_GATHER (SpellNumbers, bool)
 SET_GATHER (GrammarCheck, bool)
 SET_GATHER (ViewRulerUnits, UT_Dimension)
 SET_GATHER (AutoLoadPlugins, bool)
 SET_GATHER (OtherDirectionRtl, bool)
 SET_GATHER (AutoSaveFile, bool)
 SET_GATHER (SmartQuotes, bool)
 SET_GATHER (CustomSmartQuotes, bool)
 SET_GATHER (EnableOverwrite, bool)
virtual bool _gatherViewShowToolbar (UT_uint32)
virtual void _setViewShowToolbar (UT_uint32, bool)
 SET_GATHER (ViewCursorBlink, bool)
 SET_GATHER (PrefsAutoSave, bool)
 SET_GATHER (ViewShowRuler, bool)
 SET_GATHER (ViewShowStatusBar, bool)
 SET_GATHER (ViewAll, bool)
 SET_GATHER (ViewHiddenText, bool)
 SET_GATHER (ViewUnprintable, bool)
 SET_GATHER (EnableSmoothScrolling, bool)
virtual void _gatherAutoSaveFilePeriod (UT_String &stRetVal)
virtual void _setAutoSaveFilePeriod (const UT_String &stPeriod)
virtual void _gatherAutoSaveFileExt (UT_String &stRetVal)
virtual void _setAutoSaveFileExt (const UT_String &stExt)
virtual void _gatherUILanguage (UT_String &stRetVal)
virtual void _setUILanguage (const UT_String &stExt)
virtual gint _gatherOuterQuoteStyle ()
virtual gint _gatherInnerQuoteStyle ()
virtual void _setOuterQuoteStyle (const gint index)
virtual void _setInnerQuoteStyle (const gint index)
 SET_GATHER (NotebookPageNum, int)
 SET_GATHER (LanguageWithKeyboard, bool)
BOOL _onNotify (HWND hWnd, LPARAM lParam)
BOOL _onCommandTab (HWND hWnd, WPARAM wParam, LPARAM lParam)

Protected Attributes

AP_Win32Dialog_Options_General m_general
AP_Win32Dialog_Options_Document m_document
AP_Win32Dialog_Options_Spelling m_spelling
AP_Win32Dialog_Options_SmartQuotes m_smartquotes
UT_String m_curLang
BOOL m_langchanged
HFONT m_hFont
bool m_boolEnableSmoothScrolling
bool m_boolPrefsAutoSave
bool m_boolViewAll
bool m_boolViewHiddenText
bool m_boolViewShowRuler
bool m_boolViewShowStatusBar
bool m_boolViewUnprintable
bool m_boolViewCursorBlink
HWND m_hwndTab
int m_nrSubDlgs
UT_Vector m_vecSubDlgHWnd

Private Attributes

XAP_DialogFactorym_pDialogFactory

Constructor & Destructor Documentation

AP_Win32Dialog_Options::AP_Win32Dialog_Options ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 
)

References m_hFont, and m_langchanged.

Referenced by static_constructor().

AP_Win32Dialog_Options::~AP_Win32Dialog_Options ( void   )  [virtual]

References m_hFont.


Member Function Documentation

void AP_Win32Dialog_Options::_gatherAutoSaveFileExt ( UT_String stRetVal  )  [protected, virtual]
void AP_Win32Dialog_Options::_gatherAutoSaveFilePeriod ( UT_String stRetVal  )  [protected, virtual]

References getPage().

gint AP_Win32Dialog_Options::_gatherInnerQuoteStyle (  )  [protected, virtual]

References getPage(), and UT_return_val_if_fail.

gint AP_Win32Dialog_Options::_gatherOuterQuoteStyle (  )  [protected, virtual]

References getPage(), and UT_return_val_if_fail.

void AP_Win32Dialog_Options::_gatherUILanguage ( UT_String stRetVal  )  [protected, virtual]
virtual bool AP_Win32Dialog_Options::_gatherViewShowToolbar ( UT_uint32   )  [inline, protected, virtual]

References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.

void AP_Win32Dialog_Options::_initEnableControlsPlatformSpecific (  )  [protected, virtual]
BOOL AP_Win32Dialog_Options::_onCommandTab ( HWND  hWnd,
WPARAM  wParam,
LPARAM  lParam 
) [protected]
BOOL AP_Win32Dialog_Options::_onNotify ( HWND  hWnd,
LPARAM  lParam 
) [protected]
void AP_Win32Dialog_Options::_setAutoSaveFileExt ( const UT_String stExt  )  [protected, virtual]
void AP_Win32Dialog_Options::_setAutoSaveFilePeriod ( const UT_String stPeriod  )  [protected, virtual]

References UT_String::c_str(), and getPage().

void AP_Win32Dialog_Options::_setInnerQuoteStyle ( const gint  index  )  [protected, virtual]

References getPage(), and UT_return_if_fail.

void AP_Win32Dialog_Options::_setOuterQuoteStyle ( const gint  index  )  [protected, virtual]

References getPage(), and UT_return_if_fail.

void AP_Win32Dialog_Options::_setUILanguage ( const UT_String stExt  )  [protected, virtual]
virtual void AP_Win32Dialog_Options::_setViewShowToolbar ( UT_uint32  ,
bool   
) [inline, protected, virtual]
void AP_Win32Dialog_Options::checkLanguageChange (  ) 
HFONT AP_Win32Dialog_Options::getBoldFontHandle (  )  [inline]
XAP_DialogFactory* AP_Win32Dialog_Options::getDialogFactory ( void   )  [inline]
XAP_Frame* AP_Win32Dialog_Options::getFrame ( void   )  [inline]
AP_Win32Dialog_Options::SET_GATHER ( ViewCursorBlink  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( SmartQuotes  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( SpellSuggest  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( LanguageWithKeyboard  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( CustomSmartQuotes  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( AutoSaveFile  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( NotebookPageNum  ,
int   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( EnableOverwrite  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( OtherDirectionRtl  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( SpellHideErrors  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( ViewShowRuler  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( SpellNumbers  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( SpellUppercase  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( SpellMainOnly  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( EnableSmoothScrolling  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( SpellCheckAsType  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( AutoLoadPlugins  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( ViewRulerUnits  ,
UT_Dimension   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( GrammarCheck  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( ViewHiddenText  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( ViewAll  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( ViewShowStatusBar  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( ViewUnprintable  ,
bool   
) [protected]
AP_Win32Dialog_Options::SET_GATHER ( PrefsAutoSave  ,
bool   
) [protected]
XAP_Dialog * AP_Win32Dialog_Options::static_constructor ( XAP_DialogFactory pFactory,
XAP_Dialog_Id  id 
) [static]

Member Data Documentation


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