1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: XDrawSubController.idl,v $
13 * This file is part of OpenOffice.org.
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org. If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
30 ************************************************************************/
32 #ifndef __com_sun_star_drawing_XDrawSubController_idl__
33 #define __com_sun_star_drawing_XDrawSubController_idl__
35 #ifndef __com_sun_star_uno_XInterface_idl__
36 #include
<com
/sun
/star
/uno
/XInterface.idl
>
39 #ifndef __com_sun_star_beans_XFastPropertySet_idl__
40 #include
<com
/sun
/star
/beans
/XFastPropertySet.idl
>
42 #ifndef __com_sun_star_drawing_XDrawView_idl__
43 #include
<com
/sun
/star
/drawing
/XDrawView.idl
>
45 #ifndef __com_sun_star_view_XSelectionSupplier_idl__
46 #include
<com
/sun
/star
/view
/XSelectionSupplier.idl
>
51 module com
{ module sun
{ module star
{ module drawing
{
54 /** View dependent part of the Draw and Impress controller.
55 <p>During the lifetime of an Impress application the
56 <type scope="com::sun::star::drawing">DrawingDocumentDrawView</type>
57 changes its sub controllers whenever the view in the center pane is
58 replaced by another one. The sub controller handles the things that are
59 not common to all views, i.e. properties, the current page/slide, and
62 interface XDrawSubController
64 interface com
::sun
::star
::drawing
::XDrawView
;
65 interface com
::sun
::star
::view
::XSelectionSupplier
;
67 /** This narrow interface is used to pass property values to and from
68 the sub controller. Property change listeners are handled by the
71 interface com
::sun
::star
::beans
::XFastPropertySet
;