|
LibreOffice Module sd (master) 1
|
#include <GraphicObjectBar.hxx>
Public Member Functions | |
| GraphicObjectBar (const ViewShell *pSdViewShell, ::sd::View *pSdView) | |
| virtual | ~GraphicObjectBar () override |
| void | GetAttrState (SfxItemSet &rSet) |
| void | Execute (SfxRequest &rReq) |
| void | GetFilterState (SfxItemSet &rSet) |
| void | ExecuteFilter (SfxRequest const &rReq) |
Public Member Functions inherited from SfxShell | |
| virtual | ~SfxShell () override |
| virtual SfxInterface * | GetInterface () const |
| void | SetName (const OUString &rName) |
| const OUString & | GetName () const |
| SfxViewShell * | GetViewShell () const |
| const SfxPoolItem * | GetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr) |
| const SfxPoolItem * | ExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr) |
| void | ExecuteSlot (SfxRequest &rReq, bool bAsync) |
| SfxItemPool & | GetPool () const |
| void | SetPool (SfxItemPool *pNewPool) |
| virtual SfxUndoManager * | GetUndoManager () |
| void | SetUndoManager (SfxUndoManager *pNewUndoMgr) |
| SfxRepeatTarget * | GetRepeatTarget () const |
| void | SetRepeatTarget (SfxRepeatTarget *pTarget) |
| virtual void | Invalidate (sal_uInt16 nId=0) |
| virtual bool | IsDesignMode () const |
| bool | IsActive () const |
| virtual void | Activate (bool bMDI) |
| virtual void | Deactivate (bool bMDI) |
| SfxDispatcher * | GetDispatcher () const |
| SfxViewFrame * | GetFrame () const |
| virtual bool | HasUIFeature (SfxShellFeature nFeature) const |
| void | UIFeatureChanged () |
| const SfxPoolItem * | GetItem (sal_uInt16 nSlotId) const |
| const T * | GetItem (TypedWhichId< T > nWhich) const |
| void | PutItem (const SfxPoolItem &rItem) |
| void | SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs) |
| const css::uno::Sequence< css::embed::VerbDescriptor > & | GetVerbs () const |
| void | VerbExec (SfxRequest &) |
| SAL_DLLPRIVATE const SfxSlot * | GetVerbSlot_Impl (sal_uInt16 nId) const |
| virtual SfxObjectShell * | GetObjectShell () |
| void | SetDisableFlags (SfxDisableFlags nFlags) |
| SfxDisableFlags | GetDisableFlags () const |
| virtual std::optional< SfxItemSet > | CreateItemSet (sal_uInt16 nId) |
| virtual void | ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) |
| void | SetContextName (const OUString &rsContextName) |
| void | BroadcastContextForActivation (const bool bIsActivated) |
| bool | SetContextBroadcasterEnabled (const bool bIsEnabled) |
| SAL_DLLPRIVATE bool | CanExecuteSlot_Impl (const SfxSlot &rSlot) |
| virtual bool | IsConditionalFastCall (const SfxRequest &rReq) |
| SAL_DLLPRIVATE void | DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI) |
| SAL_DLLPRIVATE void | DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI) |
Static Private Member Functions | |
| static void | InitInterface_Impl () |
| SfxInterface initializer. More... | |
Private Attributes | |
| ::sd::View * | mpView |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxShell | |
| static SfxInterface * | GetStaticInterface () |
| static void | EmptyExecStub (SfxShell *pShell, SfxRequest &) |
| static void | EmptyStateStub (SfxShell *pShell, SfxItemSet &) |
| static void | VerbState (SfxItemSet &) |
Protected Member Functions inherited from SfxShell | |
| SfxShell () | |
| SfxShell (SfxViewShell *pViewSh) | |
| void | SetViewShell_Impl (SfxViewShell *pView) |
| SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
Static Protected Member Functions inherited from SfxShell | |
| static void | HandleOpenXmlFilterSettings (SfxRequest &) |
Definition at line 30 of file GraphicObjectBar.hxx.
| sd::GraphicObjectBar::GraphicObjectBar | ( | const ViewShell * | pSdViewShell, |
| ::sd::View * | pSdView | ||
| ) |
Definition at line 50 of file GraphicObjectBar.cxx.
References sd::ViewShell::GetDocSh(), SfxShell::GetPool(), sd::DrawDocShell::GetUndoManager(), mpView, mpView, SfxShell::SetName(), SfxShell::SetPool(), SfxShell::SetRepeatTarget(), and SfxShell::SetUndoManager().
|
overridevirtual |
Definition at line 64 of file GraphicObjectBar.cxx.
References SfxShell::SetRepeatTarget().
| void sd::GraphicObjectBar::Execute | ( | SfxRequest & | rReq | ) |
Definition at line 75 of file GraphicObjectBar.cxx.
References SvxGrafAttrHelper::ExecuteGrafAttr(), SfxShell::Invalidate(), and mpView.
| void sd::GraphicObjectBar::ExecuteFilter | ( | SfxRequest const & | rReq | ) |
Definition at line 102 of file GraphicObjectBar.cxx.
References aStr, SdrEditView::BegUndo(), SdrObject::Clone(), SdrEditView::EndUndo(), SvxGraphicFilter::ExecuteGrfFilterSlot(), SdrMarkView::GetDescriptionOfMarkedObjects(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::getSdrModelFromSdrObject(), SdrPaintView::GetSdrPageView(), SfxShell::Invalidate(), mpView, SdrEditView::ReplaceObjectAtView(), and SdResId().
| void sd::GraphicObjectBar::GetAttrState | ( | SfxItemSet & | rSet | ) |
Definition at line 69 of file GraphicObjectBar.cxx.
References SvxGrafAttrHelper::GetGrafAttrState(), mpView, and rSet.
| void sd::GraphicObjectBar::GetFilterState | ( | SfxItemSet & | rSet | ) |
Definition at line 84 of file GraphicObjectBar.cxx.
References SvxGraphicFilter::DisableGraphicFilterSlots(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), mpView, and rSet.
|
staticprivate |
SfxInterface initializer.
Definition at line 45 of file GraphicObjectBar.cxx.
|
private |
Definition at line 49 of file GraphicObjectBar.hxx.
Referenced by Execute(), ExecuteFilter(), GetAttrState(), GetFilterState(), and GraphicObjectBar().