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 Reference

#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 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)
 
virtual SfxUndoManagerGetUndoManager ()
 
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 &rSet)
 
- 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

 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

ScViewDatamrViewData
 
rtl::Reference< TransferableClipboardListenermxClipEvtLstnr
 
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 36 of file drtxtob.hxx.

Constructor & Destructor Documentation

ScDrawTextObjectBar::ScDrawTextObjectBar ( ScViewData rData)
ScDrawTextObjectBar::~ScDrawTextObjectBar ( )
overridevirtual

Definition at line 127 of file drtxtob.cxx.

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

Member Function Documentation

ScDrawTextObjectBar::DECL_LINK ( ClipboardChanged  ,
TransferableDataHelper ,
void   
)
private
void ScDrawTextObjectBar::ExecFormText ( const SfxRequest rReq)
void ScDrawTextObjectBar::Execute ( SfxRequest rReq)

Definition at line 141 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(), SfxItemSet::Get(), SfxRequest::GetArg(), SfxRequest::GetArgs(), OutlinerView::GetAttribs(), vcl::Window::GetClipboard(), SfxViewFrame::GetDispatcher(), ScViewData::GetDispatcher(), OutlinerView::GetEditView(), Outliner::GetEmptyItemSet(), OutlinerView::GetFieldAtCursor(), SvxHyperlinkItem::GetInsertMode(), SfxItemSet::GetItemState(), SvxHyperlinkItem::GetName(), OutlinerView::GetOutliner(), Outliner::GetParagraphCount(), SfxShell::GetPool(), ScViewData::GetScDrawView(), OutlinerView::GetSelection(), SfxRequest::GetSlot(), SvxHyperlinkItem::GetTargetFrame(), SdrObjEditView::GetTextEditOutliner(), SdrObjEditView::GetTextEditOutlinerView(), SvxHyperlinkItem::GetURL(), CntUnencodedStringItem::GetValue(), GetValue, SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), GetWhich, OutlinerView::GetWindow(), HLINK_DEFAULT, HLINK_FIELD, OutlinerView::InsertField(), OutlinerView::InsertText(), SfxShell::Invalidate(), mrViewData, nCount, ScGlobal::OpenURL(), OutlinerView::Paste(), OutlinerView::PasteSpecial(), Outliner::QuickSetAttribs(), URLFieldHelper::RemoveURLField(), ReplaceTextWithSynonym(), rTarget, ScDrawView::ScEndTextEdit(), OutlinerView::SelectFieldAtCursor(), OutlinerView::SetSelection(), SvxURLField::SetTargetFrame(), and OutlinerView::StartThesaurus().

void ScDrawTextObjectBar::ExecuteAttr ( SfxRequest rReq)

Definition at line 663 of file drtxtob.cxx.

References EditView::ChangeFontSize(), SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateTextTabDialog(), SfxObjectShell::Current(), VclPtr< 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(), SdrView::GetAttributes(), ScViewData::GetBindings(), ScViewData::GetDialogParent(), OutlinerView::GetEditView(), SvxFontListItem::GetFontList(), SfxShell::GetItem(), SdrModel::GetItemPool(), SvxLRSpaceItem::GetLeft(), SdrPaintView::GetModel(), SfxAbstractDialog::GetOutputItemSet(), SfxShell::GetPool(), SvxLRSpaceItem::GetRight(), ScViewData::GetScDrawView(), SdrObjEditView::GetScriptType(), SfxRequest::GetSlot(), SdrObjEditView::GetTextEditOutlinerView(), SvxLRSpaceItem::GetTextFirstLineOffset(), SvxLRSpaceItem::GetTextLeft(), SvxULSpaceItem::GetUpper(), SfxItemPool::GetWhich(), GetWhich, SfxBindings::Invalidate(), ScDrawView::InvalidateDrawTextAttrs(), SdrObjEditView::IsTextEdit(), lcl_RemoveFields(), LINE_SPACE_DEFAULT_HEIGHT, mrViewData, nId, OutlinerView::Paint(), SvxScriptSetItem::PutItemForScriptType(), RET_OK, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, SDRTEXTVERTADJUST_TOP, SdrView::SetAttributes(), SvxEscapementItem::SetEscapement(), SvxLineSpacingItem::SetPropLineSpace(), and OutlinerView::ShowCursor().

bool ScDrawTextObjectBar::ExecuteCharDlg ( const SfxItemSet rArgs,
SfxItemSet rOutSet,
sal_uInt16  nSlot 
)
void ScDrawTextObjectBar::ExecuteExtra ( SfxRequest rReq)
void ScDrawTextObjectBar::ExecuteGlobal ( SfxRequest rReq)
private
bool ScDrawTextObjectBar::ExecuteParaDlg ( const SfxItemSet rArgs,
SfxItemSet rOutSet 
)
void ScDrawTextObjectBar::ExecutePasteContents ( SfxRequest rReq)
private
void ScDrawTextObjectBar::ExecuteToggle ( SfxRequest rReq)
void ScDrawTextObjectBar::ExecuteTrans ( const SfxRequest rReq)
void ScDrawTextObjectBar::GetAttrState ( SfxItemSet rSet)
void ScDrawTextObjectBar::GetClipState ( SfxItemSet rSet)
void ScDrawTextObjectBar::GetFormTextState ( SfxItemSet rSet)
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(), and SfxWhichIter::NextWhich().

Referenced by GetClipState().

void ScDrawTextObjectBar::GetState ( SfxItemSet rSet)
void ScDrawTextObjectBar::GetStatePropPanelAttr ( SfxItemSet rSet)
void ScDrawTextObjectBar::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 82 of file drtxtob.cxx.

References ScGetFontWorkId(), and SFX_OBJECTBAR_OBJECT.

bool ScDrawTextObjectBar::IsNoteEdit ( ) const
private
void ScDrawTextObjectBar::StateDisableItems ( SfxItemSet rSet)
static

Member Data Documentation

bool ScDrawTextObjectBar::bPastePossible
private

Definition at line 40 of file drtxtob.hxx.

Referenced by GetClipState().

ScViewData& ScDrawTextObjectBar::mrViewData
private
rtl::Reference<TransferableClipboardListener> ScDrawTextObjectBar::mxClipEvtLstnr
private

Definition at line 39 of file drtxtob.hxx.

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


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