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

#include <frmsh.hxx>

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

Public Member Functions

 SwFrameShell (SwView &rView)
 
virtual ~SwFrameShell () override
 
void Execute (SfxRequest &)
 
void ExecMove (SfxRequest &rReq)
 
void ExecField (const SfxRequest &rReq)
 
void GetState (SfxItemSet &)
 
void ExecFrameStyle (SfxRequest const &rReq)
 
void GetLineStyleState (SfxItemSet &rSet)
 
void StateInsert (SfxItemSet &rSet)
 
void GetDrawAttrStateTextFrame (SfxItemSet &rSet)
 
void ExecDrawAttrArgsTextFrame (SfxRequest const &rReq)
 
void ExecDrawDlgTextFrame (SfxRequest const &rReq)
 
void DisableStateTextFrame (SfxItemSet &rSet)
 
- 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...
 

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 24 of file frmsh.hxx.

Constructor & Destructor Documentation

◆ SwFrameShell()

SwFrameShell::SwFrameShell ( SwView rView)

◆ ~SwFrameShell()

SwFrameShell::~SwFrameShell ( )
overridevirtual

Definition at line 1073 of file frmsh.cxx.

References SwTransferable::ClearSelection(), and SwBaseShell::GetShell().

Member Function Documentation

◆ DisableStateTextFrame()

void SwFrameShell::DisableStateTextFrame ( SfxItemSet rSet)

◆ ExecDrawAttrArgsTextFrame()

void SwFrameShell::ExecDrawAttrArgsTextFrame ( SfxRequest const &  rReq)

◆ ExecDrawDlgTextFrame()

void SwFrameShell::ExecDrawDlgTextFrame ( SfxRequest const &  rReq)

◆ ExecField()

void SwFrameShell::ExecField ( const SfxRequest rReq)

◆ ExecFrameStyle()

void SwFrameShell::ExecFrameStyle ( SfxRequest const &  rReq)

◆ ExecMove()

void SwFrameShell::ExecMove ( SfxRequest rReq)

◆ Execute()

void SwFrameShell::Execute ( SfxRequest rReq)

Definition at line 131 of file frmsh.cxx.

References aName, aURL, SwWrtShell::AutoUpdateFrame(), SwCursorShell::CallChgLnk(), SwFEShell::Chain(), SvxAbstractDialogFactory::Create(), SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateFrameTabDialog(), SvxAbstractDialogFactory::CreateSvxObjectNameDialog(), SvxAbstractDialogFactory::CreateSvxObjectTitleDescDialog(), SfxRequest::Done(), SwEditShell::EndAllAction(), SwWrtShell::EnterStdMode(), SwView::ExecFormatFootnote(), SwView::ExecNumberingOutline(), SfxDispatcher::Execute(), SfxDispatcher::ExecuteList(), SwEditShell::FindFlyByName(), FlyEmbedded, FN_DRAW_WRAP_DLG, FN_FORMAT_FOOTNOTE_DLG, FN_FORMAT_FRAME_DLG, FN_FORMAT_GRAFIC_DLG, FN_FRAME_ALIGN_HORZ_CENTER, FN_FRAME_ALIGN_HORZ_LEFT, FN_FRAME_ALIGN_HORZ_RIGHT, FN_FRAME_ALIGN_VERT_BOTTOM, FN_FRAME_ALIGN_VERT_CENTER, FN_FRAME_ALIGN_VERT_CHAR_BOTTOM, FN_FRAME_ALIGN_VERT_CHAR_CENTER, FN_FRAME_ALIGN_VERT_CHAR_TOP, FN_FRAME_ALIGN_VERT_ROW_BOTTOM, FN_FRAME_ALIGN_VERT_ROW_CENTER, FN_FRAME_ALIGN_VERT_ROW_TOP, FN_FRAME_ALIGN_VERT_TOP, FN_FRAME_CHAIN, FN_FRAME_DOWN, FN_FRAME_MIRROR_ON_EVEN_PAGES, FN_FRAME_TO_ANCHOR, FN_FRAME_UNCHAIN, FN_FRAME_UP, FN_GET_PRINT_AREA, FN_INSERT_FRAME, FN_KEEP_ASPECT_RATIO, FN_MATH_BASELINE_ALIGNMENT, FN_NAME_SHAPE, FN_NUMBERING_OUTLINE_DLG, FN_OLE_IS_MATH, FN_PARAM_CHAIN_NEXT, FN_PARAM_CHAIN_PREVIOUS, FN_SET_FRM_ALT_NAME, FN_SET_FRM_NAME, FN_SET_FRM_POSITION, FN_SURROUND, FN_TITLE_DESCRIPTION_SHAPE, FN_UNO_DESCRIPTION, FN_WORDCOUNT_DIALOG, IDocumentSettingAccess::get(), SfxItemSet::Get(), SwFEShell::GetAnyCurRect(), SfxRequest::GetArgs(), SwViewShell::GetAttrPool(), SwFlyFrameAttrMgr::GetAttrSet(), SfxViewFrame::GetBindings(), SwFormat::GetChain(), SwEditShell::GetCurAttr(), GetDfltMetric(), SfxViewFrame::GetDispatcher(), SwDocShell::GetDoc(), SwViewShell::GetDoc(), SwView::GetDocShell(), IDocumentDrawModelAccess::GetDrawModel(), SwViewShell::GetDrawViewWithValidMarkList(), SwView::GetEditWin(), SwFEShell::GetFlyFrameAttr(), SwFEShell::GetFlyFrameFormat(), SwFEShell::GetFlyName(), SfxShell::GetFrame(), GetFrameWeld(), SwFormatCol::GetGutterWidth(), SwFormatFrameSize::GetHeightPercent(), SwFlyFrameAttrMgr::GetHoriOrient(), GetHtmlMode(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::getIDocumentSettingAccess(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SdrMarkView::GetMarkedObjectCount(), SvxHyperlinkItem::GetName(), SwFormat::GetName(), SwFormatChain::GetNext(), SwFEShell::GetObjDescription(), SwFEShell::GetObjTitle(), SwFEShell::GetOleRef(), SfxItemSet::GetParent(), SfxShell::GetPool(), SwFlyFrameAttrMgr::GetPos(), SwFormatChain::GetPrev(), SwFEShell::GetSelectedFrameFormat(), SwWrtShell::GetSelectionType(), SwBaseShell::GetShell(), SwFlyFrameAttrMgr::GetSize(), SfxRequest::GetSlot(), SvxHyperlinkItem::GetTargetFrame(), SwRotationGrf::GetUnrotatedSize(), SvxHyperlinkItem::GetURL(), CntUnencodedStringItem::GetValue(), SfxBoolItem::GetValue(), SfxPointItem::GetValue(), SwRotationGrf::GetValue(), SwBaseShell::GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), GetWhich, SwFormatFrameSize::GetWidthPercent(), SwFormatCol::GetWishWidth(), SwCursorShell::GotoFlyAnchor(), Graphic, SfxShell::HandleOpenXmlFilterSettings(), SfxItemSet::HasItem(), SwRect::Height(), SwFEShell::HideChainMarker(), i, SwFormatCol::Init(), SfxBindings::Invalidate(), SwFormat::IsAutoUpdateOnDirectFormat(), SwEditWin::IsChainMode(), SwFEShell::IsFrameSelected(), SwViewOption::IsKeepRatio(), SotExchange::IsMath(), SwFEShell::IsObjDecorative(), SwFormatHoriOrient::IsPosToggle(), lcl_GetFrameFormatByName(), MATH_BASELINE_ALIGNMENT, NONE, Ole, Page, PagePrt, SfxItemSet::Put(), SwDrawModel::PutAreaListItems(), RES_ANCHOR(), RES_COL(), RES_FRM_SIZE(), RES_FRMATR_BEGIN(), RES_FRMATR_END(), RES_GRFATR_ROTATION(), RES_SURROUND(), RES_URL(), RET_OK, rTarget, SAL_WARN_IF, SwFEShell::SelectionToBottom(), SwFEShell::SelectionToTop(), SwFlyFrameAttrMgr::SetAbsPos(), SwFlyFrameAttrMgr::SetAttrSet(), SwFEShell::SetChainMarker(), SwEditWin::SetChainMode(), SwFEShell::SetFlyFrameAttr(), SwFEShell::SetFlyName(), SvxSizeItem::SetHeight(), Size::setHeight(), SwFlyFrameAttrMgr::SetHorzOrientation(), SwViewOption::SetKeepRatio(), SwEditShell::SetModified(), SwFEShell::SetObjDecorative(), SwFEShell::SetObjDescription(), SwFEShell::SetObjTitle(), SwFormatHoriOrient::SetPosToggle(), SfxRequest::SetReturnValue(), SwFlyFrameAttrMgr::SetRotation(), SwFlyFrameAttrMgr::SetSize(), SwFlyFrameAttrMgr::SetVertOrientation(), SvxSizeItem::SetWidth(), Size::setWidth(), Point::setX(), Point::setY(), sName, SwEditShell::StartAllAction(), SW_MOD, SwFormatFrameSize::SYNCED, SwFEShell::Unchain(), SwFlyFrameAttrMgr::UpdateFlyFrame(), SwView::UpdateWordCount(), Variable, SwRect::Width(), XATTR_FILL_FIRST(), and XATTR_FILL_LAST().

◆ GetDrawAttrStateTextFrame()

void SwFrameShell::GetDrawAttrStateTextFrame ( SfxItemSet rSet)

◆ GetLineStyleState()

void SwFrameShell::GetLineStyleState ( SfxItemSet rSet)

◆ GetState()

void SwFrameShell::GetState ( SfxItemSet rSet)

Definition at line 732 of file frmsh.cxx.

References aProperties, Content, SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), Fixed, FLY_ATCNT, FLY_INCNT, FN_FORMAT_FRAME_DLG, FN_FRAME_ALIGN_HORZ_CENTER, FN_FRAME_ALIGN_HORZ_LEFT, FN_FRAME_ALIGN_HORZ_RIGHT, FN_FRAME_ALIGN_VERT_BOTTOM, FN_FRAME_ALIGN_VERT_CENTER, FN_FRAME_ALIGN_VERT_CHAR_BOTTOM, FN_FRAME_ALIGN_VERT_CHAR_CENTER, FN_FRAME_ALIGN_VERT_CHAR_TOP, FN_FRAME_ALIGN_VERT_ROW_BOTTOM, FN_FRAME_ALIGN_VERT_ROW_CENTER, FN_FRAME_ALIGN_VERT_ROW_TOP, FN_FRAME_ALIGN_VERT_TOP, FN_FRAME_CHAIN, FN_FRAME_DOWN, FN_FRAME_UNCHAIN, FN_FRAME_UP, FN_NAME_SHAPE, FN_POSTIT, FN_TITLE_DESCRIPTION_SHAPE, SwFlyFrameAttrMgr::GetAnchor(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwEditWin::GetApplyTemplate(), SwViewShell::GetAttrPool(), SwFormat::GetChain(), vcl::CommandInfoProvider::GetCommandProperties(), SwView::GetDocShell(), SwViewShell::GetDrawViewWithValidMarkList(), SwView::GetEditWin(), SwFEShell::GetFlyFrameAttr(), SwFEShell::GetFlyFrameFormat(), SwFEShell::GetFlyName(), SwFlyFrame::GetFormat(), SfxShell::GetFrame(), SwFlyFrameAttrMgr::GetFrameSize(), SwFormat::GetFrameSize(), SwFEShell::GetFrameType(), Size::getHeight(), SwFormatFrameSize::GetHeightSizeType(), SwFormatHoriOrient::GetHoriOrient(), SwFlyFrameAttrMgr::GetHoriOrient(), GetHtmlMode(), SvxHyperlinkItem::GetInsertMode(), SfxItemSet::GetItemIfSet(), vcl::CommandInfoProvider::GetLabelForCommand(), SdrMarkView::GetMarkedObjectCount(), vcl::CommandInfoProvider::GetModuleIdentifier(), SwFormatChain::GetNext(), SfxShell::GetPool(), SwFEShell::GetSelectedFlyFrame(), SwWrtShell::GetSelectionType(), SwBaseShell::GetShell(), SwFlyFrameAttrMgr::GetSize(), SwWrtShell::GetView(), GetWhich, Size::getWidth(), Graphic, HLINK_HTMLMODE, SwEditWin::IsChainMode(), SwFEShell::IsFlyInFly(), SwFEShell::IsFrameSelected(), SwFEShell::IsSelObjProtected(), SfxWhichIter::NextWhich(), NONE, Ole, Parent, Pos, SfxItemSet::Put(), RES_FRM_SIZE(), RES_HORI_ORIENT(), RES_LR_SPACE(), RES_OPAQUE(), RES_PRINT(), RES_PROTECT(), RES_SURROUND(), RES_UL_SPACE(), RES_URL(), RES_VERT_ORIENT(), rSet, SvxHyperlinkItem::SetInsertMode(), SvxHyperlinkItem::SetName(), SvxHyperlinkItem::SetTargetFrame(), SvxHyperlinkItem::SetURL(), Size, and SwResId().

◆ InitInterface_Impl()

void SwFrameShell::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 98 of file frmsh.cxx.

References SFX_OBJECTBAR_OBJECT.

◆ StateInsert()

void SwFrameShell::StateInsert ( SfxItemSet rSet)

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