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

XAP_Win32App Class Reference

#include <xap_Win32App.h>

Inheritance diagram for XAP_Win32App:
XAP_App

List of all members.

Public Member Functions

 XAP_Win32App (HINSTANCE hInstance, const char *szAppName)
virtual ~XAP_Win32App (void)
virtual const char * getDefaultEncoding () const
virtual bool initialize (const char *szKeyBindingsKey, const char *szKeyBindingsDefaultValue)
virtual XAP_FramenewFrame (void)=0
virtual void reallyExit (void)
virtual HINSTANCE getInstance () const
virtual XAP_DialogFactorygetDialogFactory (void)
virtual
XAP_Toolbar_ControlFactory
getControlFactory (void)
virtual const XAP_StringSetgetStringSet (void) const =0
virtual const char * getAbiSuiteAppDir (void) const =0
virtual void copyToClipboard (PD_DocumentRange *pDocRange, bool bUseClipboard=true)=0
virtual void pasteFromClipboard (PD_DocumentRange *pDocRange, bool, bool)=0
virtual bool canPasteFromClipboard (void)=0
virtual void cacheCurrentSelection (AV_View *)=0
virtual const char * getUserPrivateDirectory (void) const
virtual HICON getIcon (void)=0
virtual HICON getSmallIcon (void)=0
virtual UT_Error fileOpen (XAP_Frame *pFrame, const char *pNewFile)=0
void enableAllTopLevelWindows (bool)
virtual UT_sint32 setupWindowFromPrefs (UT_sint32 iCmdShow, HWND hwndFrame)
virtual XAP_App::BidiSupportType theOSHasBidiSupport () const
void getDefaultGeometry (UT_uint32 &width, UT_uint32 &height, UT_uint32 &flags)
void setHKL (HKL hkl)
HKL getHKL () const
void setKbdLanguage (HKL hkl)

Static Public Member Functions

static const WCHAR * getWideString (const char *p_str)
static const char * getUTF8String (const WCHAR *p_str)

Protected Member Functions

UT_uint32 _getExeDir (LPWSTR pDirBuf, UT_uint32 iBufLen)
void _setAbiSuiteLibDir (void)
void _setBidiOS (void)
virtual const char * _getKbdLanguage ()

Protected Attributes

HINSTANCE m_hInstance
AP_Win32DialogFactory m_dialogFactory
AP_Win32Toolbar_ControlFactory m_controlFactory
XAP_Win32Slurpm_pSlurp

Static Protected Attributes

static char m_buffer [MAX_CONVBUFFER *6] = ""
static WCHAR m_wbuffer [MAX_CONVBUFFER] = ""

Private Attributes

XAP_App::BidiSupportType m_eBidiOS
HKL m_hkl

Constructor & Destructor Documentation

XAP_Win32App::~XAP_Win32App ( void   )  [virtual]

Member Function Documentation

UT_uint32 XAP_Win32App::_getExeDir ( LPWSTR  pDirBuf,
UT_uint32  iBufLen 
) [protected]

References UT_ASSERT.

Referenced by _setAbiSuiteLibDir().

const char * XAP_Win32App::_getKbdLanguage (  )  [protected, virtual]

Reimplemented from XAP_App.

References m_hkl, UT_DEBUGMSG, and wvLIDToLangConverter().

void XAP_Win32App::_setAbiSuiteLibDir ( void   )  [protected]
void XAP_Win32App::_setBidiOS ( void   )  [protected]

References m_eBidiOS, and UT_DEBUGMSG.

Referenced by XAP_Win32App().

virtual void XAP_Win32App::cacheCurrentSelection ( AV_View  )  [pure virtual]

Implements XAP_App.

virtual bool XAP_Win32App::canPasteFromClipboard ( void   )  [pure virtual]

Implements XAP_App.

virtual void XAP_Win32App::copyToClipboard ( PD_DocumentRange pDocRange,
bool  bUseClipboard = true 
) [pure virtual]

Implements XAP_App.

void XAP_Win32App::enableAllTopLevelWindows ( bool  b  ) 
virtual UT_Error XAP_Win32App::fileOpen ( XAP_Frame pFrame,
const char *  pNewFile 
) [pure virtual]
virtual const char* XAP_Win32App::getAbiSuiteAppDir ( void   )  const [pure virtual]

Implements XAP_App.

XAP_Toolbar_ControlFactory * XAP_Win32App::getControlFactory ( void   )  [virtual]
const char * XAP_Win32App::getDefaultEncoding (  )  const [virtual]

Implements XAP_App.

void XAP_Win32App::getDefaultGeometry ( UT_uint32 width,
UT_uint32 height,
UT_uint32 flags 
) [virtual]

Reimplemented from XAP_App.

XAP_DialogFactory * XAP_Win32App::getDialogFactory ( void   )  [virtual]

Implements XAP_App.

References m_dialogFactory.

HKL XAP_Win32App::getHKL (  )  const [inline]
virtual HICON XAP_Win32App::getIcon ( void   )  [pure virtual]
virtual HICON XAP_Win32App::getSmallIcon ( void   )  [pure virtual]
const char * XAP_Win32App::getUserPrivateDirectory ( void   )  const [virtual]
const char * XAP_Win32App::getUTF8String ( const WCHAR *  p_str  )  [static]
const WCHAR * XAP_Win32App::getWideString ( const char *  p_str  )  [static]
bool XAP_Win32App::initialize ( const char *  szKeyBindingsKey,
const char *  szKeyBindingsDefaultValue 
) [virtual]
virtual XAP_Frame* XAP_Win32App::newFrame ( void   )  [pure virtual]

Implements XAP_App.

virtual void XAP_Win32App::pasteFromClipboard ( PD_DocumentRange pDocRange,
bool  ,
bool   
) [pure virtual]

Implements XAP_App.

void XAP_Win32App::reallyExit ( void   )  [virtual]

Implements XAP_App.

void XAP_Win32App::setHKL ( HKL  hkl  )  [inline]
void XAP_Win32App::setKbdLanguage ( HKL  hkl  ) 
UT_sint32 XAP_Win32App::setupWindowFromPrefs ( UT_sint32  iCmdShow,
HWND  hwndFrame 
) [virtual]
virtual XAP_App::BidiSupportType XAP_Win32App::theOSHasBidiSupport (  )  const [inline, virtual]

Reimplemented from XAP_App.


Member Data Documentation

char XAP_Win32App::m_buffer = "" [static, protected]

Referenced by getUTF8String().

HINSTANCE XAP_Win32App::m_hInstance [protected]

Referenced by getInstance().

HKL XAP_Win32App::m_hkl [private]

Referenced by _getKbdLanguage(), and setKbdLanguage().

WCHAR XAP_Win32App::m_wbuffer = "" [static, protected]

Referenced by getWideString().


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