Lines Matching refs:pSVData
215 ImplSVData* pSVData = ImplGetSVData(); in GetpApp() local
216 if ( !pSVData ) in GetpApp()
218 return pSVData->mpApp; in GetpApp()
348 ImplSVData* pSVData = ImplGetSVData(); in GetAppFileName() local
349 DBG_ASSERT( pSVData->maAppData.mpAppFileName, "AppFileName vor SVMain ?!" ); in GetAppFileName()
350 if ( pSVData->maAppData.mpAppFileName ) in GetAppFileName()
351 return *pSVData->maAppData.mpAppFileName; in GetAppFileName()
449 ImplSVData* pSVData = ImplGetSVData(); in Execute() local
450 pSVData->maAppData.mbInAppExecute = sal_True; in Execute()
452 while ( !pSVData->maAppData.mbAppQuit ) in Execute()
455 pSVData->maAppData.mbInAppExecute = sal_False; in Execute()
464 ImplSVData* pSVData = ImplGetSVData(); in ImplYield() local
467 if ( !pSVData->mbNoCallTimer ) in ImplYield()
468 while ( pSVData->mbNotAllTimerCalled ) in ImplYield()
471 pSVData->maAppData.mnDispatchLevel++; in ImplYield()
476 …pSVData->mpDefInst->Yield( i_bWait && !pSVData->maAppData.mbAppQuit && !pSVData->maAppData.mbNoYie… in ImplYield()
477 pSVData->maAppData.mnDispatchLevel--; in ImplYield()
480 if( pSVData->maAppData.mnDispatchLevel == 0 ) in ImplYield()
485 if( pSVData->maAppData.mbNoYield && !pSVData->mbNoCallTimer ) in ImplYield()
491 while( pSVData->mbNotAllTimerCalled ); in ImplYield()
495 if( pSVData->maAppData.mpPostYieldListeners ) in ImplYield()
496 pSVData->maAppData.mpPostYieldListeners->callListeners( NULL ); in ImplYield()
532 ImplSVData* pSVData = ImplGetSVData(); in GetSolarMutex() local
533 return *(pSVData->mpDefInst->GetYieldMutex()); in GetSolarMutex()
547 ImplSVData* pSVData = ImplGetSVData(); in ReleaseSolarMutex() local
548 return pSVData->mpDefInst->ReleaseYieldMutex(); in ReleaseSolarMutex()
555 ImplSVData* pSVData = ImplGetSVData(); in AcquireSolarMutex() local
556 pSVData->mpDefInst->AcquireYieldMutex( nCount ); in AcquireSolarMutex()
621 ImplSVData* pSVData = ImplGetSVData(); in IsUICaptured() local
626 if ( pSVData->maWinData.mpCaptureWin || pSVData->maWinData.mpTrackWin || in IsUICaptured()
627 pSVData->maWinData.mpFirstFloat || nImplSysDialog ) in IsUICaptured()
677 ImplSVData* pSVData = ImplGetSVData(); in MergeSystemSettings() local
678 if ( !pSVData->maAppData.mbSettingsInit ) in MergeSystemSettings()
681 pWindow->ImplUpdateGlobalSettings( *pSVData->maAppData.mpSettings ); in MergeSystemSettings()
682 pSVData->maAppData.mbSettingsInit = sal_True; in MergeSystemSettings()
710 ImplSVData* pSVData = ImplGetSVData(); in SetSettings() local
711 if ( !pSVData->maAppData.mpSettings ) in SetSettings()
714 *pSVData->maAppData.mpSettings = rSettings; in SetSettings()
719 AllSettings aOldSettings = *pSVData->maAppData.mpSettings; in SetSettings()
720 if( aOldSettings.GetUILanguage() != rSettings.GetUILanguage() && pSVData->mpResMgr ) in SetSettings()
722 delete pSVData->mpResMgr; in SetSettings()
723 pSVData->mpResMgr = NULL; in SetSettings()
726 *pSVData->maAppData.mpSettings = rSettings; in SetSettings()
727 sal_uLong nChangeFlags = aOldSettings.GetChangeFlags( *pSVData->maAppData.mpSettings ); in SetSettings()
737 Window* pFirstFrame = pSVData->maWinData.mpFirstFrame; in SetSettings()
745 pSVData->maGDIData.mnAppFontX = 0; in SetSettings()
778 pFirstFrame = pSVData->maWinData.mpFirstFrame; in SetSettings()
784 VirtualDevice* pVirDev = pSVData->maGDIData.mpFirstVirDev; in SetSettings()
813 ImplSVData* pSVData = ImplGetSVData(); in GetSettings() local
814 if ( !pSVData->maAppData.mpSettings ) in GetSettings()
816 pSVData->maAppData.mpCfgListener = new LocaleConfigurationListener; in GetSettings()
817 pSVData->maAppData.mpSettings = new AllSettings(); in GetSettings()
818 …pSVData->maAppData.mpSettings->GetSysLocale().GetOptions().AddListener( pSVData->maAppData.mpCfgLi… in GetSettings()
821 return *(pSVData->maAppData.mpSettings); in GetSettings()
828 ImplSVData* pSVData = ImplGetSVData(); in NotifyAllWindows() local
829 Window* pFrame = pSVData->maWinData.mpFirstFrame; in NotifyAllWindows()
849 ImplSVData* pSVData = ImplGetSVData(); in ImplCallEventListeners() local
852 if ( pSVData->maAppData.mpEventListeners ) in ImplCallEventListeners()
853 if ( !pSVData->maAppData.mpEventListeners->empty() ) in ImplCallEventListeners()
854 pSVData->maAppData.mpEventListeners->Call( &aEvent ); in ImplCallEventListeners()
861 ImplSVData* pSVData = ImplGetSVData(); in ImplCallEventListeners() local
863 if ( pSVData->maAppData.mpEventListeners ) in ImplCallEventListeners()
864 if ( !pSVData->maAppData.mpEventListeners->empty() ) in ImplCallEventListeners()
865 pSVData->maAppData.mpEventListeners->Call( pEvent ); in ImplCallEventListeners()
872 ImplSVData* pSVData = ImplGetSVData(); in AddEventListener() local
873 if( !pSVData->maAppData.mpEventListeners ) in AddEventListener()
874 pSVData->maAppData.mpEventListeners = new VclEventListeners; in AddEventListener()
875 pSVData->maAppData.mpEventListeners->push_back( rEventListener ); in AddEventListener()
882 ImplSVData* pSVData = ImplGetSVData(); in RemoveEventListener() local
883 if( pSVData->maAppData.mpEventListeners ) in RemoveEventListener()
884 pSVData->maAppData.mpEventListeners->remove( rEventListener ); in RemoveEventListener()
890 ImplSVData* pSVData = ImplGetSVData(); in AddKeyListener() local
891 if( !pSVData->maAppData.mpKeyListeners ) in AddKeyListener()
892 pSVData->maAppData.mpKeyListeners = new VclEventListeners; in AddKeyListener()
893 pSVData->maAppData.mpKeyListeners->push_back( rKeyListener ); in AddKeyListener()
900 ImplSVData* pSVData = ImplGetSVData(); in RemoveKeyListener() local
901 if( pSVData->maAppData.mpKeyListeners ) in RemoveKeyListener()
902 pSVData->maAppData.mpKeyListeners->remove( rKeyListener ); in RemoveKeyListener()
912 ImplSVData* pSVData = ImplGetSVData(); in HandleKey() local
915 if ( pSVData->maAppData.mpKeyListeners ) in HandleKey()
916 if ( !pSVData->maAppData.mpKeyListeners->empty() ) in HandleKey()
917 bProcessed = pSVData->maAppData.mpKeyListeners->Process( &aEvent ); in HandleKey()
1181 ImplSVData* pSVData = ImplGetSVData(); in InsertIdleHdl() local
1184 if ( !pSVData->maAppData.mpIdleMgr ) in InsertIdleHdl()
1185 pSVData->maAppData.mpIdleMgr = new ImplIdleMgr; in InsertIdleHdl()
1187 return pSVData->maAppData.mpIdleMgr->InsertIdleHdl( rLink, nPrio ); in InsertIdleHdl()
1194 ImplSVData* pSVData = ImplGetSVData(); in RemoveIdleHdl() local
1196 if ( pSVData->maAppData.mpIdleMgr ) in RemoveIdleHdl()
1197 pSVData->maAppData.mpIdleMgr->RemoveIdleHdl( rLink ); in RemoveIdleHdl()
1204 ImplSVData* pSVData = ImplGetSVData(); in EnableNoYieldMode() local
1205 pSVData->maAppData.mbNoYield = i_bNoYield; in EnableNoYieldMode()
1212 ImplSVData* pSVData = ImplGetSVData(); in AddPostYieldListener() local
1213 if( ! pSVData->maAppData.mpPostYieldListeners ) in AddPostYieldListener()
1214 pSVData->maAppData.mpPostYieldListeners = new VclEventListeners2(); in AddPostYieldListener()
1215 pSVData->maAppData.mpPostYieldListeners->addListener( i_rListener ); in AddPostYieldListener()
1222 ImplSVData* pSVData = ImplGetSVData(); in RemovePostYieldListener() local
1223 if( pSVData->maAppData.mpPostYieldListeners ) in RemovePostYieldListener()
1224 pSVData->maAppData.mpPostYieldListeners->removeListener( i_rListener ); in RemovePostYieldListener()
1252 ImplSVData* pSVData = ImplGetSVData(); in GetFirstTopLevelWindow() local
1253 return pSVData->maWinData.mpFirstFrame; in GetFirstTopLevelWindow()
1268 ImplSVData* pSVData = ImplGetSVData(); in GetTopWindowCount() local
1269 Window *pWin = pSVData ? pSVData->maWinData.mpFirstFrame : NULL; in GetTopWindowCount()
1284 ImplSVData* pSVData = ImplGetSVData(); in GetTopWindow() local
1285 Window *pWin = pSVData ? pSVData->maWinData.mpFirstFrame : NULL; in GetTopWindow()
1318 ImplSVData* pSVData = ImplGetSVData(); in SetAppName() local
1321 if ( !pSVData->maAppData.mpAppName ) in SetAppName()
1322 pSVData->maAppData.mpAppName = new XubString( rUniqueName ); in SetAppName()
1324 *(pSVData->maAppData.mpAppName) = rUniqueName; in SetAppName()
1331 ImplSVData* pSVData = ImplGetSVData(); in GetAppName() local
1332 if ( pSVData->maAppData.mpAppName ) in GetAppName()
1333 return *(pSVData->maAppData.mpAppName); in GetAppName()
1342 ImplSVData* pSVData = ImplGetSVData(); in SetDisplayName() local
1345 if ( !pSVData->maAppData.mpDisplayName ) in SetDisplayName()
1346 pSVData->maAppData.mpDisplayName = new UniString( rName ); in SetDisplayName()
1348 *(pSVData->maAppData.mpDisplayName) = rName; in SetDisplayName()
1355 ImplSVData* pSVData = ImplGetSVData(); in GetDisplayName() local
1356 if ( pSVData->maAppData.mpDisplayName ) in GetDisplayName()
1357 return *(pSVData->maAppData.mpDisplayName); in GetDisplayName()
1358 else if ( pSVData->maWinData.mpAppWin ) in GetDisplayName()
1359 return pSVData->maWinData.mpAppWin->GetText(); in GetDisplayName()
1463 ImplSVData* pSVData = ImplGetSVData(); in InsertAccel() local
1465 if ( !pSVData->maAppData.mpAccelMgr ) in InsertAccel()
1466 pSVData->maAppData.mpAccelMgr = new ImplAccelManager(); in InsertAccel()
1467 return pSVData->maAppData.mpAccelMgr->InsertAccel( pAccel ); in InsertAccel()
1474 ImplSVData* pSVData = ImplGetSVData(); in RemoveAccel() local
1476 if ( pSVData->maAppData.mpAccelMgr ) in RemoveAccel()
1477 pSVData->maAppData.mpAccelMgr->RemoveAccel( pAccel ); in RemoveAccel()
1484 ImplSVData* pSVData = ImplGetSVData(); in FlushAccel() local
1486 if ( pSVData->maAppData.mpAccelMgr ) in FlushAccel()
1487 pSVData->maAppData.mpAccelMgr->FlushAccel(); in FlushAccel()
1494 ImplSVData* pSVData = ImplGetSVData(); in CallAccel() local
1496 if ( pSVData->maAppData.mpAccelMgr ) in CallAccel()
1498 if ( pSVData->maAppData.mpAccelMgr->IsAccelKey( rKeyCode, nRepeat ) ) in CallAccel()
1555 ImplSVData* pSVData = ImplGetSVData(); in SetDialogScaleX() local
1556 pSVData->maAppData.mnDialogScaleX = nScale; in SetDialogScaleX()
1557 pSVData->maGDIData.mnAppFontX = pSVData->maGDIData.mnRealAppFontX; in SetDialogScaleX()
1559 pSVData->maGDIData.mnAppFontX += (pSVData->maGDIData.mnAppFontX*nScale)/100; in SetDialogScaleX()
1580 ImplSVData* pSVData = ImplGetSVData(); in GetDefDialogParent() local
1584 if( sal_False && pSVData->maWinData.mpDefDialogParent != NULL ) in GetDefDialogParent()
1585 return pSVData->maWinData.mpDefDialogParent; in GetDefDialogParent()
1594 if( (pWin = pSVData->maWinData.mpFocusWin) != NULL ) in GetDefDialogParent()
1605 pSVData->maWinData.mpFocusWin = NULL; // avoid further access in GetDefDialogParent()
1619 if( NULL != (pWin = pSVData->maWinData.mpActiveApplicationFrame) ) in GetDefDialogParent()
1626 pWin = pSVData->maWinData.mpFirstFrame; in GetDefDialogParent()
1678 ImplSVData* pSVData = ImplGetSVData(); in GetFontPath() local
1679 if( !pSVData->maAppData.mpFontPath ) in GetFontPath()
1682 pSVData->maAppData.mpFontPath = new String( String::CreateFromAscii( pFontPath ) ); in GetFontPath()
1685 if( pSVData->maAppData.mpFontPath ) in GetFontPath()
1686 return *(pSVData->maAppData.mpFontPath); in GetFontPath()
1694 ImplSVData* pSVData = ImplGetSVData(); in SetFontPath() local
1697 if( !pSVData->maAppData.mpFontPath ) in SetFontPath()
1698 pSVData->maAppData.mpFontPath = new String( rPath ); in SetFontPath()
1700 *(pSVData->maAppData.mpFontPath) = rPath; in SetFontPath()
1707 ImplSVData* pSVData = ImplGetSVData(); in CreateUniqueId() local
1709 if ( !pSVData->maAppData.mpUniqueIdCont ) in CreateUniqueId()
1710 pSVData->maAppData.mpUniqueIdCont = new UniqueIdContainer( UNIQUEID_SV_BEGIN ); in CreateUniqueId()
1711 return pSVData->maAppData.mpUniqueIdCont->CreateId(); in CreateUniqueId()
1731 ImplSVData* pSVData = ImplGetSVData(); in GetUnoWrapper() local
1733 if ( !pSVData->mpUnoWrapper && bCreateIfNotExist && !bAlreadyTriedToCreate ) in GetUnoWrapper()
1744 pSVData->mpUnoWrapper = fnCreateWrapper(); in GetUnoWrapper()
1747 DBG_ASSERT( pSVData->mpUnoWrapper, "UnoWrapper could not be created!" ); in GetUnoWrapper()
1750 return pSVData->mpUnoWrapper; in GetUnoWrapper()
1757 ImplSVData* pSVData = ImplGetSVData(); in SetUnoWrapper() local
1758 DBG_ASSERT( !pSVData->mpUnoWrapper, "SetUnoWrapper: Wrapper already exists" ); in SetUnoWrapper()
1759 pSVData->mpUnoWrapper = pWrapper; in SetUnoWrapper()
1766 ImplSVData* pSVData = ImplGetSVData(); in GetDisplayConnection() local
1768 if( !pSVData->mxDisplayConnection.is() ) in GetDisplayConnection()
1770 pSVData->mxDisplayConnection.set( new ::vcl::DisplayConnection ); in GetDisplayConnection()
1771 pSVData->mxDisplayConnection->start(); in GetDisplayConnection()
1774 return pSVData->mxDisplayConnection.get(); in GetDisplayConnection()
1795 ImplSVData* pSVData = ImplGetSVData(); in ImplCallHotKey() local
1796 ImplHotKey* pHotKeyData = pSVData->maAppData.mpFirstHotKey; in ImplCallHotKey()
1815 ImplSVData* pSVData = ImplGetSVData(); in ImplFreeHotKeyData() local
1817 ImplHotKey* pHotKeyData = pSVData->maAppData.mpFirstHotKey; in ImplFreeHotKeyData()
1825 pSVData->maAppData.mpFirstHotKey = NULL; in ImplFreeHotKeyData()
1832 ImplSVData* pSVData = ImplGetSVData(); in AddHotKey() local
1837 pHotKeyData->mpNext = pSVData->maAppData.mpFirstHotKey; in AddHotKey()
1838 pSVData->maAppData.mpFirstHotKey = pHotKeyData; in AddHotKey()
1846 ImplSVData* pSVData = ImplGetSVData(); in RemoveHotKey() local
1849 ImplHotKey* pHotKeyData = pSVData->maAppData.mpFirstHotKey; in RemoveHotKey()
1857 pSVData->maAppData.mpFirstHotKey = pFindHotKeyData->mpNext; in RemoveHotKey()
1873 ImplSVData* pSVData = ImplGetSVData(); in ImplFreeEventHookData() local
1875 ImplEventHook* pEventHookData = pSVData->maAppData.mpFirstEventHook; in ImplFreeEventHookData()
1883 pSVData->maAppData.mpFirstEventHook = NULL; in ImplFreeEventHookData()
1890 ImplSVData* pSVData = ImplGetSVData(); in AddEventHook() local
1894 pEventHookData->mpNext = pSVData->maAppData.mpFirstEventHook; in AddEventHook()
1895 pSVData->maAppData.mpFirstEventHook = pEventHookData; in AddEventHook()
1903 ImplSVData* pSVData = ImplGetSVData(); in RemoveEventHook() local
1906 ImplEventHook* pEventHookData = pSVData->maAppData.mpFirstEventHook; in RemoveEventHook()
1914 pSVData->maAppData.mpFirstEventHook = pFindEventHookData->mpNext; in RemoveEventHook()
1930 ImplSVData* pSVData = ImplGetSVData(); in CallEventHooks() local
1933 ImplEventHook* pEventHookData = pSVData->maAppData.mpFirstEventHook; in CallEventHooks()
2013 ImplSVData* pSVData = ImplGetSVData(); in CanToggleImeStatusWindow() local
2014 if( ! pSVData->mpImeStatus ) in CanToggleImeStatusWindow()
2015 pSVData->mpImeStatus = pSVData->mpDefInst->CreateI18NImeStatus(); in CanToggleImeStatusWindow()
2016 return pSVData->mpImeStatus->canToggle(); in CanToggleImeStatusWindow()
2025 ImplSVData* pSVData = ImplGetSVData(); in ShowImeStatusWindow() local
2026 if( ! pSVData->mpImeStatus ) in ShowImeStatusWindow()
2027 pSVData->mpImeStatus = pSVData->mpDefInst->CreateI18NImeStatus(); in ShowImeStatusWindow()
2028 pSVData->mpImeStatus->toggle(); in ShowImeStatusWindow()
2046 ImplSVData* pSVData = ImplGetSVData(); in AddToRecentDocumentList() local
2047 pSVData->mpDefInst->AddToRecentDocumentList(rFileUrl, rMimeType); in AddToRecentDocumentList()