25 #include <preview.hxx>
30 bool bDataChanged =
false;
32 if (rHint.
GetId() == SfxHintId::ThisIsAnSdrHint)
36 if(SdrHintKind::ObjectChange == pSdrHint->
GetKind())
39 else if (
const ScPaintHint* pPaintHint = dynamic_cast<const ScPaintHint*>(&rHint))
47 switch ( rHint.
GetId() )
49 case SfxHintId::ScDataChanged:
50 case SfxHintId::ScPrintOptions:
53 case SfxHintId::ScDrawLayerNew:
If set, cloned formula cells will start to listen to the document.
SdrHintKind GetKind() const
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
VclPtr< ScPreview > pPreview
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
SfxBroadcaster * GetDrawBroadcaster()
const ScDocument & GetDocument() const