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

#include <drwtxtsh.hxx>

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

Public Member Functions

SwViewGetView ()
 
SwWrtShellGetShell ()
 
 SwDrawTextShell (SwView &rView)
 
virtual ~SwDrawTextShell () override
 
virtual SfxUndoManagerGetUndoManager () override
 
void Execute (SfxRequest &)
 
void ExecDraw (SfxRequest &)
 
void GetStatePropPanelAttr (SfxItemSet &)
 
void GetState (SfxItemSet &)
 
void GetDrawTextCtrlState (SfxItemSet &)
 
void ExecFontWork (SfxRequest const &rReq)
 
void StateFontWork (SfxItemSet &rSet)
 
void ExecFormText (SfxRequest const &rReq)
 
void GetFormTextState (SfxItemSet &rSet)
 
void ExecDrawLingu (SfxRequest const &rReq)
 
void ExecUndo (SfxRequest &rReq)
 
void StateUndo (SfxItemSet &rSet)
 
void ExecClpbrd (SfxRequest const &rReq)
 
void StateClpbrd (SfxItemSet &rSet)
 
void StateInsert (SfxItemSet &rSet)
 
void ExecTransliteration (SfxRequest const &)
 
void ExecRotateTransliteration (SfxRequest const &)
 
void Init ()
 
- Public Member Functions inherited from SfxShell
virtual ~SfxShell () override
 
virtual SfxInterfaceGetInterface () const
 
void SetName (const OUString &rName)
 
const OUString & GetName () const
 
SfxViewShellGetViewShell () const
 
void CallExec (SfxExecFunc pFunc, SfxRequest &rReq)
 
void CallState (SfxStateFunc pFunc, SfxItemSet &rSet)
 
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)
 
void SetUndoManager (SfxUndoManager *pNewUndoMgr)
 
SfxRepeatTargetGetRepeatTarget () 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::unique_ptr< 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 &)
 
- 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 &)
 

Private Member Functions

void SetAttrToMarked (const SfxItemSet &rAttr)
 
void InsertSymbol (SfxRequest &rReq)
 
bool IsTextEdit ()
 

Static Private Member Functions

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

Private Attributes

SwViewrView
 
RotateTransliteration m_aRotateCase
 
SdrViewpSdrView
 

Additional Inherited Members

- 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 drwtxtsh.hxx.

Constructor & Destructor Documentation

SwDrawTextShell::SwDrawTextShell ( SwView rView)
SwDrawTextShell::~SwDrawTextShell ( )
overridevirtual

Definition at line 136 of file drwtxtsh.cxx.

References GetView(), SwView::ResetSubShell(), and rView.

Member Function Documentation

void SwDrawTextShell::ExecClpbrd ( SfxRequest const &  rReq)
void SwDrawTextShell::ExecDraw ( SfxRequest rReq)
void SwDrawTextShell::ExecDrawLingu ( SfxRequest const &  rReq)
void SwDrawTextShell::ExecFontWork ( SfxRequest const &  rReq)
void SwDrawTextShell::ExecFormText ( SfxRequest const &  rReq)
void SwDrawTextShell::ExecRotateTransliteration ( SfxRequest const &  rReq)
void SwDrawTextShell::ExecTransliteration ( SfxRequest const &  rReq)
void SwDrawTextShell::ExecUndo ( SfxRequest rReq)
void SwDrawTextShell::Execute ( SfxRequest rReq)

! JP 16.03.2001: why?? pSdrView = rSh.GetDrawView(); ! JP 16.03.2001: why?? pOutliner = pSdrView->GetTextEditOutliner();

Definition at line 100 of file drwtxtex.cxx.

References SwView::BeginTextEdit(), EditView::ChangeFontSize(), SfxPoolItem::CloneSetWhich(), SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateSwCharDlg(), SwAbstractDialogFactory::CreateSwParaDlg(), SfxObjectShell::Current(), SfxRequest::Done(), Draw, EE_CHAR_BKGCOLOR, EE_CHAR_COLOR, EE_CHAR_ESCAPEMENT, EE_CHAR_FONTWIDTH, EE_CHAR_KERNING, EE_CHAR_LANGUAGE, EE_CHAR_OUTLINE, EE_CHAR_OVERLINE, EE_CHAR_PAIRKERNING, EE_CHAR_RELIEF, EE_CHAR_SHADOW, EE_CHAR_STRIKEOUT, EE_CHAR_UNDERLINE, EE_CHAR_WLM, EE_FEATURE_FIELD, EE_ITEMS_END, EE_ITEMS_START, EE_PARA_JUST, EE_PARA_LRSPACE, EE_PARA_SBL, EE_PARA_ULSPACE, EE_PARA_WRITINGDIR, SwView::ExecFormatFootnote(), SwView::ExecNumberingOutline(), SfxShell::ExecuteSlot(), FN_FORMAT_FOOTNOTE_DLG, FN_GROW_FONT_SIZE, FN_NUMBERING_OUTLINE_DLG, FN_SET_SUB_SCRIPT, FN_SET_SUPER_SCRIPT, FN_SHRINK_FONT_SIZE, FN_WORDCOUNT_DIALOG, Get(), SfxItemSet::Get(), SfxRequest::GetArg(), SfxRequest::GetArgs(), OutlinerView::GetAttribs(), SfxViewFrame::GetBindings(), GetDfltMetric(), OutlinerView::GetEditView(), SwView::GetEditWin(), SvxFieldItem::GetField(), OutlinerView::GetFieldAtSelection(), SvxFontListItem::GetFontList(), SfxViewShell::GetFrameWeld(), GetFrameWeld(), SfxShell::GetItem(), SfxItemSet::GetItemState(), SvxTextLineItem::GetLineStyle(), SdrMarkList::GetMark(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SvxHyperlinkItem::GetName(), OutlinerView::GetOutliner(), SfxAbstractDialog::GetOutputItemSet(), SfxShell::GetPool(), SfxItemSet::GetPool(), SvxLRSpaceItem::GetRight(), SdrPaintView::GetSdrPageView(), SfxItemPool::GetSecondaryPool(), OutlinerView::GetSelectedScriptType(), OutlinerView::GetSelection(), EditView::GetSelection(), GetShell(), SfxRequest::GetSlot(), SvxHyperlinkItem::GetTargetFrame(), SdrObjEditView::GetTextEditOutliner(), SdrObjEditView::GetTextEditOutlinerView(), SvxLRSpaceItem::GetTextFirstLineOfst(), SvxLRSpaceItem::GetTextLeft(), SvxULSpaceItem::GetUpper(), SvxHyperlinkItem::GetURL(), CntUnencodedStringItem::GetValue(), GetValue, GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SfxItemPool::GetWhich(), GetWhich, SfxShell::HandleOpenXmlFilterSettings(), EditView::HasSelection(), OutlinerView::InsertField(), SfxBindings::InvalidateAll(), Outliner::IsModified(), IsTextEdit(), LINE_SPACE_DEFAULT_HEIGHT, LINESTYLE_NONE, LINESTYLE_SINGLE, ESelection::nEndPos, OUStringToOString(), pSdrView, SvxScriptSetItem::PutItemForScriptType(), ReplaceTextWithSynonym(), RES_BREAK, RES_CHRATR_KERNING, RES_PARATR_HYPHENZONE, RES_PARATR_ORPHANS, RES_PARATR_SPLIT, RES_PARATR_WIDOWS, RET_OK, rView, SDRATTR_TEXTDIRECTION, SdrObjEditView::SdrEndTextEdit(), EditView::SelectCurrentWord(), SwLangHelper::SelectPara(), SdrView::SetAttributes(), SetAttrToMarked(), SfxAbstractTabDialog::SetCurPageId(), SvxEscapementItem::SetEscapement(), SwLangHelper::SetLanguageStatus(), SwEditShell::SetModified(), SvxLineSpacingItem::SetPropLineSpace(), SvxLRSpaceItem::SetRight(), EditView::SetSelection(), OutlinerView::SetSelection(), SvxURLField::SetTargetFrame(), SvxLRSpaceItem::SetTextFirstLineOfst(), SvxLRSpaceItem::SetTextLeft(), SW_MOD, and SwView::UpdateWordCount().

void SwDrawTextShell::GetDrawTextCtrlState ( SfxItemSet rSet)
void SwDrawTextShell::GetFormTextState ( SfxItemSet rSet)
SwWrtShell & SwDrawTextShell::GetShell ( )
void SwDrawTextShell::GetState ( SfxItemSet rSet)
void SwDrawTextShell::GetStatePropPanelAttr ( SfxItemSet rSet)
SfxUndoManager * SwDrawTextShell::GetUndoManager ( )
overridevirtual

Reimplemented from SfxShell.

Definition at line 791 of file drwtxtsh.cxx.

References SwViewShell::GetDrawView(), GetShell(), SdrObjEditView::GetTextEditOutliner(), and pSdrView.

Referenced by ExecUndo(), and StateUndo().

SwView& SwDrawTextShell::GetView ( )
inline
void SwDrawTextShell::Init ( void  )
void SwDrawTextShell::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 84 of file drwtxtsh.cxx.

References SFX_OBJECTBAR_OBJECT.

void SwDrawTextShell::InsertSymbol ( SfxRequest rReq)
private
bool SwDrawTextShell::IsTextEdit ( )
private
void SwDrawTextShell::SetAttrToMarked ( const SfxItemSet rAttr)
private
void SwDrawTextShell::StateClpbrd ( SfxItemSet rSet)
void SwDrawTextShell::StateDisableItems ( SfxItemSet rSet)
static
void SwDrawTextShell::StateFontWork ( SfxItemSet rSet)

Definition at line 195 of file drwtxtsh.cxx.

References GetView(), nId, and SfxItemSet::Put().

void SwDrawTextShell::StateInsert ( SfxItemSet rSet)
void SwDrawTextShell::StateUndo ( SfxItemSet rSet)

Member Data Documentation

RotateTransliteration SwDrawTextShell::m_aRotateCase
private

Definition at line 33 of file drwtxtsh.hxx.

Referenced by ExecRotateTransliteration().

SdrView* SwDrawTextShell::pSdrView
private
SwView& SwDrawTextShell::rView
private

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