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

#include <smmod.hxx>

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

Public Member Functions

 SmModule (SfxObjectFactory *pObjFact)
 
virtual ~SmModule () override
 
virtual void ConfigurationChanged (utl::ConfigurationBroadcaster *, ConfigurationHints) override
 
svtools::ColorConfig & GetColorConfig ()
 
SmMathConfig * GetConfig ()
 
SmSymbolManager & GetSymbolManager ()
 
const SvtSysLocale & GetSysLocale ()
 
VirtualDevice & GetDefaultVirtualDev ()
 
virtual std::optional< SfxItemSet > CreateItemSet (sal_uInt16 nId) override
 
virtual void ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) override
 
virtual std::unique_ptr< SfxTabPage > CreateTabPage (sal_uInt16 nId, weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) override
 
- Public Member Functions inherited from SfxModule
 SfxModule (const OString &rResName, std::initializer_list< SfxObjectFactory * > pFactoryList)
 
virtual ~SfxModule () override
 
std::locale GetResLocale () const
 
SfxSlotPool * GetSlotPool () const
 
void RegisterToolBoxControl (const SfxTbxCtrlFactory &)
 
void RegisterChildWindow (const SfxChildWinFactory &)
 
void RegisterStatusBarControl (const SfxStbCtrlFactory &)
 
virtual std::unique_ptr< SfxTabPage > CreateTabPage (sal_uInt16 nId, weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual void Invalidate (sal_uInt16 nId=0) override
 
virtual std::optional< SfxStyleFamilies > CreateStyleFamilies ()
 
FieldUnit GetFieldUnit () const
 
SAL_DLLPRIVATE SfxTbxCtrlFactory * GetTbxCtrlFactory (const std::type_info &rSlotType, sal_uInt16 nSlotID) const
 
SAL_DLLPRIVATE SfxStbCtrlFactory * GetStbCtrlFactory (const std::type_info &rSlotType, sal_uInt16 nSlotID) const
 
SAL_DLLPRIVATE SfxChildWinFactory * GetChildWinFactoryById (sal_uInt16 nId) const
 
- 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)
 
- Public Member Functions inherited from utl::ConfigurationListener
virtual ~ConfigurationListener ()
 
virtual void ConfigurationChanged (ConfigurationBroadcaster *p, ConfigurationHints nHint)=0
 

Static Public Member Functions

static void GetState (SfxItemSet &)
 
- Static Public Member Functions inherited from SfxModule
static SfxModule * GetActiveModule (SfxViewFrame *pFrame=nullptr)
 
static FieldUnit GetCurrentFieldUnit ()
 
static FieldUnit GetModuleFieldUnit (css::uno::Reference< css::frame::XFrame > const &i_frame)
 
- 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 &)
 

Static Private Member Functions

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

Private Attributes

std::unique_ptr< svtools::ColorConfig > mpColorConfig
 
std::unique_ptr< SmMathConfig > mpConfig
 
std::optional< SvtSysLocale > moSysLocale
 
VclPtr< VirtualDevice > mpVirtualDev
 

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 61 of file smmod.hxx.

Constructor & Destructor Documentation

◆ SmModule()

SmModule::SmModule ( SfxObjectFactory *  pObjFact)
explicit

Definition at line 120 of file smmod.cxx.

◆ ~SmModule()

SmModule::~SmModule ( )
overridevirtual

Member Function Documentation

◆ ApplyItemSet()

void SmModule::ApplyItemSet ( sal_uInt16  nId,
const SfxItemSet &  rSet 
)
overridevirtual

Reimplemented from SfxShell.

Definition at line 221 of file smmod.cxx.

References GetConfig(), SmMathConfig::ItemSetToConfig(), nId, and rSet.

◆ ConfigurationChanged()

void SmModule::ConfigurationChanged ( utl::ConfigurationBroadcaster *  pBrdCst,
ConfigurationHints   
)
overridevirtual

◆ CreateItemSet()

std::optional< SfxItemSet > SmModule::CreateItemSet ( sal_uInt16  nId)
overridevirtual

Reimplemented from SfxShell.

Definition at line 204 of file smmod.cxx.

References SmMathConfig::ConfigToItemSet(), GetConfig(), SfxShell::GetPool(), svl::Items, and nId.

◆ CreateTabPage()

std::unique_ptr< SfxTabPage > SmModule::CreateTabPage ( sal_uInt16  nId,
weld::Container *  pPage,
weld::DialogController *  pController,
const SfxItemSet &  rSet 
)
overridevirtual

Reimplemented from SfxModule.

Definition at line 229 of file smmod.cxx.

References SmPrintOptionsTabPage::Create(), nId, and rSet.

◆ GetColorConfig()

svtools::ColorConfig & SmModule::GetColorConfig ( )

Definition at line 135 of file smmod.cxx.

References mpColorConfig.

◆ GetConfig()

SmMathConfig * SmModule::GetConfig ( )

◆ GetDefaultVirtualDev()

VirtualDevice & SmModule::GetDefaultVirtualDev ( )

◆ GetState()

void SmModule::GetState ( SfxItemSet &  rSet)
static

◆ GetSymbolManager()

SmSymbolManager & SmModule::GetSymbolManager ( )

◆ GetSysLocale()

const SvtSysLocale & SmModule::GetSysLocale ( )

Definition at line 174 of file smmod.cxx.

References moSysLocale.

◆ InitInterface_Impl()

void SmModule::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 115 of file smmod.cxx.

Member Data Documentation

◆ moSysLocale

std::optional<SvtSysLocale> SmModule::moSysLocale
private

Definition at line 65 of file smmod.hxx.

Referenced by GetSysLocale().

◆ mpColorConfig

std::unique_ptr<svtools::ColorConfig> SmModule::mpColorConfig
private

Definition at line 63 of file smmod.hxx.

Referenced by ConfigurationChanged(), GetColorConfig(), and ~SmModule().

◆ mpConfig

std::unique_ptr<SmMathConfig> SmModule::mpConfig
private

Definition at line 64 of file smmod.hxx.

Referenced by GetConfig().

◆ mpVirtualDev

VclPtr<VirtualDevice> SmModule::mpVirtualDev
private

Definition at line 66 of file smmod.hxx.

Referenced by GetDefaultVirtualDev(), and ~SmModule().


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