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

#include <scmod.hxx>

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

Public Member Functions

 ScModule (SfxObjectFactory *pFact)
 
virtual ~ScModule () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void ConfigurationChanged (utl::ConfigurationBroadcaster *, ConfigurationHints) override
 
void DeleteCfg ()
 
 DECL_DLLPRIVATE_LINK (IdleHandler, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (CalcFieldValueHdl, EditFieldInfo *, void)
 
void Execute (SfxRequest &rReq)
 
void GetState (SfxItemSet &rSet)
 
void AnythingChanged ()
 Idle/OnlineSpelling. More...
 
const ScDragDataGetDragData () const
 
void SetDragObject (ScTransferObj *pCellObj, ScDrawTransferObj *pDrawObj)
 
void ResetDragObject ()
 
void SetDragLink (const OUString &rDoc, const OUString &rTab, const OUString &rArea)
 
void SetDragJump (ScDocument *pLocalDoc, const OUString &rTarget, const OUString &rText)
 
ScSelectionTransferObjGetSelectionTransfer () const
 
void SetSelectionTransfer (ScSelectionTransferObj *pNew)
 
void SetWaterCan (bool bNew)
 
bool GetIsWaterCan () const
 
void SetInEditCommand (bool bNew)
 
void SetInExecuteDrop (bool bNew)
 
bool IsInExecuteDrop () const
 
const ScViewOptionsGetViewOptions ()
 
SC_DLLPUBLIC const ScDocOptionsGetDocOptions ()
 
SC_DLLPUBLIC const ScAppOptionsGetAppOptions ()
 
SC_DLLPUBLIC const ScDefaultsOptionsGetDefaultsOptions ()
 
SC_DLLPUBLIC const ScFormulaOptionsGetFormulaOptions ()
 
SC_DLLPUBLIC const ScInputOptionsGetInputOptions ()
 
SC_DLLPUBLIC const ScPrintOptionsGetPrintOptions ()
 
void SetViewOptions (const ScViewOptions &rOpt)
 
SC_DLLPUBLIC void SetDocOptions (const ScDocOptions &rOpt)
 
SC_DLLPUBLIC void SetAppOptions (const ScAppOptions &rOpt)
 
SC_DLLPUBLIC void SetDefaultsOptions (const ScDefaultsOptions &rOpt)
 
SC_DLLPUBLIC void SetFormulaOptions (const ScFormulaOptions &rOpt)
 
SC_DLLPUBLIC void SetInputOptions (const ScInputOptions &rOpt)
 
void SetPrintOptions (const ScPrintOptions &rOpt)
 
void InsertEntryToLRUList (sal_uInt16 nFIndex)
 
LanguageType GetOptDigitLanguage ()
 
ScNavipiCfgGetNavipiCfg ()
 
ScAddInCfgGetAddInCfg ()
 
svtools::ColorConfigGetColorConfig ()
 
SvtAccessibilityOptionsGetAccessOptions ()
 
SvtCTLOptionsGetCTLOptions ()
 
SC_DLLPUBLIC SvtUserOptionsGetUserOptions ()
 
void ModifyOptions (const SfxItemSet &rOptSet)
 Options. More...
 
bool IsEditMode ()
 
bool IsInputMode ()
 
void SetInputMode (ScInputMode eMode, const OUString *pInitText=nullptr)
 
bool InputKeyEvent (const KeyEvent &rKEvt, bool bStartEdit=false)
 
SC_DLLPUBLIC void InputEnterHandler (ScEnterMode nBlockMode=ScEnterMode::NORMAL, bool bBeforeSavingInLOK=false)
 
void InputCancelHandler ()
 
void InputSelection (const EditView *pView)
 
void InputChanged (const EditView *pView)
 
ScInputHandlerGetInputHdl (ScTabViewShell *pViewSh=nullptr, bool bUseRef=true)
 Input-Handler. More...
 
void SetRefInputHdl (ScInputHandler *pNew)
 
ScInputHandlerGetRefInputHdl ()
 
void ViewShellGone (const ScTabViewShell *pViewSh)
 
void ViewShellChanged (bool bStopEditing)
 
void InputGetSelection (sal_Int32 &rStart, sal_Int32 &rEnd)
 
void InputSetSelection (sal_Int32 nStart, sal_Int32 nEnd)
 
void InputReplaceSelection (std::u16string_view aStr)
 
void InputTurnOffWinEngine ()
 
void ActivateInputWindow (const OUString *pStr=nullptr, bool bMatrix=false)
 
SC_DLLPUBLIC void SetRefDialog (sal_uInt16 nId, bool bVis, SfxViewFrame *pViewFrm=nullptr)
 Reference dialogs. More...
 
bool IsModalMode (SfxObjectShell *pDocSh=nullptr)
 
bool IsFormulaMode ()
 
bool IsRefDialogOpen ()
 
bool IsTableLocked ()
 
void SetReference (const ScRange &rRef, ScDocument &rDoc, const ScMarkData *pMarkData=nullptr)
 
void AddRefEntry ()
 Multiple selection. More...
 
void EndReference ()
 
sal_uInt16 GetCurRefDlgId () const
 
virtual std::optional< SfxItemSetCreateItemSet (sal_uInt16 nId) override
 Virtual methods for the OptionsDialog. More...
 
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
 
virtual std::optional< SfxStyleFamiliesCreateStyleFamilies () override
 
void SetInSharedDocLoading (bool bNew)
 
bool IsInSharedDocLoading () const
 
void SetInSharedDocSaving (bool bNew)
 
bool IsInSharedDocSaving () const
 
SC_DLLPUBLIC void RegisterRefController (sal_uInt16 nSlotId, std::shared_ptr< SfxDialogController > &rWnd, weld::Window *pWndAncestor)
 
SC_DLLPUBLIC void UnregisterRefController (sal_uInt16 nSlotId, const std::shared_ptr< SfxDialogController > &rWnd)
 
SC_DLLPUBLIC std::shared_ptr< SfxDialogControllerFind1RefWindow (sal_uInt16 nSlotId, const weld::Window *pWndAncestor)
 
SC_DLLPUBLIC void RegisterAutomationApplicationEventsCaller (css::uno::Reference< ooo::vba::XSinkCaller > const &xCaller)
 
SC_DLLPUBLIC void CallAutomationApplicationEventSinks (const OUString &Method, css::uno::Sequence< css::uno::Any > &Arguments)
 
- 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 SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 
- Public Member Functions inherited from utl::ConfigurationListener
virtual ~ConfigurationListener ()
 
virtual void ConfigurationChanged (ConfigurationBroadcaster *p, ConfigurationHints nHint)=0
 

Static Public Member Functions

static void HideDisabledSlots (SfxItemSet &rSet)
 
static ScDocumentGetClipDoc ()
 
static void GetSpellSettings (LanguageType &rDefLang, LanguageType &rCjkLang, LanguageType &rCtlLang, bool &rAutoSpell)
 
static void SetAutoSpellProperty (bool bSet)
 
static bool HasThesaurusLanguage (LanguageType nLang)
 
- 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

Timer m_aIdleTimer
 
std::unique_ptr< ScDragDatam_pDragData
 
ScSelectionTransferObjm_pSelTransfer
 
rtl::Reference< ScMessagePoolm_pMessagePool
 
ScInputHandlerm_pRefInputHandler
 
std::unique_ptr< ScViewCfg, o3tl::default_delete< ScViewCfg > > m_pViewCfg
 
std::unique_ptr< ScDocCfg, o3tl::default_delete< ScDocCfg > > m_pDocCfg
 
std::unique_ptr< ScAppCfg, o3tl::default_delete< ScAppCfg > > m_pAppCfg
 
std::unique_ptr< ScDefaultsCfgm_pDefaultsCfg
 
std::unique_ptr< ScFormulaCfgm_pFormulaCfg
 
std::unique_ptr< ScInputCfgm_pInputCfg
 
std::unique_ptr< ScPrintCfgm_pPrintCfg
 
std::unique_ptr< ScNavipiCfgm_pNavipiCfg
 
std::unique_ptr< ScAddInCfgm_pAddInCfg
 
std::unique_ptr< svtools::ColorConfigm_pColorConfig
 
std::unique_ptr< SvtAccessibilityOptionsm_pAccessOptions
 
std::unique_ptr< SvtCTLOptionsm_pCTLOptions
 
std::unique_ptr< SvtUserOptionsm_pUserOptions
 
std::unique_ptr< SfxErrorHandlerm_pErrorHdl
 
sal_uInt16 m_nCurRefDlgId
 
bool m_bIsWaterCan:1
 
bool m_bIsInEditCommand:1
 
bool m_bIsInExecuteDrop:1
 
bool m_bIsInSharedDocLoading:1
 
bool m_bIsInSharedDocSaving:1
 
std::map< sal_uInt16, std::vector< std::pair< std::shared_ptr< SfxDialogController >, weld::Window * > > > m_mapRefController
 
css::uno::Reference< ooo::vba::XSinkCaller > mxAutomationApplicationEventsCaller
 

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 79 of file scmod.hxx.

Constructor & Destructor Documentation

◆ ScModule()

ScModule::ScModule ( SfxObjectFactory pFact)

Definition at line 116 of file scmod.cxx.

◆ ~ScModule()

ScModule::~ScModule ( )
overridevirtual

Member Function Documentation

◆ ActivateInputWindow()

void ScModule::ActivateInputWindow ( const OUString *  pStr = nullptr,
bool  bMatrix = false 
)

◆ AddRefEntry()

void ScModule::AddRefEntry ( )

◆ AnythingChanged()

void ScModule::AnythingChanged ( )

Idle/OnlineSpelling.

Definition at line 1866 of file scmod.cxx.

References Timer::GetTimeout(), m_aIdleTimer, nIdleCount, SC_IDLE_MIN, and Timer::SetTimeout().

◆ ApplyItemSet()

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

Reimplemented from SfxShell.

Definition at line 2063 of file scmod.cxx.

References ModifyOptions(), nId, and rSet.

◆ CallAutomationApplicationEventSinks()

void ScModule::CallAutomationApplicationEventSinks ( const OUString &  Method,
css::uno::Sequence< css::uno::Any > &  Arguments 
)

Definition at line 2319 of file scmod.cxx.

References Method, and mxAutomationApplicationEventsCaller.

◆ ConfigurationChanged()

void ScModule::ConfigurationChanged ( utl::ConfigurationBroadcaster p,
ConfigurationHints   
)
overridevirtual

◆ CreateItemSet()

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

◆ CreateStyleFamilies()

std::optional< SfxStyleFamilies > ScModule::CreateStyleFamilies ( )
overridevirtual

Reimplemented from SfxModule.

Definition at line 2297 of file scmod.cxx.

References SfxModule::GetResLocale(), SC_MOD, and ScResId().

◆ CreateTabPage()

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

◆ DECL_DLLPRIVATE_LINK() [1/2]

ScModule::DECL_DLLPRIVATE_LINK ( CalcFieldValueHdl  ,
EditFieldInfo ,
void   
)

References Execute(), and GetState().

◆ DECL_DLLPRIVATE_LINK() [2/2]

ScModule::DECL_DLLPRIVATE_LINK ( IdleHandler  ,
Timer ,
void   
)

◆ DeleteCfg()

void ScModule::DeleteCfg ( )

◆ EndReference()

void ScModule::EndReference ( )

◆ Execute()

void ScModule::Execute ( SfxRequest rReq)

◆ Find1RefWindow()

std::shared_ptr< SfxDialogController > ScModule::Find1RefWindow ( sal_uInt16  nSlotId,
const weld::Window pWndAncestor 
)

Definition at line 2229 of file scmod.cxx.

References m_mapRefController.

◆ GetAccessOptions()

SvtAccessibilityOptions & ScModule::GetAccessOptions ( )

Definition at line 873 of file scmod.cxx.

References m_pAccessOptions.

◆ GetAddInCfg()

ScAddInCfg & ScModule::GetAddInCfg ( )

Definition at line 854 of file scmod.cxx.

References m_pAddInCfg.

◆ GetAppOptions()

const ScAppOptions & ScModule::GetAppOptions ( )

◆ GetClipDoc()

ScDocument * ScModule::GetClipDoc ( )
static

◆ GetColorConfig()

svtools::ColorConfig & ScModule::GetColorConfig ( )

◆ GetCTLOptions()

SvtCTLOptions & ScModule::GetCTLOptions ( )

Definition at line 884 of file scmod.cxx.

References m_pCTLOptions.

Referenced by GetOptDigitLanguage().

◆ GetCurRefDlgId()

sal_uInt16 ScModule::GetCurRefDlgId ( ) const
inline

◆ GetDefaultsOptions()

const ScDefaultsOptions & ScModule::GetDefaultsOptions ( )

Definition at line 790 of file scmod.cxx.

References m_pDefaultsCfg.

Referenced by CreateItemSet().

◆ GetDocOptions()

const ScDocOptions & ScModule::GetDocOptions ( )

Definition at line 721 of file scmod.cxx.

References m_pDocCfg.

Referenced by CreateItemSet(), Execute(), ScDocShell::InitOptions(), and ModifyOptions().

◆ GetDragData()

const ScDragData & ScModule::GetDragData ( ) const

◆ GetFormulaOptions()

const ScFormulaOptions & ScModule::GetFormulaOptions ( )

Definition at line 806 of file scmod.cxx.

References m_pFormulaCfg.

Referenced by ScDocShell::CheckConfigOptions(), CreateItemSet(), and ScDocShell::InitOptions().

◆ GetInputHdl()

ScInputHandler * ScModule::GetInputHdl ( ScTabViewShell pViewSh = nullptr,
bool  bUseRef = true 
)

◆ GetInputOptions()

const ScInputOptions & ScModule::GetInputOptions ( )

◆ GetIsWaterCan()

bool ScModule::GetIsWaterCan ( ) const
inline

◆ GetNavipiCfg()

ScNavipiCfg & ScModule::GetNavipiCfg ( )

Definition at line 846 of file scmod.cxx.

References m_pNavipiCfg.

◆ GetOptDigitLanguage()

LanguageType ScModule::GetOptDigitLanguage ( )

◆ GetPrintOptions()

const ScPrintOptions & ScModule::GetPrintOptions ( )

◆ GetRefInputHdl()

ScInputHandler * ScModule::GetRefInputHdl ( )
inline

Definition at line 206 of file scmod.hxx.

◆ GetSelectionTransfer()

ScSelectionTransferObj * ScModule::GetSelectionTransfer ( ) const
inline

◆ GetSpellSettings()

void ScModule::GetSpellSettings ( LanguageType rDefLang,
LanguageType rCjkLang,
LanguageType rCtlLang,
bool &  rAutoSpell 
)
static

◆ GetState()

void ScModule::GetState ( SfxItemSet rSet)

◆ GetUserOptions()

SvtUserOptions & ScModule::GetUserOptions ( )

Definition at line 895 of file scmod.cxx.

References m_pUserOptions.

◆ GetViewOptions()

const ScViewOptions & ScModule::GetViewOptions ( )

Definition at line 705 of file scmod.cxx.

References m_pViewCfg.

Referenced by CreateItemSet(), ScDocShell::InitOptions(), and ModifyOptions().

◆ HasThesaurusLanguage()

bool ScModule::HasThesaurusLanguage ( LanguageType  nLang)
static

◆ HideDisabledSlots()

void ScModule::HideDisabledSlots ( SfxItemSet rSet)
static

◆ InitInterface_Impl()

void ScModule::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 107 of file scmod.cxx.

References SFX_OBJECTBAR_APPLICATION.

◆ InputCancelHandler()

void ScModule::InputCancelHandler ( )

Definition at line 1418 of file scmod.cxx.

References ScInputHandler::CancelHandler(), and GetInputHdl().

Referenced by ScCellShell::Execute(), and ScInputWindow::Select().

◆ InputChanged()

void ScModule::InputChanged ( const EditView pView)

◆ InputEnterHandler()

void ScModule::InputEnterHandler ( ScEnterMode  nBlockMode = ScEnterMode::NORMAL,
bool  bBeforeSavingInLOK = false 
)

◆ InputGetSelection()

void ScModule::InputGetSelection ( sal_Int32 &  rStart,
sal_Int32 &  rEnd 
)

Definition at line 1451 of file scmod.cxx.

References GetInputHdl(), and ScInputHandler::InputGetSelection().

Referenced by ScFormulaDlg::getSelection().

◆ InputKeyEvent()

bool ScModule::InputKeyEvent ( const KeyEvent rKEvt,
bool  bStartEdit = false 
)

Definition at line 1402 of file scmod.cxx.

References GetInputHdl(), and ScInputHandler::KeyInput().

Referenced by ScCellShell::ExecuteEdit(), and ScTabViewShell::TabKeyInput().

◆ InputReplaceSelection()

void ScModule::InputReplaceSelection ( std::u16string_view  aStr)

Definition at line 1465 of file scmod.cxx.

References aStr, GetInputHdl(), and ScInputHandler::InputReplaceSelection().

Referenced by ScFormulaDlg::setCurrentFormula().

◆ InputSelection()

void ScModule::InputSelection ( const EditView pView)

◆ InputSetSelection()

void ScModule::InputSetSelection ( sal_Int32  nStart,
sal_Int32  nEnd 
)

Definition at line 1458 of file scmod.cxx.

References GetInputHdl(), and ScInputHandler::InputSetSelection().

Referenced by ScFormulaDlg::setSelection().

◆ InputTurnOffWinEngine()

void ScModule::InputTurnOffWinEngine ( )

Definition at line 1472 of file scmod.cxx.

References GetInputHdl(), and ScInputHandler::InputTurnOffWinEngine().

Referenced by ScFormulaDlg::setCurrentFormula().

◆ InsertEntryToLRUList()

void ScModule::InsertEntryToLRUList ( sal_uInt16  nFIndex)

◆ IsEditMode()

bool ScModule::IsEditMode ( )

◆ IsFormulaMode()

bool ScModule::IsFormulaMode ( )

◆ IsInExecuteDrop()

bool ScModule::IsInExecuteDrop ( ) const
inline

Definition at line 160 of file scmod.hxx.

◆ IsInputMode()

bool ScModule::IsInputMode ( )

◆ IsInSharedDocLoading()

bool ScModule::IsInSharedDocLoading ( ) const
inline

Definition at line 237 of file scmod.hxx.

◆ IsInSharedDocSaving()

bool ScModule::IsInSharedDocSaving ( ) const
inline

Definition at line 239 of file scmod.hxx.

◆ IsModalMode()

bool ScModule::IsModalMode ( SfxObjectShell pDocSh = nullptr)

◆ IsRefDialogOpen()

bool ScModule::IsRefDialogOpen ( )

◆ IsTableLocked()

bool ScModule::IsTableLocked ( )

◆ ModifyOptions()

void ScModule::ModifyOptions ( const SfxItemSet rOptSet)

Options.

Items from Calc options dialog and SID_AUTOSPELL_CHECK

Definition at line 917 of file scmod.cxx.

References ScDocument::CalcAll(), ScDocument::CompileErrorCells(), SfxObjectShell::Current(), SfxViewFrame::Current(), SfxViewShell::Current(), ScDBFunc::DoUpdateCharts(), ScTabView::EnableAutoSpell(), ScDocShell::GetActiveDialogParent(), GetAppOptions(), SfxViewFrame::GetBindings(), ScFormulaOptions::GetCalcConfig(), GetDocOptions(), ScDocument::GetDocOptions(), ScDocShell::GetDocument(), ScViewData::GetDocument(), ScDocument::GetDrawLayer(), SfxViewShell::GetFirst(), SfxObjectShell::GetFirst(), ScViewOptions::GetGridOptions(), GetInputHdl(), GetInputOptions(), SfxItemSet::GetItemIfSet(), ScDocOptions::GetIterCount(), ScDocOptions::GetIterEps(), ScAppOptions::GetKeyBindingType(), SfxObjectShell::GetNext(), SfxViewShell::GetNext(), ScViewOptions::GetOption(), ScViewData::GetOptions(), GetSpellSettings(), ScDocOptions::GetStdPrecision(), ScInputOptions::GetTextWysiwyg(), ScFormulaOptions::GetUseEnglishFuncName(), ScTabView::GetViewData(), GetViewOptions(), ScFormulaOptions::GetWriteCalcConfig(), ScDocOptions::GetYear2000(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), SfxBindings::Invalidate(), SfxViewShell::InvalidateBorder(), ScDocOptions::IsAutoSpell(), ScDocOptions::IsCalcAsShown(), ScDocOptions::IsFormulaRegexEnabled(), ScDocOptions::IsFormulaWildcardsEnabled(), ScDocOptions::IsIgnoreCase(), ScDocOptions::IsIter(), ScDocOptions::IsMatchWholeCell(), m_pAppCfg, m_pFormulaCfg, m_pInputCfg, ScDocument::MaxRow(), ScCalcConfig::MergeDocumentSpecific(), ScTabView::PaintExtras(), ScTabView::PaintGrid(), ScTabView::PaintLeft(), ScTabView::PaintTop(), ScDocShell::PostPaintGridAll(), SfxShell::PutItem(), ScDocShell::ResetKeyBindings(), SCITEM_USERLIST, ScAppOptions::SetAppMetric(), ScDocOptions::SetAutoSpell(), SetAutoSpellProperty(), SetDefaultsOptions(), SdrModel::SetDefaultTabulator(), ScDocument::SetDocOptions(), SetDocOptions(), ScDocShell::SetDocumentModified(), ScInputOptions::SetEnterEdit(), ScInputOptions::SetEnterPasteMode(), ScInputOptions::SetExpandRefs(), ScInputOptions::SetExtendFormat(), SetFormulaOptions(), ScDocShell::SetFormulaOptions(), ScViewOptions::SetGridOptions(), ScAppOptions::SetKeyBindingType(), ScInputOptions::SetLegacyCellSelection(), ScInputOptions::SetMarkHeader(), ScInputOptions::SetMoveDir(), ScInputOptions::SetMoveSelection(), ScViewData::SetOptions(), SetPrintOptions(), ScInputOptions::SetRangeFinder(), ScInputOptions::SetReplaceCellsWarn(), ScInputOptions::SetSortRefUpdate(), ScAppOptions::SetSynchronizeZoom(), ScDocOptions::SetTabDistance(), ScInputOptions::SetTextWysiwyg(), ScGlobal::SetUserList(), ScDocument::SetViewOptions(), SetViewOptions(), ScTabView::SetZoom(), SfxGetpApp(), ScTabView::UpdateAnchorHandles(), ScTabView::UpdateAutoFillMark(), ScDBFunc::UpdateCharts(), ScTabView::UpdateDrawTextOutliner(), ScTabView::UpdateFixPos(), ScInputHandler::UpdateRefDevice(), ScInputHandler::UpdateSpellSettings(), and VOPT_ANCHOR.

Referenced by ApplyItemSet(), and Execute().

◆ Notify()

void ScModule::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 278 of file scmod.cxx.

References DeleteCfg(), and SfxHint::GetId().

◆ RegisterAutomationApplicationEventsCaller()

void ScModule::RegisterAutomationApplicationEventsCaller ( css::uno::Reference< ooo::vba::XSinkCaller > const &  xCaller)

Definition at line 2314 of file scmod.cxx.

References mxAutomationApplicationEventsCaller.

◆ RegisterRefController()

void ScModule::RegisterRefController ( sal_uInt16  nSlotId,
std::shared_ptr< SfxDialogController > &  rWnd,
weld::Window pWndAncestor 
)

Definition at line 2191 of file scmod.cxx.

References m_mapRefController.

◆ ResetDragObject()

void ScModule::ResetDragObject ( )

◆ SetAppOptions()

void ScModule::SetAppOptions ( const ScAppOptions rOpt)

◆ SetAutoSpellProperty()

void ScModule::SetAutoSpellProperty ( bool  bSet)
static

Definition at line 2268 of file scmod.cxx.

References LINGUPROP_AUTOSPELL, and SvtLinguConfig::SetProperty().

Referenced by ModifyOptions().

◆ SetDefaultsOptions()

void ScModule::SetDefaultsOptions ( const ScDefaultsOptions rOpt)

Definition at line 782 of file scmod.cxx.

References m_pDefaultsCfg.

Referenced by ModifyOptions().

◆ SetDocOptions()

void ScModule::SetDocOptions ( const ScDocOptions rOpt)

Definition at line 713 of file scmod.cxx.

References m_pDocCfg.

Referenced by ModifyOptions().

◆ SetDragJump()

void ScModule::SetDragJump ( ScDocument pLocalDoc,
const OUString &  rTarget,
const OUString &  rText 
)

◆ SetDragLink()

void ScModule::SetDragLink ( const OUString &  rDoc,
const OUString &  rTab,
const OUString &  rArea 
)

◆ SetDragObject()

void ScModule::SetDragObject ( ScTransferObj pCellObj,
ScDrawTransferObj pDrawObj 
)

◆ SetFormulaOptions()

void ScModule::SetFormulaOptions ( const ScFormulaOptions rOpt)

Definition at line 798 of file scmod.cxx.

References m_pFormulaCfg.

Referenced by ScDocShell::CheckConfigOptions(), and ModifyOptions().

◆ SetInEditCommand()

void ScModule::SetInEditCommand ( bool  bNew)
inline

Definition at line 157 of file scmod.hxx.

Referenced by ScTextWnd::Command(), and ScGridWindow::StartDrag().

◆ SetInExecuteDrop()

void ScModule::SetInExecuteDrop ( bool  bNew)
inline

Definition at line 159 of file scmod.hxx.

Referenced by ScGridWindow::ExecuteDrop().

◆ SetInputMode()

void ScModule::SetInputMode ( ScInputMode  eMode,
const OUString *  pInitText = nullptr 
)

◆ SetInputOptions()

void ScModule::SetInputOptions ( const ScInputOptions rOpt)

Definition at line 814 of file scmod.cxx.

References m_pInputCfg.

Referenced by ScReplaceWarnBox::run(), and ScSpreadsheetSettings::setPropertyValue().

◆ SetInSharedDocLoading()

void ScModule::SetInSharedDocLoading ( bool  bNew)
inline

Definition at line 236 of file scmod.hxx.

◆ SetInSharedDocSaving()

void ScModule::SetInSharedDocSaving ( bool  bNew)
inline

Definition at line 238 of file scmod.hxx.

◆ SetPrintOptions()

void ScModule::SetPrintOptions ( const ScPrintOptions rOpt)

Definition at line 830 of file scmod.cxx.

References m_pPrintCfg.

Referenced by ModifyOptions(), and ScSpreadsheetSettings::setPropertyValue().

◆ SetRefDialog()

void ScModule::SetRefDialog ( sal_uInt16  nId,
bool  bVis,
SfxViewFrame pViewFrm = nullptr 
)

◆ SetReference()

void ScModule::SetReference ( const ScRange rRef,
ScDocument rDoc,
const ScMarkData pMarkData = nullptr 
)

◆ SetRefInputHdl()

void ScModule::SetRefInputHdl ( ScInputHandler pNew)

◆ SetSelectionTransfer()

void ScModule::SetSelectionTransfer ( ScSelectionTransferObj pNew)

◆ SetViewOptions()

void ScModule::SetViewOptions ( const ScViewOptions rOpt)

Definition at line 697 of file scmod.cxx.

References m_pViewCfg.

Referenced by ModifyOptions().

◆ SetWaterCan()

void ScModule::SetWaterCan ( bool  bNew)
inline

Definition at line 154 of file scmod.hxx.

Referenced by ScFormatShell::ExecuteStyle().

◆ UnregisterRefController()

void ScModule::UnregisterRefController ( sal_uInt16  nSlotId,
const std::shared_ptr< SfxDialogController > &  rWnd 
)

Definition at line 2205 of file scmod.cxx.

References i, and m_mapRefController.

◆ ViewShellChanged()

void ScModule::ViewShellChanged ( bool  bStopEditing)

◆ ViewShellGone()

void ScModule::ViewShellGone ( const ScTabViewShell pViewSh)

Definition at line 1439 of file scmod.cxx.

References GetInputHdl(), and ScInputHandler::ViewShellGone().

Member Data Documentation

◆ m_aIdleTimer

Timer ScModule::m_aIdleTimer
private

Definition at line 81 of file scmod.hxx.

Referenced by AnythingChanged().

◆ m_bIsInEditCommand

bool ScModule::m_bIsInEditCommand
private

Definition at line 103 of file scmod.hxx.

Referenced by IsFormulaMode().

◆ m_bIsInExecuteDrop

bool ScModule::m_bIsInExecuteDrop
private

Definition at line 104 of file scmod.hxx.

◆ m_bIsInSharedDocLoading

bool ScModule::m_bIsInSharedDocLoading
private

Definition at line 105 of file scmod.hxx.

◆ m_bIsInSharedDocSaving

bool ScModule::m_bIsInSharedDocSaving
private

Definition at line 106 of file scmod.hxx.

◆ m_bIsWaterCan

bool ScModule::m_bIsWaterCan
private

Definition at line 102 of file scmod.hxx.

◆ m_mapRefController

std::map<sal_uInt16, std::vector<std::pair<std::shared_ptr<SfxDialogController>, weld::Window*> > > ScModule::m_mapRefController
private

Definition at line 109 of file scmod.hxx.

Referenced by Find1RefWindow(), RegisterRefController(), and UnregisterRefController().

◆ m_nCurRefDlgId

sal_uInt16 ScModule::m_nCurRefDlgId
private

◆ m_pAccessOptions

std::unique_ptr<SvtAccessibilityOptions> ScModule::m_pAccessOptions
private

Definition at line 97 of file scmod.hxx.

Referenced by ConfigurationChanged(), DeleteCfg(), and GetAccessOptions().

◆ m_pAddInCfg

std::unique_ptr<ScAddInCfg> ScModule::m_pAddInCfg
private

Definition at line 95 of file scmod.hxx.

Referenced by DeleteCfg(), and GetAddInCfg().

◆ m_pAppCfg

std::unique_ptr<ScAppCfg, o3tl::default_delete<ScAppCfg> > ScModule::m_pAppCfg
private

Definition at line 89 of file scmod.hxx.

Referenced by DeleteCfg(), GetAppOptions(), ModifyOptions(), and SetAppOptions().

◆ m_pColorConfig

std::unique_ptr<svtools::ColorConfig> ScModule::m_pColorConfig
private

Definition at line 96 of file scmod.hxx.

Referenced by ConfigurationChanged(), DeleteCfg(), and GetColorConfig().

◆ m_pCTLOptions

std::unique_ptr<SvtCTLOptions> ScModule::m_pCTLOptions
private

Definition at line 98 of file scmod.hxx.

Referenced by ConfigurationChanged(), DeleteCfg(), and GetCTLOptions().

◆ m_pDefaultsCfg

std::unique_ptr<ScDefaultsCfg> ScModule::m_pDefaultsCfg
private

Definition at line 90 of file scmod.hxx.

Referenced by DeleteCfg(), GetDefaultsOptions(), and SetDefaultsOptions().

◆ m_pDocCfg

std::unique_ptr<ScDocCfg, o3tl::default_delete<ScDocCfg> > ScModule::m_pDocCfg
private

Definition at line 88 of file scmod.hxx.

Referenced by DeleteCfg(), GetDocOptions(), and SetDocOptions().

◆ m_pDragData

std::unique_ptr<ScDragData> ScModule::m_pDragData
private

◆ m_pErrorHdl

std::unique_ptr<SfxErrorHandler> ScModule::m_pErrorHdl
private

Definition at line 100 of file scmod.hxx.

Referenced by ~ScModule().

◆ m_pFormulaCfg

std::unique_ptr<ScFormulaCfg> ScModule::m_pFormulaCfg
private

Definition at line 91 of file scmod.hxx.

Referenced by DeleteCfg(), GetFormulaOptions(), ModifyOptions(), and SetFormulaOptions().

◆ m_pInputCfg

std::unique_ptr<ScInputCfg> ScModule::m_pInputCfg
private

Definition at line 92 of file scmod.hxx.

Referenced by DeleteCfg(), GetInputOptions(), ModifyOptions(), and SetInputOptions().

◆ m_pMessagePool

rtl::Reference<ScMessagePool> ScModule::m_pMessagePool
private

Definition at line 84 of file scmod.hxx.

Referenced by ~ScModule().

◆ m_pNavipiCfg

std::unique_ptr<ScNavipiCfg> ScModule::m_pNavipiCfg
private

Definition at line 94 of file scmod.hxx.

Referenced by DeleteCfg(), and GetNavipiCfg().

◆ m_pPrintCfg

std::unique_ptr<ScPrintCfg> ScModule::m_pPrintCfg
private

Definition at line 93 of file scmod.hxx.

Referenced by DeleteCfg(), GetPrintOptions(), and SetPrintOptions().

◆ m_pRefInputHandler

ScInputHandler* ScModule::m_pRefInputHandler
private

Definition at line 86 of file scmod.hxx.

Referenced by GetInputHdl(), and SetRefInputHdl().

◆ m_pSelTransfer

ScSelectionTransferObj* ScModule::m_pSelTransfer
private

Definition at line 83 of file scmod.hxx.

Referenced by SetSelectionTransfer(), and ~ScModule().

◆ m_pUserOptions

std::unique_ptr<SvtUserOptions> ScModule::m_pUserOptions
private

Definition at line 99 of file scmod.hxx.

Referenced by DeleteCfg(), and GetUserOptions().

◆ m_pViewCfg

std::unique_ptr<ScViewCfg, o3tl::default_delete<ScViewCfg> > ScModule::m_pViewCfg
private

Definition at line 87 of file scmod.hxx.

Referenced by DeleteCfg(), GetViewOptions(), and SetViewOptions().

◆ mxAutomationApplicationEventsCaller

css::uno::Reference< ooo::vba::XSinkCaller > ScModule::mxAutomationApplicationEventsCaller
private

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