LibreOffice Module sw (master) 1
|
#include <drwbassh.hxx>
Public Member Functions | |
SwDrawBaseShell (SwView &rShell) | |
virtual | ~SwDrawBaseShell () override |
void | Execute (SfxRequest const &) |
void | GetState (SfxItemSet &) |
void | GetDrawAttrStateForIFBX (SfxItemSet &rSet) |
void | DisableState (SfxItemSet &rSet) |
bool | Disable (SfxItemSet &rSet, sal_uInt16 nWhich=0) |
Public Member Functions inherited from SwBaseShell | |
SwBaseShell (SwView &rShell) | |
virtual | ~SwBaseShell () override |
void | ExecDelete (SfxRequest &) |
void | ExecClpbrd (SfxRequest &) |
void | StateClpbrd (SfxItemSet &) |
void | ExecUndo (SfxRequest &) |
void | StateUndo (SfxItemSet &) |
void | Execute (SfxRequest &) |
void | GetState (SfxItemSet &) |
void | StateStyle (SfxItemSet &) |
void | ExecuteGallery (SfxRequest &) |
void | GetGalleryState (SfxItemSet &) |
void | ExecDlg (SfxRequest &) |
void | ExecTextCtrl (SfxRequest &rReq) |
void | GetTextFontCtrlState (SfxItemSet &rSet) |
void | GetTextCtrlState (SfxItemSet &rSet) |
void | GetBorderState (SfxItemSet &rSet) |
void | GetBckColState (SfxItemSet &rSet) |
void | ExecBckCol (SfxRequest &rReq) |
void | SetWrapMode (sal_uInt16 nSlot) |
void | EditRegionDialog (SfxRequest const &rReq) |
void | InsertRegionDialog (SfxRequest &rReq) |
void | ExecField (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) |
Private Member Functions | |
DECL_LINK (CheckGroupShapeNameHdl, AbstractSvxObjectNameDialog &, bool) | |
DECL_LINK (ValidatePosition, SvxSwFrameValidation &, void) | |
Static Private Member Functions | |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from SwBaseShell | |
static void | StateDisableItems (SfxItemSet &) |
static void | SetFrameMode (FlyMode eMode, SwWrtShell *pShell) |
static void | SetFrameMode_ (FlyMode eMode) |
static FlyMode | GetFrameMode () |
static std::shared_ptr< std::vector< std::unique_ptr< SwPaM > > > | CopyPaMRing (SwPaM &rOrig) |
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 SwBaseShell | |
SwWrtShell & | GetShell () |
SwWrtShell * | GetShellPtr () |
SwView & | GetView () |
void | SetGetStateSet (SfxItemSet *p) |
bool | AddGrfUpdateSlot (sal_uInt16 nSlot) |
DECL_DLLPRIVATE_LINK (InsertDBTextHdl, void *, void) | |
void | InsertURLButton (const OUString &rURL, const OUString &rTarget, const OUString &rText) |
void | InsertTable (SfxRequest &_rRequest) |
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 31 of file drwbassh.hxx.
SwDrawBaseShell::SwDrawBaseShell | ( | SwView & | rShell | ) |
Definition at line 76 of file drwbassh.cxx.
References SwTransferable::CreateSelection(), SwView::GetDrawFuncPtr(), SwView::GetEditWin(), SwBaseShell::GetShell(), SwBaseShell::GetView(), SwWrtShell::NoEdit(), SwEditWin::SetBezierMode(), and SwEditWin::StdDrawMode().
|
overridevirtual |
Definition at line 91 of file drwbassh.cxx.
References SwTransferable::ClearSelection(), SwWrtShell::Edit(), SwView::ExitDraw(), SwBaseShell::GetShell(), and SwBaseShell::GetView().
|
private |
|
private |
References SFX_DECL_INTERFACE.
bool SwDrawBaseShell::Disable | ( | SfxItemSet & | rSet, |
sal_uInt16 | nWhich = 0 |
||
) |
Definition at line 982 of file drwbassh.cxx.
References Content, SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), SwBaseShell::GetShell(), SwFEShell::IsSelObjProtected(), SfxWhichIter::NextWhich(), NONE, and rSet.
Referenced by DisableState(), SwDrawShell::GetDrawAttrState(), and SwDrawShell::GetState().
void SwDrawBaseShell::DisableState | ( | SfxItemSet & | rSet | ) |
Definition at line 1005 of file drwbassh.cxx.
References Disable(), SfxItemSet::DisableItem(), SwViewShell::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetObjIdentifier(), SwBaseShell::GetShell(), i, and rSet.
void SwDrawBaseShell::Execute | ( | SfxRequest const & | rReq | ) |
Definition at line 98 of file drwbassh.cxx.
References SdrEditView::AlignMarkedObjects(), aName, SdrMarkView::AreObjectsMarked(), SwFEShell::ChgAnchor(), vcl::unohelper::TextDataObject::CopyStringTo(), SvxAbstractDialogFactory::Create(), VclAbstractDialogFactory::Create(), SwAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateCaptionDialog(), VclAbstractDialogFactory::CreateDiagramDialog(), SvxAbstractDialogFactory::CreateSvxObjectNameDialog(), SvxAbstractDialogFactory::CreateSvxObjectTitleDescDialog(), SvxAbstractDialogFactory::CreateSvxTransformTabDialog(), SwAbstractDialogFactory::CreateSwWrapDlg(), SwDrawBase::Deactivate(), SwFEShell::DelSelectedObj(), SwCursorShell::EndAction(), SwEditShell::EndAllAction(), SwEditShell::EndUndo(), SdrMarkView::EnterMarkedGroup(), FindFrameFormat(), SwView::FlipDrawRotate(), FN_BACKSPACE, FN_DRAW_WRAP_DLG, FN_FRAME_DOWN, FN_FRAME_UP, FN_NAME_SHAPE, FN_TITLE_DESCRIPTION_SHAPE, o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), SwFormat::GetAnchor(), SwFEShell::GetAnchorId(), SwFormatAnchor::GetAnchorId(), SfxRequest::GetArgs(), SdrView::GetAttributes(), SfxViewFrame::GetBindings(), vcl::Window::GetClipboard(), SdrObject::GetDescription(), GetDfltMetric(), SdrObject::getDiagramHelper(), SwView::GetDocShell(), SwView::GetDrawFuncPtr(), SwViewShell::GetDrawView(), SwView::GetEditWin(), SwFormat::GetFormatAttr(), SfxRequest::GetFrameWeld(), GetFrameWeld(), SdrEditView::GetGeoAttrFromMarked(), SwFormatHoriOrient::GetHoriOrient(), GetHtmlMode(), SdrObject::getHyperlink(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwFEShell::GetLayerId(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrPaintView::GetModel(), SdrObject::GetName(), SwFEShell::GetObjAttr(), SdrObject::GetObjIdentifier(), SwFEShell::GetObjRect(), SfxShell::GetPool(), SfxItemSet::GetPool(), SwFormatVertOrient::GetPos(), SwFormatHoriOrient::GetPos(), SwFormatVertOrient::GetRelationOrient(), SwFormatHoriOrient::GetRelationOrient(), SdrPaintView::GetSdrPageView(), SwBaseShell::GetShell(), SfxRequest::GetSlot(), SdrObject::GetTitle(), SvxHyperlinkItem::GetURL(), CntInt32Item::GetValue(), SfxBoolItem::GetValue(), SfxInt16Item::GetValue(), GetValue, SwFormatVertOrient::GetVertOrient(), SwBaseShell::GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwFEShell::GroupSelection(), SwTextBoxHelper::hasTextFrame(), INSFMTATTR, SfxBindings::Invalidate(), SfxBindings::InvalidateAll(), SwFEShell::IsAlignPossible(), SfxRequest::IsAPI(), SdrModel::IsChanged(), SdrObject::IsDecorative(), SdrObject::isDiagram(), SwFEShell::IsFlyInFly(), SwFEShell::IsFrameVertical(), SwFEShell::IsGroupAllowed(), SdrPaintView::IsGroupEntered(), SwFEShell::IsGroupSelected(), SwFEShell::IsObjSelected(), SwFormatHoriOrient::IsPosToggle(), SwWrtShell::IsSelFrameMode(), SdrObjEditView::IsTextEdit(), SwFEShell::IsUnGroupAllowed(), SwView::LeaveDrawCreate(), SdrPaintView::LeaveOneGroup(), SwWrtShell::LeaveSelFrameMode(), LINK, LoadURL(), SdrMarkView::MarkObj(), NewView, SfxItemSet::Put(), RES_ANCHOR(), RES_FOLLOW_TEXT_FLOW(), RES_FRMATR_BEGIN(), RES_FRMATR_END(), RES_HORI_ORIENT(), RES_LR_SPACE(), RES_SURROUND(), RES_UL_SPACE(), RES_VERT_ORIENT(), RES_WRAP_INFLUENCE_ON_OBJPOS(), VclPtr< class reference_type >::reset(), RET_OK, SwFEShell::SelectionToBottom(), SwFEShell::SelectionToHeaven(), SwFEShell::SelectionToHell(), SwFEShell::SelectionToTop(), SdrView::SetAttributes(), SdrModel::SetChanged(), SfxViewFrame::SetChildWindow(), SdrObject::SetDecorative(), SdrObject::SetDescription(), SwFEShell::SetDragMode(), SwView::SetDrawFuncPtr(), SwFEShell::SetDrawingAttr(), SwFormat::SetFormatAttr(), SdrEditView::SetGeoAttrToMarked(), SwFormatHoriOrient::SetHoriOrient(), SdrObject::setHyperlink(), SwEditShell::SetModified(), SdrObject::SetName(), SwFEShell::SetObjAttr(), SwFormatVertOrient::SetPos(), SwFormatHoriOrient::SetPos(), SwFormatHoriOrient::SetPosToggle(), SwFormatVertOrient::SetRelationOrient(), SwFormatHoriOrient::SetRelationOrient(), SdrObject::SetTitle(), SwFormatAnchor::SetType(), SwFormatVertOrient::SetVertOrient(), SwCursorShell::StartAction(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), SW_MOD, SwRect::TopLeft(), SwFEShell::UnGroupSelection(), and SdrView::UnmarkAll().
void SwDrawBaseShell::GetDrawAttrStateForIFBX | ( | SfxItemSet & | rSet | ) |
Definition at line 970 of file drwbassh.cxx.
References SwViewShell::GetDrawView(), SdrEditView::GetGeoAttrFromMarked(), SdrMarkList::GetMark(), SdrMarkView::GetMarkedObjectList(), SwBaseShell::GetShell(), SfxItemSet::Put(), and rSet.
void SwDrawBaseShell::GetState | ( | SfxItemSet & | rSet | ) |
Definition at line 735 of file drwbassh.cxx.
References Content, SfxItemSet::DisableItem(), FindFrameFormat(), SfxWhichIter::FirstWhich(), FN_BACKSPACE, FN_DRAW_WRAP_DLG, FN_FRAME_DOWN, FN_FRAME_UP, FN_NAME_SHAPE, FN_TITLE_DESCRIPTION_SHAPE, SwFEShell::GetAnchorId(), SwViewShell::GetDrawViewWithValidMarkList(), SwFormat::GetFormatAttr(), SwFormatHoriOrient::GetHoriOrient(), SdrObject::getHyperlink(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetObjIdentifier(), SwBaseShell::GetShell(), SwFormatVertOrient::GetVertOrient(), SwBaseShell::GetView(), SwFEShell::IsAlignPossible(), SdrObject::isDiagram(), SwFEShell::IsGroupAllowed(), SdrPaintView::IsGroupEntered(), SwFEShell::IsGroupSelected(), SwFEShell::IsObjSelected(), SwFEShell::IsSelObjProtected(), SwFEShell::IsUnGroupAllowed(), SfxWhichIter::NextWhich(), NONE, Parent, SfxItemSet::Put(), RES_HORI_ORIENT(), RES_VERT_ORIENT(), rSet, and SvxHyperlinkItem::SetURL().
|
staticprivate |
SfxInterface initializer.
Definition at line 71 of file drwbassh.cxx.