Lines Matching refs:embed
95 uno::Reference< embed::XEmbeddedClient > xClientSite = m_xClientSite; in Deactivate()
97 throw embed::WrongStateException(); //TODO: client site is not set! in Deactivate()
105 catch( embed::ObjectSaveVetoException& ) in Deactivate()
110 throw embed::StorageWrappedTargetException( in Deactivate()
128 … ::getCppuType( ( const uno::Reference< embed::XStateChangeListener >*) NULL ) ); in StateChangeNotification_Impl()
142 … ((embed::XStateChangeListener*)pIterator.next())->changingState( aSource, nOldState, nNewState ); in StateChangeNotification_Impl()
144 … ((embed::XStateChangeListener*)pIterator.next())->stateChanged( aSource, nOldState, nNewState ); in StateChangeNotification_Impl()
166 if ( m_nObjectState == embed::EmbedStates::LOADED ) in SwitchStateTo_Impl()
168 if ( nNextState == embed::EmbedStates::RUNNING ) in SwitchStateTo_Impl()
179 …uno::Reference < embed::XEmbedPersist > xPersist( static_cast < embed::XClassifiedObject* > (this)… in SwitchStateTo_Impl()
194 aArgs[0] <<= uno::Reference < embed::XEmbeddedObject >( this ); in SwitchStateTo_Impl()
207 throw embed::UnreachableStateException(); //TODO: can't open document in SwitchStateTo_Impl()
217 else if ( m_nObjectState == embed::EmbedStates::RUNNING ) in SwitchStateTo_Impl()
219 if ( nNextState == embed::EmbedStates::LOADED ) in SwitchStateTo_Impl()
221 m_nClonedMapUnit = m_pDocHolder->GetMapUnit( embed::Aspects::MSOLE_CONTENT ); in SwitchStateTo_Impl()
222 … m_bHasClonedSize = m_pDocHolder->GetExtent( embed::Aspects::MSOLE_CONTENT, &m_aClonedSize ); in SwitchStateTo_Impl()
231 if ( nNextState == embed::EmbedStates::INPLACE_ACTIVE ) in SwitchStateTo_Impl()
234 throw embed::WrongStateException( in SwitchStateTo_Impl()
239 … uno::Reference< embed::XInplaceClient > xInplaceClient( m_xClientSite, uno::UNO_QUERY ); in SwitchStateTo_Impl()
244 … uno::Reference< embed::XWindowSupplier > xClientWindowSupplier( xInplaceClient, uno::UNO_QUERY ); in SwitchStateTo_Impl()
265 SwitchStateTo_Impl( embed::EmbedStates::RUNNING ); in SwitchStateTo_Impl()
266 throw embed::WrongStateException(); //TODO: can't activate inplace in SwitchStateTo_Impl()
270 throw embed::WrongStateException(); //TODO: can't activate inplace in SwitchStateTo_Impl()
272 else if ( nNextState == embed::EmbedStates::ACTIVE ) in SwitchStateTo_Impl()
275 throw embed::WrongStateException(); //TODO: client site is not set! in SwitchStateTo_Impl()
290 else if ( m_nObjectState == embed::EmbedStates::INPLACE_ACTIVE ) in SwitchStateTo_Impl()
292 if ( nNextState == embed::EmbedStates::RUNNING ) in SwitchStateTo_Impl()
294 uno::Reference< embed::XInplaceClient > xInplaceClient( m_xClientSite, uno::UNO_QUERY ); in SwitchStateTo_Impl()
304 else if ( nNextState == embed::EmbedStates::UI_ACTIVE ) in SwitchStateTo_Impl()
306 if ( !(m_nMiscStatus & embed::EmbedMisc::MS_EMBED_NOUIACTIVATE) ) in SwitchStateTo_Impl()
308 … uno::Reference< embed::XInplaceClient > xInplaceClient( m_xClientSite, uno::UNO_QUERY_THROW ); in SwitchStateTo_Impl()
321 … uno::Reference< embed::XComponentSupplier > xCompSupl( m_xClientSite, uno::UNO_QUERY_THROW ); in SwitchStateTo_Impl()
349 throw embed::WrongStateException(); //TODO: can't activate UI in SwitchStateTo_Impl()
353 throw embed::WrongStateException(); //TODO: can't activate UI in SwitchStateTo_Impl()
362 else if ( m_nObjectState == embed::EmbedStates::ACTIVE ) in SwitchStateTo_Impl()
364 if ( nNextState == embed::EmbedStates::RUNNING ) in SwitchStateTo_Impl()
375 else if ( m_nObjectState == embed::EmbedStates::UI_ACTIVE ) in SwitchStateTo_Impl()
377 if ( nNextState == embed::EmbedStates::INPLACE_ACTIVE ) in SwitchStateTo_Impl()
379 … uno::Reference< embed::XInplaceClient > xInplaceClient( m_xClientSite, uno::UNO_QUERY_THROW ); in SwitchStateTo_Impl()
394 throw embed::WrongStateException(); //TODO: can't activate UI in SwitchStateTo_Impl()
398 …throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The object is in unacceptable… in SwitchStateTo_Impl()
411 …throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The object is in unacceptable… in GetIntermediateStatesSequence_Impl()
420 throw embed::UnreachableStateException( in GetIntermediateStatesSequence_Impl()
431 throw ( embed::UnreachableStateException, in changeState()
432 embed::WrongStateException, in changeState()
445 …throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The object has no persistence… in changeState()
453 throw embed::StateChangeInProgressException( ::rtl::OUString(), in changeState()
465 if ( m_nObjectState == embed::EmbedStates::ACTIVE ) in changeState()
497 …if ( nNewState == embed::EmbedStates::UI_ACTIVE || nNewState == embed::EmbedStates::INPLACE_ACTIVE… in changeState()
505 throw ( embed::WrongStateException, in getReachableStates()
512 …throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The object has no persistence… in getReachableStates()
520 throw ( embed::WrongStateException, in getCurrentState()
527 …throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The object has no persistence… in getCurrentState()
536 embed::WrongStateException, in doVerb()
537 embed::UnreachableStateException, in doVerb()
548 …throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The object has no persistence… in doVerb()
573 uno::Sequence< embed::VerbDescriptor > SAL_CALL OCommonEmbeddedObject::getSupportedVerbs() in getSupportedVerbs()
574 throw ( embed::WrongStateException, in getSupportedVerbs()
581 …throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The object has no persistence… in getSupportedVerbs()
589 const uno::Reference< embed::XEmbeddedClient >& xClient ) in setClientSite()
590 throw ( embed::WrongStateException, in setClientSite()
599 …if ( m_nObjectState != embed::EmbedStates::LOADED && m_nObjectState != embed::EmbedStates::RUNNING… in setClientSite()
600 throw embed::WrongStateException( in setClientSite()
609 uno::Reference< embed::XEmbeddedClient > SAL_CALL OCommonEmbeddedObject::getClientSite() in getClientSite()
610 throw ( embed::WrongStateException, in getClientSite()
617 …throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The object has no persistence… in getClientSite()
625 throw ( embed::WrongStateException, in update()
634 …throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The object has no persistence… in update()
643 throw ( embed::WrongStateException, in setUpdateMode()
651 …throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The object has no persistence… in setUpdateMode()
654 OSL_ENSURE( nMode == embed::EmbedUpdateModes::ALWAYS_UPDATE in setUpdateMode()
655 || nMode == embed::EmbedUpdateModes::EXPLICIT_UPDATE, in setUpdateMode()
662 throw ( embed::WrongStateException, in getStatus()
690 if ( m_nObjectState != -1 && m_nObjectState != embed::EmbedStates::LOADED ) in setParent()