|
LibreOffice Module sd (master) 1
|
#include <BezierObjectBar.hxx>
Public Member Functions | |
| BezierObjectBar (ViewShell *pSdViewShell, View *pSdView) | |
| virtual | ~BezierObjectBar () override |
| void | GetAttrState (SfxItemSet &rSet) |
| Status of attribute items. More... | |
| void | Execute (SfxRequest &rReq) |
| Process SfxRequests. More... | |
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 | |
| View * | mpView |
| ViewShell * | mpViewSh |
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 BezierObjectBar.hxx.
Definition at line 59 of file drbezob.cxx.
References sd::ViewShell::GetDocSh(), SfxShell::GetPool(), sd::DrawDocShell::GetUndoManager(), mpView, mpView, mpViewSh, SfxShell::SetPool(), SfxShell::SetRepeatTarget(), and SfxShell::SetUndoManager().
|
overridevirtual |
Definition at line 72 of file drbezob.cxx.
References SfxShell::SetRepeatTarget().
| void sd::BezierObjectBar::Execute | ( | SfxRequest & | rReq | ) |
Process SfxRequests.
Definition at line 196 of file drbezob.cxx.
References SdrEditView::AddUndo(), SdrMarkView::AreObjectsMarked(), SdrEditView::BegUndo(), SdrUndoFactory::CreateUndoGeoObject(), SdrPolyEditView::DeleteMarkedPoints(), SfxRequest::Done(), SdrEditView::EndUndo(), SfxDispatcher::Execute(), sd::ViewShell::GetCurrentFunction(), SfxViewFrame::GetDispatcher(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrPaintView::GetModel(), SdrModel::GetSdrUndoFactory(), sd::SmartTagSet::getSelected(), SfxRequest::GetSlot(), sd::View::getSmartTags(), sd::ViewShell::GetViewFrame(), SfxRequest::Ignore(), SfxShell::Invalidate(), SdrCreateView::IsAction(), SdrSnapView::IsEliminatePolyPoints(), SdrEditView::IsUndoEnabled(), mpView, mpViewSh, SdResId(), SdrSnapView::SetEliminatePolyPoints(), SdrPathObj::ToggleClosed(), and SdrMarkView::UnmarkAllPoints().
| void sd::BezierObjectBar::GetAttrState | ( | SfxItemSet & | rSet | ) |
Status of attribute items.
Definition at line 81 of file drbezob.cxx.
References SfxItemSet::DisableItem(), sd::View::GetAttributes(), sd::ViewShell::GetCurrentFunction(), sd::View::GetDoc(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdDrawDocument::GetPool(), sd::SmartTagSet::getSelected(), sd::View::getSmartTags(), SfxItemSet::InvalidateItem(), SdrSnapView::IsEliminatePolyPoints(), SdrEditView::IsMoveAllowed(), SdrEditView::IsResizeAllowed(), mpView, mpViewSh, SfxItemSet::Put(), and rSet.
|
staticprivate |
SfxInterface initializer.
Declare default interface (Slotmap must not be empty)
Definition at line 54 of file drbezob.cxx.
|
private |
Definition at line 45 of file BezierObjectBar.hxx.
Referenced by BezierObjectBar(), Execute(), and GetAttrState().
|
private |
Definition at line 46 of file BezierObjectBar.hxx.
Referenced by BezierObjectBar(), Execute(), and GetAttrState().