Home
last modified time | relevance | path

Searched refs:mpObj (Results 1 – 21 of 21) sorted by relevance

/AOO41X/main/svx/source/unodraw/
H A Dunoshape.cxx211 , mpObj(pObject) in DBG_NAME()
226 , mpObj(pObject) in SvxShape()
241 , mpObj(NULL) in SvxShape()
262 if ( mpObj.is() ) in ~SvxShape()
263 mpObj->setUnoShape( NULL, SdrObject::GrantXShapeAccess() ); in ~SvxShape()
265 if( HasSdrObjectOwnership() && mpObj.is() ) in ~SvxShape()
268 SdrObject* pObject = mpObj.get(); in ~SvxShape()
291 …OSL_ENSURE( mpObj.is(), "SvxShape::HasSdrObjectOwnership: have the ownership of an object which I … in HasSdrObjectOwnership()
292 return mpObj.is(); in HasSdrObjectOwnership()
400 if ( mpObj.is() ) in impl_construct()
[all …]
H A Dunoshap2.cxx224 if( mpObj.is()&& mxPage.is() && pShape ) in add()
233 mpObj->GetSubList()->InsertObject( pSdrShape ); in add()
234 pSdrShape->SetModel(mpObj->GetModel()); in add()
271 if( !mpObj.is() || pSdrShape == NULL || pSdrShape->GetObjList()->GetOwnerObj() != mpObj.get() ) in remove()
321 if(mpObj.is() && mpObj->GetSubList()) in getCount()
322 nRetval = mpObj->GetSubList()->GetObjCount(); in getCount()
335 if( !mpObj.is() || mpObj->GetSubList() == NULL ) in getByIndex()
338 if( mpObj->GetSubList()->GetObjCount() <= (sal_uInt32)Index ) in getByIndex()
341 SdrObject* pDestObj = mpObj->GetSubList()->GetObj( Index ); in getByIndex()
363 return mpObj.is() && mpObj->GetSubList() && (mpObj->GetSubList()->GetObjCount() > 0); in hasElements()
[all …]
H A Dunoshap3.cxx153 if(!mpObj.is() || !mxPage.is() || pShape == NULL || NULL != pShape->GetSdrObject() ) in add()
159 mpObj->GetSubList()->NbcInsertObject( pSdrShape ); in add()
182 if(!mpObj.is() || pShape == NULL) in remove()
186 if(pSdrShape == NULL || pSdrShape->GetObjList()->GetOwnerObj() != mpObj.get()) in remove()
223 if(mpObj.is() && mpObj->ISA(E3dPolyScene) && mpObj->GetSubList()) in getCount()
224 nRetval = mpObj->GetSubList()->GetObjCount(); in getCount()
235 if( !mpObj.is() || mpObj->GetSubList() == NULL ) in getByIndex()
238 if( mpObj->GetSubList()->GetObjCount() <= (sal_uInt32)Index ) in getByIndex()
241 SdrObject* pDestObj = mpObj->GetSubList()->GetObj( Index ); in getByIndex()
266 return mpObj.is() && mpObj->GetSubList() && (mpObj->GetSubList()->GetObjCount() > 0); in hasElements()
[all …]
H A Dtableshape.cxx73 if( mpObj.is() ) in setPropertyValueImpl()
74 static_cast< sdr::table::SdrTableObj* >( mpObj.get() )->setTableStyle(xTemplate); in setPropertyValueImpl()
85 if( mpObj.is() ) in setPropertyValueImpl()
87 …TableStyleSettings aSettings( static_cast< sdr::table::SdrTableObj* >( mpObj.get() )->getTableStyl… in setPropertyValueImpl()
99 … static_cast< sdr::table::SdrTableObj* >( mpObj.get() )->setTableStyleSettings(aSettings); in setPropertyValueImpl()
123 if( mpObj.is() ) in getPropertyValueImpl()
125 rValue <<= static_cast< sdr::table::SdrTableObj* >( mpObj.get() )->getTable(); in getPropertyValueImpl()
131 if( mpObj.is() ) in getPropertyValueImpl()
133 rValue <<= static_cast< sdr::table::SdrTableObj* >( mpObj.get() )->getTableStyle(); in getPropertyValueImpl()
139 if( mpObj.is() ) in getPropertyValueImpl()
[all …]
H A Dunoshap4.cxx155 if( (rValue >>= aVisArea) && mpObj->ISA(SdrOle2Obj)) in setPropertyValueImpl()
158 … uno::Reference < embed::XEmbeddedObject > xObj = ((SdrOle2Obj*)mpObj.get())->GetObjRef(); in setPropertyValueImpl()
183 static_cast<SdrOle2Obj*>(mpObj.get())->SetAspect( nAspect ); in setPropertyValueImpl()
209 static_cast<SdrOle2Obj*>(mpObj.get())->SetGraphic( &aGrafObj.GetGraphic() ); in setPropertyValueImpl()
219 SdrOle2Obj* pOle = dynamic_cast< SdrOle2Obj* >( mpObj.get() ); in setPropertyValueImpl()
235 static_cast<SdrOle2Obj*>(mpObj.get())->SetPersistName( aPersistName ); in setPropertyValueImpl()
278 SdrOle2Obj* pObj = dynamic_cast<SdrOle2Obj*>(mpObj.get()); in getPropertyValueImpl()
318 if( mpObj->ISA(SdrOle2Obj)) in getPropertyValueImpl()
321 …Size aTmp = ((SdrOle2Obj*)mpObj.get())->GetOrigObjSize( &aMapMode ); // get the size in the reques… in getPropertyValueImpl()
331 Size aTmp( static_cast<SdrOle2Obj*>(mpObj.get())->GetOrigObjSize() ); in getPropertyValueImpl()
[all …]
H A Dunomlstr.cxx38 mpObj = pObj; in SvxUnoShapeModifyListener()
49 if( mpObj ) in modified()
51 mpObj->SetChanged(); in modified()
52 mpObj->BroadcastObjectChange(); in modified()
65 mpObj = NULL; in invalidate()
/AOO41X/main/svx/source/svdraw/
H A Dsvdoole2.cxx125 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()
[all …]
H A Dsvdedtv2.cxx794 SdrObject* mpObj; member
838 pNew->mpObj = pMark->GetMarkedSdrObj(); in DECLARE_LIST()
845 pNew->mnPos = pNew->mpObj->GetSnapRect().Left(); in DECLARE_LIST()
850 … pNew->mnPos = (pNew->mpObj->GetSnapRect().Right() + pNew->mpObj->GetSnapRect().Left()) / 2; in DECLARE_LIST()
855 pNew->mnLength = pNew->mpObj->GetSnapRect().GetWidth() + 1; in DECLARE_LIST()
857 … pNew->mnPos = (pNew->mpObj->GetSnapRect().Right() + pNew->mpObj->GetSnapRect().Left()) / 2; in DECLARE_LIST()
862 pNew->mnPos = pNew->mpObj->GetSnapRect().Right(); in DECLARE_LIST()
889 … AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pCurr->mpObj)); in DECLARE_LIST()
890 pCurr->mpObj->Move(Size(nDelta, 0)); in DECLARE_LIST()
908 … AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pCurr->mpObj)); in DECLARE_LIST()
[all …]
H A Dsvdmodel.cxx2214 mpObj(0L), in SdrHint()
2222 mpObj(0L), in SdrHint()
2230 mpObj(&rNewObj), in SdrHint()
2239 mpObj(&rNewObj), in SdrHint()
2258 mpObj = pNewObj; in SetObject()
2283 return mpObj; in GetObject()
/AOO41X/main/sc/source/filter/inc/
H A Dftools.hxx159 inline /*implicit*/ ScfRef( const this_type& rRef ) { eat( rRef.mpObj, rRef.mpnCount ); } in ScfRef()
161 inline /*implicit*/ ScfRef( const ScfRef< Type2 >& rRef ) { eat( rRef.mpObj, rRef.mpnCount ); } in ScfRef()
165 …erator=( const this_type& rRef ) { if( this != &rRef ) { rel(); eat( rRef.mpObj, rRef.mpnCount ); … in operator =()
167 …inline this_type& operator=( const ScfRef< Type2 >& rRef ) { rel(); eat( rRef.mpObj, rRef.mpnCou… in operator =()
169 inline element_type* get() const { return mpObj; } in get()
170 inline bool is() const { return mpObj != 0; } in is()
172 inline element_type* operator->() const { return mpObj; } in operator ->()
173 inline element_type& operator*() const { return *mpObj; } in operator *()
175 inline bool operator!() const { return mpObj == 0; } in operator !()
178 …oid eat( element_type* pObj, size_t* pnCount = 0 ) { mpObj = pObj; mpnCount = mpObj ? (pnC… in eat()
[all …]
/AOO41X/main/svx/source/dialog/
H A Dimapwnd.hxx84 IMapObjectPtr mpObj; member in IMapUserData
90 mpObj ( ) {} in IMapUserData()
94 mpObj ( rIMapObj ) {} in IMapUserData()
98 mpObj ( rIMapUserData.mpObj ) {} in IMapUserData()
104 void SetObject( const IMapObjectPtr& rIMapObj ) { mpObj = rIMapObj; } in SetObject()
105 const IMapObjectPtr GetObject() const { return mpObj; } in GetObject()
106 …void ReplaceObject( const IMapObjectPtr& pNewIMapObject ) { mpObj = pNewIMapObj… in ReplaceObject()
/AOO41X/main/sw/source/core/ole/
H A Dndole.cxx109 SwOLEObj* mpObj; member in SwOLEListener_Impl
119 : mpObj( pObj ) in SwOLEListener_Impl()
121 if ( mpObj->IsOleRef() && mpObj->GetOleRef()->getCurrentState() == embed::EmbedStates::RUNNING ) in SwOLEListener_Impl()
123 pOLELRU_Cache->InsertObj( *mpObj ); in SwOLEListener_Impl()
133 …if ( mpObj && nOldState == embed::EmbedStates::LOADED && nNewState == embed::EmbedStates::RUNNING ) in stateChanged()
137 pOLELRU_Cache->InsertObj( *mpObj ); in stateChanged()
139 …else if ( mpObj && nNewState == embed::EmbedStates::LOADED && nOldState == embed::EmbedStates::RUN… in stateChanged()
142 pOLELRU_Cache->RemoveObj( *mpObj ); in stateChanged()
148 if ( mpObj && pOLELRU_Cache ) in Release()
149 pOLELRU_Cache->RemoveObj( *mpObj ); in Release()
[all …]
/AOO41X/main/sd/source/ui/dlg/
H A Ddocprev.cxx60 mpObj = pObj; in SetObjectShell()
71 : Control(pParent, rResId), pMetaFile( 0 ), bInEffect(sal_False), mpObj(NULL), mnShowPage(0) in SdDocPreviewWin()
157 ::sd::DrawDocShell* pDocShell = dynamic_cast< ::sd::DrawDocShell * >( mpObj ); in startPreview()
158 if( mpObj ) in startPreview()
201 ::sd::DrawDocShell* pDocShell = PTR_CAST(::sd::DrawDocShell,mpObj); in updateViewSettings()
/AOO41X/main/sd/source/ui/view/
H A DOutliner.cxx164 mpObj(NULL), in Outliner()
843 if (mpObj != NULL) in DetectSelectionChange()
858 bSelectionHasChanged = (mpObj != pMark->GetMarkedSdrObj ()); in DetectSelectionChange()
1015 mpObj = NULL; in ProvideNextTextObject()
1024 mpObj = SetObject (maCurrentPosition); in ProvideNextTextObject()
1028 if (mpObj != NULL) in ProvideNextTextObject()
1199 mpTextObj = dynamic_cast<SdrTextObj*>( mpObj ); in PutTextIntoOutliner()
1691 if( (mnText == 0) && (mpFirstObj == mpObj) ) in ConvertNextDocument()
1696 mpFirstObj = mpObj; in ConvertNextDocument()
/AOO41X/main/svx/source/engine3d/
H A Dview3d.cxx1068 E3dExtrudeObj* mpObj; member
1073 mpObj(0), in E3dDepthNeighbour()
1144 const SfxItemSet& rCompareSet = pAct->mpObj->GetMergedItemSet(); in DoDepthArrange()
1176 pLayer->mpNext->mpObj = pExtrudeObj; in DoDepthArrange()
1183 pNewNext->mpObj = pExtrudeObj; in DoDepthArrange()
1196 pLayer->mpNext->mpObj = pExtrudeObj; in DoDepthArrange()
1218 … pAct->mpObj->SetMergedItem(SfxUInt32Item(SDRATTR_3DOBJ_DEPTH, sal_uInt32(fMinDepth + 0.5))); in DoDepthArrange()
/AOO41X/main/sc/source/filter/excel/
H A Dxiescher.cxx157 inline explicit TSdrObjectPtr( SdrObjType* pObj = 0 ) : mpObj( pObj ) {} in TSdrObjectPtr()
160 inline const SdrObjType* operator->() const { return mpObj; } in operator ->()
161 inline SdrObjType* operator->() { return mpObj; } in operator ->()
163 inline const SdrObjType* get() const { return mpObj; } in get()
164 inline SdrObjType* get() { return mpObj; } in get()
166 inline const SdrObjType& operator*() const { return *mpObj; } in operator *()
167 inline SdrObjType& operator*() { return *mpObj; } in operator *()
169 inline bool is() const { return mpObj != 0; } in is()
170 inline bool operator!() const { return mpObj == 0; } in operator !()
172 inline void reset( SdrObjType* pObj = 0 ) { free(); mpObj = pObj; } in reset()
[all …]
/AOO41X/main/svx/inc/
H A Dunomlstr.hxx34 SdrObject* mpObj; member in SvxUnoShapeModifyListener
/AOO41X/main/sd/source/ui/inc/
H A Ddocprev.hxx50 SfxObjectShell* mpObj; member in SdDocPreviewWin
/AOO41X/main/sd/inc/
H A DOutliner.hxx277 SdrObject* mpObj; member in sd::Outliner
/AOO41X/main/svx/inc/svx/
H A Dunoshape.hxx133 ::tools::WeakReference< SdrObject > mpObj;
188 void InvalidateSdrObject() { mpObj.reset( NULL ); }; in InvalidateSdrObject()
190 SdrObject* GetSdrObject() const {return mpObj.get();} in GetSdrObject()
H A Dsvdmodel.hxx126 const SdrObject* mpObj; member in SdrHint