1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef __com_sun_star_drawing_framework_BasicViewFactory_idl__
25#define __com_sun_star_drawing_framework_BasicViewFactory_idl__
26
27#ifndef __com_sun_star_frame_XController_idl__
28#include <com/sun/star/frame/XController.idl>
29#endif
30#ifndef __com_sun_star_drawing_framework_XResourceFactory_idl__
31#include <com/sun/star/drawing/framework/XResourceFactory.idl>
32#endif
33
34module com { module sun { module star { module drawing { module framework {
35
36/** The <type>BasicViewFactory</type> is a view factory that provides the
37    panes used by the Draw and Impress applications.
38
39    <p>The factory recognizes the following URLs:<ul>
40    <li><code>private:resource/view/ImpressView</code> for the regular edit
41    view of the Impress application.</li>
42    <li><code>private:resource/view/GraphicView</code> for the regular edit
43    view of the Draw application.</li>
44    <li><code>private:resource/view/OutlineView</code> for the outline view.</li>
45    <li><code>private:resource/view/NotesView</code> for the notes view.</li>
46    <li><code>private:resource/view/HandoutView</code> for the handout view.</li>
47    <li><code>private:resource/view/SlideSorter</code> for the slide sorter
48    regardless of which pane it is used in.</li>
49    <li><code>private:resource/view/PresentationView</code> for the slide show.</li>
50    <li><code>private:resource/view/TaskPane</code> for the task pane.</li>
51    </ul></p>
52*/
53service BasicViewFactory : XResourceFactory
54{
55    /** Give the controller to new instances so that they have access to the
56        drawing framework controllers.
57    */
58    create ([in] ::com::sun::star::frame::XController xController);
59};
60
61}; }; }; }; }; // ::com::sun::star::drawing::framework
62
63#endif
64