LibreOffice Module sc (master) 1
|
#include <drawsh.hxx>
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) |
ScDrawView * | GetDrawView () |
void | GetDrawAttrStateForIFBX (SfxItemSet &rSet) |
OUString const & | GetSidebarContextName () |
void | setModified () |
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 Public Member Functions | |
static void | StateDisableItems (SfxItemSet &rSet) |
static bool | AreAllObjectsOnLayer (SdrLayerID nLayerNo, const SdrMarkList &rMark) |
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 | |
virtual void | Activate (bool bMDI) override |
ScViewData & | GetViewData () |
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 | |
ScViewData & | rViewData |
::rtl::Reference< svx::sidebar::SelectionChangeHandler > | mpSelectionChangeHandler |
Additional Inherited Members | |
Static Protected Member Functions inherited from SfxShell | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
Definition at line 39 of file drawsh.hxx.
ScDrawShell::ScDrawShell | ( | ScViewData & | rData | ) |
Definition at line 62 of file drawsh2.cxx.
References GetSidebarContextName().
|
overridevirtual |
Definition at line 82 of file drawsh2.cxx.
References mpSelectionChangeHandler.
|
overrideprotectedvirtual |
Reimplemented from SfxShell.
Reimplemented in ScChartShell.
Definition at line 549 of file drawsh2.cxx.
References vcl::EnumContext::GetContextEnum(), GetController(), SfxShell::GetFrame(), GetSidebarContextName(), and ContextChangeEventMultiplexer::NotifyContextChange().
Referenced by ScChartShell::Activate().
|
static |
Definition at line 518 of file drawsh2.cxx.
References SdrObject::GetLayer(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMark::GetMarkedSdrObj(), i, and nCount.
Referenced by GetDrawFuncState().
|
private |
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().
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().
void ScDrawShell::ExecFormatPaintbrush | ( | const SfxRequest & | rReq | ) |
Definition at line 683 of file drawsh5.cxx.
References SdrMarkView::AreObjectsMarked(), SfxItemSet::Count(), SfxItemSet::Get(), SfxRequest::GetArgs(), SdrEditView::GetAttrFromMarked(), ScViewData::GetScDrawView(), ScViewData::GetView(), ScTabView::HasPaintBrush(), ScTabView::ResetBrushDocument(), rViewData, and ScTabView::SetDrawBrushSet().
void ScDrawShell::ExecFormText | ( | const SfxRequest & | rReq | ) |
Definition at line 667 of file drawsh5.cxx.
References SfxRequest::GetArgs(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), ScViewData::GetScDrawView(), SdrObjEditView::IsTextEdit(), rSet, rViewData, ScDrawView::ScEndTextEdit(), and SdrView::SetAttributes().
void ScDrawShell::ExecuteAreaDlg | ( | const SfxRequest & | rReq | ) |
Definition at line 511 of file drawsh.cxx.
References SdrMarkView::AreObjectsMarked(), SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateSvxAreaTabDialog(), SdrPaintView::GetDefaultAttr(), ScViewData::GetDialogParent(), ScViewData::GetDocument(), ScDocument::GetDrawLayer(), ScViewData::GetScDrawView(), ScDrawView::InvalidateAttribs(), SdrEditView::MergeAttrFromMarked(), RET_OK, rViewData, SdrEditView::SetAttrToMarked(), and SdrPaintView::SetDefaultAttr().
Referenced by ExecDrawAttr().
void ScDrawShell::ExecuteHLink | ( | const SfxRequest & | rReq | ) |
Undo ???
Definition at line 132 of file drawsh5.cxx.
References eMode, INetURLObject::GetAbsURL(), SfxRequest::GetArgs(), SfxMedium::GetBaseURL(), ScViewData::GetDocShell(), SvxHyperlinkItem::GetInsertMode(), SfxItemSet::GetItemState(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SfxObjectShell::GetMedium(), SvxHyperlinkItem::GetName(), SdrObject::GetObjInventor(), ScViewData::GetScDrawView(), SfxRequest::GetSlot(), SvxHyperlinkItem::GetTargetFrame(), SdrUnoObj::GetUnoControlModel(), SvxHyperlinkItem::GetURL(), ScViewData::GetViewShell(), HLINK_BUTTON, HLINK_FIELD, rTarget, rViewData, ScDocShell::SetDocumentModified(), SdrObject::setHyperlink(), and setModified().
void ScDrawShell::ExecuteLineDlg | ( | const SfxRequest & | rReq | ) |
Definition at line 473 of file drawsh.cxx.
References SdrMarkView::AreObjectsMarked(), SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateSvxLineTabDialog(), SdrPaintView::GetDefaultAttr(), ScViewData::GetDialogParent(), ScViewData::GetDocument(), ScDocument::GetDrawLayer(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScViewData::GetScDrawView(), ScDrawView::InvalidateAttribs(), SdrEditView::MergeAttrFromMarked(), RET_OK, rViewData, SdrEditView::SetAttrToMarked(), and SdrPaintView::SetDefaultAttr().
Referenced by ExecDrawAttr().
void ScDrawShell::ExecuteMacroAssign | ( | SdrObject * | pObj, |
weld::Window * | pWin | ||
) |
Definition at line 419 of file drawsh.cxx.
References SfxEventNamesItem::AddEvent(), SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateEventConfigDialog(), SvxMacroTableDtor::Get(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SfxItemSet::GetItemIfSet(), SvxMacro::GetMacName(), ScMacroInfo::GetMacro(), ScDrawLayer::GetMacroInfo(), SvxMacroItem::GetMacroTable(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SfxShell::GetPool(), SdrObject::GetSubList(), SfxViewShell::GetViewFrame(), SfxShell::GetViewShell(), GetWhich, index, SvxMacroTableDtor::Insert(), SdrObject::IsGroupObject(), SfxItemSet::Put(), RET_OK, ScResId(), ScMacroInfo::SetMacro(), SvxMacroItem::SetMacroTable(), setModified(), SfxGetpApp(), and xFrame.
Referenced by ExecDrawAttr().
void ScDrawShell::ExecuteMeasureDlg | ( | SfxRequest & | rReq | ) |
Definition at line 570 of file drawsh.cxx.
References SdrMarkView::AreObjectsMarked(), SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateSfxDialog(), SfxRequest::Done(), SdrPaintView::GetDefaultAttr(), ScViewData::GetDialogParent(), ScViewData::GetScDrawView(), ScDrawView::InvalidateAttribs(), SdrEditView::MergeAttrFromMarked(), RET_OK, rViewData, SdrEditView::SetAttrToMarked(), and SdrPaintView::SetDefaultAttr().
Referenced by ExecDrawAttr().
void ScDrawShell::ExecuteTextAttrDlg | ( | SfxRequest & | rReq | ) |
Definition at line 543 of file drawsh.cxx.
References SdrMarkView::AreObjectsMarked(), SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateTextTabDialog(), SfxRequest::Done(), SdrPaintView::GetDefaultAttr(), ScViewData::GetDialogParent(), ScViewData::GetScDrawView(), ScDrawView::InvalidateAttribs(), SdrEditView::MergeAttrFromMarked(), RET_OK, rViewData, SdrView::SetAttributes(), and SdrPaintView::SetDefaultAttr().
Referenced by ExecDrawAttr().
void ScDrawShell::GetAttrFuncState | ( | SfxItemSet & | rSet | ) |
Definition at line 470 of file drawsh2.cxx.
References SfxItemSet::DisableItem(), SdrEditView::GetAttrFromMarked(), SfxItemSet::GetItemState(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetObjIdentifier(), ScViewData::GetScDrawView(), i, rSet, rViewData, XATTR_FILLSTYLE(), and XATTR_LINESTYLE().
void ScDrawShell::GetDrawAttrState | ( | SfxItemSet & | rSet | ) |
Definition at line 391 of file drawsh2.cxx.
References SdrMarkView::AreObjectsMarked(), tools::Rectangle::Bottom(), ScViewData::GetActiveWin(), SdrMarkView::GetAllMarkedRect(), SdrEditView::GetAttrFromMarked(), SdrView::GetAttributes(), SfxItemSet::GetItemState(), ScViewData::GetMousePosPixel(), ScViewData::GetScDrawView(), SdrPaintView::GetSdrPageView(), ScDrawView::GetSfxViewShell(), SdrCreateView::IsAction(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), SdrPageView::LogicToPagePos(), vcl::Window::PixelToLogic(), SfxItemSet::Put(), tools::Rectangle::Right(), rSet, rViewData, SDRATTR_TEXTCOLUMNS_NUMBER(), SDRATTR_TEXTCOLUMNS_SPACING(), setupFillColorForChart(), SdrCreateView::TakeActionRect(), tools::Rectangle::Top(), and tools::Rectangle::TopLeft().
void ScDrawShell::GetDrawAttrStateForIFBX | ( | SfxItemSet & | rSet | ) |
Definition at line 537 of file drawsh2.cxx.
References SdrEditView::GetGeoAttrFromMarked(), SdrMarkList::GetMark(), SdrMarkView::GetMarkedObjectList(), ScViewData::GetScDrawView(), SfxItemSet::Put(), rSet, and rViewData.
void ScDrawShell::GetDrawFuncState | ( | SfxItemSet & | rSet | ) |
Definition at line 146 of file drawsh2.cxx.
References AreAllObjectsOnLayer(), SfxItemSet::DisableItem(), EE_PARA_HYPHENATE(), SfxItemSet::Get(), ScDrawView::GetAnchorType(), SdrOle2Obj::GetAspect(), SdrView::GetAttributes(), SdrObject::getHyperlink(), SdrModel::GetItemPool(), SfxItemSet::GetItemState(), SdrObject::GetLayer(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrPaintView::GetModel(), SfxShell::GetObjectShell(), SdrObject::GetObjIdentifier(), SdrOle2Obj::GetObjRef(), ScViewData::GetScDrawView(), svx::ExtrusionBar::getState(), svx::FontworkBar::getState(), ScDrawView::HasMarkedControl(), ScDrawView::HasMarkedInternal(), SdrObject::isDiagram(), SdrPaintView::IsGroupEntered(), SdrEditView::IsGroupEnterPossible(), SdrEditView::IsMirrorAllowed(), SdrEditView::IsUnGroupPossible(), SfxItemSet::Put(), rSet, rViewData, SC_LAYER_BACK(), SC_LAYER_FRONT(), SC_LAYER_INTERN(), SCA_CELL, and SCA_CELL_RESIZE.
ScDrawView * ScDrawShell::GetDrawView | ( | ) |
Definition at line 719 of file drawsh5.cxx.
References ScTabView::GetScDrawView(), ScViewData::GetView(), and rViewData.
Referenced by GetSidebarContextName(), and ScTabViewObj::getTransferable().
void ScDrawShell::GetFormTextState | ( | SfxItemSet & | rSet | ) |
Definition at line 27 of file drawsh4.cxx.
References SfxItemSet::DisableItem(), DynCastSdrTextObj(), SdrView::GetAttributes(), SdrModel::GetItemPool(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrPaintView::GetModel(), ScViewData::GetScDrawView(), SdrTextObj::HasText(), rSet, rViewData, SfxItemSet::Set(), XATTR_FORMTXTADJUST(), XATTR_FORMTXTDISTANCE(), XATTR_FORMTXTHIDEFORM(), XATTR_FORMTXTMIRROR(), XATTR_FORMTXTOUTLINE(), XATTR_FORMTXTSHADOW(), XATTR_FORMTXTSHDWCOLOR(), XATTR_FORMTXTSHDWXVAL(), XATTR_FORMTXTSHDWYVAL(), XATTR_FORMTXTSTART(), and XATTR_FORMTXTSTYLE().
void ScDrawShell::GetHLinkState | ( | SfxItemSet & | rSet | ) |
Definition at line 56 of file drawsh5.cxx.
References SdrObject::getHyperlink(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetObjInventor(), ScViewData::GetScDrawView(), SdrUnoObj::GetUnoControlModel(), HLINK_BUTTON, HLINK_FIELD, SfxItemSet::Put(), rSet, rViewData, SvxHyperlinkItem::SetInsertMode(), SvxHyperlinkItem::SetName(), SvxHyperlinkItem::SetTargetFrame(), and SvxHyperlinkItem::SetURL().
const OUString & ScDrawShell::GetSidebarContextName | ( | ) |
Definition at line 557 of file drawsh2.cxx.
References svx::sidebar::SelectionAnalyzer::GetContextForSelection_SC(), vcl::EnumContext::GetContextName(), and GetDrawView().
Referenced by Activate(), and ScDrawShell().
void ScDrawShell::GetState | ( | SfxItemSet & | rSet | ) |
Definition at line 87 of file drawsh2.cxx.
References SfxItemSet::DisableItem(), eMode, ScDrawView::GetAnchorType(), SdrMarkView::GetDragMode(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScViewData::GetScDrawView(), SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), SfxViewFrame::HasChildWindow(), SdrMarkView::IsFrameDragSingles(), ScDrawLayer::IsNoteCaption(), SfxItemSet::Put(), rSet, rViewData, SCA_CELL, SCA_CELL_RESIZE, SCA_PAGE, and ScGetFontWorkId().
|
inlineprotected |
Definition at line 48 of file drawsh.hxx.
References rViewData.
Referenced by ScChartShell::Activate(), ScChartShell::Deactivate(), ExecDrawFunc(), ScGraphicShell::Execute(), ScGraphicShell::ExecuteChangePicture(), ScGraphicShell::ExecuteCompressGraphic(), ScGraphicShell::ExecuteCropGraphic(), ScChartShell::ExecuteExportAsGraphic(), ScGraphicShell::ExecuteExternalEdit(), ScGraphicShell::ExecuteFilter(), ScMediaShell::ExecuteMedia(), ScGraphicShell::ExecuteSaveGraphic(), ScGraphicShell::GetAttrState(), ScGraphicShell::GetChangePictureState(), ScGraphicShell::GetCompressGraphicState(), ScGraphicShell::GetCropGraphicState(), ScChartShell::GetExportAsGraphicState(), ScGraphicShell::GetExternalEditState(), ScGraphicShell::GetFilterState(), ScMediaShell::GetMediaState(), and ScGraphicShell::GetSaveGraphicState().
|
staticprivate |
SfxInterface initializer.
Definition at line 92 of file drawsh.cxx.
References SfxShell::GetStaticInterface(), SfxInterface::RegisterChildWindow(), SfxInterface::RegisterObjectBar(), SfxInterface::RegisterPopupMenu(), and SFX_OBJECTBAR_OBJECT.
void ScDrawShell::setModified | ( | ) |
Definition at line 117 of file drawsh.cxx.
References SfxObjectShell::GetModel(), and SfxShell::GetObjectShell().
Referenced by ExecDrawAttr(), ExecuteHLink(), and ExecuteMacroAssign().
|
static |
Definition at line 105 of file drawsh.cxx.
References SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), SfxWhichIter::NextWhich(), and rSet.
void ScDrawShell::StateFormatPaintbrush | ( | SfxItemSet & | rSet | ) |
Definition at line 707 of file drawsh5.cxx.
References SdrMarkView::AreObjectsMarked(), SfxItemSet::DisableItem(), ScViewData::GetScDrawView(), ScViewData::GetView(), ScTabView::HasPaintBrush(), SfxItemSet::Put(), rSet, and rViewData.
|
private |
Definition at line 42 of file drawsh.hxx.
Referenced by ~ScDrawShell().
|
private |
Definition at line 41 of file drawsh.hxx.
Referenced by ExecDrawAttr(), ExecDrawFunc(), ExecFormatPaintbrush(), ExecFormText(), ExecuteAreaDlg(), ExecuteHLink(), ExecuteLineDlg(), ExecuteMeasureDlg(), ExecuteTextAttrDlg(), GetAttrFuncState(), GetDrawAttrState(), GetDrawAttrStateForIFBX(), GetDrawFuncState(), GetDrawView(), GetFormTextState(), GetHLinkState(), GetState(), GetViewData(), and StateFormatPaintbrush().