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::ColorConfigGetColorConfig ()
 
SmMathConfigGetConfig ()
 
SmSymbolManagerGetSymbolManager ()
 
const SvtSysLocaleGetSysLocale ()
 
VirtualDeviceGetDefaultVirtualDev ()
 
virtual std::optional< SfxItemSetCreateItemSet (sal_uInt16 nId) override
 
virtual void ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) override
 
virtual std::unique_ptr< SfxTabPageCreateTabPage (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
 
SfxSlotPoolGetSlotPool () const
 
void RegisterToolBoxControl (const SfxTbxCtrlFactory &)
 
void RegisterChildWindow (const SfxChildWinFactory &)
 
void RegisterStatusBarControl (const SfxStbCtrlFactory &)
 
virtual std::unique_ptr< SfxTabPageCreateTabPage (sal_uInt16 nId, weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual void Invalidate (sal_uInt16 nId=0) override
 
virtual std::optional< SfxStyleFamiliesCreateStyleFamilies ()
 
FieldUnit GetFieldUnit () const
 
SAL_DLLPRIVATE SfxTbxCtrlFactoryGetTbxCtrlFactory (const std::type_info &rSlotType, sal_uInt16 nSlotID) const
 
SAL_DLLPRIVATE SfxStbCtrlFactoryGetStbCtrlFactory (const std::type_info &rSlotType, sal_uInt16 nSlotID) const
 
SAL_DLLPRIVATE SfxChildWinFactoryGetChildWinFactoryById (sal_uInt16 nId) const
 
- 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)
 
- 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 SfxModuleGetActiveModule (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 SfxInterfaceGetStaticInterface ()
 
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::ColorConfigmpColorConfig
 
std::unique_ptr< SmMathConfigmpConfig
 
std::optional< SvtSysLocalemoSysLocale
 
VclPtr< VirtualDevicempVirtualDev
 

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: