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_frame_DesktopTask_idl__
28#define __com_sun_star_frame_DesktopTask_idl__
29
30#ifndef __com_sun_star_frame_XDesktopTask_idl__
31#include <com/sun/star/frame/XDesktopTask.idl>
32#endif
33
34#ifndef __com_sun_star_frame_XFrame_idl__
35#include <com/sun/star/frame/XFrame.idl>
36#endif
37
38#ifndef __com_sun_star_beans_XPropertySet_idl__
39#include <com/sun/star/beans/XPropertySet.idl>
40#endif
41
42#ifndef __com_sun_star_frame_XWindowArranger_idl__
43#include <com/sun/star/frame/XWindowArranger.idl>
44#endif
45
46#ifndef __com_sun_star_frame_XFramesSupplier_idl__
47#include <com/sun/star/frame/XFramesSupplier.idl>
48#endif
49
50#ifndef __com_sun_star_awt_Point_idl__
51#include <com/sun/star/awt/Point.idl>
52#endif
53
54#ifndef __com_sun_star_awt_Size_idl__
55#include <com/sun/star/awt/Size.idl>
56#endif
57
58//=============================================================================
59
60 module com {  module sun {  module star {  module frame {
61
62//=============================================================================
63/** use the <type>Frame</type> service instead of this
64    @deprecated
65 */
66published service DesktopTask
67{
68        /** use <type>Frame</type> service */
69        interface com::sun::star::frame::XDesktopTask;
70
71        /** use the same interface at the <type>Frame</type> service */
72	interface com::sun::star::frame::XFrame;
73
74        /** use the same interface at the <type>Frame</type> service */
75	interface com::sun::star::beans::XPropertySet;
76
77        /** - */
78	interface com::sun::star::frame::XWindowArranger;
79
80        /** use the same interface at the <type>Desktop</type> or
81            <type>Frame</type> service */
82	interface com::sun::star::frame::XFramesSupplier;
83
84        /** use property <member>Frame::Title</member> instead of that */
85	[readonly, property] string Title;
86
87        /** - */
88	[readonly, property] boolean IsDesktop;
89
90        /** use th visible state of the frame container window instead of this */
91	[property] boolean IsVisible;
92
93        /** - */
94	[property] boolean IsFloating;
95        /** - */
96	[property] boolean IsAlwaysVisible;
97
98        /** use the position of the frame container window instead of this */
99	[property] com::sun::star::awt::Point Position;
100
101        /** use the size of the frame container window instead of this */
102	[property] com::sun::star::awt::Size Size;
103};
104
105//=============================================================================
106
107}; }; }; };
108
109#endif
110