LibreOffice Module sc (master)
1
|
#include <macromgr.hxx>
Public Member Functions | |
ScMacroManager (ScDocument &rDoc) | |
~ScMacroManager () | |
SC_DLLPUBLIC void | InitUserFuncData () |
SC_DLLPUBLIC void | SetUserFuncVolatile (const OUString &sName, bool isVolatile) |
SC_DLLPUBLIC bool | GetUserFuncVolatile (const OUString &sName) |
void | AddDependentCell (const OUString &aModuleName, ScFormulaCell *pCell) |
void | RemoveDependentCell (const ScFormulaCell *pCell) |
void | BroadcastModuleUpdate (const OUString &aModuleName) |
Private Types | |
typedef std::unordered_map< OUString, bool > | NameBoolMap |
Private Attributes | |
NameBoolMap | mhFuncToVolatile |
css::uno::Reference< css::container::XContainerListener > | mxContainerListener |
::std::unique_ptr< ScUserMacroDepTracker > | mpDepTracker |
ScDocument & | mrDoc |
Definition at line 25 of file macromgr.hxx.
|
private |
Definition at line 40 of file macromgr.hxx.
|
explicit |
Definition at line 92 of file macromgr.cxx.
ScMacroManager::~ScMacroManager | ( | ) |
Definition at line 98 of file macromgr.cxx.
void ScMacroManager::AddDependentCell | ( | const OUString & | aModuleName, |
ScFormulaCell * | pCell | ||
) |
Definition at line 173 of file macromgr.cxx.
References mpDepTracker.
void ScMacroManager::BroadcastModuleUpdate | ( | const OUString & | aModuleName | ) |
Definition at line 183 of file macromgr.cxx.
References BCA_LISTEN_ALWAYS, mpDepTracker, mrDoc, ScDocument::PutInFormulaTree(), and ScDocument::StartListeningArea().
bool ScMacroManager::GetUserFuncVolatile | ( | const OUString & | sName | ) |
Definition at line 165 of file macromgr.cxx.
References mhFuncToVolatile.
void ScMacroManager::InitUserFuncData | ( | ) |
Definition at line 129 of file macromgr.cxx.
References SfxObjectShell::GetBasicContainer(), SfxObjectShell::GetBasicManager(), ScDocument::GetDocumentShell(), BasicManager::GetName(), mhFuncToVolatile, mrDoc, and mxContainerListener.
void ScMacroManager::RemoveDependentCell | ( | const ScFormulaCell * | pCell | ) |
Definition at line 178 of file macromgr.cxx.
References mpDepTracker.
Referenced by ScFormulaCell::~ScFormulaCell().
void ScMacroManager::SetUserFuncVolatile | ( | const OUString & | sName, |
bool | isVolatile | ||
) |
Definition at line 160 of file macromgr.cxx.
References mhFuncToVolatile.
Referenced by ScVbaApplication::Volatile().
|
private |
Definition at line 41 of file macromgr.hxx.
Referenced by GetUserFuncVolatile(), InitUserFuncData(), and SetUserFuncVolatile().
|
private |
Definition at line 44 of file macromgr.hxx.
Referenced by AddDependentCell(), BroadcastModuleUpdate(), and RemoveDependentCell().
|
private |
Definition at line 45 of file macromgr.hxx.
Referenced by BroadcastModuleUpdate(), and InitUserFuncData().
|
private |
Definition at line 42 of file macromgr.hxx.
Referenced by InitUserFuncData().