merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / ucb / TransientDocumentsRootContent.idl
blob0d33d0415560663b34651d86c52695fbf6b7e404
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
27 #ifndef __com_sun_star_ucb_TransientDocumentsRootContent_idl__
28 #define __com_sun_star_ucb_TransientDocumentsRootContent_idl__
30 #ifndef __com_sun_star_lang_XComponent_idl__
31 #include <com/sun/star/lang/XComponent.idl>
32 #endif
34 #ifndef __com_sun_star_ucb_XContent_idl__
35 #include <com/sun/star/ucb/XContent.idl>
36 #endif
38 #ifndef __com_sun_star_ucb_XCommandProcessor_idl__
39 #include <com/sun/star/ucb/XCommandProcessor.idl>
40 #endif
42 #ifndef __com_sun_star_ucb_XCommandProcessor2_idl__
43 #include <com/sun/star/ucb/XCommandProcessor2.idl>
44 #endif
46 #ifndef __com_sun_star_beans_XPropertiesChangeNotifier_idl__
47 #include <com/sun/star/beans/XPropertiesChangeNotifier.idl>
48 #endif
50 #ifndef __com_sun_star_beans_XPropertyContainer_idl__
51 #include <com/sun/star/beans/XPropertyContainer.idl>
52 #endif
54 #ifndef __com_sun_star_beans_XPropertySetInfoChangeNotifier_idl__
55 #include <com/sun/star/beans/XPropertySetInfoChangeNotifier.idl>
56 #endif
58 #ifndef __com_sun_star_ucb_XCommandInfoChangeNotifier_idl__
59 #include <com/sun/star/ucb/XCommandInfoChangeNotifier.idl>
60 #endif
62 #ifndef __com_sun_star_container_XChild_idl__
63 #include <com/sun/star/container/XChild.idl>
64 #endif
66 //=============================================================================
68 module com { module sun { module star { module ucb {
70 //=============================================================================
71 /** A TDCP Root Folder is the root container for all other DTCP contents.
73 <p>There is at most one instance of a TDCP Root at a time. All other TDCP
74 contents are children of this folder. The TDCP Root Folder can contain
75 only TDCP Documents. It has the fixed URL "vnd.sun.star.tdoc:/".
77 @see TransientDocumentsContentProvider
78 @see TransientDocumentsDocumentContent
79 @see TransientDocumentsFolderContent
80 @see TransientDocumentsStreamContent
82 @since OOo 2.0.0
84 service TransientDocumentsRootContent
86 //-------------------------------------------------------------------------
87 /** This interface is implemented according to the specification of
88 service <type>Content</type>.
90 interface com::sun::star::lang::XComponent;
92 //-------------------------------------------------------------------------
93 /** This interface is implemented according to the specification of
94 service <type>Content</type>.
96 interface com::sun::star::ucb::XContent;
98 //-------------------------------------------------------------------------
99 /** This interface is implemented according to the specification of
100 service <type>Content</type>.
104 <b>Supported Commands</b>
105 <ul>
106 <li>
107 getCommandInfo
108 </li>
109 <li>
110 getPropertySetInfo
111 </li>
112 <li>
113 getPropertyValues
114 </li>
115 <li>
116 setPropertyValues
117 </li>
118 <li>
119 open
120 </li>
121 </ul>
123 <b>Supported Properties</b>
124 <ul>
125 <li>
126 string ContentType ( read-only, always "application/vnd.sun.star.tdoc-root" )
127 </li>
128 <li>
129 boolean IsDocument ( read-only, always false )
130 </li>
131 <li>
132 boolean IsFolder ( read-only, always true )
133 </li>
134 <li>
135 string Title ( read-only, always an empty string )
136 </li>
137 </ul>
139 </p>
141 interface com::sun::star::ucb::XCommandProcessor;
143 //-------------------------------------------------------------------------
144 /** is an enhanced version of <type>XCommandProcessor</type> that has an
145 additional method for releasing command identifiers obtained via
146 <member>XCommandProcessor::createCommandIdentifier</member> to avoid
147 resource leaks. For a detailed description of the problem refer to
148 <member>XCommandProcessor2::releaseCommandIdentifier</member>.
150 <p>Where many existing <type>Content</type> implementations do not
151 (yet), every new implementation should support this interface.
153 [optional] interface com::sun::star::ucb::XCommandProcessor2;
155 //-------------------------------------------------------------------------
156 /** This interface is implemented according to the specification of
157 service <type>Content</type>.
159 interface com::sun::star::beans::XPropertiesChangeNotifier;
161 //-------------------------------------------------------------------------
162 /** This interface is implemented according to the specification of
163 service <type>Content</type>.
165 interface com::sun::star::beans::XPropertyContainer;
167 //-------------------------------------------------------------------------
168 /** This interface is implemented according to the specification of
169 service <type>Content</type>.
171 interface com::sun::star::beans::XPropertySetInfoChangeNotifier;
173 //-------------------------------------------------------------------------
174 /** This interface is implemented according to the specification of
175 service <type>Content</type>.
177 interface com::sun::star::ucb::XCommandInfoChangeNotifier;
179 //-------------------------------------------------------------------------
180 /** This interface is implemented according to the specification of
181 service <type>Content</type>.
183 interface com::sun::star::container::XChild;
186 //=============================================================================
188 }; }; }; };
190 #endif