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_ODMAContent_idl__
28 #define __com_sun_star_ucb_ODMAContent_idl__
30 #ifndef __com_sun_star_lang_XComponent_idl__
31 #include
<com
/sun
/star
/lang
/XComponent.idl
>
34 #ifndef __com_sun_star_ucb_XContent_idl__
35 #include
<com
/sun
/star
/ucb
/XContent.idl
>
38 #ifndef __com_sun_star_ucb_XCommandProcessor_idl__
39 #include
<com
/sun
/star
/ucb
/XCommandProcessor.idl
>
42 #ifndef __com_sun_star_ucb_XCommandProcessor2_idl__
43 #include
<com
/sun
/star
/ucb
/XCommandProcessor2.idl
>
46 #ifndef __com_sun_star_beans_XPropertiesChangeNotifier_idl__
47 #include
<com
/sun
/star
/beans
/XPropertiesChangeNotifier.idl
>
50 #ifndef __com_sun_star_beans_XPropertyContainer_idl__
51 #include
<com
/sun
/star
/beans
/XPropertyContainer.idl
>
54 #ifndef __com_sun_star_beans_XPropertySetInfoChangeNotifier_idl__
55 #include
<com
/sun
/star
/beans
/XPropertySetInfoChangeNotifier.idl
>
58 #ifndef __com_sun_star_ucb_XCommandInfoChangeNotifier_idl__
59 #include
<com
/sun
/star
/ucb
/XCommandInfoChangeNotifier.idl
>
62 #ifndef __com_sun_star_container_XChild_idl__
63 #include
<com
/sun
/star
/container
/XChild.idl
>
66 //=============================================================================
68 module com
{ module sun
{ module star
{ module ucb
{
70 //=============================================================================
71 /** A OCP content is representation of a document saved in a DMS.
73 <p>The document Content corresponds to a document stored in a Document Management System.
76 @see com::sun::star::ucb::ODMAContentProvider
77 @see com::sun::star::ucb::Content
81 published service ODMAContent
83 //-------------------------------------------------------------------------
84 /** This interface is implemented according to the specification of
85 service <type>Content</type>.
87 interface com
::sun
::star
::lang
::XComponent
;
89 //-------------------------------------------------------------------------
90 /** This interface is implemented according to the specification of
91 service <type>Content</type>.
93 interface com
::sun
::star
::ucb
::XContent
;
95 //-------------------------------------------------------------------------
96 /** This interface is implemented according to the specification of
97 service <type>Content</type>.
101 <b>Supported Commands</b>
126 <b>Supported Properties</b>
129 string ContentType ( read-only, always "application/vnd.sun.star.odma" )
138 <type scope="com::sun::star::util">DateTime</type> DateCreated ( read-only )
141 <type scope="com::sun::star::util">DateTime</type> DateModified ( read-only )
153 string Size ( read-only )
162 interface com
::sun
::star
::ucb
::XCommandProcessor
;
164 //-------------------------------------------------------------------------
165 /** is an enhanced version of <type>XCommandProcessor</type> that has an
166 additional method for releasing command identifiers obtained via
167 <member>XCommandProcessor::createCommandIdentifier</member> to avoid
168 resource leaks. For a detailed description of the problem refer to
169 <member>XCommandProcessor2::releaseCommandIdentifier</member>.
171 <p>Where many existing <type>Content</type> implementations do not
172 (yet), every new implementation should support this interface.
174 [optional] interface com
::sun
::star
::ucb
::XCommandProcessor2
;
176 //-------------------------------------------------------------------------
177 /** This interface is implemented according to the specification of
178 service <type>Content</type>.
180 interface com
::sun
::star
::beans
::XPropertiesChangeNotifier
;
182 //-------------------------------------------------------------------------
183 /** This interface is implemented according to the specification of
184 service <type>Content</type>.
186 interface com
::sun
::star
::beans
::XPropertyContainer
;
188 //-------------------------------------------------------------------------
189 /** This interface is implemented according to the specification of
190 service <type>Content</type>.
192 interface com
::sun
::star
::beans
::XPropertySetInfoChangeNotifier
;
194 //-------------------------------------------------------------------------
195 /** This interface is implemented according to the specification of
196 service <type>Content</type>.
198 interface com
::sun
::star
::ucb
::XCommandInfoChangeNotifier
;
200 //-------------------------------------------------------------------------
201 /** This interface is implemented according to the specification of
202 service <type>Content</type>.
204 interface com
::sun
::star
::container
::XChild
;
207 //=============================================================================