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)
 
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)
 
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::ScDrawShell ( ScViewData rData)

Definition at line 62 of file drawsh2.cxx.

References GetSidebarContextName().

◆ ~ScDrawShell()

ScDrawShell::~ScDrawShell ( )
overridevirtual

Definition at line 82 of file drawsh2.cxx.

References mpSelectionChangeHandler.

Member Function Documentation

◆ Activate()

void ScDrawShell::Activate ( bool  bMDI)
overrideprotectedvirtual

◆ AreAllObjectsOnLayer()

bool ScDrawShell::AreAllObjectsOnLayer ( SdrLayerID  nLayerNo,
const SdrMarkList rMark 
)
static

◆ DECL_LINK()

ScDrawShell::DECL_LINK ( NameObjectHdl  ,
AbstractSvxObjectNameDialog ,
bool   
)
private

◆ ExecDrawAttr()

void ScDrawShell::ExecDrawAttr ( SfxRequest rReq)

Definition at line 142 of file drawsh.cxx.

References SdrMarkView::AreObjectsMarked(), SfxItemSet::Clone(), convertTwipToMm100(), vcl::unohelper::TextDataObject::CopyStringTo(), SfxItemSet::Count(), SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateCaptionDialog(), SvxAbstractDialogFactory::CreateSvxTransformTabDialog(), SfxRequest::Done(), SfxDispatcher::Execute(), ExecuteAreaDlg(), ExecuteLineDlg(), ExecuteMacroAssign(), ExecuteMeasureDlg(), ExecuteTextAttrDlg(), ScViewData::GetActiveWin(), SfxRequest::GetArg(), SfxRequest::GetArgs(), SdrEditView::GetAttrFromMarked(), SdrView::GetAttributes(), vcl::Window::GetClipboard(), ScViewData::GetDispatcher(), ScViewData::GetDocument(), ScDocument::GetDrawLayer(), vcl::Window::GetFrameWeld(), SdrEditView::GetGeoAttrFromMarked(), SdrPaintView::getHitTolLog(), SdrObject::getHyperlink(), SdrModel::GetItemPool(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScViewData::GetMousePosPixel(), SdrObject::GetObjIdentifier(), SfxShell::GetPool(), SfxItemSet::GetPool(), ScViewData::GetScDrawView(), SfxRequest::GetSlot(), ScViewData::GetTabNo(), CntUInt32Item::GetValue(), SfxShell::GetViewShell(), ScViewData::GetViewShell(), SfxViewShell::GetWindow(), ScDrawView::InvalidateAttribs(), comphelper::LibreOfficeKit::isActive(), SdrObject::IsGroupObject(), ScDocument::IsLayoutRTL(), ScDrawLayer::IsNoteCaption(), lcl_invalidateTransformAttr(), SdrView::MoveShapeHandle(), ScGlobal::OpenURL(), SdrMarkView::PickObj(), vcl::Window::PixelToLogic(), SfxItemSet::Put(), RET_OK, rViewData, SDRATTR_TEXT_MAXFRAMEHEIGHT(), SDRATTR_TEXT_MAXFRAMEWIDTH(), SDRATTR_TEXT_MINFRAMEHEIGHT(), SdrView::SetAttributes(), SdrEditView::SetAttrToMarked(), SdrPaintView::SetDefaultAttr(), SdrEditView::SetGeoAttrToMarked(), SdrObject::setHyperlink(), and setModified().

◆ ExecDrawFunc()

void ScDrawShell::ExecDrawFunc ( SfxRequest rReq)

Definition at line 228 of file drawsh5.cxx.

References SfxUndoManager::AddUndoAction(), SdrEditView::AlignMarkedObjects(), aName, SvxAbstractDialogFactory::Create(), VclAbstractDialogFactory::Create(), VclAbstractDialogFactory::CreateDiagramDialog(), SvxAbstractDialogFactory::CreateSvxObjectNameDialog(), SvxAbstractDialogFactory::CreateSvxObjectTitleDescDialog(), ScDrawView::DeleteMarked(), ScDrawView::DoCopy(), ScDrawView::DoCut(), SfxRequest::Done(), EE_PARA_HYPHENATE(), eMode, SdrMarkView::EnterMarkedGroup(), svx::FontworkBar::execute(), svx::ExtrusionBar::execute(), ScDrawView::FitToCellSize(), SfxItemSet::Get(), ScViewData::GetActiveWin(), ScDrawView::GetAnchorType(), SfxRequest::GetArg(), SfxRequest::GetArgs(), ScViewData::GetBindings(), SdrObject::GetDescription(), SdrObject::getDiagramHelper(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), ScViewData::GetDocument(), SdrMarkView::GetDragMode(), ScDocument::GetDrawLayer(), vcl::Window::GetFrameWeld(), SdrObject::GetLayer(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetName(), ScDrawLayer::GetNewGraphicName(), SdrObject::GetObjIdentifier(), SfxShell::GetPool(), ScTabView::GetScDrawView(), SdrPaintView::GetSdrPageView(), SfxRequest::GetSlot(), SdrObject::GetTitle(), ScDocShell::GetUndoManager(), SfxBoolItem::GetValue(), GetValue, ScViewData::GetView(), GetViewData(), SfxViewShell::GetViewFrame(), SfxShell::GetViewShell(), ScViewData::GetViewShell(), SdrEditView::GroupMarked(), SfxRequest::Ignore(), SfxBindings::Invalidate(), SdrEditView::IsAlignPossible(), SdrObject::IsDecorative(), SdrObject::isDiagram(), SdrMarkView::IsFrameDragSingles(), SdrPaintView::LeaveOneGroup(), LINK, SdrView::MarkAll(), SdrMarkView::MarkObj(), SdrEditView::MirrorAllMarkedHorizontal(), SdrEditView::MirrorAllMarkedVertical(), SdrEditView::MovMarkedToBtm(), SdrEditView::MovMarkedToTop(), nId, ScClipUtil::PasteFromClipboard(), SfxItemSet::Put(), SdrEditView::PutMarkedToBtm(), SdrEditView::PutMarkedToTop(), RET_OK, rViewData, SC_LAYER_BACK(), SC_LAYER_FRONT(), SC_LAYER_INTERN(), SCA_CELL, SCA_CELL_RESIZE, ScGetFontWorkId(), SdrView::SetAttributes(), ScDrawView::SetCellAnchored(), ScDocument::SetChartListenerCollectionNeedsUpdate(), SfxViewFrame::SetChildWindow(), SdrObject::SetDecorative(), SdrObject::SetDescription(), SdrMarkView::SetDragMode(), ScDocShell::SetDrawModified(), SdrMarkView::SetFrameDragSingles(), ScDrawView::SetMarkedOriginalSize(), ScDrawView::SetMarkedToLayer(), SdrObject::SetName(), ScDrawView::SetPageAnchored(), SdrObject::SetTitle(), SfxViewFrame::ToggleChildWindow(), SdrEditView::UnGroupMarked(), SdrView::UnmarkAll(), and ScTabViewShell::UpdateDrawShell().

◆ ExecFormatPaintbrush()

void ScDrawShell::ExecFormatPaintbrush ( const SfxRequest rReq)

◆ ExecFormText()

void ScDrawShell::ExecFormText ( const SfxRequest rReq)

◆ ExecuteAreaDlg()

void ScDrawShell::ExecuteAreaDlg ( const SfxRequest rReq)

◆ ExecuteHLink()

void ScDrawShell::ExecuteHLink ( const SfxRequest rReq)

◆ ExecuteLineDlg()

void ScDrawShell::ExecuteLineDlg ( const SfxRequest rReq)

◆ ExecuteMacroAssign()

void ScDrawShell::ExecuteMacroAssign ( SdrObject pObj,
weld::Window pWin 
)

◆ ExecuteMeasureDlg()

void ScDrawShell::ExecuteMeasureDlg ( SfxRequest rReq)

◆ ExecuteTextAttrDlg()

void ScDrawShell::ExecuteTextAttrDlg ( SfxRequest rReq)

◆ GetAttrFuncState()

void ScDrawShell::GetAttrFuncState ( SfxItemSet rSet)

◆ GetDrawAttrState()

void ScDrawShell::GetDrawAttrState ( SfxItemSet rSet)

◆ GetDrawAttrStateForIFBX()

void ScDrawShell::GetDrawAttrStateForIFBX ( SfxItemSet rSet)

◆ GetDrawFuncState()

void ScDrawShell::GetDrawFuncState ( SfxItemSet rSet)

◆ GetDrawView()

ScDrawView * ScDrawShell::GetDrawView ( )

◆ GetFormTextState()

void ScDrawShell::GetFormTextState ( SfxItemSet rSet)

◆ GetHLinkState()

void ScDrawShell::GetHLinkState ( SfxItemSet rSet)

◆ GetSidebarContextName()

const OUString & ScDrawShell::GetSidebarContextName ( )

◆ GetState()

void ScDrawShell::GetState ( SfxItemSet rSet)

◆ GetViewData()

ScViewData & ScDrawShell::GetViewData ( )
inlineprotected

◆ InitInterface_Impl()

void ScDrawShell::InitInterface_Impl ( )
staticprivate

◆ setModified()

void ScDrawShell::setModified ( )

◆ StateDisableItems()

void ScDrawShell::StateDisableItems ( SfxItemSet rSet)
static

◆ StateFormatPaintbrush()

void ScDrawShell::StateFormatPaintbrush ( SfxItemSet rSet)

Member Data Documentation

◆ mpSelectionChangeHandler

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

Definition at line 42 of file drawsh.hxx.

Referenced by ~ScDrawShell().

◆ rViewData

ScViewData& ScDrawShell::rViewData
private

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