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)
 
ScNavipiCfgGetNavipiCfg ()
 
ScAddInCfgGetAddInCfg ()
 
svtools::ColorConfigGetColorConfig ()
 
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 LanguageType GetOptDigitLanguage ()
 
- 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 118 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 1869 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 2066 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 2327 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 2300 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 2232 of file scmod.cxx.

References m_mapRefController.

◆ GetAddInCfg()

ScAddInCfg & ScModule::GetAddInCfg ( )

Definition at line 879 of file scmod.cxx.

References m_pAddInCfg.

◆ GetAppOptions()

const ScAppOptions & ScModule::GetAppOptions ( )

◆ GetClipDoc()

ScDocument * ScModule::GetClipDoc ( )
static

◆ GetColorConfig()

svtools::ColorConfig & ScModule::GetColorConfig ( )

◆ GetCurRefDlgId()

sal_uInt16 ScModule::GetCurRefDlgId ( ) const
inline

◆ GetDefaultsOptions()

const ScDefaultsOptions & ScModule::GetDefaultsOptions ( )

Definition at line 815 of file scmod.cxx.

References m_pDefaultsCfg.

Referenced by CreateItemSet().

◆ GetDocOptions()

const ScDocOptions & ScModule::GetDocOptions ( )

Definition at line 746 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 831 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 871 of file scmod.cxx.

References m_pNavipiCfg.

◆ GetOptDigitLanguage()

LanguageType ScModule::GetOptDigitLanguage ( )
static

◆ GetPrintOptions()

const ScPrintOptions & ScModule::GetPrintOptions ( )

◆ GetRefInputHdl()

ScInputHandler * ScModule::GetRefInputHdl ( )
inline

Definition at line 204 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 898 of file scmod.cxx.

References m_pUserOptions.

◆ GetViewOptions()

const ScViewOptions & ScModule::GetViewOptions ( )

Definition at line 730 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 109 of file scmod.cxx.

References SFX_OBJECTBAR_APPLICATION.

◆ InputCancelHandler()

void ScModule::InputCancelHandler ( )

Definition at line 1421 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 1454 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 1405 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 1468 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 1461 of file scmod.cxx.

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

Referenced by ScFormulaDlg::setSelection().

◆ InputTurnOffWinEngine()

void ScModule::InputTurnOffWinEngine ( )

Definition at line 1475 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 235 of file scmod.hxx.

◆ IsInSharedDocSaving()

bool ScModule::IsInSharedDocSaving ( ) const
inline

Definition at line 237 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 920 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 305 of file scmod.cxx.

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

◆ RegisterAutomationApplicationEventsCaller()

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

Definition at line 2322 of file scmod.cxx.

References mxAutomationApplicationEventsCaller.

◆ RegisterRefController()

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

Definition at line 2194 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 2271 of file scmod.cxx.

References LINGUPROP_AUTOSPELL, and SvtLinguConfig::SetProperty().

Referenced by ModifyOptions().

◆ SetDefaultsOptions()

void ScModule::SetDefaultsOptions ( const ScDefaultsOptions rOpt)

Definition at line 807 of file scmod.cxx.

References m_pDefaultsCfg.

Referenced by ModifyOptions().

◆ SetDocOptions()

void ScModule::SetDocOptions ( const ScDocOptions rOpt)

Definition at line 738 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 823 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 839 of file scmod.cxx.

References m_pInputCfg.

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

◆ SetInSharedDocLoading()

void ScModule::SetInSharedDocLoading ( bool  bNew)
inline

Definition at line 234 of file scmod.hxx.

◆ SetInSharedDocSaving()

void ScModule::SetInSharedDocSaving ( bool  bNew)
inline

Definition at line 236 of file scmod.hxx.

◆ SetPrintOptions()

void ScModule::SetPrintOptions ( const ScPrintOptions rOpt)

Definition at line 855 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 722 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 ScTabViewShell::ExecStyle().

◆ UnregisterRefController()

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

Definition at line 2208 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 1442 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(), and DeleteCfg().

◆ 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(), and DeleteCfg().

◆ 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: