LibreOffice Module sc (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScFormatShell Class Reference

#include <formatsh.hxx>

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

Public Member Functions

 ScFormatShell (ScViewData &rData)
 
virtual ~ScFormatShell () override
 
void ExecuteNumFormat (SfxRequest &rReq)
 
void GetNumFormatState (SfxItemSet &rSet)
 
void ExecuteAttr (SfxRequest &rReq)
 
void GetAttrState (SfxItemSet &rSet)
 
void ExecuteAlignment (SfxRequest &rReq)
 
void ExecuteTextAttr (SfxRequest &rReq)
 
void GetTextAttrState (SfxItemSet &rSet)
 
void GetAlignState (SfxItemSet &rSet)
 
void GetBorderState (SfxItemSet &rSet)
 
void ExecuteStyle (SfxRequest &rReq)
 
void ExecuteTextDirection (const SfxRequest &rReq)
 
void GetTextDirectionState (SfxItemSet &rSet)
 
void ExecFormatPaintbrush (const SfxRequest &rReq)
 
void StateFormatPaintbrush (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
 
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)
 

Protected Member Functions

ScViewDataGetViewData ()
 
const ScViewDataGetViewData () const
 
- 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)
 

Private Member Functions

SvNumFormatType GetCurrentNumberFormatType ()
 

Static Private Member Functions

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

Private Attributes

ScViewDatarViewData
 

Additional Inherited Members

- 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 &)
 
- Static Protected Member Functions inherited from SfxShell
static void HandleOpenXmlFilterSettings (SfxRequest &)
 

Detailed Description

Definition at line 29 of file formatsh.hxx.

Constructor & Destructor Documentation

◆ ScFormatShell()

ScFormatShell::ScFormatShell ( ScViewData rData)

◆ ~ScFormatShell()

ScFormatShell::~ScFormatShell ( )
overridevirtual

Definition at line 144 of file formatsh.cxx.

Member Function Documentation

◆ ExecFormatPaintbrush()

void ScFormatShell::ExecFormatPaintbrush ( const SfxRequest rReq)

◆ ExecuteAlignment()

void ScFormatShell::ExecuteAlignment ( SfxRequest rReq)

◆ ExecuteAttr()

void ScFormatShell::ExecuteAttr ( SfxRequest rReq)

Definition at line 901 of file formatsh.cxx.

References SfxRequest::AppendItem(), ScViewFunc::ApplyAttr(), ScViewFunc::ApplyAttributes(), ScViewFunc::ApplyUserItemSet(), ATTR_BACKGROUND(), ATTR_BORDER(), ATTR_BORDER_BLTR(), ATTR_BORDER_INNER(), ATTR_BORDER_TLBR(), ATTR_LINEBREAK(), ATTR_PROTECTION(), ATTR_SHADOW(), SvxScriptSetItem::Clone(), COL_BLACK(), COL_TRANSPARENT(), SfxRequest::Done(), ScTabViewShell::ExecuteCellFormatDlg(), Get(), SfxItemSet::Get(), SfxRequest::GetArgs(), ScViewData::GetBindings(), SvxBoxItem::GetBottom(), SvxBrushItem::GetColor(), SvxBrushItem::getComplexColor(), SvxColorItem::getComplexColor(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScTabViewShell::GetDefaultFrameLine(), ScViewData::GetDocument(), SvxFontHeightItem::GetHeight(), SvxBoxInfoItem::GetHori(), SfxShell::GetItem(), ScPatternAttr::GetItem(), SfxItemSet::GetItemIfSet(), SvxScriptSetItem::GetItemOfScript(), ScPatternAttr::GetItemSet(), SfxItemSet::GetItemState(), SvxBoxItem::GetLeft(), ScViewData::GetMarkData(), editeng::SvxBorderLine::GetOutWidth(), ScDocument::GetPool(), SfxShell::GetPool(), SfxItemSet::GetPool(), ScDocument::GetPreviewSelection(), SvxBoxItem::GetRight(), ScViewFunc::GetSelectionPattern(), ScViewFunc::GetSelectionScriptType(), SfxRequest::GetSlot(), ScViewData::GetTabNo(), SvxBoxItem::GetTop(), SvxColorItem::GetValue(), SvxBoxInfoItem::GetVert(), GetViewData(), ScViewData::GetViewShell(), GetWhich, SfxItemPool::GetWhich(), ScTabView::HideListBox(), SfxBindings::Invalidate(), SfxRequest::IsAPI(), SfxRequest::IsDone(), ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), ScMarkData::MarkToMulti(), nFontInc, nFontMaxSz, SfxItemSet::Put(), SvxScriptSetItem::PutItemForScriptType(), rViewData, editeng::SvxBorderLine::SetBorderLineStyle(), SvxBrushItem::SetColor(), editeng::SvxBorderLine::SetColor(), SvxBrushItem::setComplexColor(), ScTabViewShell::SetDefaultFrameLine(), SvxFontHeightItem::SetHeight(), SvxLineItem::SetLine(), SvxBoxInfoItem::SetLine(), SvxBoxItem::SetLine(), ScMarkData::SetMarkArea(), ScDocument::SetPreviewFont(), ScDocument::SetPreviewSelection(), ScViewFunc::SetSelectionFrameLines(), editeng::SvxBorderLine::SetWidth(), ScViewUtil::UnmarkFiltered(), SfxBindings::Update(), ScViewFunc::UpdateSelectionArea(), and SfxPoolItem::Which().

◆ ExecuteNumFormat()

void ScFormatShell::ExecuteNumFormat ( SfxRequest rReq)

◆ ExecuteStyle()

void ScFormatShell::ExecuteStyle ( SfxRequest rReq)

◆ ExecuteTextAttr()

void ScFormatShell::ExecuteTextAttr ( SfxRequest rReq)

◆ ExecuteTextDirection()

void ScFormatShell::ExecuteTextDirection ( const SfxRequest rReq)

◆ GetAlignState()

void ScFormatShell::GetAlignState ( SfxItemSet rSet)

◆ GetAttrState()

void ScFormatShell::GetAttrState ( SfxItemSet rSet)

◆ GetBorderState()

void ScFormatShell::GetBorderState ( SfxItemSet rSet)

◆ GetCurrentNumberFormatType()

SvNumFormatType ScFormatShell::GetCurrentNumberFormatType ( )
private

◆ GetNumFormatState()

void ScFormatShell::GetNumFormatState ( SfxItemSet rSet)

◆ GetTextAttrState()

void ScFormatShell::GetTextAttrState ( SfxItemSet rSet)

◆ GetTextDirectionState()

void ScFormatShell::GetTextDirectionState ( SfxItemSet rSet)

◆ GetViewData() [1/2]

ScViewData & ScFormatShell::GetViewData ( )
inlineprotected

◆ GetViewData() [2/2]

const ScViewData & ScFormatShell::GetViewData ( ) const
inlineprotected

Definition at line 35 of file formatsh.hxx.

References rViewData.

◆ InitInterface_Impl()

void ScFormatShell::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 121 of file formatsh.cxx.

References SFX_OBJECTBAR_OBJECT.

◆ StateFormatPaintbrush()

void ScFormatShell::StateFormatPaintbrush ( SfxItemSet rSet)

Member Data Documentation

◆ rViewData

ScViewData& ScFormatShell::rViewData
private

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