The purpose of the <type>WindowUpdater</type> is to update output devices to take care of modified gl...
virtual ~WindowUpdater() noexcept override
void SetDocument(SdDrawDocument *pDocument)
Set the document so that it is reformatted when one of the monitored values changes.
void RegisterWindow(vcl::Window *pWindow)
Add the given device to the list of devices which will be updated when one of the monitored values ch...
static void Update(OutputDevice *pDevice)
Update the given output device and update all text objects of the view shell if not told otherwise.
void UnregisterWindow(vcl::Window *pWindow)
Remove the given device from the list of devices which will be updated when one of the monitored valu...
static void UpdateWindow(OutputDevice *pDevice)
The central method of this class.
WindowUpdater operator=(const WindowUpdater &rUpdater)=delete
SvtCTLOptions maCTLOptions
Options to monitor for changes.
WindowUpdater(const WindowUpdater &rUpdater)=delete
virtual void ConfigurationChanged(utl::ConfigurationBroadcaster *, ConfigurationHints nHint) override
Callback that waits for notifications of a <type>SvtCTLOptions</type> object.
SdDrawDocument * mpDocument
The document rendered in the output devices.
::std::vector< VclPtr< vcl::Window > > tWindowList
Type and data member for a list of devices that have to be kept up-to-date.