vcl: allow for overriding the default PDF rendering resolution
[LibreOffice.git] / sdext / source / presenter / PresenterHelper.hxx
blobb7e2dfa2ff55fe80f8168b4ec8a0aaec654d3bba
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERHELPER_HXX
21 #define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERHELPER_HXX
23 #include <com/sun/star/frame/XController.hpp>
24 #include <com/sun/star/presentation/XSlideShowController.hpp>
26 namespace sdext { namespace presenter {
28 /** Collection of helper functions that do not fit in anywhere else.
29 Provide access to frequently used strings of the drawing framework.
31 namespace PresenterHelper
33 extern const OUString msPaneURLPrefix;
34 extern const OUString msCenterPaneURL;
35 extern const OUString msFullScreenPaneURL;
37 extern const OUString msViewURLPrefix;
38 extern const OUString msPresenterScreenURL;
39 extern const OUString msSlideSorterURL;
41 extern const OUString msResourceActivationEvent;
42 extern const OUString msResourceDeactivationEvent;
44 extern const OUString msDefaultPaneStyle;
45 extern const OUString msDefaultViewStyle;
47 /** Return the slide show controller of a running presentation that has
48 the same document as the given framework controller.
49 @return
50 When no presentation is running this method returns an empty reference.
52 css::uno::Reference<css::presentation::XSlideShowController> GetSlideShowController (
53 const css::uno::Reference<css::frame::XController>& rxController);
56 } } // end of namespace presenter
58 #endif
60 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */