30#include <unordered_map>
31#include <unordered_set>
50 void addFileId(sal_uInt16 nFileId);
51 void removeFileId(sal_uInt16 nFileId);
79 ::std::vector<ScTokenRef> aTokens );
85 void SetUno(
const css::uno::Reference< css::chart::XChartDataChangeEventListener >& rListener,
86 const css::uno::Reference< css::chart::XChartData >& rSource );
87 css::uno::Reference< css::chart::XChartDataChangeEventListener > GetUnoListener()
const;
88 css::uno::Reference< css::chart::XChartData > GetUnoSource()
const;
90 bool IsUno()
const {
return (pUnoData !=
nullptr); }
93 void StartListeningTo();
94 void EndListeningTo();
105 void UpdateChartIntersecting(
const ScRange& rRange );
107 ExternalRefListener* GetExtRefListener();
108 void SetUpdateQueue();
133 SC_CLCUPDATE_MODIFIED
134 } meModifiedDuringUpdate;
155 void StartAllListeners();
160 bool hasListeners()
const;
162 void removeByName(
const OUString& rName);
172 OUString getUniqueName(std::u16string_view rPrefix)
const;
174 void ChangeListening(
const OUString& rName,
178 void FreeUno(
const css::uno::Reference< css::chart::XChartDataChangeEventListener >& rListener,
179 const css::uno::Reference< css::chart::XChartData >& rSource );
181 void UpdateDirtyCharts();
184 bool bSetChartRangeLists );
186 void SetRangeDirty(
const ScRange& rRange );
188 void UpdateChartsContainingTab(
SCTAB nTab );
200 void StartListeningHiddenRange(
const ScRange& rRange,
ScChartListenerCollection & operator=(const ScChartListenerCollection &)=delete
DECL_DLLPRIVATE_LINK(TimerHdl, Timer *, void)
const ListenersType & getListeners() const
std::unordered_set< OUString > StringSetType
std::map< OUString, std::unique_ptr< ScChartListener > > ListenersType
ListenersType m_Listeners
ListenersType & getListeners()
StringSetType & getNonOleObjectNames()
StringSetType maNonOleObjectNames
std::unordered_multimap< ScChartHiddenRangeListener *, ScRange > maHiddenListeners
std::unordered_set< sal_uInt16 > & getAllFileIds()
std::unordered_set< sal_uInt16 > maFileIds
ScChartListener & mrParent
ExternalRefListener(const ExternalRefListener &r)=delete
ScChartListener(OUString aName, ScDocument &rDoc, ::std::vector< ScTokenRef > aTokens)
std::vector< ScTokenRef > maTokens
std::unique_ptr< ScChartUnoData > pUnoData
ScChartListener & operator=(const ScChartListener &)=delete
ScChartListener(const ScChartListener &)=delete
std::unique_ptr< ExternalRefListener > mpExtRefListener
const OUString & GetName() const
Base class for objects that need to listen to link updates.
virtual void Notify(const SfxHint &rHint)
bool operator!=(const XclExpString &rLeft, const XclExpString &rRight)
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)