LibreOffice Module sc (master)  1
Public Member Functions | Private Types | Private Attributes | List of all members
ScMacroManager Class Reference

#include <macromgr.hxx>

Collaboration diagram for ScMacroManager:
[legend]

Public Member Functions

 ScMacroManager (ScDocument *pDoc)
 
 ~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< ScUserMacroDepTrackermpDepTracker
 
ScDocumentmpDoc
 

Detailed Description

Definition at line 25 of file macromgr.hxx.

Member Typedef Documentation

typedef std::unordered_map< OUString, bool > ScMacroManager::NameBoolMap
private

Definition at line 40 of file macromgr.hxx.

Constructor & Destructor Documentation

ScMacroManager::ScMacroManager ( ScDocument pDoc)
explicit

Definition at line 92 of file macromgr.cxx.

ScMacroManager::~ScMacroManager ( )

Definition at line 98 of file macromgr.cxx.

Member Function Documentation

void ScMacroManager::AddDependentCell ( const OUString &  aModuleName,
ScFormulaCell pCell 
)

Definition at line 173 of file macromgr.cxx.

References mpDepTracker.

void ScMacroManager::BroadcastModuleUpdate ( const OUString &  aModuleName)
bool ScMacroManager::GetUserFuncVolatile ( const OUString &  sName)

Definition at line 165 of file macromgr.cxx.

References mhFuncToVolatile.

void ScMacroManager::InitUserFuncData ( )
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().

Member Data Documentation

NameBoolMap ScMacroManager::mhFuncToVolatile
private

Definition at line 41 of file macromgr.hxx.

Referenced by GetUserFuncVolatile(), InitUserFuncData(), and SetUserFuncVolatile().

::std::unique_ptr<ScUserMacroDepTracker> ScMacroManager::mpDepTracker
private

Definition at line 44 of file macromgr.hxx.

Referenced by AddDependentCell(), BroadcastModuleUpdate(), and RemoveDependentCell().

ScDocument* ScMacroManager::mpDoc
private

Definition at line 45 of file macromgr.hxx.

Referenced by BroadcastModuleUpdate(), and InitUserFuncData().

css::uno::Reference< css::container::XContainerListener > ScMacroManager::mxContainerListener
private

Definition at line 42 of file macromgr.hxx.

Referenced by InitUserFuncData().


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