LibreOffice Module vcl (master) 1
|
#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>
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 | basegfx |
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 | GetLocalizedChar (sal_UCS4, LanguageType) |
VCL_DLLPUBLIC Application * | GetpApp () |
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 ImplSVHelpData * | CreateSVHelpData () |
VCL_DLLPUBLIC void | DestroySVHelpData (ImplSVHelpData *) |
VCL_DLLPUBLIC void | SetSVHelpData (ImplSVHelpData *) |
VCL_DLLPUBLIC ImplSVWinData * | CreateSVWinData () |
VCL_DLLPUBLIC void | DestroySVWinData (ImplSVWinData *) |
VCL_DLLPUBLIC void | SetSVWinData (ImplSVWinData *) |
typedef long(* VCLEventHookProc) (NotifyEvent &rEvt, void *pData) |
|
strong |
|
strong |
VCL_DLLPUBLIC void CreateMainLoopThread | ( | oslWorkerFunction | pWorker, |
void * | pThreadData | ||
) |
Definition at line 659 of file svmain.cxx.
References hThreadID, and MainWorkerFunction().
VCL_DLLPUBLIC ImplSVHelpData * CreateSVHelpData | ( | ) |
Definition at line 448 of file svdata.cxx.
References comphelper::LibreOfficeKit::isActive(), ImplSVHelpData::mbBalloonHelp, ImplSVHelpData::mbContextHelp, ImplSVHelpData::mbExtHelp, ImplSVHelpData::mbExtHelpMode, ImplSVHelpData::mbOldBalloonMode, and ImplSVHelpData::mbQuickHelp.
VCL_DLLPUBLIC ImplSVWinData * CreateSVWinData | ( | ) |
Definition at line 372 of file svdata.cxx.
References ImplGetSVData(), comphelper::LibreOfficeKit::isActive(), ImplSVWinData::mpFocusWin, ImplSVData::mpWinData, and p.
VCL_DLLPUBLIC void DeInitVCL | ( | ) |
Definition at line 421 of file svmain.cxx.
References aBuf, Link< typename Arg, typename Ret >::Call(), EmbeddedFontsHelper::clearTemporaryFontFiles(), comp, DbgGUIDeInitSolarMutexCheck(), Application::DeInit(), DestroySalInstance(), VclPtr< reference_type >::disposeAndClear(), ImplSVData::dropCaches(), 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, ImplSVData::maSchedCtx, ImplSVData::mbDeInit, ImplSVCtrlData::moDisclosureMinus, ImplSVCtrlData::moDisclosurePlus, ImplSVAppData::mpAccelMgr, ImplSVFrameData::mpActiveApplicationFrame, ImplSVAppData::mpActivePopupMenu, ImplSVData::mpApp, ImplSVFrameData::mpAppWin, ImplSVWinData::mpAutoScrollWin, ImplSVData::mpBlendFrameCache, ImplSVWinData::mpCaptureWin, ImplSVAppData::mpCfgListener, ImplSVData::mpDefaultWin, ImplSVData::mpDefInst, 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(), SAL_WARN_IF, comphelper::AccessibleEventNotifier::shutdown(), and ImageTree::shutdown().
Referenced by ImplSVMain().
VCL_DLLPUBLIC void DestroySVHelpData | ( | ImplSVHelpData * | pSVHelpData | ) |
Definition at line 467 of file svdata.cxx.
References ImplDestroyHelpWindow(), ImplGetSVData(), comphelper::LibreOfficeKit::isActive(), and ImplSVData::mpHelpData.
VCL_DLLPUBLIC void DestroySVWinData | ( | ImplSVWinData * | pData | ) |
Definition at line 386 of file svdata.cxx.
References pData.
VCL_DLLPUBLIC sal_UCS4 GetLocalizedChar | ( | sal_UCS4 | nChar, |
LanguageType | eLang | ||
) |
Definition at line 51 of file sallayout.cxx.
References o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::anyOf(), LANGUAGE_AMHARIC_ETHIOPIA, LANGUAGE_ARABIC_SAUDI_ARABIA, LANGUAGE_BENGALI, LANGUAGE_BURMESE, LANGUAGE_FARSI, LANGUAGE_GUJARATI, LANGUAGE_HINDI, LANGUAGE_KANNADA, LANGUAGE_KHMER, LANGUAGE_LAO, LANGUAGE_MALAYALAM, LANGUAGE_MONGOLIAN_MONGOLIAN_CHINA, LANGUAGE_MONGOLIAN_MONGOLIAN_LSO, LANGUAGE_MONGOLIAN_MONGOLIAN_MONGOLIA, LANGUAGE_ODIA, LANGUAGE_PUNJABI, LANGUAGE_SINDHI, LANGUAGE_TAMIL, LANGUAGE_TELUGU, LANGUAGE_THAI, LANGUAGE_TIBETAN, LANGUAGE_TIGRIGNA_ETHIOPIA, LANGUAGE_URDU_PAKISTAN, and primary().
Referenced by OutputDevice::ImplPrepareLayoutArgs().
VCL_DLLPUBLIC Application * GetpApp | ( | ) |
Definition at line 154 of file svapp.cxx.
References ImplGetSVData(), and ImplSVData::mpApp.
Referenced by Application::Execute(), ImplHandleSalSettings(), vcl::Window::ImplUpdateGlobalSettings(), ImplWindowFrameProc(), vcl::Window::Show(), and Printer::updatePrinters().
VCL_DLLPUBLIC bool InitAccessBridge | ( | ) |
Definition at line 1600 of file svapp.cxx.
References AllSettings::GetMiscSettings(), Application::GetSettings(), AllSettings::SetMiscSettings(), and Application::SetSettings().
VCL_DLLPUBLIC bool InitVCL | ( | ) |
Definition at line 298 of file svmain.cxx.
References SalInstance::AcquireYieldMutex(), SalInstance::AfterAppInit(), EmbeddedFontsHelper::clearTemporaryFontFiles(), CreateSalInstance(), DbgGUIInitSolarMutexCheck(), g_bIsLeanException, DebugEventInjector::getCreate(), MsLangId::getSystemUILanguage(), ImplGetSVData(), Application::Init(), IsVCLInit(), ImplSVData::maAppData, ImplSVData::maGDIData, ImplSVData::mnMainThreadId, ImplSVData::mpApp, ImplSVData::mpDefInst, ImplSVAppData::mxAppFileName, ImplSVGDIData::mxGrfConverter, ImplSVGDIData::mxScreenFontCache, ImplSVGDIData::mxScreenFontList, pExceptionHandler, pOwnSvApp, SAL_INFO, TOOLS_INFO_EXCEPTION, u, and VCLExceptionSignal_impl().
Referenced by ImplSVMain().
VCL_DLLPUBLIC bool IsVCLInit | ( | ) |
Definition at line 279 of file svmain.cxx.
References ImplGetSVData(), ImplSVData::mpApp, ImplSVData::mpDefInst, and pExceptionHandler.
Referenced by ImplSVMain(), and InitVCL().
VCL_DLLPUBLIC void JoinMainLoopThread | ( | ) |
Definition at line 677 of file svmain.cxx.
References hThreadID.
VCL_DLLPUBLIC void SetSVHelpData | ( | ImplSVHelpData * | pSVHelpData | ) |
Definition at line 485 of file svdata.cxx.
References ImplGetSVData(), comphelper::LibreOfficeKit::isActive(), ImplSVData::mpHelpData, ImplSVHelpData::mpHelpWin, and VclPtr< reference_type >::reset().
VCL_DLLPUBLIC void SetSVWinData | ( | ImplSVWinData * | pSVWinData | ) |
Definition at line 391 of file svdata.cxx.
References ImplGetSVData(), comphelper::LibreOfficeKit::isActive(), ImplSVWinData::mpFocusWin, ImplSVData::mpWinData, and VclPtr< reference_type >::reset().