Lines Matching refs:xObjRef

770     : xObjRef( rNewObjRef )  in SdrOle2Obj()
781 … if ( xObjRef.is() && (xObjRef->getStatus( GetAspect() ) & embed::EmbedMisc::EMBED_NEVERRESIZE ) ) in SdrOle2Obj()
785 SetClosedObj(!ImplIsMathObj( xObjRef.GetObject() )); in SdrOle2Obj()
791 : xObjRef( rNewObjRef ) in SdrOle2Obj()
803 … if ( xObjRef.is() && (xObjRef->getStatus( GetAspect() ) & embed::EmbedMisc::EMBED_NEVERRESIZE ) ) in SdrOle2Obj()
807 SetClosedObj(!ImplIsMathObj( xObjRef.GetObject() )); in SdrOle2Obj()
814 , xObjRef( rNewObjRef ) in SdrOle2Obj()
826 … if ( xObjRef.is() && (xObjRef->getStatus( GetAspect() ) & embed::EmbedMisc::EMBED_NEVERRESIZE ) ) in SdrOle2Obj()
830 SetClosedObj(!ImplIsMathObj( xObjRef.GetObject() )); in SdrOle2Obj()
843 xObjRef.Lock( sal_True ); in Init()
850 if( xObjRef.is() && xObjRef.IsChart() ) in GetStyleString()
852 strStyle = xObjRef.GetChartType(); in GetStyleString()
892 xObjRef.SetViewAspect( nAspect ); in SetAspect()
898 return xObjRef.is() && embed::EmbedStates::INPLACE_ACTIVE == xObjRef->getCurrentState(); in isInplaceActive()
904 return xObjRef.is() && embed::EmbedStates::UI_ACTIVE == xObjRef->getCurrentState(); in isUiActive()
942 return !(xObjRef.is()); in IsEmpty()
980 uno::Reference< embed::XCommonEmbedPersist > xPersObj( xObjRef.GetObject(), uno::UNO_QUERY ); in UpdateLinkURL_Impl()
986 sal_Int32 nCurState = xObjRef->getCurrentState(); in UpdateLinkURL_Impl()
988 xObjRef->changeState( embed::EmbedStates::LOADED ); in UpdateLinkURL_Impl()
1000 xObjRef->changeState( nCurState ); in UpdateLinkURL_Impl()
1040 …uno::Reference< embed::XLinkageSupport > xLinkSupport( xObjRef.GetObject(), uno::UNO_QUERY_THROW ); in BreakFileLink_Impl()
1075 if ( pModel && xObjRef.GetObject().is() && !mpImpl->mpObjectLink ) in CheckFileLink_Impl()
1079 uno::Reference< embed::XLinkageSupport > xLinkSupport( xObjRef.GetObject(), uno::UNO_QUERY ); in CheckFileLink_Impl()
1129 || ( xObjRef.is() && !rContainer.HasEmbeddedObject( xObjRef.GetObject() ) ) ) in Connect_Impl()
1133 DBG_ASSERT( xObjRef.is(), "No object in connect!"); in Connect_Impl()
1134 if ( xObjRef.is() ) in Connect_Impl()
1138 rContainer.InsertEmbeddedObject( xObjRef.GetObject(), aTmp ); in Connect_Impl()
1142 else if ( !xObjRef.is() ) in Connect_Impl()
1144xObjRef.Assign( rContainer.GetEmbeddedObject( mpImpl->aPersistName ), xObjRef.GetViewAspect() ); in Connect_Impl()
1148 if ( xObjRef.GetObject().is() ) in Connect_Impl()
1150 xObjRef.AssignToContainer( &rContainer, mpImpl->aPersistName ); in Connect_Impl()
1152 xObjRef.Lock( sal_True ); in Connect_Impl()
1156 if ( xObjRef.is() ) in Connect_Impl()
1164 xObjRef->addStateChangeListener( mpImpl->pLightClient ); in Connect_Impl()
1165 xObjRef->addEventListener( uno::Reference< document::XEventListener >( mpImpl->pLightClient ) ); in Connect_Impl()
1167 if ( xObjRef->getCurrentState() != embed::EmbedStates::LOADED ) in Connect_Impl()
1172 uno::Reference< container::XChild > xChild( xObjRef.GetObject(), uno::UNO_QUERY ); in Connect_Impl()
1218 if( xObjRef.is() && xObjRef->getCurrentState() != embed::EmbedStates::LOADED ) in AddListeners_Impl()
1255 if( xObjRef.is() && mpImpl->aPersistName.Len() ) in RemoveListeners_Impl()
1259 sal_Int32 nState = xObjRef->getCurrentState(); in RemoveListeners_Impl()
1297 comphelper::EmbeddedObjectContainer* pContainer = xObjRef.GetContainer(); in Disconnect_Impl()
1300 pContainer->CloseEmbeddedObject( xObjRef.GetObject() ); in Disconnect_Impl()
1301 xObjRef.AssignToContainer( NULL, mpImpl->aPersistName ); in Disconnect_Impl()
1323 else if ( xObjRef.is() ) in Disconnect_Impl()
1328 comphelper::EmbeddedObjectContainer* pContainer = xObjRef.GetContainer(); in Disconnect_Impl()
1331 pContainer->RemoveEmbeddedObject( xObjRef.GetObject(), sal_False); in Disconnect_Impl()
1336 xObjRef.AssignToContainer( NULL, mpImpl->aPersistName ); in Disconnect_Impl()
1344 if ( xObjRef.is() && mpImpl->pLightClient ) in Disconnect_Impl()
1346 xObjRef->removeStateChangeListener ( mpImpl->pLightClient ); in Disconnect_Impl()
1347xObjRef->removeEventListener( uno::Reference< document::XEventListener >( mpImpl->pLightClient ) ); in Disconnect_Impl()
1348 xObjRef->setClientSite( NULL ); in Disconnect_Impl()
1485 DBG_ASSERT( !xObjRef.is() || xObjRef.GetObject() == xObj, "Wrong object identity!" ); in SetModel()
1490 xObjRef.AssignToContainer( &pDestPers->getEmbeddedObjectContainer(), aTmp ); in SetModel()
1567 …DBG_ASSERT( !rNewObjRef.is() || !xObjRef.GetObject().is(), "SetObjRef called on already initialize… in SetObjRef()
1568 if( rNewObjRef == xObjRef.GetObject() ) in SetObjRef()
1573 if ( xObjRef.GetObject().is() ) in SetObjRef()
1574 xObjRef.Lock( sal_False ); in SetObjRef()
1578 xObjRef.Clear(); in SetObjRef()
1583 xObjRef.Assign( rNewObjRef, GetAspect() ); in SetObjRef()
1586 if ( xObjRef.is() ) in SetObjRef()
1590 if ( (xObjRef->getStatus( GetAspect() ) & embed::EmbedMisc::EMBED_NEVERRESIZE ) ) in SetObjRef()
1714 uno::Reference < util::XCloseable > xClose( xObjRef.GetObject(), uno::UNO_QUERY ); in operator =()
1746 DBG_ASSERT( !xObjRef.is(), "Object already existing!" ); in operator =()
1752xObjRef.Assign( pDestPers->getEmbeddedObjectContainer().CopyAndGetEmbeddedObject( rContainer, xObj… in operator =()
1803 if ( xObjRef.is() ) in ImpSetVisAreaSize()
1806 sal_Int64 nMiscStatus = xObjRef->getStatus( GetAspect() ); in ImpSetVisAreaSize()
1809 …PlaceClient::GetClient( dynamic_cast<SfxObjectShell*>(pModel->GetPersist()), xObjRef.GetObject() ); in ImpSetVisAreaSize()
1812 … && xObjRef->getClientSite() == uno::Reference< embed::XEmbeddedClient >( mpImpl->pLightClient ) ); in ImpSetVisAreaSize()
1818 svt::EmbeddedObjectRef::TryRunningState( xObjRef.GetObject() )) in ImpSetVisAreaSize()
1819 || xObjRef->getCurrentState() == embed::EmbedStates::INPLACE_ACTIVE in ImpSetVisAreaSize()
1840 MapUnit aMapUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xObjRef->getMapUnit( GetAspect() ) ); in ImpSetVisAreaSize()
1848 xObjRef->setVisualAreaSize( GetAspect(), aSz ); in ImpSetVisAreaSize()
1852 aSz = xObjRef->getVisualAreaSize( GetAspect() ); in ImpSetVisAreaSize()
1864 MapUnit aNewMapUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xObjRef->getMapUnit( GetAspect() ) ); in ImpSetVisAreaSize()
1880 xObjRef.UpdateReplacement(); in ImpSetVisAreaSize()
1904 svt::EmbeddedObjectRef::TryRunningState( xObjRef.GetObject() ) ) in ImpSetVisAreaSize()
1911 … MapUnit aMapUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xObjRef->getMapUnit( GetAspect() ) ); in ImpSetVisAreaSize()
1930 …if ( xObjRef.is() && ( xObjRef->getStatus( GetAspect() ) & embed::EmbedMisc::MS_EMBED_RECOMPOSEONR… in NbcResize()
1964 if ( xObjRef.is() && IsChart() ) in NbcSetSnapRect()
1969 xObjRef.SetDefaultSizeForChart( Size( rRect.GetWidth(), rRect.GetHeight() ) ); in NbcSetSnapRect()
1985 if ( xObjRef.is() ) in GetGraphic()
1986 return xObjRef.GetGraphic(); in GetGraphic()
1992 if ( xObjRef.is() ) in GetNewReplacement()
1993 xObjRef.UpdateReplacement(); in GetNewReplacement()
2000 return xObjRef.GetSize( pTargetMapMode ); in GetOrigObjSize()
2081 if( xObjRef.is() ) in Unload()
2095 if ( pModel && xObjRef.is() ) in Unload()
2097 bUnloaded = Unload( xObjRef.GetObject(), GetAspect() ); in Unload()
2107 if ( !xObjRef.is() && mpImpl->aPersistName.Len() && pModel && pModel->GetPersist() ) in GetObjRef_Impl()
2113xObjRef.Assign( pModel->GetPersist()->getEmbeddedObjectContainer().GetEmbeddedObject( mpImpl->aPer… in GetObjRef_Impl()
2120 if( xObjRef.is() ) in GetObjRef_Impl()
2126 SetClosedObj(!ImplIsMathObj( xObjRef.GetObject() )); in GetObjRef_Impl()
2129 if ( xObjRef.is() ) in GetObjRef_Impl()
2149 sal_Int64 nMiscStatus = xObjRef->getStatus( GetAspect() ); in GetObjRef_Impl()
2177 if ( xObjRef.is() ) in GetObjRef_Impl()
2189 return xObjRef.GetObject(); in GetObjRef()
2194 return xObjRef.GetObject(); in GetObjRef_NoInit()
2202 if ( svt::EmbeddedObjectRef::TryRunningState(xObjRef.GetObject()) ) in getXModel()
2203 return uno::Reference< frame::XModel >( xObjRef->getComponent(), uno::UNO_QUERY ); in getXModel()
2215 m_bChart = ChartHelper::IsChart(xObjRef); in IsChart()
2224 xObjRef.SetGraphic( aGraphic, aMediaType ); in SetGraphicToObj()
2230 xObjRef.SetGraphicStream( xGrStream, aMediaType ); in SetGraphicToObj()
2236 if ( !xObjRef.is() ) in IsCalc()
2239 SvGlobalName aObjClsId( xObjRef->getClassID() ); in IsCalc()
2268 if ( !xObjRef.is() || !pModel ) in CalculateNewScaling()
2272 aObjAreaSize = xObjRef.GetSize( &aMapMode ); in CalculateNewScaling()
2289 …if ( !SfxInPlaceClient::GetClient( dynamic_cast<SfxObjectShell*>(pModel->GetPersist()), xObjRef.Ge… in AddOwnLightClient()
2290 …&& !( mpImpl->pLightClient && xObjRef->getClientSite() == uno::Reference< embed::XEmbeddedClient >… in AddOwnLightClient()
2294 if ( xObjRef.is() && mpImpl->pLightClient ) in AddOwnLightClient()
2303 xObjRef->setClientSite( mpImpl->pLightClient ); in AddOwnLightClient()
2328 if ( xObjRef.is() && mpImpl->pLightClient ) in SetWindow()