|
LibreOffice Module sc (master) 1
|
#include <broadcast.hxx>
Classes | |
| struct | AreaListener |
| struct | CellListener |
Public Types | |
| enum class | CellListenerType { FormulaCell , Generic } |
| enum class | AreaListenerType { FormulaCell , FormulaGroup , Generic } |
Public Member Functions | |
| bool | hasFormulaCellListener (const ScAddress &rBroadcasterPos, const ScAddress &rFormulaPos) const |
| Check if a formula cell listens on a single cell. More... | |
| bool | hasFormulaCellListener (const ScRange &rBroadcasterRange, const ScAddress &rFormulaPos) const |
| Check if a formula cell listens on a single range. More... | |
| void | dump (std::ostream &rStrm, const ScDocument *pDoc=nullptr) const |
| Dump all broadcaster state in YAML format. More... | |
Public Attributes | |
| std::map< ScAddress, std::vector< CellListener > > | aCellListenerStore |
| std::map< ScRange, std::vector< AreaListener > > | aAreaListenerStore |
Definition at line 25 of file broadcast.hxx.
|
strong |
| Enumerator | |
|---|---|
| FormulaCell | |
| FormulaGroup | |
| Generic | |
Definition at line 33 of file broadcast.hxx.
|
strong |
| Enumerator | |
|---|---|
| FormulaCell | |
| Generic | |
Definition at line 27 of file broadcast.hxx.
| void sc::BroadcasterState::dump | ( | std::ostream & | rStrm, |
| const ScDocument * | pDoc = nullptr |
||
| ) | const |
Dump all broadcaster state in YAML format.
Definition at line 86 of file broadcast.cxx.
References aAreaListenerStore, aCellListenerStore, ScRange::aEnd, ScRange::Format(), FormulaCell, FormulaGroup, Generic, ScAddress::IncRow(), rStrm, TAB_3D, and VALID.
| bool sc::BroadcasterState::hasFormulaCellListener | ( | const ScAddress & | rBroadcasterPos, |
| const ScAddress & | rFormulaPos | ||
| ) | const |
Check if a formula cell listens on a single cell.
Definition at line 46 of file broadcast.cxx.
References aCellListenerStore, and FormulaCell.
| bool sc::BroadcasterState::hasFormulaCellListener | ( | const ScRange & | rBroadcasterRange, |
| const ScAddress & | rFormulaPos | ||
| ) | const |
Check if a formula cell listens on a single range.
Definition at line 66 of file broadcast.cxx.
References aAreaListenerStore, and FormulaCell.
| std::map<ScRange, std::vector<AreaListener> > sc::BroadcasterState::aAreaListenerStore |
Definition at line 65 of file broadcast.hxx.
Referenced by ScBroadcastAreaSlot::CollectBroadcasterState(), dump(), and hasFormulaCellListener().
| std::map<ScAddress, std::vector<CellListener> > sc::BroadcasterState::aCellListenerStore |
Definition at line 64 of file broadcast.hxx.
Referenced by ScColumn::CollectBroadcasterState(), dump(), and hasFormulaCellListener().