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#ifndef __com_sun_star_presentation_PresentationDocument_idl__
24#define __com_sun_star_presentation_PresentationDocument_idl__
25
26#ifndef __com_sun_star_drawing_GenericDrawingDocument_idl__
27#include <com/sun/star/drawing/GenericDrawingDocument.idl>
28#endif
29
30#ifndef __com_sun_star_presentation_XPresentationSupplier_idl__
31#include <com/sun/star/presentation/XPresentationSupplier.idl>
32#endif
33
34#ifndef __com_sun_star_presentation_XCustomPresentationSupplier_idl__
35#include <com/sun/star/presentation/XCustomPresentationSupplier.idl>
36#endif
37
38#ifndef __com_sun_star_document_XLinkTargetSupplier_idl__
39#include <com/sun/star/document/XLinkTargetSupplier.idl>
40#endif
41
42
43//=============================================================================
44
45 module com {  module sun {  module star {  module presentation {
46
47//=============================================================================
48
49/** This is the service provided by a presentation document.
50 */
51published service PresentationDocument
52{
53    /** This is a basic service for a drawing document.
54
55        <p>The following services are available at the
56        <type scope="com::sun::star::lang">XMultiServiceFactory</type>
57        only in a presentation application
58
59        <ul>
60            <li><type>TitleTextShape</type></li>
61            <li><type>OutlinerShape</type></li>
62            <li><type>SubtitleShape</type></li>
63            <li><type>GraphicObjectShape</type></li>
64            <li><type>PageShape</type></li>
65            <li><type>OLE2Shape</type></li>
66            <li><type>ChartShape</type></li>
67            <li><type>NotesShape</type></li>
68            <li><type>HandoutShape</type></li>
69            <li><type>HeaderShape</type></li>
70            <li><type>FooterShape</type></li>
71            <li><type>SlideNumberShape</type></li>
72            <li><type>DateTimeShape</type></li>
73            <li><type>DocumentSettings</type></li>
74            <li><type scope="textfield">Header</type></li>
75            <li><type scope="textfield">Footer</type></li>
76            <li><type scope="textfield">DateTime</type></li>
77        </ul>
78     */
79    service com::sun::star::drawing::GenericDrawingDocument;
80
81    /** lets you access the presentation of this document.
82     */
83    interface com::sun::star::presentation::XPresentationSupplier;
84
85    /** lets you access the custom presentations of this
86        document.
87     */
88    interface com::sun::star::presentation::XCustomPresentationSupplier;
89
90    /** gives you access to the first link hierarchy inside
91        a document, the pages.
92     */
93    interface com::sun::star::document::XLinkTargetSupplier;
94
95};
96
97//=============================================================================
98
99}; }; }; };
100
101#endif
102