22#include <com/sun/star/drawing/framework/XResourceFactory.hpp>
23#include <com/sun/star/lang/XInitialization.hpp>
46 css::drawing::framework::XResourceFactory
68 virtual void disposing(std::unique_lock<std::mutex>&)
override;
72 virtual css::uno::Reference<css::drawing::framework::XResource>
74 const css::uno::Reference<css::drawing::framework::XResourceId>& rxViewId)
override;
77 const css::uno::Reference<css::drawing::framework::XResource>& xView)
override;
80 css::uno::Reference<css::drawing::framework::XConfigurationController>
92 css::uno::Reference<css::drawing::framework::XPane>
mxLocalPane;
95 const css::uno::Reference<css::drawing::framework::XResourceId>& rxViewId,
98 const css::uno::Reference<css::drawing::framework::XPane>& rxPane,
100 const bool bIsCenterView);
103 const css::uno::Reference<css::drawing::framework::XResourceId>& rxViewId,
109 const std::shared_ptr<ViewDescriptor>& rpDescriptor);
112 const std::shared_ptr<ViewDescriptor>& rpDescriptor,
116 const std::shared_ptr<ViewDescriptor>& rpDescriptor);
119 const css::uno::Reference<css::drawing::framework::XResourceId>& rxViewId,
120 const css::uno::Reference<css::drawing::framework::XPane>& rxPane);
SfxViewShell descendant that the stacked Draw/Impress shells are based on.
Factory for the frequently used standard views of the drawing framework: private:resource/view/ priva...
virtual void disposing(std::unique_lock< std::mutex > &) override
std::unique_ptr< ViewShellContainer > mpViewShellContainer
std::shared_ptr< ViewCache > mpViewCache
std::shared_ptr< ViewDescriptor > CreateView(const css::uno::Reference< css::drawing::framework::XResourceId > &rxViewId, SfxViewFrame &rFrame, vcl::Window &rWindow, const css::uno::Reference< css::drawing::framework::XPane > &rxPane, FrameView *pFrameView, const bool bIsCenterView)
ScopedVclPtr< vcl::Window > mpWindow
css::uno::Reference< css::drawing::framework::XConfigurationController > mxConfigurationController
BasicViewFactory(const rtl::Reference<::sd::DrawController > &rxController)
void ReleaseView(const std::shared_ptr< ViewDescriptor > &rpDescriptor, bool bDoNotCache)
virtual css::uno::Reference< css::drawing::framework::XResource > SAL_CALL createResource(const css::uno::Reference< css::drawing::framework::XResourceId > &rxViewId) override
std::shared_ptr< ViewShell > CreateViewShell(const css::uno::Reference< css::drawing::framework::XResourceId > &rxViewId, SfxViewFrame &rFrame, vcl::Window &rWindow, FrameView *pFrameView)
void ActivateCenterView(const std::shared_ptr< ViewDescriptor > &rpDescriptor)
virtual ~BasicViewFactory() override
bool IsCacheable(const std::shared_ptr< ViewDescriptor > &rpDescriptor)
virtual void SAL_CALL releaseResource(const css::uno::Reference< css::drawing::framework::XResource > &xView) override
std::shared_ptr< ViewDescriptor > GetViewFromCache(const css::uno::Reference< css::drawing::framework::XResourceId > &rxViewId, const css::uno::Reference< css::drawing::framework::XPane > &rxPane)
css::uno::Reference< css::drawing::framework::XPane > mxLocalPane
comphelper::WeakComponentImplHelper< css::drawing::framework::XResourceFactory > BasicViewFactoryInterfaceBase