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: TransientDocumentsRootContent.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_ucb_TransientDocumentsRootContent_idl__
31 #define __com_sun_star_ucb_TransientDocumentsRootContent_idl__
33 #ifndef __com_sun_star_lang_XComponent_idl__
34 #include
<com
/sun
/star
/lang
/XComponent.idl
>
37 #ifndef __com_sun_star_ucb_XContent_idl__
38 #include
<com
/sun
/star
/ucb
/XContent.idl
>
41 #ifndef __com_sun_star_ucb_XCommandProcessor_idl__
42 #include
<com
/sun
/star
/ucb
/XCommandProcessor.idl
>
45 #ifndef __com_sun_star_ucb_XCommandProcessor2_idl__
46 #include
<com
/sun
/star
/ucb
/XCommandProcessor2.idl
>
49 #ifndef __com_sun_star_beans_XPropertiesChangeNotifier_idl__
50 #include
<com
/sun
/star
/beans
/XPropertiesChangeNotifier.idl
>
53 #ifndef __com_sun_star_beans_XPropertyContainer_idl__
54 #include
<com
/sun
/star
/beans
/XPropertyContainer.idl
>
57 #ifndef __com_sun_star_beans_XPropertySetInfoChangeNotifier_idl__
58 #include
<com
/sun
/star
/beans
/XPropertySetInfoChangeNotifier.idl
>
61 #ifndef __com_sun_star_ucb_XCommandInfoChangeNotifier_idl__
62 #include
<com
/sun
/star
/ucb
/XCommandInfoChangeNotifier.idl
>
65 #ifndef __com_sun_star_container_XChild_idl__
66 #include
<com
/sun
/star
/container
/XChild.idl
>
69 //=============================================================================
71 module com
{ module sun
{ module star
{ module ucb
{
73 //=============================================================================
74 /** A TDCP Root Folder is the root container for all other DTCP contents.
76 <p>There is at most one instance of a TDCP Root at a time. All other TDCP
77 contents are children of this folder. The TDCP Root Folder can contain
78 only TDCP Documents. It has the fixed URL "vnd.sun.star.tdoc:/".
80 @see TransientDocumentsContentProvider
81 @see TransientDocumentsDocumentContent
82 @see TransientDocumentsFolderContent
83 @see TransientDocumentsStreamContent
87 service TransientDocumentsRootContent
89 //-------------------------------------------------------------------------
90 /** This interface is implemented according to the specification of
91 service <type>Content</type>.
93 interface com
::sun
::star
::lang
::XComponent
;
95 //-------------------------------------------------------------------------
96 /** This interface is implemented according to the specification of
97 service <type>Content</type>.
99 interface com
::sun
::star
::ucb
::XContent
;
101 //-------------------------------------------------------------------------
102 /** This interface is implemented according to the specification of
103 service <type>Content</type>.
107 <b>Supported Commands</b>
126 <b>Supported Properties</b>
129 string ContentType ( read-only, always "application/vnd.sun.star.tdoc-root" )
132 boolean IsDocument ( read-only, always false )
135 boolean IsFolder ( read-only, always true )
138 string Title ( read-only, always an empty string )
144 interface com
::sun
::star
::ucb
::XCommandProcessor
;
146 //-------------------------------------------------------------------------
147 /** is an enhanced version of <type>XCommandProcessor</type> that has an
148 additional method for releasing command identifiers obtained via
149 <member>XCommandProcessor::createCommandIdentifier</member> to avoid
150 resource leaks. For a detailed description of the problem refer to
151 <member>XCommandProcessor2::releaseCommandIdentifier</member>.
153 <p>Where many existing <type>Content</type> implementations do not
154 (yet), every new implementation should support this interface.
156 [optional] interface com
::sun
::star
::ucb
::XCommandProcessor2
;
158 //-------------------------------------------------------------------------
159 /** This interface is implemented according to the specification of
160 service <type>Content</type>.
162 interface com
::sun
::star
::beans
::XPropertiesChangeNotifier
;
164 //-------------------------------------------------------------------------
165 /** This interface is implemented according to the specification of
166 service <type>Content</type>.
168 interface com
::sun
::star
::beans
::XPropertyContainer
;
170 //-------------------------------------------------------------------------
171 /** This interface is implemented according to the specification of
172 service <type>Content</type>.
174 interface com
::sun
::star
::beans
::XPropertySetInfoChangeNotifier
;
176 //-------------------------------------------------------------------------
177 /** This interface is implemented according to the specification of
178 service <type>Content</type>.
180 interface com
::sun
::star
::ucb
::XCommandInfoChangeNotifier
;
182 //-------------------------------------------------------------------------
183 /** This interface is implemented according to the specification of
184 service <type>Content</type>.
186 interface com
::sun
::star
::container
::XChild
;
189 //=============================================================================