23#include <svx/svxids.hrc>
37#define ShellClass_GraphicObjectBar
53 :
SfxShell (pSdViewShell->GetViewShell()),
93 if(
auto pGrafObj =
dynamic_cast< SdrGrafObj *
>( pObj ) )
94 if( pGrafObj->GetGraphicType() == GraphicType::Bitmap )
110 if(
auto pGrafObj =
dynamic_cast< SdrGrafObj *
>( pObj ) )
111 if( pGrafObj->GetGraphicType() == GraphicType::Bitmap )
115 if( SvxGraphicFilterResult::NONE ==
124 " " +
SdResId(STR_UNDO_GRAFFILTER);
126 pFilteredObj->SetGraphicObject( aFilterObj );
void ReplaceObjectAtView(SdrObject *pOldObj, SdrPageView &rPV, SdrObject *pNewObj, bool bMark=true)
size_t GetMarkCount() const
SdrMark * GetMark(size_t nNum) const
const SdrMarkList & GetMarkedObjectList() const
OUString const & GetDescriptionOfMarkedObjects() const
SdrObject * GetMarkedSdrObj() const
static rtl::Reference< T > Clone(T const &rObj, SdrModel &rTargetModel)
SdrModel & getSdrModelFromSdrObject() const
SdrPageView * GetSdrPageView() const
void SetUndoManager(SfxUndoManager *pNewUndoMgr)
SfxItemPool & GetPool() const
void SetRepeatTarget(SfxRepeatTarget *pTarget)
virtual void Invalidate(sal_uInt16 nId=0)
void SetPool(SfxItemPool *pNewPool)
void SetName(const OUString &rName)
static void ExecuteGrafAttr(SfxRequest &rReq, SdrView &rView)
static void GetGrafAttrState(SfxItemSet &rSet, SdrView const &rView)
static SvxGraphicFilterResult ExecuteGrfFilterSlot(SfxRequest const &rReq, GraphicObject &rFilterObject)
static void DisableGraphicFilterSlots(SfxItemSet &rSet)
virtual SfxUndoManager * GetUndoManager() override
void GetAttrState(SfxItemSet &rSet)
void ExecuteFilter(SfxRequest const &rReq)
GraphicObjectBar(const ViewShell *pSdViewShell, ::sd::View *pSdView)
virtual ~GraphicObjectBar() override
void GetFilterState(SfxItemSet &rSet)
void Execute(SfxRequest &rReq)
Base class of the stacked shell hierarchy.
SD_DLLPUBLIC DrawDocShell * GetDocSh() const
OUString SdResId(TranslateId aId)
#define SFX_IMPL_INTERFACE(Class, SuperClass)