Lines Matching refs:m_pData

538     :   m_pData ( new IMPL_SfxBaseController_DataContainer( m_aMutex, pViewShell, this ))  in DBG_NAME()
541 m_pData->m_pViewShell->SetController( this ); in DBG_NAME()
551 delete m_pData; in ~SfxBaseController()
561 if ( !m_pData->m_pViewShell ) in getComponentWindow()
570 if ( !m_pData->m_pViewShell || !m_pData->m_pViewShell->GetObjectShell() ) in getViewControllerName()
573 const SfxObjectFactory& rDocFac( m_pData->m_pViewShell->GetObjectShell()->GetFactory() ); in getViewControllerName()
587 if ( !m_pData->m_pViewShell || !m_pData->m_pViewShell->GetObjectShell() ) in getCreationArguments()
590 return m_pData->m_aCreationArgs; in getCreationArguments()
595 …OSL_ENSURE( m_pData->m_aCreationArgs.getLength() == 0, "SfxBaseController::SetCreationArguments_Im… in SetCreationArguments_Impl()
596 m_pData->m_aCreationArgs = i_rCreationArgs; in SetCreationArguments_Impl()
601 ENSURE_OR_THROW( m_pData->m_pViewShell, "not to be called without a view shell" ); in GetViewFrame_Impl()
602 SfxViewFrame* pActFrame = m_pData->m_pViewShell->GetFrame(); in GetViewFrame_Impl()
618 xTemp->removeFrameActionListener( m_pData->m_xListener ) ; in attachFrame()
621 xCloseable->removeCloseListener( m_pData->m_xCloseListener ); in attachFrame()
624 m_pData->m_xFrame = xFrame; in attachFrame()
628 xFrame->addFrameActionListener( m_pData->m_xListener ) ; in attachFrame()
631 xCloseable->addCloseListener( m_pData->m_xCloseListener ); in attachFrame()
633 if ( m_pData->m_pViewShell ) in attachFrame()
638 …T_VIEWCREATED, GlobalEventConfig::GetEventName( STR_EVENT_VIEWCREATED ), m_pData->m_pViewShell->Ge… in attachFrame()
650 …if ( m_pData->m_pViewShell && xModel.is() && xModel != m_pData->m_pViewShell->GetObjectShell()->Ge… in attachModel()
659 xCloseable->addCloseListener( m_pData->m_xCloseListener ); in attachModel()
672 if (bSuspend == m_pData->m_bSuspendState) in suspend()
677 if ( !m_pData->m_pViewShell ) in suspend()
679 m_pData->m_bSuspendState = sal_True; in suspend()
683 if ( !m_pData->m_pViewShell->PrepareClose() ) in suspend()
687 getFrame()->removeFrameActionListener( m_pData->m_xListener ) ; in suspend()
688 SfxViewFrame* pActFrame = m_pData->m_pViewShell->GetFrame() ; in suspend()
691 SfxObjectShell* pDocShell = m_pData->m_pViewShell->GetObjectShell() ; in suspend()
701 m_pData->m_bSuspendState = sal_True; in suspend()
709 getFrame()->addFrameActionListener( m_pData->m_xListener ) ; in suspend()
711 if ( m_pData->m_pViewShell ) in suspend()
716 m_pData->m_bSuspendState = sal_False; in suspend()
730 if ( m_pData->m_pViewShell ) in getViewData()
732 m_pData->m_pViewShell->WriteUserData( sData1 ) ; in getViewData()
747 if ( m_pData->m_pViewShell ) in restoreViewData()
751 m_pData->m_pViewShell->ReadUserData( sData ) ; in restoreViewData()
762 return m_pData->m_xFrame; in getFrame()
772 …return m_pData->m_pViewShell ? m_pData->m_pViewShell->GetObjectShell()->GetModel() : REFERENCE < X… in getModel()
785 if ( m_pData->m_pViewShell ) in queryDispatch()
787 SfxViewFrame* pAct = m_pData->m_pViewShell->GetViewFrame() ; in queryDispatch()
788 if ( !m_pData->m_bDisposing ) in queryDispatch()
792 SfxViewFrame *pFrame = m_pData->m_pViewShell->GetViewFrame(); in queryDispatch()
812 pAct = m_pData->m_pViewShell->GetViewFrame() ; in queryDispatch()
867 pAct = m_pData->m_pViewShell->GetViewFrame() ; in queryDispatch()
870 const SfxSlot* pSlot = m_pData->m_pViewShell->GetVerbSlot_Impl(nId); in queryDispatch()
964 if ( m_pData->m_pViewShell ) in getBorder()
966 SvBorder aBorder = m_pData->m_pViewShell->GetBorderPixel(); in getBorder()
979m_pData->m_aListenerContainer.addInterface( ::getCppuType((const uno::Reference< frame::XBorderRes… in addBorderResizeListener()
986m_pData->m_aListenerContainer.removeInterface( ::getCppuType((const uno::Reference< frame::XBorder… in removeBorderResizeListener()
994 if ( m_pData->m_pViewShell ) in queryBorderedArea()
997 m_pData->m_pViewShell->QueryObjAreaPixel( aTmpRect ); in queryBorderedArea()
1006 ::cppu::OInterfaceContainerHelper* pContainer = m_pData->m_aListenerContainer.getContainer( in BorderWidthsChanged_Impl()
1036 m_pData->m_bDisposing = sal_True ; in dispose()
1040 m_pData->m_aListenerContainer.disposeAndClear( aEventObject ) ; in dispose()
1042 if ( m_pData->m_pController && m_pData->m_pController->getFrame().is() ) in dispose()
1043 m_pData->m_pController->getFrame()->removeFrameActionListener( m_pData->m_xListener ) ; in dispose()
1045 if ( m_pData->m_pViewShell ) in dispose()
1047 SfxViewFrame* pFrame = m_pData->m_pViewShell->GetViewFrame() ; in dispose()
1048 if ( pFrame && pFrame->GetViewShell() == m_pData->m_pViewShell ) in dispose()
1050 m_pData->m_pViewShell->DiscardClients_Impl(); in dispose()
1051 m_pData->m_pViewShell->pImp->m_bControllerSet = false; in dispose()
1063 if ( pView != pFrame || pView->GetViewShell() != m_pData->m_pViewShell ) in dispose()
1078 xCloseable->removeCloseListener( m_pData->m_xCloseListener ); in dispose()
1084 m_pData->m_xListener->disposing( aObject ); in dispose()
1085 SfxViewShell *pShell = m_pData->m_pViewShell; in dispose()
1086 m_pData->m_pViewShell = NULL; in dispose()
1105m_pData->m_aListenerContainer.addInterface( ::getCppuType((const REFERENCE< XEVENTLISTENER >*)0), … in addEventListener()
1114m_pData->m_aListenerContainer.removeInterface( ::getCppuType((const REFERENCE< XEVENTLISTENER >*)0… in removeEventListener()
1120 if ( m_pData->m_pViewShell ) in ReleaseShell_Impl()
1122 SfxObjectShell* pDoc = m_pData->m_pViewShell->GetObjectShell() ; in ReleaseShell_Impl()
1129 xCloseable->removeCloseListener( m_pData->m_xCloseListener ); in ReleaseShell_Impl()
1131 m_pData->m_pViewShell = 0; in ReleaseShell_Impl()
1140 return m_pData->m_pViewShell; in GetViewShell_Impl()
1146 if ( m_pData->m_pViewShell && !m_pData->m_xIndicator.is() ) in getStatusIndicator()
1147m_pData->m_xIndicator = new SfxStatusIndicator( this, m_pData->m_pViewShell->GetViewFrame()->GetFr… in getStatusIndicator()
1148 return m_pData->m_xIndicator; in getStatusIndicator()
1154 m_pData->m_aInterceptorContainer.addInterface( xInterceptor ); in registerContextMenuInterceptor()
1157 if ( m_pData->m_pViewShell ) in registerContextMenuInterceptor()
1158 m_pData->m_pViewShell->AddContextMenuInterceptor_Impl( xInterceptor ); in registerContextMenuInterceptor()
1164 m_pData->m_aInterceptorContainer.removeInterface( xInterceptor ); in releaseContextMenuInterceptor()
1167 if ( m_pData->m_pViewShell ) in releaseContextMenuInterceptor()
1168 m_pData->m_pViewShell->RemoveContextMenuInterceptor_Impl( xInterceptor ); in releaseContextMenuInterceptor()
1174 m_pData->m_aUserInputInterception.addKeyHandler( xHandler ); in addKeyHandler()
1180 m_pData->m_aUserInputInterception.removeKeyHandler( xHandler ); in removeKeyHandler()
1186 m_pData->m_aUserInputInterception.addMouseClickHandler( xHandler ); in addMouseClickHandler()
1192 m_pData->m_aUserInputInterception.removeMouseClickHandler( xHandler ); in removeMouseClickHandler()
1201 SfxViewFrame* pViewFrame( m_pData->m_pViewShell->GetFrame() ); in getSupportedCommandGroups()
1235 if ( m_pData->m_pViewShell ) in getConfigurableDispatchInformation()
1239 SfxViewFrame* pViewFrame( m_pData->m_pViewShell->GetFrame() ); in getConfigurableDispatchInformation()
1279 return m_pData->m_aUserInputInterception.handleNotifyEvent( rEvent ); in HandleEvent_Impl()
1284 return m_pData->m_aUserInputInterception.hasKeyHandlers(); in HasKeyListeners_Impl()
1289 return m_pData->m_aUserInputInterception.hasMouseClickListeners(); in HasMouseClickListeners_Impl()
1294 ENSURE_OR_THROW( m_pData->m_pViewShell, "not to be called without a view shell" ); in ConnectSfxFrame_Impl()
1295 SfxViewFrame* pViewFrame = m_pData->m_pViewShell->GetFrame(); in ConnectSfxFrame_Impl()
1308 if ( ( m_pData->m_pViewShell->GetObjectShell() != NULL ) in ConnectSfxFrame_Impl()
1309 … && ( m_pData->m_pViewShell->GetObjectShell()->GetCreateMode() == SFX_CREATE_MODE_EMBEDDED ) in ConnectSfxFrame_Impl()
1312 SfxViewFrame* pViewFrm = m_pData->m_pViewShell->GetViewFrame(); in ConnectSfxFrame_Impl()
1319 … uno::Reference< beans::XPropertySet > xFrameProps( m_pData->m_xFrame, uno::UNO_QUERY_THROW ); in ConnectSfxFrame_Impl()
1336 pViewFrame->GetDispatcher()->Push( *m_pData->m_pViewShell ); in ConnectSfxFrame_Impl()
1337 if ( m_pData->m_pViewShell->GetSubShell() ) in ConnectSfxFrame_Impl()
1338 pViewFrame->GetDispatcher()->Push( *m_pData->m_pViewShell->GetSubShell() ); in ConnectSfxFrame_Impl()
1339 m_pData->m_pViewShell->PushSubShells_Impl(); in ConnectSfxFrame_Impl()
1343 Window* pEditWin = m_pData->m_pViewShell->GetWindow(); in ConnectSfxFrame_Impl()
1344 if ( pEditWin && m_pData->m_pViewShell->IsShowView_Impl() ) in ConnectSfxFrame_Impl()
1362 SfxObjectShell& rDoc = *m_pData->m_pViewShell->GetObjectShell(); in ConnectSfxFrame_Impl()
1408 OSL_ENSURE( ( !m_pData->m_pViewShell->GetObjectShell()->IsLoading() ) in ConnectSfxFrame_Impl()
1415 m_pData->m_pViewShell->JumpToMark( sJumpMark ); in ConnectSfxFrame_Impl()
1465 m_pData->m_pViewShell->ReadUserDataSequence( aViewData, sal_True ); in ConnectSfxFrame_Impl()
1477 …const sal_uInt16 nViewNo = m_pData->m_pViewShell->GetObjectShell()->GetFactory().GetViewNo_Impl( p… in ConnectSfxFrame_Impl()
1488 if ( ! m_pData->m_xTitleHelper.is ()) in impl_getTitleHelper()
1495m_pData->m_xTitleHelper = css::uno::Reference< css::frame::XTitle >(static_cast< ::cppu::OWeakObje… in impl_getTitleHelper()
1501 return m_pData->m_xTitleHelper; in impl_getTitleHelper()