Lines Matching refs:embed
100 class SfxInPlaceClient_Impl : public ::cppu::WeakImplHelper5< embed::XEmbeddedClient,
101 embed::XInplaceClient,
103 embed::XStateChangeListener,
104 embed::XWindowSupplier >
118 uno::Reference < embed::XEmbeddedObject > m_xObject;
119 uno::Reference < embed::XEmbeddedClient > m_xClient;
137 …virtual void SAL_CALL saveObject() throw ( embed::ObjectSaveVetoException, uno::Exception, uno::Ru…
138 …virtual void SAL_CALL visibilityChanged( sal_Bool bVisible ) throw ( embed::WrongStateException, u…
142 …virtual void SAL_CALL activatingInplace() throw ( embed::WrongStateException, uno::RuntimeExceptio…
143 … virtual void SAL_CALL activatingUI() throw ( embed::WrongStateException, uno::RuntimeException );
144 …virtual void SAL_CALL deactivatedInplace() throw ( embed::WrongStateException, uno::RuntimeExcepti…
145 … virtual void SAL_CALL deactivatedUI() throw ( embed::WrongStateException, uno::RuntimeException );
146 …m::sun::star::frame::XLayoutManager > SAL_CALL getLayoutManager() throw ( embed::WrongStateExcepti…
147 … frame::XDispatchProvider > SAL_CALL getInplaceDispatchProvider() throw ( embed::WrongStateExcepti…
148 …virtual awt::Rectangle SAL_CALL getPlacement() throw ( embed::WrongStateException, uno::RuntimeExc…
149 …virtual awt::Rectangle SAL_CALL getClipRectangle() throw ( embed::WrongStateException, uno::Runtim…
150 …nslateAccelerators( const uno::Sequence< awt::KeyEvent >& aKeys ) throw ( embed::WrongStateExcepti…
151 …virtual void SAL_CALL scrollObject( const awt::Size& aOffset ) throw ( embed::WrongStateException,…
152 …virtual void SAL_CALL changedPlacement( const awt::Rectangle& aPosRect ) throw ( embed::WrongState…
164 …, ::sal_Int32 nOldState, ::sal_Int32 nNewState ) throw (::com::sun::star::embed::WrongStateExcepti…
177 throw (::com::sun::star::embed::WrongStateException, ::com::sun::star::uno::RuntimeException) in changingState()
187 …if ( m_pClient && nOldState != embed::EmbedStates::LOADED && nNewState == embed::EmbedStates::RUNN… in stateChanged()
195 else if ( m_pClient && nNewState == embed::EmbedStates::UI_ACTIVE ) in stateChanged()
217 …if ( m_pClient && aEvent.EventName.equalsAscii("OnVisAreaChanged") && m_nAspect != embed::Aspects:… in notifyEvent()
241 throw ( embed::ObjectSaveVetoException, in saveObject()
251 uno::Reference< embed::XCommonEmbedPersist > xPersist( m_xObject, uno::UNO_QUERY ); in saveObject()
350 throw ( embed::WrongStateException, in visibilityChanged()
372 …if ( m_xObject->getCurrentState() == embed::EmbedStates::ACTIVE || m_nAspect == embed::Aspects::MS… in canInplaceActivate()
380 throw ( embed::WrongStateException, in activatingInplace()
391 throw ( embed::WrongStateException, in activatingUI()
404 throw ( embed::WrongStateException, in deactivatedInplace()
415 throw ( embed::WrongStateException, in deactivatedUI()
427 throw ( embed::WrongStateException, in getLayoutManager()
450 throw ( embed::WrongStateException, in getInplaceDispatchProvider()
458 throw ( embed::WrongStateException, in getPlacement()
475 throw ( embed::WrongStateException, in getClipRectangle()
492 throw ( embed::WrongStateException, in translateAccelerators()
503 throw ( embed::WrongStateException, in scrollObject()
512 throw ( embed::WrongStateException, in changedPlacement()
516 uno::Reference< embed::XInplaceObject > xInplace( m_xObject, uno::UNO_QUERY ); in changedPlacement()
604 && ( m_xObject->getCurrentState() == embed::EmbedStates::INPLACE_ACTIVE in SizeHasChanged()
605 || m_xObject->getCurrentState() == embed::EmbedStates::UI_ACTIVE ) ) in SizeHasChanged()
608 uno::Reference< embed::XInplaceObject > xInplace( m_xObject, uno::UNO_QUERY ); in SizeHasChanged()
655 m_pImp->m_xClient = static_cast< embed::XEmbeddedClient* >( m_pImp ); in SfxInPlaceClient()
674 m_pImp->m_xClient = uno::Reference < embed::XEmbeddedClient >(); in ~SfxInPlaceClient()
688 if ( m_pImp->m_nAspect == embed::Aspects::MSOLE_ICON in SetObjectState()
689 && ( nState == embed::EmbedStates::UI_ACTIVE || nState == embed::EmbedStates::INPLACE_ACTIVE ) ) in SetObjectState()
713 uno::Reference < embed::XEmbeddedObject > SfxInPlaceClient::GetObject() const in GetObject()
719 void SfxInPlaceClient::SetObject( const uno::Reference < embed::XEmbeddedObject >& rObject ) in SetObject()
726 if ( GetObject()->getCurrentState() != embed::EmbedStates::LOADED ) in SetObject()
727 SetObjectState( embed::EmbedStates::RUNNING ); in SetObject()
729 …m_pImp->m_xObject->removeStateChangeListener( uno::Reference < embed::XStateChangeListener >( m_pI… in SetObject()
751 …rObject->addStateChangeListener( uno::Reference < embed::XStateChangeListener >( m_pImp->m_xClient… in SetObject()
862 …return ( m_pImp->m_xObject.is() && ( m_pImp->m_xObject->getCurrentState() == embed::EmbedStates::U… in IsObjectUIActive()
877 (m_pImp->m_xObject->getCurrentState() == embed::EmbedStates::INPLACE_ACTIVE) in IsObjectInPlaceActive()
881 (m_pImp->m_xObject->getCurrentState() == embed::EmbedStates::UI_ACTIVE) in IsObjectInPlaceActive()
895 …return ( m_pImp->m_xObject.is() && ( m_pImp->m_xObject->getCurrentState() == embed::EmbedStates::A… in IsObjectActive()
904 …ObjectShell* pDoc, const com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject >… in GetActiveWindow()
913 …ObjectShell* pDoc, const com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject >… in GetClient()
978 if ( m_pImp->m_nAspect == embed::Aspects::MSOLE_ICON ) in DoVerb()
980 …if ( nVerb == embed::EmbedVerbs::MS_OLEVERB_PRIMARY || nVerb == embed::EmbedVerbs::MS_OLEVERB_SHOW… in DoVerb()
981 nVerb = embed::EmbedVerbs::MS_OLEVERB_OPEN; // outplace activation in DoVerb()
982 else if ( nVerb == embed::EmbedVerbs::MS_OLEVERB_UIACTIVATE in DoVerb()
983 || nVerb == embed::EmbedVerbs::MS_OLEVERB_IPACTIVATE ) in DoVerb()
998 catch ( embed::UnreachableStateException& ) in DoVerb()
1000 if ( nVerb == 0 || nVerb == embed::EmbedVerbs::MS_OLEVERB_OPEN ) in DoVerb()
1007 … if ( m_pImp->m_xObject->getCurrentState() == embed::EmbedStates::UI_ACTIVE ) in DoVerb()
1027 catch ( embed::StateChangeInProgressException& ) in DoVerb()
1056 uno::Reference < embed::XInplaceObject > xObj( m_pImp->m_xObject, uno::UNO_QUERY ); in VisAreaChanged()
1057 uno::Reference < embed::XInplaceClient > xClient( m_pImp->m_xClient, uno::UNO_QUERY ); in VisAreaChanged()
1109 …if ( m_pImp->m_xObject->getStatus( m_pImp->m_nAspect ) & embed::EmbedMisc::MS_EMBED_ACTIVATEWHENVI… in DeactivateObject()
1111 m_pImp->m_xObject->changeState( embed::EmbedStates::INPLACE_ACTIVE ); in DeactivateObject()
1118 uno::Reference< embed::XLinkageSupport > xLink( m_pImp->m_xObject, uno::UNO_QUERY ); in DeactivateObject()
1120 m_pImp->m_xObject->changeState( embed::EmbedStates::LOADED ); in DeactivateObject()
1122 m_pImp->m_xObject->changeState( embed::EmbedStates::RUNNING ); in DeactivateObject()
1145 …if ( m_pImp->m_xObject->getStatus( m_pImp->m_nAspect ) & embed::EmbedMisc::MS_EMBED_ACTIVATEWHENVI… in ResetObject()
1146 m_pImp->m_xObject->changeState( embed::EmbedStates::INPLACE_ACTIVE ); in ResetObject()
1150 uno::Reference< embed::XLinkageSupport > xLink( m_pImp->m_xObject, uno::UNO_QUERY ); in ResetObject()
1152 m_pImp->m_xObject->changeState( embed::EmbedStates::LOADED ); in ResetObject()
1154 m_pImp->m_xObject->changeState( embed::EmbedStates::RUNNING ); in ResetObject()