22#include <com/sun/star/drawing/framework/XConfigurationController.hpp>
23#include <com/sun/star/lang/XInitialization.hpp>
37namespace sd {
class DrawController; }
41typedef ::cppu::WeakComponentImplHelper <
42 css::drawing::framework::XConfigurationController
61 virtual void SAL_CALL
disposing()
override;
78 virtual void SAL_CALL
lock()
override;
80 virtual void SAL_CALL
unlock()
override;
83 const css::uno::Reference<css::drawing::framework::XResourceId>& rxResourceId,
84 css::drawing::framework::ResourceActivationMode eMode)
override;
87 const css::uno::Reference<css::drawing::framework::XResourceId>&
88 rxResourceId)
override;
90 virtual css::uno::Reference<css::drawing::framework::XResource>
92 const css::uno::Reference<css::drawing::framework::XResourceId>& rxResourceId)
override;
94 virtual void SAL_CALL
update()
override;
96 virtual css::uno::Reference<
97 css::drawing::framework::XConfiguration>
100 virtual css::uno::Reference<
101 css::drawing::framework::XConfiguration>
105 const css::uno::Reference<css::drawing::framework::XConfiguration>&
106 rxConfiguration)
override;
111 const css::uno::Reference<
112 css::drawing::framework::XConfigurationChangeListener>& rxListener,
113 const OUString& rsEventType,
114 const css::uno::Any& rUserData)
override;
117 const css::uno::Reference<
118 css::drawing::framework::XConfigurationChangeListener>& rxListener)
override;
121 const css::drawing::framework::ConfigurationChangeEvent& rEvent)
override;
128 const css::uno::Reference<
129 css::drawing::framework::XConfigurationChangeRequest>& rxRequest)
override;
134 const OUString& sResourceURL,
135 const css::uno::Reference<css::drawing::framework::XResourceFactory>& rxResourceFactory)
override;
138 const OUString& sResourceURL)
override;
141 const css::uno::Reference<css::drawing::framework::XResourceFactory>& rxResourceFactory)
override;
143 virtual css::uno::Reference<css::drawing::framework::XResourceFactory>
145 const OUString& sResourceURL)
override;
153 Lock (
const css::uno::Reference<
154 css::drawing::framework::XConfigurationController>& rxController);
Use this class instead of calling lock() and unlock() directly in order to be exception safe.
Lock(const css::uno::Reference< css::drawing::framework::XConfigurationController > &rxController)
css::uno::Reference< css::drawing::framework::XConfigurationController > mxController
The configuration controller is responsible for maintaining the current configuration.
std::unique_ptr< Implementation > mpImplementation
virtual void SAL_CALL requestResourceDeactivation(const css::uno::Reference< css::drawing::framework::XResourceId > &rxResourceId) override
virtual void SAL_CALL addResourceFactory(const OUString &sResourceURL, const css::uno::Reference< css::drawing::framework::XResourceFactory > &rxResourceFactory) override
void ThrowIfDisposed() const
When the called object has already been disposed this method throws an exception and does not return.
void RequestSynchronousUpdate()
Normally the requested changes of the configuration are executed asynchronously.
virtual void SAL_CALL update() override
virtual void SAL_CALL postChangeRequest(const css::uno::Reference< css::drawing::framework::XConfigurationChangeRequest > &rxRequest) override
virtual void SAL_CALL disposing() override
virtual css::uno::Reference< css::drawing::framework::XConfiguration > SAL_CALL getCurrentConfiguration() override
virtual css::uno::Reference< css::drawing::framework::XResourceFactory > SAL_CALL getResourceFactory(const OUString &sResourceURL) override
ConfigurationController(const rtl::Reference<::sd::DrawController > &rxController)
virtual void SAL_CALL lock() override
virtual ~ConfigurationController() noexcept override
virtual void SAL_CALL addConfigurationChangeListener(const css::uno::Reference< css::drawing::framework::XConfigurationChangeListener > &rxListener, const OUString &rsEventType, const css::uno::Any &rUserData) override
virtual void SAL_CALL restoreConfiguration(const css::uno::Reference< css::drawing::framework::XConfiguration > &rxConfiguration) override
The given configuration is restored by generating the appropriate set of activation and deactivation ...
virtual void SAL_CALL removeResourceFactoryForReference(const css::uno::Reference< css::drawing::framework::XResourceFactory > &rxResourceFactory) override
virtual void SAL_CALL removeResourceFactoryForURL(const OUString &sResourceURL) override
virtual css::uno::Reference< css::drawing::framework::XConfiguration > SAL_CALL getRequestedConfiguration() override
virtual void SAL_CALL removeConfigurationChangeListener(const css::uno::Reference< css::drawing::framework::XConfigurationChangeListener > &rxListener) override
virtual void SAL_CALL notifyEvent(const css::drawing::framework::ConfigurationChangeEvent &rEvent) override
ConfigurationController & operator=(const ConfigurationController &)=delete
virtual css::uno::Reference< css::drawing::framework::XResource > SAL_CALL getResource(const css::uno::Reference< css::drawing::framework::XResourceId > &rxResourceId) override
virtual sal_Bool SAL_CALL hasPendingRequests() override
ConfigurationController(const ConfigurationController &)=delete
virtual void SAL_CALL unlock() override
virtual void SAL_CALL requestResourceActivation(const css::uno::Reference< css::drawing::framework::XResourceId > &rxResourceId, css::drawing::framework::ResourceActivationMode eMode) override
::cppu::WeakComponentImplHelper< css::drawing::framework::XConfigurationController > ConfigurationControllerInterfaceBase