Lines Matching refs:pObj

629 	SdrObject* pObj;  in IsPresObjSelected()  local
640 pObj = pMark->GetMarkedSdrObj(); in IsPresObjSelected()
642 if ( pObj && ( bCheckPresObjListOnly || pObj->IsEmptyPresObj() || pObj->GetUserCall() ) ) in IsPresObjSelected()
644 pPage = (SdPage*) pObj->GetPage(); in IsPresObjSelected()
649 if ( pPage && pPage->IsPresObj(pObj) ) in IsPresObjSelected()
653 PresObjKind eKind = pPage->GetPresObjKind(pObj); in IsPresObjSelected()
738 SdrObject* pObj, SdrPageView* pPV, ::Window* pWin, in SdrBeginTextEdit() argument
744 sd::tools::EventMultiplexerEvent::EID_BEGIN_TEXT_EDIT, (void*)pObj ); in SdrBeginTextEdit()
746 if( pOutl==NULL && pObj ) in SdrBeginTextEdit()
747 pOutl = SdrMakeOutliner( OUTLINERMODE_TEXTOBJECT, pObj->GetModel() ); in SdrBeginTextEdit()
780 pObj, pPV, pWin, bIsNewObj, pOutl, in SdrBeginTextEdit()
793 if( pObj && pObj->GetPage() ) in SdrBeginTextEdit()
796 if( pObj->GetObjInventor() == SdrInventor && pObj->GetObjIdentifier() == OBJ_TABLE ) in SdrBeginTextEdit()
802 aBackground = pObj->GetPage()->GetPageBackgroundColor(pPV); in SdrBeginTextEdit()
840 SdrTextObj* pObj = dynamic_cast< SdrTextObj* >( xObj.get() ); in SdrEndTextEdit() local
841 if( pObj && pObj->HasText() ) in SdrEndTextEdit()
843 SdrPage* pPage = pObj->GetPage(); in SdrEndTextEdit()
845 pObj->SetEmptyPresObj( sal_False ); in SdrEndTextEdit()
914 SdrObject* pObj = GetMarkedObjectByIndex(i); in SetMarkedOriginalSize() local
916 if( pObj->GetObjInventor() == SdrInventor ) in SetMarkedOriginalSize()
918 if( pObj->GetObjIdentifier() == OBJ_OLE2 ) in SetMarkedOriginalSize()
920 uno::Reference < embed::XEmbeddedObject > xObj = ((SdrOle2Obj*)pObj)->GetObjRef(); in SetMarkedOriginalSize()
925 sal_Int64 nAspect = ((SdrOle2Obj*)pObj)->GetAspect(); in SetMarkedOriginalSize()
931 aOleSize = ((SdrOle2Obj*)pObj)->GetOrigObjSize( &aMap100 ); in SetMarkedOriginalSize()
949 Rectangle aDrawRect( pObj->GetLogicRect() ); in SetMarkedOriginalSize()
951 pUndoGroup->AddAction( mpDoc->GetSdrUndoFactory().CreateUndoGeoObject( *pObj ) ); in SetMarkedOriginalSize()
952 pObj->Resize( aDrawRect.TopLeft(), Fraction( aOleSize.Width(), aDrawRect.GetWidth() ), in SetMarkedOriginalSize()
957 else if( pObj->GetObjIdentifier() == OBJ_GRAF ) in SetMarkedOriginalSize()
962 if ( static_cast< SdrGrafObj* >( pObj )->GetGrafPrefMapMode().GetMapUnit() == MAP_PIXEL ) in SetMarkedOriginalSize()
963 …aSize = Application::GetDefaultDevice()->PixelToLogic( static_cast< SdrGrafObj* >( pObj )->GetGraf… in SetMarkedOriginalSize()
966 aSize = OutputDevice::LogicToLogic( static_cast< SdrGrafObj* >( pObj )->GetGrafPrefSize(), in SetMarkedOriginalSize()
967 static_cast< SdrGrafObj* >( pObj )->GetGrafPrefMapMode(), in SetMarkedOriginalSize()
971 pUndoGroup->AddAction( GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pObj ) ); in SetMarkedOriginalSize()
972 Rectangle aRect( pObj->GetLogicRect() ); in SetMarkedOriginalSize()
974 pObj->SetLogicRect( aRect ); in SetMarkedOriginalSize()
996 void View::DoConnect(SdrOle2Obj* pObj) in DoConnect() argument
1000 uno::Reference < embed::XEmbeddedObject > xObj( pObj->GetObjRef() ); in DoConnect()
1007 pSdClient = new Client(pObj, mpViewSh, pWindow); in DoConnect()
1008 Rectangle aRect = pObj->GetLogicRect(); in DoConnect()
1015 Size aObjAreaSize = pObj->GetOrigObjSize( &aMapMode ); in DoConnect()
1098 …const SdrGrafObj* pObj = dynamic_cast< const SdrGrafObj* >(rMarkList.GetMark( 0 )->GetMarkedSdrObj… in IsVectorizeAllowed() local
1100 if(pObj) in IsVectorizeAllowed()
1102 if(GRAPHIC_BITMAP == pObj->GetGraphicType() && !pObj->isEmbeddedSvg()) in IsVectorizeAllowed()
1157 SdrObject* pObj = GetTextEditObject(); in IMPL_LINK() local
1159 if( pPara && pObj ) in IMPL_LINK()
1161 SdPage* pPage = dynamic_cast< SdPage* >( pObj->GetPage() ); in IMPL_LINK()
1163 pPage->onParagraphInserted( pOutliner, pPara, pObj ); in IMPL_LINK()
1177 SdrObject* pObj = GetTextEditObject(); in IMPL_LINK() local
1179 if( pPara && pObj ) in IMPL_LINK()
1181 SdPage* pPage = dynamic_cast< SdPage* >( pObj->GetPage() ); in IMPL_LINK()
1183 pPage->onParagraphRemoving( pOutliner, pPara, pObj ); in IMPL_LINK()