LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScDrawTextObjectBar Class Referencefinal

#include <drtxtob.hxx>

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

Public Member Functions

 ScDrawTextObjectBar (ScViewData &rData)
 
virtual ~ScDrawTextObjectBar () override
 
void Execute (SfxRequest &rReq)
 
void ExecuteTrans (const SfxRequest &rReq)
 
void GetState (SfxItemSet &rSet)
 
void GetClipState (SfxItemSet &rSet)
 
void ExecuteAttr (SfxRequest &rReq)
 
void GetAttrState (SfxItemSet &rSet)
 
void ExecuteToggle (SfxRequest &rReq)
 
void GetStatePropPanelAttr (SfxItemSet &)
 
bool ExecuteCharDlg (const SfxItemSet &rArgs, SfxItemSet &rOutSet, sal_uInt16 nSlot)
 
bool ExecuteParaDlg (const SfxItemSet &rArgs, SfxItemSet &rOutSet)
 
void ExecuteExtra (SfxRequest &rReq)
 
void ExecFormText (const SfxRequest &rReq)
 
void GetFormTextState (SfxItemSet &rSet)
 
- 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 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 &)
 

Private Member Functions

 DECL_LINK (ClipboardChanged, TransferableDataHelper *, void)
 
void ExecuteGlobal (SfxRequest &rReq)
 
void ExecutePasteContents (SfxRequest &rReq)
 
bool IsNoteEdit () const
 

Static Private Member Functions

static void InitInterface_Impl ()
 SfxInterface initializer. More...
 
static void GetGlobalClipState (SfxItemSet &rSet)
 

Private Attributes

ScViewData & mrViewData
 
rtl::Reference< TransferableClipboardListener > mxClipEvtLstnr
 
bool bPastePossible
 

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 35 of file drtxtob.hxx.

Constructor & Destructor Documentation

◆ ScDrawTextObjectBar()

ScDrawTextObjectBar::ScDrawTextObjectBar ( ScViewData &  rData)

◆ ~ScDrawTextObjectBar()

ScDrawTextObjectBar::~ScDrawTextObjectBar ( )
overridevirtual

Definition at line 130 of file drtxtob.cxx.

References ScViewData::GetActiveWin(), mrViewData, and mxClipEvtLstnr.

Member Function Documentation

◆ DECL_LINK()

ScDrawTextObjectBar::DECL_LINK ( ClipboardChanged  ,
TransferableDataHelper *  ,
void   
)
private

References SFX_DECL_INTERFACE.

◆ ExecFormText()

void ScDrawTextObjectBar::ExecFormText ( const SfxRequest &  rReq)

◆ Execute()

void ScDrawTextObjectBar::Execute ( SfxRequest &  rReq)

Definition at line 144 of file drtxtob.cxx.

References ATTR_FONT(), SvxFontItem::Clone(), OutlinerView::Copy(), vcl::unohelper::TextDataObject::CopyStringTo(), OutlinerView::Cut(), EE_CHAR_FONTINFO(), EE_FEATURE_FIELD(), eMode, SfxDispatcher::Execute(), ScViewUtil::ExecuteCharMap(), ExecuteGlobal(), ExecutePasteContents(), SfxRequest::GetArg(), SfxRequest::GetArgs(), OutlinerView::GetAttribs(), vcl::Font::GetCharSet(), vcl::Window::GetClipboard(), SfxViewFrame::GetDispatcher(), ScViewData::GetDispatcher(), OutlinerView::GetEditView(), Outliner::GetEmptyItemSet(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), OutlinerView::GetFieldAtCursor(), SfxRequest::GetFrameWeld(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), OutlinerView::GetOutliner(), Outliner::GetParagraphCount(), vcl::Font::GetPitch(), ScViewData::GetScDrawView(), OutlinerView::GetSelection(), SfxRequest::GetSlot(), vcl::Font::GetStyleName(), SdrObjEditView::GetTextEditOutliner(), SdrObjEditView::GetTextEditOutlinerView(), CntUnencodedStringItem::GetValue(), GetValue, SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), OutlinerView::GetWindow(), HLINK_DEFAULT, HLINK_FIELD, OutlinerView::InsertField(), OutlinerView::InsertText(), SfxShell::Invalidate(), mrViewData, nCount, ScGlobal::OpenURL(), OutlinerView::Paste(), OutlinerView::PasteSpecial(), SfxItemSet::Put(), Outliner::QuickSetAttribs(), URLFieldHelper::RemoveURLField(), ReplaceTextWithSynonym(), rTarget, ScDrawView::ScEndTextEdit(), OutlinerView::SelectFieldAtCursor(), OutlinerView::SetSelection(), SvxURLField::SetTargetFrame(), and OutlinerView::StartThesaurus().

◆ ExecuteAttr()

void ScDrawTextObjectBar::ExecuteAttr ( SfxRequest &  rReq)

Definition at line 659 of file drtxtob.cxx.

References SdrTextObj::AdjustTextFrameWidthAndHeight(), EditView::ChangeFontSize(), SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateTextTabDialog(), SfxObjectShell::Current(), VclPtr< class reference_type >::disposeAndClear(), SfxRequest::Done(), EE_CHAR_ESCAPEMENT(), EE_CHAR_ITALIC(), EE_CHAR_OUTLINE(), EE_CHAR_OVERLINE(), EE_CHAR_SHADOW(), EE_CHAR_STRIKEOUT(), EE_CHAR_UNDERLINE(), EE_CHAR_WEIGHT(), EE_PARA_JUST(), EE_PARA_LRSPACE(), EE_PARA_SBL(), EE_PARA_ULSPACE(), ExecuteCharDlg(), ExecuteParaDlg(), SfxItemSet::Get(), SfxRequest::GetArgs(), SdrEditView::GetAttrFromMarked(), SdrView::GetAttributes(), ScViewData::GetBindings(), ScViewData::GetDialogParent(), OutlinerView::GetEditView(), SvxFontListItem::GetFontList(), SdrModel::GetItemPool(), SvxLRSpaceItem::GetLeft(), SvxULSpaceItem::GetLower(), SdrPaintView::GetModel(), SfxShell::GetPool(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SvxLRSpaceItem::GetRight(), ScViewData::GetScDrawView(), SdrObjEditView::GetScriptType(), SfxRequest::GetSlot(), SdrObjEditView::GetTextEditObject(), SdrObjEditView::GetTextEditOutlinerView(), SvxLRSpaceItem::GetTextFirstLineOffset(), SvxULSpaceItem::GetUpper(), GetWhich, SfxItemPool::GetWhich(), SfxBindings::Invalidate(), ScDrawView::InvalidateDrawTextAttrs(), IsNoteEdit(), SdrObjEditView::IsTextEdit(), lcl_RemoveFields(), LINE_SPACE_DEFAULT_HEIGHT, mrViewData, nId, OutlinerView::Paint(), SfxItemSet::Put(), SvxScriptSetItem::PutItemForScriptType(), RET_OK, SDRATTR_TEXT_MAXFRAMEHEIGHT(), SDRATTR_TEXT_MAXFRAMEWIDTH(), SDRATTR_TEXT_MINFRAMEHEIGHT(), SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, SDRTEXTVERTADJUST_TOP, SdrView::SetAttributes(), SvxEscapementItem::SetEscapement(), SvxULSpaceItem::SetLower(), SvxLineSpacingItem::SetPropLineSpace(), SvxULSpaceItem::SetUpper(), and OutlinerView::ShowCursor().

◆ ExecuteCharDlg()

bool ScDrawTextObjectBar::ExecuteCharDlg ( const SfxItemSet &  rArgs,
SfxItemSet &  rOutSet,
sal_uInt16  nSlot 
)

◆ ExecuteExtra()

void ScDrawTextObjectBar::ExecuteExtra ( SfxRequest &  rReq)

◆ ExecuteGlobal()

void ScDrawTextObjectBar::ExecuteGlobal ( SfxRequest &  rReq)
private

◆ ExecuteParaDlg()

bool ScDrawTextObjectBar::ExecuteParaDlg ( const SfxItemSet &  rArgs,
SfxItemSet &  rOutSet 
)

◆ ExecutePasteContents()

void ScDrawTextObjectBar::ExecutePasteContents ( SfxRequest &  rReq)
private

◆ ExecuteToggle()

void ScDrawTextObjectBar::ExecuteToggle ( SfxRequest &  rReq)

◆ ExecuteTrans()

void ScDrawTextObjectBar::ExecuteTrans ( const SfxRequest &  rReq)

◆ GetAttrState()

void ScDrawTextObjectBar::GetAttrState ( SfxItemSet &  rSet)

◆ GetClipState()

void ScDrawTextObjectBar::GetClipState ( SfxItemSet &  rSet)

◆ GetFormTextState()

void ScDrawTextObjectBar::GetFormTextState ( SfxItemSet &  rSet)

◆ GetGlobalClipState()

void ScDrawTextObjectBar::GetGlobalClipState ( SfxItemSet &  rSet)
staticprivate

move paste etc. to view shell?

Definition at line 112 of file drtxtob2.cxx.

References SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), SfxWhichIter::NextWhich(), and rSet.

Referenced by GetClipState().

◆ GetState()

void ScDrawTextObjectBar::GetState ( SfxItemSet &  rSet)

◆ GetStatePropPanelAttr()

void ScDrawTextObjectBar::GetStatePropPanelAttr ( SfxItemSet &  rSet)

◆ InitInterface_Impl()

void ScDrawTextObjectBar::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 85 of file drtxtob.cxx.

References ScGetFontWorkId(), and SFX_OBJECTBAR_OBJECT.

◆ IsNoteEdit()

bool ScDrawTextObjectBar::IsNoteEdit ( ) const
private

◆ StateDisableItems()

void ScDrawTextObjectBar::StateDisableItems ( SfxItemSet &  rSet)
static

Member Data Documentation

◆ bPastePossible

bool ScDrawTextObjectBar::bPastePossible
private

Definition at line 39 of file drtxtob.hxx.

Referenced by GetClipState().

◆ mrViewData

ScViewData& ScDrawTextObjectBar::mrViewData
private

◆ mxClipEvtLstnr

rtl::Reference<TransferableClipboardListener> ScDrawTextObjectBar::mxClipEvtLstnr
private

Definition at line 38 of file drtxtob.hxx.

Referenced by GetClipState(), and ~ScDrawTextObjectBar().


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