Lines Matching refs:pImp
213 : pImp(new SfxBindings_Impl), in SfxBindings()
217 pImp->nMsgPos = 0; in SfxBindings()
218 pImp->bAllMsgDirty = sal_True; in SfxBindings()
219 pImp->bContextChanged = sal_False; in SfxBindings()
220 pImp->bMsgDirty = sal_True; in SfxBindings()
221 pImp->bAllDirty = sal_True; in SfxBindings()
222 pImp->ePopupAction = SFX_POPUP_DELETE; in SfxBindings()
223 pImp->nCachedFunc1 = 0; in SfxBindings()
224 pImp->nCachedFunc2 = 0; in SfxBindings()
225 pImp->bCtrlReleased = sal_False; in SfxBindings()
226 pImp->bFirstRound = sal_False; in SfxBindings()
227 pImp->bInNextJob = sal_False; in SfxBindings()
228 pImp->bInUpdate = sal_False; in SfxBindings()
229 pImp->pSubBindings = NULL; in SfxBindings()
230 pImp->pSuperBindings = NULL; in SfxBindings()
231 pImp->pWorkWin = NULL; in SfxBindings()
232 pImp->pUnoCtrlArr = NULL; in SfxBindings()
233 pImp->nOwnRegLevel = nRegLevel; in SfxBindings()
237 pImp->pCaches = new SfxStateCacheArr_Impl; in SfxBindings()
238 pImp->aTimer.SetTimeoutHdl( LINK(this, SfxBindings, NextJob_Impl) ); in SfxBindings()
260 pImp->pSubBindings = NULL; in ~SfxBindings()
264 pImp->aTimer.Stop(); in ~SfxBindings()
268 sal_uInt16 nCount = pImp->pCaches->Count(); in ~SfxBindings()
270 delete pImp->pCaches->GetObject(nCache); in ~SfxBindings()
272 DELETEZ( pImp->pWorkWin ); in ~SfxBindings()
274 delete pImp->pCaches; in ~SfxBindings()
275 delete pImp; in ~SfxBindings()
283 sal_uInt16 nCount = pImp->pCaches->Count(); in DeleteControllers_Impl()
288 SfxStateCache *pCache = pImp->pCaches->GetObject(nCache); in DeleteControllers_Impl()
295 sal_uInt16 nNewCount = pImp->pCaches->Count(); in DeleteControllers_Impl()
300 nSlotId != pImp->pCaches->GetObject(nCache)->GetId() ) in DeleteControllers_Impl()
307 for ( nCache = pImp->pCaches->Count(); nCache > 0; --nCache ) in DeleteControllers_Impl()
310 SfxStateCache *pCache = pImp->pCaches->GetObject(nCache-1); in DeleteControllers_Impl()
325 if( nCache-1 < pImp->pCaches->Count() ) in DeleteControllers_Impl()
326 delete (*pImp->pCaches)[nCache-1]; in DeleteControllers_Impl()
327 pImp->pCaches->Remove(nCache-1, 1); in DeleteControllers_Impl()
330 if( pImp->pUnoCtrlArr ) in DeleteControllers_Impl()
332 sal_uInt16 nCtrlCount = pImp->pUnoCtrlArr->Count(); in DeleteControllers_Impl()
335 SfxUnoControllerItem *pCtrl = (*pImp->pUnoCtrlArr)[n-1]; in DeleteControllers_Impl()
339 DBG_ASSERT( !pImp->pUnoCtrlArr->Count(), "UnoControllerItems nicht entfernt!" ); in DeleteControllers_Impl()
340 DELETEZ( pImp->pUnoCtrlArr ); in DeleteControllers_Impl()
348 return pImp->ePopupAction; in GetPopupAction_Impl()
358 SfxBindings *pSub = pImp->pSubBindings; in HidePopups()
361 pImp->pSubBindings->HidePopupCtrls_Impl( bHide ); in HidePopups()
362 pSub = pSub->pImp->pSubBindings; in HidePopups()
367 if ( pImp->pWorkWin ) in HidePopups()
368 pImp->pWorkWin->HidePopups_Impl( bHide, sal_True ); in HidePopups()
376 pImp->ePopupAction = SFX_POPUP_HIDE; in HidePopupCtrls_Impl()
381 pImp->ePopupAction = SFX_POPUP_SHOW; in HidePopupCtrls_Impl()
384 for ( sal_uInt16 nCache = 0; nCache < pImp->pCaches->Count(); ++nCache ) in HidePopupCtrls_Impl()
385 pImp->pCaches->GetObject(nCache)->DeleteFloatingWindows(); in HidePopupCtrls_Impl()
386 pImp->ePopupAction = SFX_POPUP_DELETE; in HidePopupCtrls_Impl()
455 InvalidateSlotMap::const_iterator pIter = pImp->m_aInvalidateSlots.begin(); in InvalidateSlotsInMap_Impl()
456 while ( pIter != pImp->m_aInvalidateSlots.end() ) in InvalidateSlotsInMap_Impl()
461 pImp->m_aInvalidateSlots.clear(); in InvalidateSlotsInMap_Impl()
468 pImp->m_aInvalidateSlots[nId] = sal_True; in AddSlotToInvalidateSlotsMap_Impl()
479 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in Update()
488 if ( pImp->pSubBindings ) in Update()
489 pImp->pSubBindings->Update( nId ); in Update()
494 pImp->bInUpdate = sal_True; in Update()
495 if ( pImp->bMsgDirty ) in Update()
513 const SfxSlotServer* pMsgServer = pCache->GetSlotServer(*pDispatcher, pImp->xProv); in Update()
518 pImp->bInUpdate = sal_False; in Update()
525 pImp->bInUpdate = sal_False; in Update()
533 pImp->bAllDirty = sal_False; in Update()
536 pImp->bInUpdate = sal_False; in Update()
546 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in Update()
548 if ( pImp->pSubBindings ) in Update()
549 pImp->pSubBindings->Update(); in Update()
556 pImp->bInUpdate = sal_True; in Update()
561 pImp->bInUpdate = sal_False; in Update()
585 if ( pImp->bMsgDirty ) in SetState()
624 if ( pImp->bMsgDirty ) in SetState()
649 if ( !pCache && pImp->pSubBindings ) in GetAnyStateCache_Impl()
650 return pImp->pSubBindings->GetAnyStateCache_Impl( nId ); in GetAnyStateCache_Impl()
666 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in GetStateCache()
671 if ( nPos < pImp->pCaches->Count() && in GetStateCache()
672 (*pImp->pCaches)[nPos]->GetId() == nId ) in GetStateCache()
676 return (*pImp->pCaches)[nPos]; in GetStateCache()
693 DBG_ASSERT( !pImp->bInUpdate, "SfxBindings::Invalidate while in update" ); in InvalidateAll()
697 if ( pImp->pSubBindings ) in InvalidateAll()
698 pImp->pSubBindings->InvalidateAll( bWithMsg ); in InvalidateAll()
702 ( pImp->bAllDirty && ( !bWithMsg || pImp->bAllMsgDirty ) ) || in InvalidateAll()
709 pImp->bAllMsgDirty = pImp->bAllMsgDirty || bWithMsg; in InvalidateAll()
710 pImp->bMsgDirty = pImp->bMsgDirty || pImp->bAllMsgDirty || bWithMsg; in InvalidateAll()
711 pImp->bAllDirty = sal_True; in InvalidateAll()
713 for ( sal_uInt16 n = 0; n < pImp->pCaches->Count(); ++n ) in InvalidateAll()
714 pImp->pCaches->GetObject(n)->Invalidate(bWithMsg); in InvalidateAll()
722 pImp->nMsgPos = 0; in InvalidateAll()
725 pImp->aTimer.Stop(); in InvalidateAll()
726 pImp->aTimer.SetTimeout(TIMEOUT_FIRST); in InvalidateAll()
727 pImp->aTimer.Start(); in InvalidateAll()
748 if ( pImp->bInUpdate ) in Invalidate()
754 if ( pImp->pSubBindings ) in Invalidate()
755 pImp->pSubBindings->Invalidate( pIds ); in Invalidate()
759 if ( pImp->pSubBindings ) in Invalidate()
760 pImp->pSubBindings->Invalidate( pIds ); in Invalidate()
763 if ( !pDispatcher || pImp->bAllDirty || SFX_APP()->IsDowning() ) in Invalidate()
768 *pIds && n < pImp->pCaches->Count(); in Invalidate()
772 SfxStateCache *pCache = pImp->pCaches->GetObject(n); in Invalidate()
783 pImp->nMsgPos = 0; in Invalidate()
786 pImp->aTimer.Stop(); in Invalidate()
787 pImp->aTimer.SetTimeout(TIMEOUT_FIRST); in Invalidate()
788 pImp->aTimer.Start(); in Invalidate()
813 DBG_ASSERT( !pImp->bInUpdate, "SfxBindings::Invalidate while in update" ); in InvalidateShell()
815 if ( pImp->pSubBindings ) in InvalidateShell()
816 pImp->pSubBindings->InvalidateShell( rSh, bDeep ); in InvalidateShell()
818 if ( !pDispatcher || pImp->bAllDirty || SFX_APP()->IsDowning() ) in InvalidateShell()
829 ( pImp->bAllDirty && pImp->bAllMsgDirty ) || in InvalidateShell()
840 for ( sal_uInt16 n = 0; n < pImp->pCaches->Count(); ++n ) in InvalidateShell()
842 SfxStateCache *pCache = pImp->pCaches->GetObject(n); in InvalidateShell()
844 pCache->GetSlotServer(*pDispatcher, pImp->xProv); in InvalidateShell()
848 pImp->nMsgPos = 0; in InvalidateShell()
851 pImp->aTimer.Stop(); in InvalidateShell()
852 pImp->aTimer.SetTimeout(TIMEOUT_FIRST); in InvalidateShell()
853 pImp->aTimer.Start(); in InvalidateShell()
854 pImp->bFirstRound = sal_True; in InvalidateShell()
855 pImp->nFirstShell = nLevel; in InvalidateShell()
872 if ( pImp->bInUpdate ) in Invalidate()
875 if ( pImp->pSubBindings ) in Invalidate()
876 pImp->pSubBindings->Invalidate( nId ); in Invalidate()
880 if ( pImp->pSubBindings ) in Invalidate()
881 pImp->pSubBindings->Invalidate( nId ); in Invalidate()
883 if ( !pDispatcher || pImp->bAllDirty || SFX_APP()->IsDowning() ) in Invalidate()
890 pImp->nMsgPos = Min(GetSlotPos(nId), pImp->nMsgPos); in Invalidate()
893 pImp->aTimer.Stop(); in Invalidate()
894 pImp->aTimer.SetTimeout(TIMEOUT_FIRST); in Invalidate()
895 pImp->aTimer.Start(); in Invalidate()
910 DBG_ASSERT( !pImp->bInUpdate, "SfxBindings::Invalidate while in update" ); in Invalidate()
912 if ( pImp->pSubBindings ) in Invalidate()
913 pImp->pSubBindings->Invalidate( nId, bWithItem, bWithMsg ); in Invalidate()
925 if ( !pDispatcher || pImp->bAllDirty ) in Invalidate()
928 pImp->nMsgPos = Min(GetSlotPos(nId), pImp->nMsgPos); in Invalidate()
931 pImp->aTimer.Stop(); in Invalidate()
932 pImp->aTimer.SetTimeout(TIMEOUT_FIRST); in Invalidate()
933 pImp->aTimer.Start(); in Invalidate()
943 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in IsBound()
952 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in GetSlotPos()
956 if ( pImp->nCachedFunc1 < pImp->pCaches->Count() && in GetSlotPos()
957 (*pImp->pCaches)[pImp->nCachedFunc1]->GetId() == nId ) in GetSlotPos()
961 return pImp->nCachedFunc1; in GetSlotPos()
963 if ( pImp->nCachedFunc2 < pImp->pCaches->Count() && in GetSlotPos()
964 (*pImp->pCaches)[pImp->nCachedFunc2]->GetId() == nId ) in GetSlotPos()
969 sal_uInt16 nTemp = pImp->nCachedFunc1; in GetSlotPos()
970 pImp->nCachedFunc1 = pImp->nCachedFunc2; in GetSlotPos()
971 pImp->nCachedFunc2 = nTemp; in GetSlotPos()
973 return pImp->nCachedFunc1; in GetSlotPos()
977 if ( pImp->pCaches->Count() <= nStartSearchAt ) in GetSlotPos()
982 if ( pImp->pCaches->Count() == (nStartSearchAt+1) ) in GetSlotPos()
985 return (*pImp->pCaches)[nStartSearchAt]->GetId() >= nId ? 0 : 1; in GetSlotPos()
991 nHigh = pImp->pCaches->Count() - 1; in GetSlotPos()
995 DBG_ASSERT( nMid < pImp->pCaches->Count(), "bsearch ist buggy" ); in GetSlotPos()
996 int nDiff = (int) nId - (int) ( ((*pImp->pCaches)[nMid])->GetId() ); in GetSlotPos()
1011 DBG_ASSERT( nPos <= pImp->pCaches->Count(), "" ); in GetSlotPos()
1012 DBG_ASSERT( nPos == pImp->pCaches->Count() || in GetSlotPos()
1013 nId <= (*pImp->pCaches)[nPos]->GetId(), "" ); in GetSlotPos()
1015 nId > (*pImp->pCaches)[nPos-1]->GetId(), "" ); in GetSlotPos()
1016 DBG_ASSERT( ( (nPos+1) >= pImp->pCaches->Count() ) || in GetSlotPos()
1017 nId < (*pImp->pCaches)[nPos+1]->GetId(), "" ); in GetSlotPos()
1018 pImp->nCachedFunc2 = pImp->nCachedFunc1; in GetSlotPos()
1019 pImp->nCachedFunc1 = nPos; in GetSlotPos()
1039 DBG_ASSERT( !pImp->bInNextJob, "SfxBindings::Register while status-updating" ); in Register_Impl()
1044 if ( nPos >= pImp->pCaches->Count() || in Register_Impl()
1045 (*pImp->pCaches)[nPos]->GetId() != nId ) in Register_Impl()
1048 pImp->pCaches->Insert( nPos, pCache ); in Register_Impl()
1050 (*pImp->pCaches)[nPos]->GetId() > in Register_Impl()
1051 (*pImp->pCaches)[nPos-1]->GetId(), "" ); in Register_Impl()
1052 DBG_ASSERT( (nPos == pImp->pCaches->Count()-1) || in Register_Impl()
1053 (*pImp->pCaches)[nPos]->GetId() < in Register_Impl()
1054 (*pImp->pCaches)[nPos+1]->GetId(), "" ); in Register_Impl()
1055 pImp->bMsgDirty = sal_True; in Register_Impl()
1061 (*pImp->pCaches)[nPos]->SetInternalController( &rItem ); in Register_Impl()
1065 SfxControllerItem *pOldItem = (*pImp->pCaches)[nPos]->ChangeItemLink(&rItem); in Register_Impl()
1075 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in Release()
1077 DBG_ASSERT( !pImp->bInNextJob, "SfxBindings::Release while status-updating" ); in Release()
1083 SfxStateCache* pCache = (*pImp->pCaches)[nPos]; in Release()
1113 delete (*pImp->pCaches)[nPos]; in Release()
1114 pImp->pCaches->Remove(nPos, 1); in Release()
1116 pImp->bCtrlReleased = sal_True; in Release()
1128 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in ExecuteSynchron()
1140 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in Execute()
1161 SfxBindings *pBind = pImp->pSubBindings; in Execute_Impl()
1166 pBind = pBind->pImp->pSubBindings; in Execute_Impl()
1181 pCache->GetSlotServer( rDispatcher, pImp->xProv ); in Execute_Impl()
1206 if ( pImp->bMsgDirty ) in Execute_Impl()
1214 const SfxSlotServer* pServer = pCache ? pCache->GetSlotServer( rDispatcher, pImp->xProv ) : 0; in Execute_Impl()
1362 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in UpdateSlotServer_Impl()
1368 if ( pImp->bAllMsgDirty ) in UpdateSlotServer_Impl()
1376 pImp->bContextChanged = sal_False; in UpdateSlotServer_Impl()
1379 pImp->bContextChanged = sal_True; in UpdateSlotServer_Impl()
1382 const sal_uInt16 nCount = pImp->pCaches->Count(); in UpdateSlotServer_Impl()
1385 SfxStateCache *pCache = pImp->pCaches->GetObject(i); in UpdateSlotServer_Impl()
1386 pCache->GetSlotServer(*pDispatcher, pImp->xProv); in UpdateSlotServer_Impl()
1388 pImp->bMsgDirty = pImp->bAllMsgDirty = sal_False; in UpdateSlotServer_Impl()
1423 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in CreateSet_Impl()
1425 DBG_ASSERT( !pImp->bMsgDirty, "CreateSet_Impl mit dirty MessageServer" ); in CreateSet_Impl()
1427 const SfxSlotServer* pMsgSvr = pCache->GetSlotServer(*pDispatcher, pImp->xProv); in CreateSet_Impl()
1476 sal_uInt16 nCachePos = pImp->nMsgPos; in CreateSet_Impl()
1489 const SfxSlotServer *pServ = pSiblingCache->GetSlotServer(*pDispatcher, pImp->xProv); in CreateSet_Impl()
1514 sal_uInt16 nCurMsgPos = pImp->nMsgPos; in CreateSet_Impl()
1683 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in IMPL_LINK()
1689 pImp->aTimer.SetTimeout(TIMEOUT_UPDATING); in IMPL_LINK()
1702 …pFrame->GetObjectShell()->AcceptStateUpdate()) || pSfxApp->IsDowning() || !pImp->pCaches->Count() ) in IMPL_LINK()
1715 if ( pImp->bMsgDirty ) in IMPL_LINK()
1724 pImp->bAllDirty = sal_False; in IMPL_LINK()
1725 pImp->aTimer.SetTimeout(TIMEOUT_UPDATING); in IMPL_LINK()
1730 pImp->bInNextJob = sal_True; in IMPL_LINK()
1731 const sal_uInt16 nCount = pImp->pCaches->Count(); in IMPL_LINK()
1732 while ( pImp->nMsgPos < nCount ) in IMPL_LINK()
1738 SfxStateCache* pCache = (*pImp->pCaches)[pImp->nMsgPos]; in IMPL_LINK()
1760 DBG_ASSERT( nCount == pImp->pCaches->Count(), in IMPL_LINK()
1766 ++pImp->nMsgPos; in IMPL_LINK()
1769 bJobDone = pImp->nMsgPos >= nCount; in IMPL_LINK()
1770 if ( bJobDone && pImp->bFirstRound ) in IMPL_LINK()
1775 pImp->bFirstRound = sal_False; in IMPL_LINK()
1776 pImp->nMsgPos = 0; in IMPL_LINK()
1782 pImp->bInNextJob = sal_False; in IMPL_LINK()
1788 pImp->nMsgPos = 0; in IMPL_LINK()
1794 SfxStateCache* pCache = (*pImp->pCaches)[n]; in IMPL_LINK()
1795 const SfxSlotServer *pSlotServer = pCache->GetSlotServer(*pDispatcher, pImp->xProv); in IMPL_LINK()
1804 pImp->aTimer.SetTimeout(TIMEOUT_IDLE); in IMPL_LINK()
1806 pImp->aTimer.Stop(); in IMPL_LINK()
1809 pImp->bInNextJob = sal_False; in IMPL_LINK()
1818 pImp->bInNextJob = sal_False; in IMPL_LINK()
1853 if ( pImp->pSubBindings ) in EnterRegistrations()
1855 pImp->pSubBindings->ENTERREGISTRATIONS(); in EnterRegistrations()
1858 pImp->pSubBindings->pImp->nOwnRegLevel--; in EnterRegistrations()
1861 pImp->pSubBindings->nRegLevel = nRegLevel + pImp->pSubBindings->pImp->nOwnRegLevel + 1; in EnterRegistrations()
1864 pImp->nOwnRegLevel++; in EnterRegistrations()
1870 pImp->aTimer.Stop(); in EnterRegistrations()
1873 pImp->nCachedFunc1 = 0; in EnterRegistrations()
1874 pImp->nCachedFunc2 = 0; in EnterRegistrations()
1877 pImp->bCtrlReleased = sal_False; in EnterRegistrations()
1895 …if ( pImp->pSubBindings && pImp->pSubBindings->nRegLevel > pImp->pSubBindings->pImp->nOwnRegLevel ) in LeaveRegistrations()
1898 pImp->pSubBindings->nRegLevel = nRegLevel + pImp->pSubBindings->pImp->nOwnRegLevel; in LeaveRegistrations()
1901 pImp->pSubBindings->pImp->nOwnRegLevel++; in LeaveRegistrations()
1902 pImp->pSubBindings->LEAVEREGISTRATIONS(); in LeaveRegistrations()
1905 pImp->nOwnRegLevel--; in LeaveRegistrations()
1910 if ( pImp->bContextChanged ) in LeaveRegistrations()
1912 pImp->bContextChanged = sal_False; in LeaveRegistrations()
1924 if ( pImp->bCtrlReleased ) in LeaveRegistrations()
1926 for ( sal_uInt16 nCache = pImp->pCaches->Count(); nCache > 0; --nCache ) in LeaveRegistrations()
1929 SfxStateCache *pCache = pImp->pCaches->GetObject(nCache-1); in LeaveRegistrations()
1935 SfxStateCache* pSfxStateCache = (*pImp->pCaches)[nCache-1]; in LeaveRegistrations()
1936 pImp->pCaches->Remove(nCache-1, 1); in LeaveRegistrations()
1948 pImp->nMsgPos = 0; in LeaveRegistrations()
1951 if ( pImp->pCaches && pImp->pCaches->Count() ) in LeaveRegistrations()
1953 pImp->aTimer.Stop(); in LeaveRegistrations()
1954 pImp->aTimer.SetTimeout(TIMEOUT_FIRST); in LeaveRegistrations()
1955 pImp->aTimer.Start(); in LeaveRegistrations()
1986 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in GetSlot()
1990 if ( pImp->bMsgDirty ) in GetSlot()
1995 return pCache && pCache->GetSlotServer(*pDispatcher, pImp->xProv)? in GetSlot()
1996 pCache->GetSlotServer(*pDispatcher, pImp->xProv)->GetSlot(): 0; in GetSlot()
2011 if ( pBind->pImp->pSubBindings == this && pBind->pDispatcher != pDisp ) in SetDispatcher()
2013 pBind = pBind->pImp->pSubBindings; in SetDispatcher()
2030 if ( pImp->pSubBindings && pImp->pSubBindings->pDispatcher != pOldDispat ) in SetDispatcher()
2033 pImp->pSubBindings->ENTERREGISTRATIONS(); in SetDispatcher()
2040 if ( pImp->pSubBindings && pImp->pSubBindings->pDispatcher != pOldDispat ) in SetDispatcher()
2043 pImp->pSubBindings->LEAVEREGISTRATIONS(); in SetDispatcher()
2054 if ( !pBind->pImp->pSubBindings ) in SetDispatcher()
2060 pBind = pBind->pImp->pSubBindings; in SetDispatcher()
2076 if ( pImp->pSubBindings ) in StartUpdate_Impl()
2077 pImp->pSubBindings->StartUpdate_Impl( bComplete ); in StartUpdate_Impl()
2081 NextJob_Impl(&pImp->aTimer); in StartUpdate_Impl()
2110 xDisp = pImp->xProv->queryDispatch( aURL, ::rtl::OUString(), 0 ); in QueryState()
2128 pCache->GetSlotServer( *GetDispatcher_Impl(), pImp->xProv ); in QueryState()
2205 if ( pImp->pSubBindings ) in SetSubBindings_Impl()
2207 …pImp->pSubBindings->SetDispatchProvider_Impl( ::com::sun::star::uno::Reference< ::com::sun::star::… in SetSubBindings_Impl()
2208 pImp->pSubBindings->pImp->pSuperBindings = NULL; in SetSubBindings_Impl()
2211 pImp->pSubBindings = pSub; in SetSubBindings_Impl()
2215 pImp->pSubBindings->SetDispatchProvider_Impl( pImp->xProv ); in SetSubBindings_Impl()
2216 pSub->pImp->pSuperBindings = this; in SetSubBindings_Impl()
2222 SfxBindings *pRet = pImp->pSubBindings; in GetSubBindings_Impl()
2225 while ( pRet->pImp->pSubBindings ) in GetSubBindings_Impl()
2226 pRet = pRet->pImp->pSubBindings; in GetSubBindings_Impl()
2234 pImp->pWorkWin = pWork; in SetWorkWindow_Impl()
2239 return pImp->pWorkWin; in GetWorkWindow_Impl()
2244 if ( !pImp->pUnoCtrlArr ) in RegisterUnoController_Impl()
2245 pImp->pUnoCtrlArr = new SfxUnoControllerArr_Impl; in RegisterUnoController_Impl()
2246 pImp->pUnoCtrlArr->Insert( pControl, pImp->pUnoCtrlArr->Count() ); in RegisterUnoController_Impl()
2251 if ( pImp->pUnoCtrlArr ) in ReleaseUnoController_Impl()
2253 sal_uInt16 nPos = pImp->pUnoCtrlArr->GetPos( pControl ); in ReleaseUnoController_Impl()
2256 pImp->pUnoCtrlArr->Remove( nPos ); in ReleaseUnoController_Impl()
2261 if ( pImp->pSubBindings ) in ReleaseUnoController_Impl()
2262 pImp->pSubBindings->ReleaseUnoController_Impl( pControl ); in ReleaseUnoController_Impl()
2267 if ( pImp->pUnoCtrlArr ) in InvalidateUnoControllers_Impl()
2269 sal_uInt16 nCount = pImp->pUnoCtrlArr->Count(); in InvalidateUnoControllers_Impl()
2272 SfxUnoControllerItem *pCtrl = (*pImp->pUnoCtrlArr)[n-1]; in InvalidateUnoControllers_Impl()
2279 if ( pImp->pSubBindings ) in InvalidateUnoControllers_Impl()
2280 pImp->pSubBindings->InvalidateUnoControllers_Impl(); in InvalidateUnoControllers_Impl()
2285 sal_Bool bInUpdate = pImp->bInUpdate; in IsInUpdate()
2286 if ( !bInUpdate && pImp->pSubBindings ) in IsInUpdate()
2287 bInUpdate = pImp->pSubBindings->IsInUpdate(); in IsInUpdate()
2310 …const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > xFrame( pImp->xProv, ::c… in GetActiveFrame()
2319 sal_Bool bInvalidate = ( rProv != pImp->xProv ); in SetDispatchProvider_Impl()
2322 pImp->xProv = rProv; in SetDispatchProvider_Impl()
2327 if ( pImp->pSubBindings ) in SetDispatchProvider_Impl()
2328 pImp->pSubBindings->SetDispatchProvider_Impl( pImp->xProv ); in SetDispatchProvider_Impl()
2333 return pImp->xProv; in GetDispatchProvider_Impl()
2351 …::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > xDisp = pImp->xProv->query… in ExecuteCommand_Impl()
2382 return pImp->xRecorder; in GetRecorder()
2387 pImp->xRecorder = rRecorder; in SetRecorder_Impl()
2392 if ( !pImp->bInUpdate && ( !pImp->bContextChanged || !pImp->bAllMsgDirty ) ) in ContextChanged_Impl()