LibreOffice Module sd (master) 1
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
sd::TextObjectBar Class Referencefinal

#include <TextObjectBar.hxx>

Inheritance diagram for sd::TextObjectBar:
[legend]
Collaboration diagram for sd::TextObjectBar:
[legend]

Public Member Functions

 TextObjectBar (ViewShell *pSdViewShell, SfxItemPool &rItemPool, ::sd::View *pSdView)
 
virtual ~TextObjectBar () override
 
void GetAttrState (SfxItemSet &rSet)
 Status of attribute items. More...
 
void GetCharState (SfxItemSet &rSet)
 
void Execute (SfxRequest &rReq)
 Process SfxRequests. More...
 
- 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...
 

Private Attributes

ViewShellmpViewShell
 
::sd::ViewmpView
 

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 &)
 
- 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 TextObjectBar.hxx.

Constructor & Destructor Documentation

◆ TextObjectBar()

sd::TextObjectBar::TextObjectBar ( ViewShell pSdViewShell,
SfxItemPool rItemPool,
::sd::View pSdView 
)

◆ ~TextObjectBar()

sd::TextObjectBar::~TextObjectBar ( )
overridevirtual

Definition at line 114 of file drtxtob.cxx.

References SfxShell::SetRepeatTarget().

Member Function Documentation

◆ Execute()

void sd::TextObjectBar::Execute ( SfxRequest rReq)

Process SfxRequests.

Definition at line 75 of file drtxtob1.cxx.

References model::ComplexColor::addTransformation(), ESelection::Adjust(), OutlinerView::AdjustDepth(), OutlinerView::AdjustHeight(), SdStyleSheet::BroadcastSdStyleSheetChange(), sd::FuText::ChangeFontSize(), SfxItemSet::Clone(), SvxLRSpaceItem::Clone(), SvxULSpaceItem::Clone(), model::convertToThemeColorType(), sd::FuTemplate::Create(), SfxRequest::Done(), EE_CHAR_CASEMAP(), EE_CHAR_COLOR(), 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_NUMBULLET(), EE_PARA_SBL(), EE_PARA_ULSPACE(), EE_PARA_WRITINGDIR(), SfxDispatcher::Execute(), Execute(), SfxStyleSheetBasePool::Find(), SfxItemSet::Get(), sd::ViewShell::GetActiveWindow(), SfxRequest::GetArg(), SfxRequest::GetArgs(), sd::View::GetAttributes(), SfxViewFrame::GetBindings(), Outliner::GetDepth(), SfxViewFrame::GetDispatcher(), sd::View::GetDoc(), sd::View::GetDocSh(), sd::ViewShell::GetDocSh(), OutlinerView::GetEditView(), EditView::GetEmptyItemSet(), SvxFontListItem::GetFontList(), SfxShell::GetItem(), SfxItemSet::GetItemIfSet(), SfxStyleSheetBase::GetItemSet(), SfxItemSet::GetItemState(), SvxNumRule::GetLevel(), SvxNumberType::GetNumberingType(), SvxNumBulletItem::GetNumRule(), OutlinerView::GetOutliner(), SdrPageView::GetPage(), SdPage::GetPageKind(), Outliner::GetParaAttribs(), Outliner::GetParagraphCount(), SdDrawDocument::GetPool(), SfxShell::GetPool(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SvxLRSpaceItem::GetRight(), SdrObjEditView::GetScriptType(), SdrPaintView::GetSdrPageView(), OutlinerView::GetSelection(), SfxRequest::GetSlot(), Outliner::GetStyleSheet(), sd::DrawDocShell::GetStyleSheetPool(), SdrObjEditView::GetTextEditOutlinerView(), SvxLRSpaceItem::GetTextFirstLineOffset(), SvxLRSpaceItem::GetTextLeft(), CntUnencodedStringItem::GetValue(), sd::ViewShell::GetViewFrame(), SfxShell::GetViewShell(), SfxItemPool::GetWhich(), OutlinerView::GetWindow(), SfxViewShell::GetWindow(), vcl::Window::GrabFocus(), ESelection::HasRange(), SfxBindings::Invalidate(), SfxShell::Invalidate(), SdrPage::IsMasterPage(), ITALIC_NONE, ITALIC_NORMAL, LINE_SPACE_DEFAULT_HEIGHT, LINESTYLE_DOTTED, LINESTYLE_DOUBLE, LINESTYLE_NONE, LINESTYLE_SINGLE, model::LumMod, model::LumOff, mpView, mpViewShell, nAdjust, ESelection::nEndPara, ESelection::nStartPara, OLUNDO_ATTR, Outline_1, SfxItemSet::Put(), SvxScriptSetItem::PutItemForScriptType(), ReplaceTextWithSynonym(), SDRATTR_TEXTDIRECTION(), sd::View::SdrEndTextEdit(), SdResId(), SvxNumberFormat::SetAbsLSpace(), OutlinerView::SetAttribs(), sd::View::SetAttributes(), SdStyleSheetPool::setDefaultOutlineNumberFormatBulletAndIndent(), SvxEscapementItem::SetEscapement(), SvxNumberFormat::SetFirstLineOffset(), SvxNumRule::SetLevel(), SvxNumberType::SetNumberingType(), Outliner::SetParaAttribs(), SvxLineSpacingItem::SetPropLineSpace(), SvxLRSpaceItem::SetRight(), model::ComplexColor::setSchemeColor(), SvxLRSpaceItem::SetTextFirstLineOffset(), SvxLRSpaceItem::SetTextLeft(), OutlinerView::ShowCursor(), Standard, STRIKEOUT_NONE, STRIKEOUT_SINGLE, SVX_NUM_CHAR_SPECIAL, SVX_NUM_NUMBER_NONE, OutlinerView::ToggleBullets(), Outliner::UndoActionEnd(), Outliner::UndoActionStart(), WEIGHT_BOLD, and WEIGHT_NORMAL.

Referenced by Execute().

◆ GetAttrState()

void sd::TextObjectBar::GetAttrState ( SfxItemSet rSet)

Status of attribute items.

Definition at line 143 of file drtxtob.cxx.

References ESelection::Adjust(), SfxPoolItem::CloneSetWhich(), OutlinerView::CreateSelectionList(), SfxItemSet::DisableItem(), EE_CHAR_ESCAPEMENT(), EE_CHAR_UNDERLINE(), EE_PARA_JUST(), EE_PARA_LRSPACE(), EE_PARA_SBL(), EE_PARA_ULSPACE(), EE_PARA_WRITINGDIR(), eMode, SfxWhichIter::FirstWhich(), SfxItemSet::Get(), Outliner::GetAbsPos(), sd::ViewShell::GetActiveWindow(), sd::View::GetAttributes(), SdDrawDocument::GetDefaultWritingMode(), Outliner::GetDepth(), sd::View::GetDoc(), sd::DrawViewShell::GetEditMode(), OutlinerView::GetEditView(), SvxFontHeightItem::GetHeight(), vcl::Window::GetInputLanguage(), SvxScriptSetItem::GetItemOfScript(), SfxItemSet::GetItemState(), getLocale(), SfxStyleSheetBase::GetName(), OutlinerView::GetOutliner(), Outliner::GetOutlinerMode(), Outliner::GetParaAttribs(), Outliner::GetParagraph(), Outliner::GetParagraphCount(), SdDrawDocument::GetPool(), SfxShell::GetPool(), SvxFontHeightItem::GetPropUnit(), SdrObjEditView::GetScriptType(), SvtLanguageOptions::GetScriptTypeOfLanguage(), OutlinerView::GetSelection(), SfxItemPool::GetSlotId(), GetStatusValueForThesaurusFromContext(), SdrEditView::GetStyleSheetFromMarked(), SdrObjEditView::GetTextEditOutliner(), SdrObjEditView::GetTextEditOutlinerView(), LinguMgr::GetThesaurus(), SvxULSpaceItem::GetUpper(), SfxShell::GetViewShell(), SfxViewShell::GetWindow(), Outliner::HasParaFlag(), ESelection::HasRange(), SfxShell::Invalidate(), SfxItemSet::InvalidateItem(), SvtCTLOptions::IsCTLFontEnabled(), SvtCJKOptions::IsVerticalTextEnabled(), SfxItemPool::IsWhich(), LANGUAGE_DONTKNOW, LANGUAGE_NONE, LANGUAGE_SYSTEM, LINESTYLE_DOTTED, LINESTYLE_DOUBLE, LINESTYLE_NONE, LINESTYLE_SINGLE, MasterPage, mpView, mpViewShell, ESelection::nEndPara, SfxWhichIter::NextWhich(), ESelection::nStartPara, SfxItemSet::Put(), rSet, SDRATTR_TEXTDIRECTION(), SvxFontHeightItem::SetHeight(), and o3tl::temporary().

◆ GetCharState()

void sd::TextObjectBar::GetCharState ( SfxItemSet rSet)

◆ InitInterface_Impl()

void sd::TextObjectBar::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Declare default interface (Slotmap must not be empty, therefore enter something that (hopefully) never occurs.

Definition at line 74 of file drtxtob.cxx.

Member Data Documentation

◆ mpView

::sd::View* sd::TextObjectBar::mpView
private

Definition at line 53 of file TextObjectBar.hxx.

Referenced by Execute(), GetAttrState(), GetCharState(), and TextObjectBar().

◆ mpViewShell

ViewShell* sd::TextObjectBar::mpViewShell
private

Definition at line 52 of file TextObjectBar.hxx.

Referenced by Execute(), GetAttrState(), and GetCharState().


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