fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sdext / source / presenter / PresenterHelper.hxx
blob52d07120f0b3213ddb6bac49998a65763852fb67
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/graphic/XGraphic.hpp>
24 #include <com/sun/star/frame/XController.hpp>
25 #include <com/sun/star/presentation/XSlideShowController.hpp>
26 #include <com/sun/star/uno/XComponentContext.hpp>
28 namespace sdext { namespace presenter {
30 /** Collection of helper functions that do not fit in anywhere else.
31 Provide access to frequently used strings of the drawing framework.
33 namespace PresenterHelper
35 extern const OUString msPaneURLPrefix;
36 extern const OUString msCenterPaneURL;
37 extern const OUString msFullScreenPaneURL;
39 extern const OUString msViewURLPrefix;
40 extern const OUString msPresenterScreenURL;
41 extern const OUString msSlideSorterURL;
43 extern const OUString msResourceActivationEvent;
44 extern const OUString msResourceDeactivationEvent;
46 extern const OUString msDefaultPaneStyle;
47 extern const OUString msDefaultViewStyle;
49 /** Return the slide show controller of a running presentation that has
50 the same document as the given framework controller.
51 @return
52 When no presentation is running this method returns an empty reference.
54 css::uno::Reference<css::presentation::XSlideShowController> GetSlideShowController (
55 const css::uno::Reference<css::frame::XController>& rxController);
58 } } // end of namespace presenter
60 #endif
62 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */