LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScDrawShell Class Reference

#include <drawsh.hxx>

Inheritance diagram for ScDrawShell:
[legend]
Collaboration diagram for ScDrawShell:
[legend]

Public Member Functions

 ScDrawShell (ScViewData &rData)
 
virtual ~ScDrawShell () override
 
void ExecDrawAttr (SfxRequest &rReq)
 
void GetDrawAttrState (SfxItemSet &rSet)
 
void GetAttrFuncState (SfxItemSet &rSet)
 
void ExecDrawFunc (SfxRequest &rReq)
 
void GetDrawFuncState (SfxItemSet &rSet)
 
void GetState (SfxItemSet &rSet)
 
void ExecFormText (const SfxRequest &rReq)
 
void GetFormTextState (SfxItemSet &rSet)
 
void ExecuteHLink (const SfxRequest &rReq)
 
void GetHLinkState (SfxItemSet &rSet)
 
void ExecFormatPaintbrush (const SfxRequest &rReq)
 
void StateFormatPaintbrush (SfxItemSet &rSet)
 
void ExecuteMacroAssign (SdrObject *pObj, weld::Window *pWin)
 
void ExecuteLineDlg (const SfxRequest &rReq)
 
void ExecuteAreaDlg (const SfxRequest &rReq)
 
void ExecuteTextAttrDlg (SfxRequest &rReq)
 
void ExecuteMeasureDlg (SfxRequest &rReq)
 
ScDrawViewGetDrawView ()
 
void GetDrawAttrStateForIFBX (SfxItemSet &rSet)
 
OUString const & GetSidebarContextName ()
 
void setModified ()
 
- Public Member Functions inherited from SfxShell
virtual ~SfxShell () override
 
virtual SfxInterfaceGetInterface () const
 
void SetName (const OUString &rName)
 
const OUString & GetName () const
 
SfxViewShellGetViewShell () const
 
const SfxPoolItemGetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr)
 
const SfxPoolItemExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr)
 
void ExecuteSlot (SfxRequest &rReq, bool bAsync)
 
SfxItemPoolGetPool () const
 
void SetPool (SfxItemPool *pNewPool)
 
virtual SfxUndoManagerGetUndoManager ()
 
void SetUndoManager (SfxUndoManager *pNewUndoMgr)
 
SfxRepeatTargetGetRepeatTarget () const
 
void SetRepeatTarget (SfxRepeatTarget *pTarget)
 
virtual void Invalidate (sal_uInt16 nId=0)
 
virtual bool IsDesignMode () const
 
bool IsActive () const
 
virtual void Deactivate (bool bMDI)
 
SfxDispatcherGetDispatcher () const
 
SfxViewFrameGetFrame () const
 
virtual bool HasUIFeature (SfxShellFeature nFeature) const
 
void UIFeatureChanged ()
 
const SfxPoolItemGetItem (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 SfxSlotGetVerbSlot_Impl (sal_uInt16 nId) const
 
virtual SfxObjectShellGetObjectShell ()
 
void SetDisableFlags (SfxDisableFlags nFlags)
 
SfxDisableFlags GetDisableFlags () const
 
virtual std::optional< SfxItemSetCreateItemSet (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 Public Member Functions

static void StateDisableItems (SfxItemSet &rSet)
 
static bool AreAllObjectsOnLayer (SdrLayerID nLayerNo, const SdrMarkList &rMark)
 
- Static Public Member Functions inherited from SfxShell
static SfxInterfaceGetStaticInterface ()
 
static void EmptyExecStub (SfxShell *pShell, SfxRequest &)
 
static void EmptyStateStub (SfxShell *pShell, SfxItemSet &)
 
static void VerbState (SfxItemSet &)
 

Protected Member Functions

virtual void Activate (bool bMDI) override
 
ScViewDataGetViewData ()
 
- 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)
 

Private Member Functions

 DECL_LINK (NameObjectHdl, AbstractSvxObjectNameDialog &, bool)
 

Static Private Member Functions

static void InitInterface_Impl ()
 SfxInterface initializer. More...
 

Private Attributes

ScViewDatarViewData
 
::rtl::Reference< svx::sidebar::SelectionChangeHandlermpSelectionChangeHandler
 

Additional Inherited Members

- Static Protected Member Functions inherited from SfxShell
static void HandleOpenXmlFilterSettings (SfxRequest &)
 

Detailed Description

Definition at line 39 of file drawsh.hxx.

Constructor & Destructor Documentation

ScDrawShell::ScDrawShell ( ScViewData rData)

Definition at line 62 of file drawsh2.cxx.

References GetSidebarContextName().

ScDrawShell::~ScDrawShell ( )
overridevirtual

Definition at line 82 of file drawsh2.cxx.

References mpSelectionChangeHandler.

Member Function Documentation

void ScDrawShell::Activate ( bool  bMDI)
overrideprotectedvirtual
bool ScDrawShell::AreAllObjectsOnLayer ( SdrLayerID  nLayerNo,
const SdrMarkList rMark 
)
static
ScDrawShell::DECL_LINK ( NameObjectHdl  ,
AbstractSvxObjectNameDialog ,
bool   
)
private
void ScDrawShell::ExecDrawAttr ( SfxRequest rReq)
void ScDrawShell::ExecDrawFunc ( SfxRequest rReq)

Definition at line 227 of file drawsh5.cxx.

References SfxUndoManager::AddUndoAction(), SdrEditView::AlignMarkedObjects(), aName, SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateSvxObjectNameDialog(), ScDrawView::DeleteMarked(), ScDrawView::DoCopy(), ScDrawView::DoCut(), SfxRequest::Done(), EE_PARA_HYPHENATE(), eMode, SdrMarkView::EnterMarkedGroup(), svx::ExtrusionBar::execute(), svx::FontworkBar::execute(), ScDrawView::FitToCellSize(), SfxItemSet::Get(), ScDrawView::GetAnchorType(), SfxRequest::GetArg(), SfxRequest::GetArgs(), SdrObject::GetDescription(), AbstractSvxObjectTitleDescDialog::GetDescription(), ScDrawLayer::GetDocument(), ScDocShell::GetDocument(), SdrMarkView::GetDragMode(), ScDocument::GetDrawLayer(), vcl::Window::GetFrameWeld(), SdrObject::GetLayer(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), SdrObject::GetName(), AbstractSvxObjectNameDialog::GetName(), ScDrawLayer::GetNewGraphicName(), SdrObject::GetObjIdentifier(), ScTabView::GetScDrawView(), SfxRequest::GetSlot(), SdrObject::GetTitle(), AbstractSvxObjectTitleDescDialog::GetTitle(), ScDocShell::GetUndoManager(), SfxBoolItem::GetValue(), GetValue, SfxViewShell::GetViewFrame(), SfxShell::GetViewShell(), SdrEditView::GroupMarked(), SfxRequest::Ignore(), SfxBindings::Invalidate(), SdrEditView::IsAlignPossible(), SdrMarkView::IsFrameDragSingles(), SdrPaintView::LeaveOneGroup(), LINK, SdrView::MarkAll(), SdrEditView::MirrorAllMarkedHorizontal(), SdrEditView::MirrorAllMarkedVertical(), SdrEditView::MovMarkedToBtm(), SdrEditView::MovMarkedToTop(), nId, OBJ_GRAF, OBJ_OLE2, ScClipUtil::PasteFromClipboard(), SfxItemSet::Put(), SdrEditView::PutMarkedToBtm(), SdrEditView::PutMarkedToTop(), RET_OK, SC_LAYER_BACK(), SC_LAYER_FRONT(), SC_LAYER_INTERN(), SCA_CELL, SCA_CELL_RESIZE, ScGetFontWorkId(), SdrView::SetAttributes(), ScDrawView::SetCellAnchored(), ScDocument::SetChartListenerCollectionNeedsUpdate(), AbstractSvxObjectNameDialog::SetCheckNameHdl(), SfxViewFrame::SetChildWindow(), SdrObject::SetDescription(), SdrMarkView::SetDragMode(), ScDocShell::SetDrawModified(), SdrMarkView::SetFrameDragSingles(), ScDrawView::SetMarkedOriginalSize(), ScDrawView::SetMarkedToLayer(), SdrObject::SetName(), ScDrawView::SetPageAnchored(), SdrObject::SetTitle(), SfxViewFrame::ToggleChildWindow(), and SdrEditView::UnGroupMarked().

void ScDrawShell::ExecFormatPaintbrush ( const SfxRequest rReq)
void ScDrawShell::ExecFormText ( const SfxRequest rReq)
void ScDrawShell::ExecuteAreaDlg ( const SfxRequest rReq)
void ScDrawShell::ExecuteHLink ( const SfxRequest rReq)
void ScDrawShell::ExecuteLineDlg ( const SfxRequest rReq)
void ScDrawShell::ExecuteMacroAssign ( SdrObject pObj,
weld::Window pWin 
)
void ScDrawShell::ExecuteMeasureDlg ( SfxRequest rReq)
void ScDrawShell::ExecuteTextAttrDlg ( SfxRequest rReq)
void ScDrawShell::GetAttrFuncState ( SfxItemSet rSet)
void ScDrawShell::GetDrawAttrState ( SfxItemSet rSet)
void ScDrawShell::GetDrawAttrStateForIFBX ( SfxItemSet rSet)
void ScDrawShell::GetDrawFuncState ( SfxItemSet rSet)
ScDrawView * ScDrawShell::GetDrawView ( )

Definition at line 681 of file drawsh5.cxx.

Referenced by GetSidebarContextName(), and ScTabViewObj::getTransferable().

void ScDrawShell::GetFormTextState ( SfxItemSet rSet)
void ScDrawShell::GetHLinkState ( SfxItemSet rSet)
const OUString & ScDrawShell::GetSidebarContextName ( )
void ScDrawShell::GetState ( SfxItemSet rSet)
ScViewData& ScDrawShell::GetViewData ( )
inlineprotected
void ScDrawShell::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 131 of file drawsh.cxx.

References SFX_OBJECTBAR_OBJECT.

void ScDrawShell::setModified ( )

Definition at line 156 of file drawsh.cxx.

References SfxObjectShell::GetModel().

void ScDrawShell::StateDisableItems ( SfxItemSet rSet)
static
void ScDrawShell::StateFormatPaintbrush ( SfxItemSet rSet)

Member Data Documentation

::rtl::Reference<svx::sidebar::SelectionChangeHandler> ScDrawShell::mpSelectionChangeHandler
private

Definition at line 42 of file drawsh.hxx.

Referenced by ~ScDrawShell().

ScViewData& ScDrawShell::rViewData
private

The documentation for this class was generated from the following files: