22#include <com/sun/star/presentation/XPresentationSupplier.hpp>
23#include <com/sun/star/presentation/XPresentation2.hpp>
35 const Reference<frame::XController>& rxController)
37 Reference<presentation::XSlideShowController> xSlideShowController;
39 if( rxController.is() )
try
41 Reference<XPresentationSupplier> xPS ( rxController->getModel(), UNO_QUERY_THROW);
43 Reference<XPresentation2> xPresentation(xPS->getPresentation(), UNO_QUERY_THROW);
45 xSlideShowController = xPresentation->getController();
51 return xSlideShowController;
css::uno::Reference< css::presentation::XSlideShowController > GetSlideShowController(const css::uno::Reference< css::frame::XController > &rxController)
Return the slide show controller of a running presentation that has the same document as the given fr...
const OUString msFullScreenPaneURL
constexpr OUStringLiteral msPaneURLPrefix(u"private:resource/pane/")