Lines Matching refs:mpObj
125 SdrOle2Obj* mpObj; member in SdrLightEmbeddedClient_Impl
183 : mpObj( pObj ) in SdrLightEmbeddedClient_Impl()
189 uno::Reference< embed::XVisualObject > xParentVis( mpObj->GetParentXModel(), uno::UNO_QUERY ); in impl_getScaledRect_nothrow()
191 …aContainerMapUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xParentVis->getMapUnit( mpObj->GetAspect() … in impl_getScaledRect_nothrow()
192 Rectangle aLogicRect( mpObj->GetLogicRect() ); in impl_getScaledRect_nothrow()
208 mpObj = NULL; in Release()
219 …if ( mpObj && nOldState == embed::EmbedStates::LOADED && nNewState == embed::EmbedStates::RUNNING ) in stateChanged()
221 mpObj->ObjectLoaded(); in stateChanged()
222 GetSdrGlobalData().GetOLEObjCache().InsertObj(mpObj); in stateChanged()
224 …else if ( mpObj && nNewState == embed::EmbedStates::LOADED && nOldState == embed::EmbedStates::RUN… in stateChanged()
226 GetSdrGlobalData().GetOLEObjCache().RemoveObj(mpObj); in stateChanged()
235 GetSdrGlobalData().GetOLEObjCache().RemoveObj(mpObj); in disposing()
246 …if ( mpObj && mpObj->GetAspect() != embed::Aspects::MSOLE_ICON && aEvent.EventName.equalsAscii("On… in notifyEvent()
247 …&& mpObj->GetObjRef().is() && mpObj->GetObjRef()->getClientSite() == uno::Reference< embed::XEmbed… in notifyEvent()
252 uno::Reference< embed::XVisualObject > xParentVis( mpObj->GetParentXModel(), uno::UNO_QUERY ); in notifyEvent()
254 …aContainerMapUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xParentVis->getMapUnit( mpObj->GetAspect() … in notifyEvent()
256 …MapUnit aObjMapUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( mpObj->GetObjRef()->getMapUnit( mpObj->Ge… in notifyEvent()
262 aSz = mpObj->GetObjRef()->getVisualAreaSize( mpObj->GetAspect() ); in notifyEvent()
281 Rectangle aLogicRect( mpObj->GetLogicRect() ); in notifyEvent()
291 mpObj->SetLogicRect( Rectangle( aLogicRect.TopLeft(), aScaledSize ) ); in notifyEvent()
292 mpObj->BroadcastObjectChange(); in notifyEvent()
295 mpObj->ActionChanged(); in notifyEvent()
317 if ( !mpObj ) in saveObject()
321 …xPersist = uno::Reference< embed::XCommonEmbedPersist >( mpObj->GetObjRef(), uno::UNO_QUERY_THROW … in saveObject()
322 xModifiable = uno::Reference< util::XModifiable >( mpObj->GetParentXModel(), uno::UNO_QUERY ); in saveObject()
338 if ( mpObj ) in visibilityChanged()
340 Rectangle aLogicRect( mpObj->GetLogicRect() ); in visibilityChanged()
343 if( mpObj->IsChart() ) in visibilityChanged()
346 mpObj->SetLogicRect( Rectangle( aLogicRect.TopLeft(), aLogicSize ) ); in visibilityChanged()
347 mpObj->BroadcastObjectChange(); in visibilityChanged()
359 if ( mpObj ) in getComponent()
360 xResult = uno::Reference< util::XCloseable >( mpObj->GetParentXModel(), uno::UNO_QUERY ); in getComponent()
371 if ( mpObj ) in canInplaceActivate()
373 uno::Reference< embed::XEmbeddedObject > xObject = mpObj->GetObjRef(); in canInplaceActivate()
377 …bRet = !( xObject->getCurrentState() == embed::EmbedStates::ACTIVE || mpObj->GetAspect() == embed:… in canInplaceActivate()
396 uno::Reference < beans::XPropertySet > xFrame( lcl_getFrame_throw(mpObj)); in activatingUI()
407 if ( pObj != mpObj ) in activatingUI()
465 uno::Reference < beans::XPropertySet > xFrame( lcl_getFrame_throw(mpObj)); in getLayoutManager()
484 …return uno::Reference < frame::XDispatchProvider >( lcl_getFrame_throw(mpObj), uno::UNO_QUERY_THRO… in getInplaceDispatchProvider()
493 if ( !mpObj ) in getPlacement()
498 uno::Reference< embed::XVisualObject > xParentVis( mpObj->GetParentXModel(), uno::UNO_QUERY ); in getPlacement()
500 …aContainerMapUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xParentVis->getMapUnit( mpObj->GetAspect() … in getPlacement()
535 if ( !mpObj ) in changedPlacement()
538 uno::Reference< embed::XInplaceObject > xInplace( mpObj->GetObjRef(), uno::UNO_QUERY ); in changedPlacement()
552 uno::Reference< embed::XVisualObject > xParentVis( mpObj->GetParentXModel(), uno::UNO_QUERY ); in changedPlacement()
554 …aContainerMapUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xParentVis->getMapUnit( mpObj->GetAspect() … in changedPlacement()
579 mpObj->SetLogicRect( Rectangle( aLogicRect.TopLeft(), aNewObjSize ) ); in changedPlacement()
580 mpObj->BroadcastObjectChange(); in changedPlacement()
583 mpObj->ActionChanged(); in changedPlacement()
598 if ( !mpObj ) in getWindow()
600 uno::Reference< frame::XFrame> xFrame(lcl_getFrame_throw(mpObj),uno::UNO_QUERY_THROW); in getWindow()