/** Base class for presenter views that allows the view factory to store theminacacheandreusedeactivatedviews.
*/ class SAL_LOPLUGIN_ANNOTATE("crosscast") CachablePresenterView
{ public: virtualvoid ActivatePresenterView();
/** Called when the view is put into a cache. The view must not paint itselfwhilebeingdeactivated.
*/ virtualvoid DeactivatePresenterView();
/** Called before the view is disposed. This gives the view the opportunitytotriggeractionsthatmayleadto(synchronous) callbacksthatdonotresultinDisposedExceptions.
*/ virtualvoid ReleaseView();
protected: bool mbIsPresenterViewActive;
CachablePresenterView();
~CachablePresenterView() {}
};
/** Factory of the presenter screen specific views. The supported set of viewsincludes: alifeviewofthecurrentslide, astaticpreviewofthenextslide, thenotesofthecurrentslide, atoolbar
*/ class PresenterViewFactory
: public ::cppu::BaseMutex, public PresenterViewFactoryInterfaceBase
{ public: static constexpr OUString msCurrentSlidePreviewViewURL
= u"private:resource/view/Presenter/CurrentSlidePreview"_ustr; static constexpr OUString msNextSlidePreviewViewURL
= u"private:resource/view/Presenter/NextSlidePreview"_ustr; static constexpr OUString msNotesViewURL = u"private:resource/view/Presenter/Notes"_ustr; static constexpr OUString msToolBarViewURL = u"private:resource/view/Presenter/ToolBar"_ustr; static constexpr OUString msSlideSorterURL
= u"private:resource/view/Presenter/SlideSorter"_ustr; static constexpr OUString msHelpViewURL = u"private:resource/view/Presenter/Help"_ustr;
/** Create a new instance of this class and register it as resource factoryinthedrawingframeworkofthegivencontroller. Thisregistrationkeepsitalive.Whenthedrawingframeworkis shutdownandreleasesitsreferencetothefactorythenthefactory isdestroyed.
*/ static css::uno::Reference<css::drawing::framework::XResourceFactory> Create ( const css::uno::Reference<css::uno::XComponentContext>& rxContext, const ::rtl::Reference<::sd::DrawController>& rxController, const ::rtl::Reference<PresenterController>& rpPresenterController); virtual ~PresenterViewFactory() override;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.