1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#ifndef __com_sun_star_presentation_PresentationDocument_idl__
28#define __com_sun_star_presentation_PresentationDocument_idl__
29
30#ifndef __com_sun_star_drawing_GenericDrawingDocument_idl__
31#include <com/sun/star/drawing/GenericDrawingDocument.idl>
32#endif
33
34#ifndef __com_sun_star_presentation_XPresentationSupplier_idl__
35#include <com/sun/star/presentation/XPresentationSupplier.idl>
36#endif
37
38#ifndef __com_sun_star_presentation_XCustomPresentationSupplier_idl__
39#include <com/sun/star/presentation/XCustomPresentationSupplier.idl>
40#endif
41
42#ifndef __com_sun_star_document_XLinkTargetSupplier_idl__
43#include <com/sun/star/document/XLinkTargetSupplier.idl>
44#endif
45
46
47//=============================================================================
48
49 module com {  module sun {  module star {  module presentation {
50
51//=============================================================================
52
53/** This is the service provided by a presentation document.
54 */
55published service PresentationDocument
56{
57    /** This is a basic service for a drawing document.
58
59        <p>The following services are available at the
60        <type scope="com::sun::star::lang">XMultiServiceFactory</type>
61        only in a presentation application
62
63        <ul>
64            <li><type>TitleTextShape</type></li>
65            <li><type>OutlinerShape</type></li>
66            <li><type>SubtitleShape</type></li>
67            <li><type>GraphicObjectShape</type></li>
68            <li><type>PageShape</type></li>
69            <li><type>OLE2Shape</type></li>
70            <li><type>ChartShape</type></li>
71            <li><type>NotesShape</type></li>
72            <li><type>HandoutShape</type></li>
73            <li><type>HeaderShape</type></li>
74            <li><type>FooterShape</type></li>
75            <li><type>SlideNumberShape</type></li>
76            <li><type>DateTimeShape</type></li>
77            <li><type>DocumentSettings</type></li>
78            <li><type scope="textfield">Header</type></li>
79            <li><type scope="textfield">Footer</type></li>
80            <li><type scope="textfield">DateTime</type></li>
81        </ul>
82     */
83    service com::sun::star::drawing::GenericDrawingDocument;
84
85    /** lets you access the presentation of this document.
86     */
87    interface com::sun::star::presentation::XPresentationSupplier;
88
89    /** lets you access the custom presentations of this
90        document.
91     */
92    interface com::sun::star::presentation::XCustomPresentationSupplier;
93
94    /** gives you access to the first link hierarchy inside
95        a document, the pages.
96     */
97    interface com::sun::star::document::XLinkTargetSupplier;
98
99};
100
101//=============================================================================
102
103}; }; }; };
104
105#endif
106