Home
last modified time | relevance | path

Searched refs:xObj (Results 1 – 25 of 162) sorted by relevance

1234567

/aoo42x/main/comphelper/source/container/
H A Dembeddedobjectcontainer.cxx353 return xObj; in GetEmbeddedObject()
400 return xObj; in Get_Impl()
437 return xObj; in CreateEmbeddedObject()
657 return xObj; in InsertEmbeddedObject()
693 return xObj; in InsertEmbeddedLink()
761 if ( xObj.is() && StoreEmbeddedObject( xObj, rName, sal_True ) ) in CopyAndGetEmbeddedObject()
966 if ( xObj.is() ) in RemoveEmbeddedObject()
991 if ( xObj.is() ) in MoveEmbeddedObject()
1509 if ( xObj.is() ) in StoreChildren()
1625 if ( xObj.is() ) in GetGraphicReplacementStream()
[all …]
/aoo42x/main/sfx2/source/appl/
H A Dlnkbase2.cxx138 xObj(), in SvBaseLink()
160 xObj(), in SvBaseLink()
186 xObj(), in SvBaseLink()
219 xObj = pObj; in SvBaseLink()
223 xObj = pObj; in SvBaseLink()
320 xObj = pObj; in SetObj()
397 if( xObj.Is() ) in Update()
415 if( xObj.Is() ) in Update()
471 if( bConnect && ( !xObj.Is() || !xObj->Connect( this ) ) ) in _GetRealObject()
533 if( xObj.Is() ) in Disconnect()
[all …]
/aoo42x/main/sw/source/ui/wrtsh/
H A Dwrtsh1.cxx397 svt::EmbeddedObjectRef xObj; in InsertObject() local
436 xObj.Assign( pDlg->GetObject(), in InsertObject()
452 if ( xObj.is() ) in InsertObject()
468 Size aSize = xObj.GetSize( &aMapMode ); in InsertObject()
474 CalcAndSetScale( xObj ); in InsertObject()
659 sal_Int32 nState = xObj->getCurrentState(); in MoveObjectIfActive()
685 ASSERT( xObj.is(), "ObjectRef not valid" ); in CalcAndSetScale()
687 sal_Int64 nAspect = xObj.GetViewAspect(); in CalcAndSetScale()
696 nMisc = xObj->getStatus( nAspect ); in CalcAndSetScale()
739 xObj.UpdateReplacement(); in CalcAndSetScale()
[all …]
/aoo42x/main/sd/source/ui/func/
H A Dfuinsert.cxx315 if ( xObj.is() ) in DoExecute()
329 xObj->setVisualAreaSize( nAspect, aSz ); in DoExecute()
336 aSz = xObj->getVisualAreaSize( nAspect ); in DoExecute()
353 xObj->setVisualAreaSize( nAspect, aSz ); in DoExecute()
418 xObj->setVisualAreaSize( nAspect, aVisualSize ); in DoExecute()
426 ChartHelper::AdaptDefaultsForChart( xObj ); in DoExecute()
443 uno::Reference < embed::XEmbeddedObject > xObj; in DoExecute() local
487 xObj = pDlg->GetObject(); in DoExecute()
493 if ( xObj.is() ) in DoExecute()
516 if ( xObj.is() && svt::EmbeddedObjectRef::TryRunningState( xObj ) ) in DoExecute()
[all …]
/aoo42x/main/sc/source/ui/drawfunc/
H A Dfuins2.cxx224 uno::Reference < embed::XEmbeddedObject > xObj; in FuInsertOLE() local
269 xObj = pDlg->GetObject(); in FuInsertOLE()
275 if ( xObj.is() ) in FuInsertOLE()
303 if ( xObj.is() && svt::EmbeddedObjectRef::TryRunningState( xObj ) ) in FuInsertOLE()
326 if (xObj.is()) in FuInsertOLE()
332 ::svt::EmbeddedObjectRef aObjRef( xObj, nAspect ); in FuInsertOLE()
347 aSz = xObj->getVisualAreaSize( nAspect ); in FuInsertOLE()
365 xObj->setVisualAreaSize( nAspect, aSz ); in FuInsertOLE()
541 uno::Reference < embed::XEmbeddedObject > xObj = in FuInsertChart() local
560 awt::Size aSz = xObj->getVisualAreaSize( nAspect ); in FuInsertChart()
[all …]
/aoo42x/main/sw/source/core/ole/
H A Dndole.cxx246 const svt::EmbeddedObjectRef& xObj, in SwOLENode() argument
250 aOLEObj( xObj ), in SwOLENode()
573 sal_Int32 nCurState = xObj->getCurrentState(); in UpdateLinkURL_Impl()
575 xObj->changeState( embed::EmbedStates::LOADED ); in UpdateLinkURL_Impl()
587 xObj->changeState( nCurState ); in UpdateLinkURL_Impl()
681 xOLERef( xObj ) in SwOLEObj()
684 if ( xObj.is() ) in SwOLEObj()
688 xObj->addStateChangeListener( pListener ); in SwOLEObj()
819 if ( !xObj.is() ) in GetOleRef()
888 sal_Int32 nState = xObj.is() ? xObj->getCurrentState() : embed::EmbedStates::LOADED; in UnloadObject()
[all …]
/aoo42x/main/svx/source/unodraw/
H A Dunoshap4.cxx159 if( xObj.is() ) in setPropertyValueImpl()
350 if ( xObj.is() in getPropertyValueImpl()
368 rValue <<= xObj; in getPropertyValueImpl()
465 if( xObj.is() ) in createObject()
495 pOle2Obj->SetObjRef( xObj ); in createObject()
498 return xObj.is(); in createObject()
529 if( xObj.is() ) in createLink()
558 pOle2Obj->SetObjRef( xObj ); in createLink()
561 return xObj.is(); in createLink()
597 if ( xObj.is() ) in GetClassName_Impl()
[all …]
/aoo42x/main/sw/source/filter/xml/
H A Dxmltexti.cxx137 if( xObj.is() && nAspect != embed::Aspects::MSOLE_ICON ) in lcl_setObjectVisualArea()
148 xObj->setVisualAreaSize( nAspect, aSz ); in lcl_setObjectVisualArea()
296 if ( xObj.is() ) in createAndInsertOLEObject()
530 uno::Reference < embed::XEmbeddedObject > xObj = in createAndInsertOLEObject() local
532 if( xObj.is() ) in createAndInsertOLEObject()
599 uno::Reference < embed::XEmbeddedObject > xObj( in createAndInsertOOoLink() local
715 uno::Reference < embed::XEmbeddedObject > xObj = in createAndInsertPlugin() local
721 lcl_setObjectVisualArea( xObj, in createAndInsertPlugin()
726 if ( svt::EmbeddedObjectRef::TryRunningState( xObj ) ) in createAndInsertPlugin()
847 uno::Reference < embed::XEmbeddedObject > xObj = in createAndInsertFloatingFrame() local
[all …]
/aoo42x/main/sw/source/ui/shells/
H A Dtextsh.cxx274 if ( xObj.is() ) in TYPEINIT1()
287 rSh.InsertObject( xObj, 0, sal_True, nSlot); in TYPEINIT1()
308 svt::EmbeddedObjectRef xObj; in TYPEINIT1() local
353 if(xObj.is()) in TYPEINIT1()
354 rSh.InsertOleObject( xObj ); in TYPEINIT1()
359 rSh.InsertObject( xObj, pName, sal_True, nSlot); in TYPEINIT1()
366 svt::EmbeddedObjectRef xObj; in TYPEINIT1() local
427 rSh.InsertOleObject( xObj ); in TYPEINIT1()
431 rSh.InsertObject( xObj, 0, sal_True, nSlot); in TYPEINIT1()
472 if(pItem && xObj.is()) in TYPEINIT1()
[all …]
/aoo42x/main/sc/source/ui/unoobj/
H A Dchartuno.cxx84 … uno::Reference < embed::XEmbeddedObject > xObj = ((SdrOle2Obj*)pObject)->GetObjRef(); in lcl_FindChartObj() local
85 if ( xObj.is() ) in lcl_FindChartObj()
149 if ( xObj.is() ) in GetObjectByIndex_Impl()
218 uno::Reference < embed::XEmbeddedObject > xObj; in addNewByName() local
222 if ( xObj.is() ) in addNewByName()
238 MapUnit aMapUnit(VCLUnoHelper::UnoEmbed2VCLMapUnit( xObj->getMapUnit( nAspect ) )); in addNewByName()
250 uno::Reference< embed::XComponentSupplier > xCompSupp( xObj, uno::UNO_QUERY ); in addNewByName()
292 if( xObj.is()) in addNewByName()
293 xObj->setVisualAreaSize( nAspect, aSz ); in addNewByName()
431 if ( xObj.is() ) in getElementNames()
[all …]
/aoo42x/main/sc/source/ui/view/
H A Dviewfun5.cxx183 … uno::Reference < embed::XEmbeddedObject > xObj = GetViewData()->GetViewShell()->GetObjectShell()-> in PasteDataFormat() local
185 if ( xObj.is() ) in PasteDataFormat()
210 PasteObject( aPos, xObj, &aObjDesc.maSize ); in PasteDataFormat()
228 uno::Reference < embed::XEmbeddedObject > xObj; in PasteDataFormat() local
233xObj = GetViewData()->GetDocShell()->GetEmbeddedObjectContainer().InsertEmbeddedObject( xStm, aNam… in PasteDataFormat()
252 xObj = aInfo.Object; in PasteDataFormat()
253 if ( xObj.is() ) in PasteDataFormat()
254 … GetViewData()->GetDocShell()->GetEmbeddedObjectContainer().InsertEmbeddedObject( xObj, aName ); in PasteDataFormat()
260 if ( xObj.is() ) in PasteDataFormat()
284 PasteObject( aPos, xObj, &aObjDesc.maSize ); in PasteDataFormat()
[all …]
H A Dviewfun7.cxx290 … ScViewFunc::PasteObject( const Point& rPos, const uno::Reference < embed::XEmbeddedObject >& xObj, in PasteObject() argument
294 if ( xObj.is() ) in PasteObject()
299 if ( !aCnt.HasEmbeddedObject( xObj ) ) in PasteObject()
300 aCnt.InsertEmbeddedObject( xObj, aName ); in PasteObject()
302 aName = aCnt.GetEmbeddedObjectName( xObj ); in PasteObject()
304 svt::EmbeddedObjectRef aObjRef( xObj, nAspect ); in PasteObject()
317 MapUnit aMapObj = VCLUnoHelper::UnoEmbed2VCLMapUnit( xObj->getMapUnit( nAspect ) ); in PasteObject()
327 xObj->setVisualAreaSize( nAspect, aSz ); in PasteObject()
333 aSz = xObj->getVisualAreaSize( nAspect ); in PasteObject()
351 xObj->setVisualAreaSize( nAspect, aSz ); in PasteObject()
H A Dtabvwshb.cxx86 uno::Reference < embed::XEmbeddedObject > xObj = pObj->GetObjRef(); in ConnectObject() local
91 SfxInPlaceClient* pClient = FindIPClient( xObj, pWin ); in ConnectObject()
120 uno::Reference < embed::XEmbeddedObject > xObj = pObj->GetObjRef(); in ActivateObject() local
130 SfxInPlaceClient* pClient = FindIPClient( xObj, pWin ); in ActivateObject()
134 if ( !(nErr & ERRCODE_ERROR_MASK) && xObj.is() ) in ActivateObject()
152 && ( xObj->getStatus( pClient->GetAspect() ) & embed::EmbedMisc::MS_EMBED_RECOMPOSEONRESIZE ) ) in ActivateObject()
158 … MapUnit aUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xObj->getMapUnit( pClient->GetAspect() ) ); in ActivateObject()
162 xObj->setVisualAreaSize( pClient->GetAspect(), aSz ); in ActivateObject()
196 SvGlobalName aObjClsId ( xObj->getClassID() ); in ActivateObject()
201 … uno::Reference < embed::XComponentSupplier > xSup( xObj, uno::UNO_QUERY_THROW ); in ActivateObject()
/aoo42x/main/sd/source/ui/view/
H A Dsdview.cxx821 SdrObjectWeakRef xObj( GetTextEditObject() ); in SdrEndTextEdit() local
829 if( xObj.is() && !xObj->IsEmptyPresObj() ) in SdrEndTextEdit()
831 xObj->SetEmptyPresObj( sal_True ); in SdrEndTextEdit()
838 else if( xObj.is() && xObj->IsEmptyPresObj() ) in SdrEndTextEdit()
840 SdrTextObj* pObj = dynamic_cast< SdrTextObj* >( xObj.get() ); in SdrEndTextEdit()
851 (void*)xObj.get() ); in SdrEndTextEdit()
853 if( xObj.is() ) in SdrEndTextEdit()
860 SdPage* pPage = dynamic_cast< SdPage* >( xObj->GetPage() ); in SdrEndTextEdit()
862 pPage->onEndTextEdit( xObj.get() ); in SdrEndTextEdit()
921 if( xObj.is() ) in SetMarkedOriginalSize()
[all …]
H A Dsdview3.cxx926 if ( xObj.is() ) in InsertData()
928 svt::EmbeddedObjectRef aObjRef( xObj, aObjDesc.mnViewAspect ); in InsertData()
1028 svt::EmbeddedObjectRef::TryRunningState( xObj ); in InsertData()
1065 uno::Reference < embed::XEmbeddedObject > xObj; in InsertData() local
1090 xObj = aInfo.Object; in InsertData()
1091 if ( xObj.is() ) in InsertData()
1098 if ( xObj.is() ) in InsertData()
1100 svt::EmbeddedObjectRef aObjRef( xObj, aObjDesc.mnViewAspect ); in InsertData()
1141 aSz = xObj->getVisualAreaSize( aObjDesc.mnViewAspect ); in InsertData()
1155 xObj->setVisualAreaSize( aObjDesc.mnViewAspect, aSz ); in InsertData()
[all …]
H A Dviewshe2.cxx839 if ( !xObj.is() ) in ActivateObject()
870 if( !xObj.is() ) in ActivateObject()
879 xObj = pObj->GetObjRef(); in ActivateObject()
882 if (!xObj.is()) in ActivateObject()
888 if ( xObj.is() ) in ActivateObject()
902 pObj->SetObjRef(xObj); in ActivateObject()
909 pObj->SetObjRef(xObj); in ActivateObject()
919 xObj->setVisualAreaSize( pObj->GetAspect(), aSz ); in ActivateObject()
922 GetViewShellBase().SetVerbs( xObj->getSupportedVerbs() ); in ActivateObject()
978 if( bChangeDefaultsForChart && xObj.is()) in ActivateObject()
[all …]
/aoo42x/main/svx/source/xml/
H A Dxmleohlp.cxx543 const uno::Reference< embed::XEmbeddedObject >& xObj ) in ImplGetReplacementImage()
547 if( xObj.is() ) in ImplGetReplacementImage()
552 sal_Int32 nCurState = xObj->getCurrentState(); in ImplGetReplacementImage()
558 xStream = mpDocPersist->getEmbeddedObjectContainer().GetGraphicStream( xObj, &aMediaType ); in ImplGetReplacementImage()
571 xObj, in ImplGetReplacementImage()
577 xObj->changeState( embed::EmbedStates::LOADED ); in ImplGetReplacementImage()
707 DBG_ASSERT( xObj.is(), "Didn't get object" ); in getByName()
709 if( xObj.is() ) in getByName()
713 xStrm = ImplGetReplacementImage( xObj ); in getByName()
717 Reference < embed::XEmbedPersist > xPersist( xObj, UNO_QUERY ); in getByName()
[all …]
/aoo42x/main/svtools/source/misc/
H A Dembedtransfer.cxx47 SvEmbedTransferHelper::SvEmbedTransferHelper( const uno::Reference< embed::XEmbeddedObject >& xObj, in SvEmbedTransferHelper() argument
50 : m_xObj( xObj ) in SvEmbedTransferHelper()
54 if( xObj.is() ) in SvEmbedTransferHelper()
198 const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedObject >& xObj, in FillTransferableObjectDescriptor()
206 rDesc.maClassName = SvGlobalName( xObj->getClassID() ); in FillTransferableObjectDescriptor()
215 rDesc.mnOle2Misc = sal::static_int_cast<sal_Int32>(xObj->getStatus( rDesc.mnViewAspect )); in FillTransferableObjectDescriptor()
234 aSz = xObj->getVisualAreaSize( rDesc.mnViewAspect ); in FillTransferableObjectDescriptor()
244 … aMapMode = MapMode( VCLUnoHelper::UnoEmbed2VCLMapUnit( xObj->getMapUnit( rDesc.mnViewAspect ) ) ); in FillTransferableObjectDescriptor()
/aoo42x/main/unotools/inc/unotools/
H A Dunotunnelhelper.hxx55 sal_Bool getImplementation(Classname*& pImpl, staruno::Reference<staruno::XInterface> const& xObj) in getImplementation() argument
58 staruno::Reference<starlang::XUnoTunnel> xTunnel(xObj,staruno::UNO_QUERY); in getImplementation()
141 staruno::Reference<starlang::XUnoTunnel> const& xObj, in extractUnoSomething() argument
146 return xObj.is() ? extractUnoSomething(xObj->getSomething(rMyTunnelId)) : NULL; in extractUnoSomething()
172 … getTunneledImplementation(Classname*& pImpl, staruno::Reference<starlang::XUnoTunnel> const& xObj) in getTunneledImplementation() argument
175 …pImpl = UnoTunnelHelper<Classname>::UnoTunnelHelper<Classname>::extractUnoSomething( xObj, UnoTunn… in getTunneledImplementation()
/aoo42x/main/sw/source/ui/uiview/
H A Dswcli.cxx42 SwOleClient::SwOleClient( SwView *pView, SwEditWin *pWin, const svt::EmbeddedObjectRef& xObj ) : in SwOleClient() argument
43 SfxInPlaceClient( pView, pWin, xObj.GetViewAspect() ), bInDoVerb( sal_False ), in SwOleClient()
46 SetObject( xObj.GetObject() ); in SwOleClient()
173 const uno::Reference < embed::XEmbeddedObject >& xObj( GetObject() ); in FormatChanged() local
175 if ( pView && xObj.is() && SotExchange::IsMath( xObj->getClassID() ) ) in FormatChanged()
179 rWrtSh.AlignFormulaToBaseline( xObj ); in FormatChanged()
/aoo42x/main/sw/source/core/frmedt/
H A Dfeflyole.cxx52 SwFlyFrm *SwFEShell::FindFlyFrm( const uno::Reference < embed::XEmbeddedObject >& xObj ) const in FindFlyFrm()
58 if ( !pNd || pNd->GetOLEObj().GetOleRef() != xObj ) in FindFlyFrm()
76 ((SwOLENode*)pNd)->GetOLEObj().GetOleRef() == xObj ) in FindFlyFrm()
105 void SwFEShell::MakeObjVisible( const uno::Reference < embed::XEmbeddedObject >& xObj ) const in MakeObjVisible()
107 SwFlyFrm *pFly = FindFlyFrm( xObj ); in MakeObjVisible()
130 uno::Reference < embed::XEmbeddedObject > xObj = pIPClient->GetObject(); in FinishOLEObj() local
/aoo42x/main/sw/source/ui/table/
H A Dtablemgr.cxx242 uno::Reference < embed::XEmbeddedObject > xObj = in InsertChart() local
245 ::svt::EmbeddedObjectRef aEmbObjRef( xObj, ::com::sun::star::embed::Aspects::MSOLE_CONTENT ); in InsertChart()
246 if ( xObj.is() ) in InsertChart()
254 uno::Reference< embed::XComponentSupplier > xCompSupp( xObj, uno::UNO_QUERY ); in InsertChart()
268 if ( xObj.is() ) in InsertChart()
271 SfxInPlaceClient* pClient = pSh->GetView().FindIPClient( xObj, &pSh->GetView().GetEditWin() ); in InsertChart()
284 ChartHelper::AdaptDefaultsForChart( xObj ); in InsertChart()
/aoo42x/main/forms/source/misc/
H A DInterfaceContainer.cxx459 if (xObj.is()) in readEvents()
460 xObj->read(_rxInStream); in readEvents()
497 Reference<XPersistObject> xObj(m_aItems[i], UNO_QUERY); in write() local
498 if (xObj.is()) in write()
499 _rxOutStream->writeObject(xObj); in write()
560 Reference<XPersistObject> xObj; in read() local
563 xObj = _rxInStream->readObject(); in read()
570 xObj = lcl_createPlaceHolder( m_xServiceFactory ); in read()
571 if ( !xObj.is() ) in read()
586 if ( xObj.is() ) in read()
[all …]
/aoo42x/main/odk/examples/DevelopersGuide/Drawing/
H A DCustomShowDemo.java127 Object xObj; in main() local
132 xObj = xFactory.createInstance(); in main()
133 xContainer = (XIndexContainer)UnoRuntime.queryInterface( XIndexContainer.class, xObj ); in main()
140 xObj = xFactory.createInstance(); in main()
141 xContainer = (XIndexContainer)UnoRuntime.queryInterface( XIndexContainer.class, xObj ); in main()
/aoo42x/main/reportdesign/source/core/sdr/
H A DReportDrawPage.cxx107 uno::Reference < embed::XEmbeddedObject > xObj; in _CreateShape() local
109xObj = pObj->GetModel()->GetPersist()->getEmbeddedObjectContainer().CreateEmbeddedObject( in _CreateShape()
112 OSL_ENSURE(xObj.is(),"Embedded Object could not be created!"); in _CreateShape()
119 pOle2Obj->SetObjRef(xObj); in _CreateShape()
127 xObj->setVisualAreaSize( nAspect, aSz ); in _CreateShape()

Completed in 181 milliseconds

1234567