LibreOffice Module sw (master) 1
Classes | Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
SwGrfShell Class Reference

#include <grfsh.hxx>

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

Classes

class  SwExternalToolEdit
 

Public Member Functions

void Execute (SfxRequest &rRequest)
 
void ExecAttr (SfxRequest const &rRequest)
 
void GetAttrState (SfxItemSet &rRequest)
 
void ExecuteRotation (SfxRequest const &rRequest)
 
void GetAttrStateForRotation (SfxItemSet &rRequest)
 
 SwGrfShell (SwView &rView)
 
virtual ~SwGrfShell () override
 
- 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 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 Private Member Functions

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

Private Attributes

std::vector< std::unique_ptr< SwExternalToolEdit > > m_ExternalEdits
 

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 SfxInterfaceGetStaticInterface ()
 
static void EmptyExecStub (SfxShell *pShell, SfxRequest &)
 
static void EmptyStateStub (SfxShell *pShell, SfxItemSet &)
 
static void VerbState (SfxItemSet &)
 
- Protected Member Functions inherited from SwBaseShell
SwWrtShellGetShell ()
 
SwWrtShellGetShellPtr ()
 
SwViewGetView ()
 
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 &)
 

Detailed Description

Definition at line 30 of file grfsh.hxx.

Constructor & Destructor Documentation

◆ SwGrfShell()

SwGrfShell::SwGrfShell ( SwView rView)

◆ ~SwGrfShell()

SwGrfShell::~SwGrfShell ( )
overridevirtual

Definition at line 1007 of file grfsh.cxx.

Member Function Documentation

◆ ExecAttr()

void SwGrfShell::ExecAttr ( SfxRequest const &  rRequest)

◆ Execute()

void SwGrfShell::Execute ( SfxRequest rRequest)

Definition at line 107 of file grfsh.cxx.

References tools::Rectangle::Bottom(), convertTwipToMm100(), SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateFrameTabDialog(), INetURLObject::decode(), SfxRequest::Done(), END, SwEditShell::EndAllAction(), SwEditShell::EndUndo(), SwView::ExecuteScan(), GraphicHelper::ExportGraphic(), SwView::FlipDrawRotate(), FlyEmbedded, FN_DRAW_WRAP_DLG, FN_FORMAT_GRAFIC_DLG, FN_GET_PRINT_AREA, FN_GRAPHIC_MIRROR_ON_EVEN_PAGES, FN_KEEP_ASPECT_RATIO, FN_PARAM_GRF_CONNECT, FN_SET_FRM_ALT_NAME, FN_SET_FRM_NAME, FN_UNO_DESCRIPTION, SfxItemSet::Get(), SwFEShell::GetAnyCurRect(), SwViewShell::GetAttrPool(), SwFlyFrameAttrMgr::GetAttrSet(), GetBindings(), SdrModel::GetBitmapList(), SvxGrfCrop::GetBottom(), SdrModel::GetColorList(), CompressGraphicsDialog::GetCompressedGraphic(), SwEditShell::GetCurAttr(), GetDfltMetric(), SwDocShell::GetDoc(), SwViewShell::GetDoc(), SwView::GetDocShell(), SwFEShell::GetDragMode(), IDocumentDrawModelAccess::GetDrawModel(), SwViewShell::GetDrawViewWithValidMarkList(), SwFEShell::GetFlyName(), SfxShell::GetFrame(), SwFrameAreaDefinition::getFrameArea(), SfxViewShell::GetFrameWeld(), GetFrameWeld(), SdrModel::GetGradientList(), SwEditShell::GetGraphic(), SwEditShell::GetGraphicAttr(), SwEditShell::GetGraphicObj(), SwEditShell::GetGrfNms(), SdrModel::GetHatchList(), SwFormatFrameSize::GetHeightPercent(), GetHtmlMode(), SwDoc::getIDocumentDrawModelAccess(), SfxItemSet::GetItemIfSet(), SvxGrfCrop::GetLeft(), URIHelper::GetMaybeFileHdl(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), SwFEShell::GetObjDescription(), SwFEShell::GetObjTitle(), SfxItemSet::GetParent(), SdrModel::GetPatternList(), SwDoc::GetPersist(), SfxShell::GetPool(), GraphicObject::GetPrefMapMode(), GraphicObject::GetPrefSize(), SvxGrfCrop::GetRight(), CompressGraphicsDialog::GetScaledCropRectangle(), SwFEShell::GetSelectedFlyFrame(), SwFEShell::GetSelectedFrameFormat(), SwBaseShell::GetShell(), SvxSizeItem::GetSize(), SfxRequest::GetSlot(), SvxGrfCrop::GetTop(), GraphicObject::GetTransformedGraphic(), SwRotationGrf::GetUnrotatedSize(), SfxMedium::GetURLObject(), SwRotationGrf::GetValue(), SwBaseShell::GetView(), SwWrtShell::GetView(), SwViewShell::GetViewOptions(), GetWhich, SwFormatFrameSize::GetWidthPercent(), GPOS_LT, GRF, SfxObjectShell::HasName(), GraphicHelper::HasToSaveTransformedImage(), Size::Height(), SwRect::Height(), HTMLMODE_ON, SwView::InsertGraphicDlg(), SwFormat::IsAutoUpdateOnDirectFormat(), SwFEShell::IsFrameSelected(), SwViewOption::IsGrfKeepZoom(), SwMirrorGrf::IsGrfToggle(), SwViewOption::IsKeepRatio(), SdrEditView::IsRotateAllowed(), SwFEShell::IsRotationOfSwGrfNodePossible(), tools::Rectangle::Left(), m_ExternalEdits, o3tl::mm100, NONE, nState, Page, PagePrt, SfxItemSet::Put(), SwEditShell::ReRead(), RES_ANCHOR(), RES_FRM_SIZE(), RES_FRMATR_BEGIN(), RES_GRFATR_BEGIN(), RES_GRFATR_CROPGRF(), RES_GRFATR_END(), RES_GRFATR_MIRRORGRF(), RES_GRFATR_ROTATION(), RES_SURROUND(), RET_CANCEL, RET_NO, RET_OK, RET_YES, tools::Rectangle::Right(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SwFlyFrameAttrMgr::SetAttrSet(), SvxGrfCrop::SetBottom(), SwFEShell::SetDragMode(), SwFormat::SetFormatAttr(), SwViewOption::SetGrfKeepZoom(), SwMirrorGrf::SetGrfToggle(), SvxSizeItem::SetHeight(), Size::setHeight(), SwFormatFrameSize::SetHeightPercent(), SwViewOption::SetKeepRatio(), SvxGrfCrop::SetLeft(), SwFEShell::SetObjDescription(), SwFEShell::SetObjTitle(), SfxRequest::SetReturnValue(), SvxGrfCrop::SetRight(), SwFlyFrameAttrMgr::SetRotation(), SvxSizeItem::SetSize(), SvxGrfCrop::SetTop(), SvxSizeItem::SetWidth(), Size::setWidth(), SwFormatFrameSize::SetWidthPercent(), URIHelper::SmartRel2Abs(), START, SwEditShell::StartAllAction(), SwFEShell::StartCropImage(), SwEditShell::StartUndo(), SW_MOD, SwFormatFrameSize::SYNCED, tools::Rectangle::Top(), o3tl::toTwips(), INetURLObject::Unambiguous, SwFlyFrameAttrMgr::UpdateFlyFrame(), Variable, Size::Width(), SwRect::Width(), XATTR_FILL_FIRST(), and XATTR_FILL_LAST().

◆ ExecuteRotation()

void SwGrfShell::ExecuteRotation ( SfxRequest const &  rRequest)

◆ GetAttrState()

void SwGrfShell::GetAttrState ( SfxItemSet rRequest)

◆ GetAttrStateForRotation()

void SwGrfShell::GetAttrStateForRotation ( SfxItemSet rRequest)

◆ InitInterface_Impl()

void SwGrfShell::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 100 of file grfsh.cxx.

References SFX_OBJECTBAR_OBJECT.

Member Data Documentation

◆ m_ExternalEdits

std::vector<std::unique_ptr<SwExternalToolEdit> > SwGrfShell::m_ExternalEdits
private

Definition at line 33 of file grfsh.hxx.

Referenced by Execute().


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