LibreOffice Module sc (master) 1
|
#include <graphsh.hxx>
Static Private Member Functions | |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
Private Attributes | |
std::vector< std::unique_ptr< SdrExternalToolEdit > > | m_ExternalEdits |
Additional Inherited Members | |
Static Public Member Functions inherited from ScDrawShell | |
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 inherited from ScDrawShell | |
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) |
Static Protected Member Functions inherited from SfxShell | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
Definition at line 33 of file graphsh.hxx.
ScGraphicShell::ScGraphicShell | ( | ScViewData & | rData | ) |
Definition at line 53 of file graphsh.cxx.
References vcl::EnumContext::GetContextName(), vcl::EnumContext::Graphic, SfxShell::SetContextName(), and SfxShell::SetName().
|
overridevirtual |
Definition at line 60 of file graphsh.cxx.
void ScGraphicShell::Execute | ( | SfxRequest & | rReq | ) |
Definition at line 72 of file graphsh.cxx.
References SvxGrafAttrHelper::ExecuteGrafAttr(), ScViewData::GetScDrawView(), ScDrawShell::GetViewData(), and SfxShell::Invalidate().
void ScGraphicShell::ExecuteChangePicture | ( | SfxRequest & | rReq | ) |
Definition at line 325 of file graphsh.cxx.
References SdrEditView::BegUndo(), SdrObject::Clone(), SdrEditView::EndUndo(), ERRCODE_NONE, SvxOpenGraphicDialog::Execute(), ScViewData::GetActiveWin(), SdrMarkView::GetDescriptionOfMarkedObjects(), vcl::Window::GetFrameWeld(), SvxOpenGraphicDialog::GetGraphic(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScViewData::GetScDrawView(), SdrPaintView::GetSdrPageView(), ScDrawShell::GetViewData(), SfxShell::Invalidate(), SdrEditView::ReplaceObjectAtView(), and ScResId().
void ScGraphicShell::ExecuteCompressGraphic | ( | SfxRequest & | rReq | ) |
Definition at line 198 of file graphsh.cxx.
References SdrEditView::BegUndo(), SdrEditView::EndUndo(), GetBindings(), CompressGraphicsDialog::GetCompressedSdrGrafObj(), SdrMarkView::GetDescriptionOfMarkedObjects(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScViewData::GetScDrawView(), SdrPaintView::GetSdrPageView(), ScDrawShell::GetViewData(), SfxShell::Invalidate(), SdrEditView::ReplaceObjectAtView(), and RET_OK.
void ScGraphicShell::ExecuteCropGraphic | ( | SfxRequest & | rReq | ) |
Definition at line 244 of file graphsh.cxx.
References SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScViewData::GetScDrawView(), ScDrawShell::GetViewData(), SfxShell::Invalidate(), SdrMarkView::SetDragMode(), and SdrCreateView::SetEditMode().
void ScGraphicShell::ExecuteExternalEdit | ( | SfxRequest & | rReq | ) |
Definition at line 158 of file graphsh.cxx.
References SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScViewData::GetScDrawView(), ScDrawShell::GetViewData(), SfxShell::Invalidate(), and m_ExternalEdits.
void ScGraphicShell::ExecuteFilter | ( | const SfxRequest & | rReq | ) |
Definition at line 102 of file graphsh.cxx.
References aStr, SdrEditView::BegUndo(), SdrObject::Clone(), SdrEditView::EndUndo(), SvxGraphicFilter::ExecuteGrfFilterSlot(), SdrMarkView::GetDescriptionOfMarkedObjects(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScViewData::GetScDrawView(), SdrPaintView::GetSdrPageView(), ScDrawShell::GetViewData(), SfxShell::Invalidate(), SdrEditView::ReplaceObjectAtView(), and ScResId().
void ScGraphicShell::ExecuteSaveGraphic | ( | SfxRequest & | rReq | ) |
Definition at line 264 of file graphsh.cxx.
References GraphicHelper::ExportGraphic(), ScViewData::GetActiveWin(), vcl::Window::GetFrameWeld(), GraphicObject::GetGraphic(), SdrGrafObj::GetGraphicAttr(), SdrGrafObj::GetGraphicObject(), SdrGrafObj::GetGraphicType(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScViewData::GetScDrawView(), SdrGrafObj::GetTransformedGraphic(), ScDrawShell::GetViewData(), GraphicHelper::HasToSaveTransformedImage(), SfxShell::Invalidate(), nState, RET_CANCEL, RET_NO, and RET_YES.
void ScGraphicShell::GetAttrState | ( | SfxItemSet & | rSet | ) |
Definition at line 64 of file graphsh.cxx.
References SvxGrafAttrHelper::GetGrafAttrState(), ScViewData::GetScDrawView(), ScDrawShell::GetViewData(), and rSet.
void ScGraphicShell::GetChangePictureState | ( | SfxItemSet & | rSet | ) |
Definition at line 361 of file graphsh.cxx.
References SfxItemSet::DisableItem(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScViewData::GetScDrawView(), ScDrawShell::GetViewData(), and rSet.
void ScGraphicShell::GetCompressGraphicState | ( | SfxItemSet & | rSet | ) |
Definition at line 180 of file graphsh.cxx.
References SfxItemSet::DisableItem(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScViewData::GetScDrawView(), ScDrawShell::GetViewData(), and rSet.
void ScGraphicShell::GetCropGraphicState | ( | SfxItemSet & | rSet | ) |
Definition at line 226 of file graphsh.cxx.
References SfxItemSet::DisableItem(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScViewData::GetScDrawView(), ScDrawShell::GetViewData(), and rSet.
void ScGraphicShell::GetExternalEditState | ( | SfxItemSet & | rSet | ) |
Definition at line 137 of file graphsh.cxx.
References SfxItemSet::DisableItem(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SfxShell::GetObjectShell(), ScViewData::GetScDrawView(), ScDrawShell::GetViewData(), and rSet.
void ScGraphicShell::GetFilterState | ( | SfxItemSet & | rSet | ) |
Definition at line 83 of file graphsh.cxx.
References SvxGraphicFilter::DisableGraphicFilterSlots(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScViewData::GetScDrawView(), ScDrawShell::GetViewData(), and rSet.
void ScGraphicShell::GetSaveGraphicState | ( | SfxItemSet & | rSet | ) |
Definition at line 304 of file graphsh.cxx.
References SfxItemSet::DisableItem(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SfxShell::GetObjectShell(), ScViewData::GetScDrawView(), ScDrawShell::GetViewData(), and rSet.
|
staticprivate |
SfxInterface initializer.
Definition at line 43 of file graphsh.cxx.
References SFX_OBJECTBAR_OBJECT.
|
private |
Definition at line 39 of file graphsh.hxx.
Referenced by ExecuteExternalEdit().