LibreOffice Module vcl (master) 1
Classes | Namespaces | Typedefs | Enumerations | Functions
svapp.hxx File Reference
#include <sal/config.h>
#include <sal/types.h>
#include <cassert>
#include <vector>
#include <comphelper/solarmutex.hxx>
#include <LibreOfficeKit/LibreOfficeKitTypes.h>
#include <osl/mutex.hxx>
#include <rtl/ustring.hxx>
#include <osl/thread.h>
#include <tools/gen.hxx>
#include <tools/link.hxx>
#include <vcl/dllapi.h>
#include <vcl/IDialogRenderable.hxx>
#include <vcl/inputtypes.hxx>
#include <vcl/exceptiontypes.hxx>
#include <vcl/vclevent.hxx>
#include <vcl/vclenum.hxx>
#include <i18nlangtag/lang.h>
#include <o3tl/typed_flags_set.hxx>
#include <com/sun/star/uno/Reference.h>
Include dependency graph for svapp.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< SystemWindowFlags >
 
class  ApplicationEvent
 An application can be notified of a number of different events: More...
 
class  Application
 Base class used mainly for the LibreOffice Desktop class. More...
 
class  SolarMutexGuard
 
class  SolarMutexClearableGuard
 
class  SolarMutexResettableGuard
 
class  vcl::SolarMutexTryAndBuyGuard
 guard class that uses tryToAcquire() and has isAcquired() to check More...
 
class  SolarMutexReleaser
 A helper class that calls Application::ReleaseSolarMutex() in its constructor and restores the mutex in its destructor. More...
 

Namespaces

namespace  weld
 
namespace  vcl
 
namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::uno
 
namespace  com::sun::star::ui
 
namespace  com::sun::star::ui::dialogs
 
namespace  com::sun::star::awt
 
namespace  o3tl
 

Typedefs

typedef long(* VCLEventHookProc) (NotifyEvent &rEvt, void *pData)
 

Enumerations

enum class  SystemWindowFlags {
  NOAUTOMODE = 0x0001 ,
  DIALOG = 0x0002
}
 
enum class  DialogCancelMode {
  Off ,
  Silent ,
  LOKSilent ,
  Fatal
}
 

Functions

VCL_DLLPUBLIC sal_UCS4 GetMirroredChar (sal_UCS4)
 
VCL_DLLPUBLIC sal_UCS4 GetLocalizedChar (sal_UCS4, LanguageType)
 
VCL_DLLPUBLIC ApplicationGetpApp ()
 
VCL_DLLPUBLIC bool IsVCLInit ()
 
VCL_DLLPUBLIC bool InitVCL ()
 
VCL_DLLPUBLIC void DeInitVCL ()
 
VCL_DLLPUBLIC bool InitAccessBridge ()
 
VCL_DLLPUBLIC void CreateMainLoopThread (oslWorkerFunction pWorker, void *pThreadData)
 
VCL_DLLPUBLIC void JoinMainLoopThread ()
 
VCL_DLLPUBLIC ImplSVHelpDataCreateSVHelpData ()
 
VCL_DLLPUBLIC void DestroySVHelpData (ImplSVHelpData *)
 
VCL_DLLPUBLIC void SetSVHelpData (ImplSVHelpData *)
 
VCL_DLLPUBLIC ImplSVWinDataCreateSVWinData ()
 
VCL_DLLPUBLIC void DestroySVWinData (ImplSVWinData *)
 
VCL_DLLPUBLIC void SetSVWinData (ImplSVWinData *)
 

Typedef Documentation

◆ VCLEventHookProc

typedef long(* VCLEventHookProc) (NotifyEvent &rEvt, void *pData)

Definition at line 96 of file svapp.hxx.

Enumeration Type Documentation

◆ DialogCancelMode

enum class DialogCancelMode
strong
Enumerator
Off 

do not automatically cancel dialogs

Silent 

silently cancel any dialogs

LOKSilent 

silently cancel any dialogs (LOK case)

Fatal 

cancel any dialogs by std::abort

Definition at line 212 of file svapp.hxx.

◆ SystemWindowFlags

enum class SystemWindowFlags
strong
Enumerator
NOAUTOMODE 
DIALOG 

Definition at line 87 of file svapp.hxx.

Function Documentation

◆ CreateMainLoopThread()

VCL_DLLPUBLIC void CreateMainLoopThread ( oslWorkerFunction  pWorker,
void *  pThreadData 
)

Definition at line 661 of file svmain.cxx.

References hThreadID, and MainWorkerFunction().

◆ CreateSVHelpData()

VCL_DLLPUBLIC ImplSVHelpData * CreateSVHelpData ( )

◆ CreateSVWinData()

VCL_DLLPUBLIC ImplSVWinData * CreateSVWinData ( )

◆ DeInitVCL()

VCL_DLLPUBLIC void DeInitVCL ( )

Definition at line 419 of file svmain.cxx.

References aBuf, Link< typename Arg, typename Ret >::Call(), o3tl::lru_map< typename Key, typename Value, class KeyHash, class KeyEqual, class ValueSize >::clear(), EmbeddedFontsHelper::clearTemporaryFontFiles(), comp, DbgGUIDeInitSolarMutexCheck(), Application::DeInit(), DestroySalInstance(), VclPtr< reference_type >::disposeAndClear(), basegfx::SystemDependentDataManager::flushAll(), ImageTree::get(), comphelper::getProcessComponentContext(), vcl::Window::GetText(), Application::GetTopWindow(), Application::GetTopWindowCount(), i, Scheduler::ImplDeInitScheduler(), vcl::DeleteOnDeinitBase::ImplDeleteOnDeInit(), ImplDeletePrnQueueList(), ImplGetSVData(), ImplGetSystemDependentDataManager(), comphelper::LibreOfficeKit::isActive(), vcl::Window::IsLOKWindowsEmpty(), Link< typename Arg, typename Ret >::IsSet(), ImplSVData::maAppData, ImplSVCtrlData::maCheckImgList, ImplSVData::maCtrlData, ImplSVData::maDeInitHook, ImplSVData::maFrameData, ImplSVData::maGDIData, ImplSVAppData::maKeyListeners, ImplSVWinData::maMsgBoxImgList, ImplSVCtrlData::maRadioImgList, ImplSVGDIData::maScaleCache, ImplSVData::maSchedCtx, ImplSVGDIData::maThemeDrawCommandsCache, ImplSVGDIData::maThemeImageCache, ImplSVData::mbDeInit, ImplSVAppData::mpAccelMgr, ImplSVFrameData::mpActiveApplicationFrame, ImplSVAppData::mpActivePopupMenu, ImplSVData::mpApp, ImplSVFrameData::mpAppWin, ImplSVWinData::mpAutoScrollWin, ImplSVData::mpBlendFrameCache, ImplSVWinData::mpCaptureWin, ImplSVAppData::mpCfgListener, ImplSVData::mpDefaultWin, ImplSVData::mpDefInst, ImplSVCtrlData::mpDisclosureMinus, ImplSVCtrlData::mpDisclosurePlus, ImplSVWinData::mpExecuteDialogs, ImplSVWinData::mpExtTextInputWin, ImplSVWinData::mpFirstFloat, ImplSVFrameData::mpFirstFrame, ImplSVGDIData::mpFirstPrinter, ImplSVGDIData::mpFirstPrnGraphics, ImplSVGDIData::mpFirstVirDev, ImplSVGDIData::mpFirstVirGraphics, ImplSVGDIData::mpFirstWinGraphics, ImplSVData::mpIntroWindow, ImplSVWinData::mpLastDeacWin, ImplSVGDIData::mpLastPrnGraphics, ImplSVGDIData::mpLastVirGraphics, ImplSVWinData::mpLastWheelWindow, ImplSVGDIData::mpLastWinGraphics, ImplSVData::mpSalData, ImplSVData::mpSalSystem, ImplSchedulerContext::mpSalTimer, ImplSVData::mpSettingsConfigItem, ImplSVWinData::mpTrackWin, ImplSVData::mpUnoWrapper, ImplSVAppData::mpWheelWindow, ImplSVData::mpWinData, ImplSVGDIData::mxGrfConverter, ImplSVGDIData::mxScreenFontCache, ImplSVGDIData::mxScreenFontList, ImplSVAppData::mxSettings, OUStringToOString(), pExceptionHandler, pOwnSvApp, SalInstance::ReleaseYieldMutexAll(), o3tl::lru_map< typename Key, typename Value, class KeyHash, class KeyEqual, class ValueSize >::remove_if(), SAL_WARN_IF, and ImageTree::shutdown().

Referenced by ImplSVMain().

◆ DestroySVHelpData()

VCL_DLLPUBLIC void DestroySVHelpData ( ImplSVHelpData pSVHelpData)

◆ DestroySVWinData()

VCL_DLLPUBLIC void DestroySVWinData ( ImplSVWinData pData)

Definition at line 385 of file svdata.cxx.

References pData.

◆ GetLocalizedChar()

VCL_DLLPUBLIC sal_UCS4 GetLocalizedChar ( sal_UCS4  nChar,
LanguageType  eLang 
)

◆ GetMirroredChar()

VCL_DLLPUBLIC sal_UCS4 GetMirroredChar ( sal_UCS4  nChar)

Definition at line 54 of file sallayout.cxx.

◆ GetpApp()

VCL_DLLPUBLIC Application * GetpApp ( )

◆ InitAccessBridge()

VCL_DLLPUBLIC bool InitAccessBridge ( )

◆ InitVCL()

VCL_DLLPUBLIC bool InitVCL ( )

◆ IsVCLInit()

VCL_DLLPUBLIC bool IsVCLInit ( )

Definition at line 277 of file svmain.cxx.

References ImplGetSVData(), ImplSVData::mpApp, ImplSVData::mpDefInst, and pExceptionHandler.

Referenced by ImplSVMain(), and InitVCL().

◆ JoinMainLoopThread()

VCL_DLLPUBLIC void JoinMainLoopThread ( )

Definition at line 679 of file svmain.cxx.

References hThreadID.

◆ SetSVHelpData()

VCL_DLLPUBLIC void SetSVHelpData ( ImplSVHelpData pSVHelpData)

◆ SetSVWinData()

VCL_DLLPUBLIC void SetSVWinData ( ImplSVWinData pSVWinData)