23class FormulaGroupAreaListener;
42 using DataType = std::variant<const ScFormulaCell*, const SvtListener*>;
82 void dump(std::ostream& rStrm,
const ScDocument* pDoc =
nullptr)
const;
CAUTION! The following defines must be in the same namespace as the respective type.
std::variant< const ScFormulaCell *, const sc::FormulaGroupAreaListener *, const SvtListener * > DataType
AreaListener(const ScFormulaCell *p)
CellListener(const ScFormulaCell *p)
std::variant< const ScFormulaCell *, const SvtListener * > DataType
bool hasFormulaCellListener(const ScAddress &rBroadcasterPos, const ScAddress &rFormulaPos) const
Check if a formula cell listens on a single cell.
std::map< ScAddress, std::vector< CellListener > > aCellListenerStore
std::map< ScRange, std::vector< AreaListener > > aAreaListenerStore
void dump(std::ostream &rStrm, const ScDocument *pDoc=nullptr) const
Dump all broadcaster state in YAML format.