Lines Matching refs:pGraphic
361 if(pGraphic) in onGraphicChanged()
363 const SvgDataPtr& rSvgDataPtr = pGraphic->GetGraphic().getSvgData(); in onGraphicChanged()
415 pGraphic = new GraphicObject; in SdrGrafObj()
417 pGraphic->SetSwapStreamHdl( LINK( this, SdrGrafObj, ImpSwapHdl ), getCacheTimeInMs() ); in SdrGrafObj()
442 pGraphic = new GraphicObject( rGrf ); in SdrGrafObj()
444 pGraphic->SetSwapStreamHdl( LINK( this, SdrGrafObj, ImpSwapHdl ), getCacheTimeInMs() ); in SdrGrafObj()
469 pGraphic = new GraphicObject( rGrf ); in SdrGrafObj()
471 pGraphic->SetSwapStreamHdl( LINK( this, SdrGrafObj, ImpSwapHdl ), getCacheTimeInMs() ); in SdrGrafObj()
493 delete pGraphic; in ~SdrGrafObj()
502 *pGraphic = rGrfObj; in SetGraphicObject()
505 pGraphic->SetSwapStreamHdl( LINK( this, SdrGrafObj, ImpSwapHdl ), getCacheTimeInMs() ); in SetGraphicObject()
506 pGraphic->SetUserData(); in SetGraphicObject()
522 return *pGraphic; in GetGraphicObject()
527 if(!mpReplacementGraphic && pGraphic) in GetReplacementGraphicObject()
529 const SvgDataPtr& rSvgDataPtr = pGraphic->GetGraphic().getSvgData(); in GetReplacementGraphicObject()
544 pGraphic->SetGraphic( rGrf ); in NbcSetGraphic()
547 pGraphic->SetUserData(); in NbcSetGraphic()
564 return pGraphic->GetGraphic(); in GetGraphic()
613 return pGraphic->GetType(); in GetGraphicType()
618 return pGraphic->IsAnimated(); in IsAnimated()
623 return pGraphic->IsEPS(); in IsEPS()
628 return mbIsPreview ? sal_True : pGraphic->IsSwappedOut(); in IsSwappedOut()
633 return pGraphic->GetPrefMapMode(); in GetGrafPrefMapMode()
638 return pGraphic->GetPrefSize(); in GetGrafPrefSize()
648 pGraphic->SetUserData(); in SetGrafStreamURL()
652 pGraphic->SetUserData( rGraphicStreamURL ); in SetGrafStreamURL()
655 if( pGraphic->GetType() == GRAPHIC_NONE ) in SetGrafStreamURL()
656 pGraphic->SetSwapState(); in SetGrafStreamURL()
664 return pGraphic->GetUserData(); in GetGrafStreamURL()
690 const String aUserData( pGraphic->GetUserData() ); in ForceSwapIn()
693 pGraphic->SetGraphic( aEmpty ); in ForceSwapIn()
694 pGraphic->SetUserData( aUserData ); in ForceSwapIn()
695 pGraphic->SetSwapState(); in ForceSwapIn()
699 if ( pGraphicLink && pGraphic->IsSwappedOut() ) in ForceSwapIn()
702 pGraphic->FireSwapInRequest(); in ForceSwapIn()
704 if( pGraphic->IsSwappedOut() || in ForceSwapIn()
705 ( pGraphic->GetType() == GRAPHIC_NONE ) || in ForceSwapIn()
706 ( pGraphic->GetType() == GRAPHIC_DEFAULT ) ) in ForceSwapIn()
710 pGraphic->SetGraphic( aDefaultGraphic ); in ForceSwapIn()
718 pGraphic->FireSwapOutRequest(); in ForceSwapOut()
760 pGraphic->SetUserData(); in SetGraphicLink()
763 pGraphic->SetSwapState(); in SetGraphicLink()
779 FASTBOOL bNoPresGrf = ( pGraphic->GetType() != GRAPHIC_NONE ) && !bEmptyPresObj; in TakeObjInfo()
849 if(pGraphic) in TakeObjNameSingul()
851 const SvgDataPtr& rSvgDataPtr = pGraphic->GetGraphic().getSvgData(); in TakeObjNameSingul()
859 switch( pGraphic->GetType() ) in TakeObjNameSingul()
863 …const sal_uInt16 nId = ( ( pGraphic->IsTransparent() || ( (const SdrGrafTransparenceItem&) GetObje… in TakeObjNameSingul()
900 if(pGraphic) in TakeObjNamePlural()
902 const SvgDataPtr& rSvgDataPtr = pGraphic->GetGraphic().getSvgData(); in TakeObjNamePlural()
910 switch( pGraphic->GetType() ) in TakeObjNamePlural()
914 …const sal_uInt16 nId = ( ( pGraphic->IsTransparent() || ( (const SdrGrafTransparenceItem&) GetObje… in TakeObjNamePlural()
972 pGraphic->SetGraphic( rGraf.GetGraphic(), &rGraf.GetGraphicObject() ); in operator =()
1120 if( pGraphic->IsAnimated()) in SetPage()
1121 pGraphic->StopAnimation(); in SetPage()
1161 if( pGraphic->HasUserData() ) in SetModel()
1164 pGraphic->SetUserData(); in SetModel()
1200 return( pGraphic->GetType() == GRAPHIC_GDIMETAFILE ); in HasGDIMetaFile()
1435 if ( pGraphic->GetPrefMapMode().GetMapUnit() == MAP_PIXEL ) in AdjustToMaxRect()
1436 aSize = Application::GetDefaultDevice()->PixelToLogic( pGraphic->GetPrefSize(), MAP_100TH_MM ); in AdjustToMaxRect()
1438 aSize = OutputDevice::LogicToLogic( pGraphic->GetPrefSize(), in AdjustToMaxRect()
1439 pGraphic->GetPrefMapMode(), in AdjustToMaxRect()
1490 if( pModel && !mbIsPreview && pModel->IsSwapGraphics() && pGraphic->GetSizeBytes() > 20480 ) in IMPL_LINK()
1498 if( ( pGraphic->HasUserData() || pGraphicLink ) && in IMPL_LINK()
1506 pGraphic->SetUserData(); in IMPL_LINK()
1524 if( pGraphic->HasUserData() ) in IMPL_LINK()
1529 aStreamInfo.maUserData = pGraphic->GetUserData(); in IMPL_LINK()
1562 const String aUserData( pGraphic->GetUserData() ); in IMPL_LINK()
1564 pGraphic->SetGraphic( aGraphic ); in IMPL_LINK()
1565 pGraphic->SetUserData( aUserData ); in IMPL_LINK()
1624 || pGraphic->IsTransparent()) in IsObjectTransparent()
1642 if( pGraphic->HasUserData() ) in getInputStream()
1647 aStreamInfo.maUserData = pGraphic->GetUserData(); in getInputStream()
1654 else if( pGraphic && GetGraphic().IsLink() ) in getInputStream()