LibreOffice Module starmath (master) 1
|
#include <smmod.hxx>
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 &) |
|
explicit |
|
overridevirtual |
Definition at line 128 of file smmod.cxx.
References VclPtr< class reference_type >::disposeAndClear(), mpColorConfig, and mpVirtualDev.
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 221 of file smmod.cxx.
References GetConfig(), SmMathConfig::ItemSetToConfig(), nId, and rSet.
|
overridevirtual |
Implements utl::ConfigurationListener.
Definition at line 145 of file smmod.cxx.
References SfxViewShell::GetFirst(), SfxViewShell::GetNext(), SfxViewShell::GetWindow(), vcl::Window::Invalidate(), and mpColorConfig.
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 204 of file smmod.cxx.
References SmMathConfig::ConfigToItemSet(), GetConfig(), SfxShell::GetPool(), svl::Items, and nId.
|
overridevirtual |
svtools::ColorConfig & SmModule::GetColorConfig | ( | ) |
Definition at line 135 of file smmod.cxx.
References mpColorConfig.
SmMathConfig * SmModule::GetConfig | ( | ) |
Definition at line 162 of file smmod.cxx.
References mpConfig.
Referenced by ApplyItemSet(), CreateItemSet(), SmDocShell::Execute(), SmViewShell::Execute(), SmXMLExport::ExportContent_(), SmDocShell::GetState(), SmViewShell::GetState(), GetSymbolManager(), IMPL_LINK_NOARG(), SmEditTextWindow::KeyInput(), SmGraphicWidget::Paint(), SmFontTypeDialog::ReadFrom(), SmGraphicWidget::SetCursor(), SmViewShell::SetPrinter(), SmDocShell::SmDocShell(), SmPrintUIOptions::SmPrintUIOptions(), SmEditTextWindow::UpdateStatus(), SmFontTypeDialog::WriteTo(), and SmDocShell::~SmDocShell().
VirtualDevice & SmModule::GetDefaultVirtualDev | ( | ) |
Definition at line 181 of file smmod.cxx.
References mpVirtualDev, VirtualDevice::MSO1, and VclPtr< class reference_type >::reset().
|
static |
Definition at line 191 of file smmod.cxx.
References SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), SfxWhichIter::NextWhich(), and rSet.
SmSymbolManager & SmModule::GetSymbolManager | ( | ) |
Definition at line 169 of file smmod.cxx.
References GetConfig(), and SmMathConfig::GetSymbolManager().
Referenced by SmModel::_getPropertyValues(), SmModel::_setPropertyValues(), SmViewShell::Execute(), SmDocShell::LoadSymbols(), SmSpecialNode::Prepare(), and SmDocShell::SaveSymbols().
const SvtSysLocale & SmModule::GetSysLocale | ( | ) |
Definition at line 174 of file smmod.cxx.
References moSysLocale.
|
staticprivate |
SfxInterface initializer.
|
private |
Definition at line 65 of file smmod.hxx.
Referenced by GetSysLocale().
|
private |
Definition at line 63 of file smmod.hxx.
Referenced by ConfigurationChanged(), GetColorConfig(), and ~SmModule().
|
private |
Definition at line 64 of file smmod.hxx.
Referenced by GetConfig().
|
private |
Definition at line 66 of file smmod.hxx.
Referenced by GetDefaultVirtualDev(), and ~SmModule().