Lines Matching refs:m_pImp

647 	m_pImp( new SfxInPlaceClient_Impl ),  in SfxInPlaceClient()
651 m_pImp->acquire(); in SfxInPlaceClient()
652 m_pImp->m_pClient = this; in SfxInPlaceClient()
653 m_pImp->m_nAspect = nAspect; in SfxInPlaceClient()
654 m_pImp->m_aScaleWidth = m_pImp->m_aScaleHeight = Fraction(1,1); in SfxInPlaceClient()
655 m_pImp->m_xClient = static_cast< embed::XEmbeddedClient* >( m_pImp ); in SfxInPlaceClient()
657 m_pImp->m_aTimer.SetTimeout( SFX_CLIENTACTIVATE_TIMEOUT ); in SfxInPlaceClient()
658 m_pImp->m_aTimer.SetTimeoutHdl( LINK( m_pImp, SfxInPlaceClient_Impl, TimerHdl ) ); in SfxInPlaceClient()
668 m_pImp->m_bStoreObject = sal_False; in ~SfxInPlaceClient()
671 m_pImp->m_pClient = NULL; in ~SfxInPlaceClient()
674 m_pImp->m_xClient = uno::Reference < embed::XEmbeddedClient >(); in ~SfxInPlaceClient()
675 m_pImp->release(); in ~SfxInPlaceClient()
688 if ( m_pImp->m_nAspect == embed::Aspects::MSOLE_ICON in SetObjectState()
708 return GetObject()->getStatus( m_pImp->m_nAspect ); in GetObjectMiscStatus()
715 return m_pImp->m_xObject; in GetObject()
721 if ( m_pImp->m_xObject.is() && rObject != m_pImp->m_xObject ) in SetObject()
723 DBG_ASSERT( GetObject()->getClientSite() == m_pImp->m_xClient, "Wrong ClientSite!" ); in SetObject()
724 if ( GetObject()->getClientSite() == m_pImp->m_xClient ) in SetObject()
728m_pImp->m_xObject->removeEventListener( uno::Reference < document::XEventListener >( m_pImp->m_xCl… in SetObject()
729m_pImp->m_xObject->removeStateChangeListener( uno::Reference < embed::XStateChangeListener >( m_pI… in SetObject()
732 m_pImp->m_xObject->setClientSite( 0 ); in SetObject()
745 m_pImp->m_xObject = rObject; in SetObject()
751 …rObject->addStateChangeListener( uno::Reference < embed::XStateChangeListener >( m_pImp->m_xClient… in SetObject()
752 …rObject->addEventListener( uno::Reference < document::XEventListener >( m_pImp->m_xClient, uno::UN… in SetObject()
756 rObject->setClientSite( m_pImp->m_xClient ); in SetObject()
763 m_pImp->m_aTimer.Start(); in SetObject()
766 m_pImp->m_aTimer.Stop(); in SetObject()
772 if( rArea != m_pImp->m_aObjArea ) in SetObjArea()
774 m_pImp->m_aObjArea = rArea; in SetObjArea()
775 m_pImp->SizeHasChanged(); in SetObjArea()
787 return m_pImp->m_aObjArea; in GetObjArea()
792 Rectangle aRealObjArea( m_pImp->m_aObjArea ); in GetScaledObjArea()
793 aRealObjArea.SetSize( Size( Fraction( aRealObjArea.GetWidth() ) * m_pImp->m_aScaleWidth, in GetScaledObjArea()
794 Fraction( aRealObjArea.GetHeight() ) * m_pImp->m_aScaleHeight ) ); in GetScaledObjArea()
801 if ( m_pImp->m_aScaleWidth != rScaleWidth || m_pImp->m_aScaleHeight != rScaleHeight ) in SetSizeScale()
803 m_pImp->m_aScaleWidth = rScaleWidth; in SetSizeScale()
804 m_pImp->m_aScaleHeight = rScaleHeight; in SetSizeScale()
806 m_pImp->SizeHasChanged(); in SetSizeScale()
817 …if( rArea != m_pImp->m_aObjArea || m_pImp->m_aScaleWidth != rScaleWidth || m_pImp->m_aScaleHeight … in SetObjAreaAndScale()
819 m_pImp->m_aObjArea = rArea; in SetObjAreaAndScale()
820 m_pImp->m_aScaleWidth = rScaleWidth; in SetObjAreaAndScale()
821 m_pImp->m_aScaleHeight = rScaleHeight; in SetObjAreaAndScale()
823 m_pImp->SizeHasChanged(); in SetObjAreaAndScale()
835 return m_pImp->m_aScaleWidth; in GetScaleWidth()
841 return m_pImp->m_aScaleHeight; in GetScaleHeight()
850 Rectangle aRealObjArea( m_pImp->m_aObjArea ); in Invalidate()
851 aRealObjArea.SetSize( Size( Fraction( aRealObjArea.GetWidth() ) * m_pImp->m_aScaleWidth, in Invalidate()
852 Fraction( aRealObjArea.GetHeight() ) * m_pImp->m_aScaleHeight ) ); in Invalidate()
862 …return ( m_pImp->m_xObject.is() && ( m_pImp->m_xObject->getCurrentState() == embed::EmbedStates::U… in IsObjectUIActive()
876 m_pImp->m_xObject.is() && in IsObjectInPlaceActive()
877 (m_pImp->m_xObject->getCurrentState() == embed::EmbedStates::INPLACE_ACTIVE) in IsObjectInPlaceActive()
880 m_pImp->m_xObject.is() && 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()
930 return m_pImp->m_nAspect; in GetAspect()
938 if ( m_pImp->m_xObject.is() ) in DoVerb()
943 svt::EmbeddedObjectRef::TryRunningState( m_pImp->m_xObject ); in DoVerb()
945 uno::Reference< frame::XModel > xEmbModel( m_pImp->m_xObject->getComponent(), uno::UNO_QUERY ); in DoVerb()
978 if ( m_pImp->m_nAspect == embed::Aspects::MSOLE_ICON ) in DoVerb()
994 m_pImp->m_xObject->setClientSite( m_pImp->m_xClient ); in DoVerb()
996 m_pImp->m_xObject->doVerb( nVerb ); in DoVerb()
1005 m_pImp->m_xObject->doVerb( -9 ); // open own view, a workaround verb that is not visible in DoVerb()
1007 … if ( m_pImp->m_xObject->getCurrentState() == embed::EmbedStates::UI_ACTIVE ) in DoVerb()
1010 … awt::Size aSize = m_pImp->m_xObject->getVisualAreaSize( m_pImp->m_nAspect ); in DoVerb()
1011 …MapMode aObjectMap( VCLUnoHelper::UnoEmbed2VCLMapUnit( m_pImp->m_xObject->getMapUnit( m_pImp->m_nA… in DoVerb()
1016 m_pImp->m_aObjArea.SetSize( aNewSize ); in DoVerb()
1017m_pImp->m_aScaleWidth = Fraction( aScaledArea.GetWidth(), aNewSize.Width() ); in DoVerb()
1018m_pImp->m_aScaleHeight = Fraction( aScaledArea.GetHeight(), aNewSize.Height() ); 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()
1059 m_pImp->SizeHasChanged(); in VisAreaChanged()
1093 m_pImp->m_bUIActive = sal_False; in DeactivateObject()
1095 … uno::Reference< frame::XModel > xModel( m_pImp->m_xObject->getComponent(), uno::UNO_QUERY ); in DeactivateObject()
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()
1144 m_pImp->m_bUIActive = sal_False; in ResetObject()
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()
1164 return m_pImp->m_bUIActive; in IsUIActive()