xref: /aoo41x/main/offapi/com/sun/star/ucb/Content.idl (revision 06594b87)
1d1766043SAndrew Rist/**************************************************************
2bde78562SAriel Constenla-Haile *
3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5d1766043SAndrew Rist * distributed with this work for additional information
6d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10bde78562SAriel Constenla-Haile *
11d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12bde78562SAriel Constenla-Haile *
13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14d1766043SAndrew Rist * software distributed under the License is distributed on an
15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17d1766043SAndrew Rist * specific language governing permissions and limitations
18d1766043SAndrew Rist * under the License.
19bde78562SAriel Constenla-Haile *
20d1766043SAndrew Rist *************************************************************/
21d1766043SAndrew Rist
22cdf0e10cSrcweir#ifndef __com_sun_star_ucb_Content_idl__
23cdf0e10cSrcweir#define __com_sun_star_ucb_Content_idl__
24cdf0e10cSrcweir
25cdf0e10cSrcweir#include <com/sun/star/ucb/XContent.idl>
26cdf0e10cSrcweir#include <com/sun/star/lang/XComponent.idl>
27cdf0e10cSrcweir#include <com/sun/star/ucb/XCommandProcessor.idl>
28cdf0e10cSrcweir#include <com/sun/star/ucb/XCommandProcessor2.idl>
29cdf0e10cSrcweir#include <com/sun/star/ucb/XCommandInfoChangeNotifier.idl>
30cdf0e10cSrcweir#include <com/sun/star/beans/XPropertyContainer.idl>
31cdf0e10cSrcweir#include <com/sun/star/beans/XPropertySetInfoChangeNotifier.idl>
32cdf0e10cSrcweir#include <com/sun/star/beans/XPropertiesChangeNotifier.idl>
33cdf0e10cSrcweir#include <com/sun/star/ucb/XContentCreator.idl>
34cdf0e10cSrcweir#include <com/sun/star/container/XChild.idl>
35cdf0e10cSrcweir
36cdf0e10cSrcweirmodule com { module sun { module star { module ucb {
37cdf0e10cSrcweir
38cdf0e10cSrcweir/** A <type>Content</type> is a service that provides access to data of a
39cdf0e10cSrcweir    content provided by an implementation of the service
40cdf0e10cSrcweir    <type>ContentProvider</type>.
41cdf0e10cSrcweir*/
42cdf0e10cSrcweirpublished service Content
43cdf0e10cSrcweir{
44bde78562SAriel Constenla-Haile
45cdf0e10cSrcweir    /** provides access to the identitity and the type of the content and
46cdf0e10cSrcweir        allows the registration of listeners for <type>ContentEvent</type>s.
47cdf0e10cSrcweir
48cdf0e10cSrcweir        <p>This interface is required.
49cdf0e10cSrcweir     */
50cdf0e10cSrcweir    interface com::sun::star::ucb::XContent;
51cdf0e10cSrcweir
52bde78562SAriel Constenla-Haile
53cdf0e10cSrcweir    /** must be implemented to make it possible to resolve cyclic object
54cdf0e10cSrcweir        references.
55cdf0e10cSrcweir
56cdf0e10cSrcweir        <p>Those references i.e. may occure if there are listeners
57cdf0e10cSrcweir        registered at the content ( the content holds the listeners ) and
58cdf0e10cSrcweir        the implementation of the listener interface holds a reference on
59cdf0e10cSrcweir        the content. If the content shall be released,
60cdf0e10cSrcweir        <member scope="com::sun::star::lang">XComponent::dispose</member> must
61cdf0e10cSrcweir        be called at the content. The implementation of this method must call
62cdf0e10cSrcweir        <member scope="com::sun::star::lang">XEventListener::disposing</member>
63cdf0e10cSrcweir        on the registered listeners and release the appropriate object
64cdf0e10cSrcweir        references. At the other hand, the implementation of
65cdf0e10cSrcweir        XEventListener::disposing must release its appropriate references.
66cdf0e10cSrcweir
67cdf0e10cSrcweir        <p>This interface is required.
68cdf0e10cSrcweir     */
69cdf0e10cSrcweir    interface com::sun::star::lang::XComponent;
70cdf0e10cSrcweir
71bde78562SAriel Constenla-Haile
72cdf0e10cSrcweir    /** enables the caller to let the content execute commands.
73cdf0e10cSrcweir
74cdf0e10cSrcweir        <p>It is strongly recommended that any implementation supports the
75cdf0e10cSrcweir        improved <type>XCommandProcessor2</type> interface.</p>
76cdf0e10cSrcweir
77cdf0e10cSrcweir        <p>Typical commands are "open", "delete", "getPropertyValues" and
78cdf0e10cSrcweir        "setPropertyValues". Each content must support a set of standard
79cdf0e10cSrcweir        commands and properties. Also there is a set of predefined optionally
80cdf0e10cSrcweir        commands and properties. A content may define additional commands and
81cdf0e10cSrcweir        properties. </p>
82cdf0e10cSrcweir
83bde78562SAriel Constenla-Haile        <p>This interface is required.</p>
84bde78562SAriel Constenla-Haile
85bde78562SAriel Constenla-Haile        <h3>Commands</h3>
86bde78562SAriel Constenla-Haile        <h4>Mandatory commands</h4>
87bde78562SAriel Constenla-Haile
88bde78562SAriel Constenla-Haile        <table style="border-width: 1px; border-spacing: 0px; border-style: solid; border-color: gray; border-collapse: collapse; background-color: white;" class="devdoc">
89bde78562SAriel Constenla-Haile            <thead>
90bde78562SAriel Constenla-Haile                <tr>
91bde78562SAriel Constenla-Haile                    <th>Command Name</th>
92bde78562SAriel Constenla-Haile                    <th>Return Type</th>
93bde78562SAriel Constenla-Haile                    <th>Parameters</th>
94bde78562SAriel Constenla-Haile                    <th>Description</th>
95bde78562SAriel Constenla-Haile                </tr>
96bde78562SAriel Constenla-Haile            </thead>
97bde78562SAriel Constenla-Haile            <tbody>
98bde78562SAriel Constenla-Haile                <tr>
99bde78562SAriel Constenla-Haile                    <td>getCommandInfo</td>
100bde78562SAriel Constenla-Haile                    <td><type>XCommandInfo</type></td>
101bde78562SAriel Constenla-Haile                    <td>void</td>
102bde78562SAriel Constenla-Haile                    <td>This command obtains an interface which allows to query
103bde78562SAriel Constenla-Haile                        information on commands supported by a content.
104bde78562SAriel Constenla-Haile                    </td>
105bde78562SAriel Constenla-Haile                </tr>
106bde78562SAriel Constenla-Haile                <tr>
107bde78562SAriel Constenla-Haile                    <td>getPropertySetInfo</td>
108bde78562SAriel Constenla-Haile                    <td><type scope="com::sun::star::beans">XPropertySetInfo</type></td>
109bde78562SAriel Constenla-Haile                    <td>void</td>
110bde78562SAriel Constenla-Haile                    <td>This command obtains an interface which allows to query
111bde78562SAriel Constenla-Haile                        information on properties supported by a content.
112bde78562SAriel Constenla-Haile                    </td>
113bde78562SAriel Constenla-Haile                </tr>
114bde78562SAriel Constenla-Haile                <tr>
115bde78562SAriel Constenla-Haile                    <td>getPropertyValues</td>
116bde78562SAriel Constenla-Haile                    <td><type scope="com::sun::star::sdbc">XRow</type></td>
117bde78562SAriel Constenla-Haile                    <td>sequence&lt; <type scope="com::sun::star::beans">Property</type> &gt; aProps</td>
118bde78562SAriel Constenla-Haile                    <td>This command obtains property values from the content.
119bde78562SAriel Constenla-Haile                        <blockquote>
120bde78562SAriel Constenla-Haile                            <b>Note</b>: The execution will not be aborted, if there
121bde78562SAriel Constenla-Haile                            are properties requested, that are unknown to the
122bde78562SAriel Constenla-Haile                            content. The returned row object must contain a NULL
123bde78562SAriel Constenla-Haile                            value in the corresponding column instead.
124bde78562SAriel Constenla-Haile                        </blockquote>
125bde78562SAriel Constenla-Haile                    </td>
126bde78562SAriel Constenla-Haile                </tr>
127bde78562SAriel Constenla-Haile                <tr>
128bde78562SAriel Constenla-Haile                    <td>setPropertyValues</td>
129bde78562SAriel Constenla-Haile                    <td>sequence&lt; any &gt;</td>
130bde78562SAriel Constenla-Haile                    <td>sequence&lt; <type scope="com::sun::star::beans">PropertyValue</type> &gt; aValues</td>
131bde78562SAriel Constenla-Haile                    <td>This command sets property values of the content.
132bde78562SAriel Constenla-Haile                        <p>Note that setPropertyValues does not throw an exception in the case
133bde78562SAriel Constenla-Haile                        that one or more of the requested property values cannot be set.
134bde78562SAriel Constenla-Haile                        The implementation should set as much property values as possible.</p>
135bde78562SAriel Constenla-Haile
136bde78562SAriel Constenla-Haile                        <p>This command returns a sequence< any > which has exactly the same number
137bde78562SAriel Constenla-Haile                        of elements like the number of properties to set. Every sequence
138bde78562SAriel Constenla-Haile                        element contains the status for a property. The first sequence
139bde78562SAriel Constenla-Haile                        elements corresponds to the first element in the sequence of
140bde78562SAriel Constenla-Haile                        <type scope="com::sun::star::beans">PropertyValue</type>s passed as
141bde78562SAriel Constenla-Haile                        command argument, and so on. The exceptions will never be passed to
142bde78562SAriel Constenla-Haile                        an <type scope="com::sun::star::task">InteractionHandler</type>.</p>
143bde78562SAriel Constenla-Haile
144bde78562SAriel Constenla-Haile                        <p>Every element in the returned sequence is an any containing:</p>
145bde78562SAriel Constenla-Haile                        <ul>
146bde78562SAriel Constenla-Haile                            <li>No value indicates, that the property value was set successfully.</li>
147bde78562SAriel Constenla-Haile                            <li><type scope="com::sun::star::beans">UnknownPropertyException</type>
148bde78562SAriel Constenla-Haile                            indicates, that the property is not known to the content
149bde78562SAriel Constenla-Haile                            implementation.</li>
150bde78562SAriel Constenla-Haile                            <li><type scope="com::sun::star::beans">IllegalTypeException</type>
151bde78562SAriel Constenla-Haile                            indicates, that the data type of the property value is not
152bde78562SAriel Constenla-Haile                            acceptable.</li>
153bde78562SAriel Constenla-Haile                            <li><type scope="com::sun::star::lang">IllegalAccessException</type>
154bde78562SAriel Constenla-Haile                            indicates, that the property is constant
155bde78562SAriel Constenla-Haile                            (<member scope="com::sun::star::beans">PropertyAttribute::READONLY</member>
156bde78562SAriel Constenla-Haile                            is set).</li>
157bde78562SAriel Constenla-Haile                            <li><type scope="com::sun::star::lang">IllegalArgumentException</type>
158bde78562SAriel Constenla-Haile                            indicates, that the property value is not acceptable. For instance,
159bde78562SAriel Constenla-Haile                            setting an empty title may be illegal.</li>
160bde78562SAriel Constenla-Haile                            <li>Any other execption derived from <type scope="com::sun::star::uno">Exception</type>
161bde78562SAriel Constenla-Haile                            indicates, that the value was not set successfully. For example,
162bde78562SAriel Constenla-Haile                            this can be a <type>InteractiveAugmentedIOException</type>
163bde78562SAriel Constenla-Haile                            transporting the error code <member>IOErrorCode::ACCESS_DENIED</member>.</li>
164bde78562SAriel Constenla-Haile                        </ul>
165bde78562SAriel Constenla-Haile
166bde78562SAriel Constenla-Haile                        <p>If the value to set is equal to the current value, no exception must
167bde78562SAriel Constenla-Haile                        be added to the returned sequence</p>
168bde78562SAriel Constenla-Haile                    </td>
169bde78562SAriel Constenla-Haile                </tr>
170bde78562SAriel Constenla-Haile            </tbody>
171bde78562SAriel Constenla-Haile        </table>
172bde78562SAriel Constenla-Haile
173bde78562SAriel Constenla-Haile        <h4>Optional commands</h4>
174bde78562SAriel Constenla-Haile        <table style="border-width: 1px; border-spacing: 0px; border-style: solid; border-color: gray; border-collapse: collapse; background-color: white;" class="devdoc">
175bde78562SAriel Constenla-Haile            <thead>
176bde78562SAriel Constenla-Haile                <tr>
177bde78562SAriel Constenla-Haile                    <th>Command Name</th>
178bde78562SAriel Constenla-Haile                    <th>Return Type</th>
179bde78562SAriel Constenla-Haile                    <th>Parameters</th>
180bde78562SAriel Constenla-Haile                    <th>Description</th>
181bde78562SAriel Constenla-Haile                </tr>
182bde78562SAriel Constenla-Haile            </thead>
183bde78562SAriel Constenla-Haile            <tbody>
184bde78562SAriel Constenla-Haile                <tr>
185bde78562SAriel Constenla-Haile                    <td>open</td>
186bde78562SAriel Constenla-Haile                    <td><type>XDynamicResultSet</type></td>
187bde78562SAriel Constenla-Haile                    <td><type>OpenCommandArgument2</type> aOpenCommandArg</td>
188bde78562SAriel Constenla-Haile                    <td>
189bde78562SAriel Constenla-Haile                        For <b>folder</b> objects, this command will return an
190bde78562SAriel Constenla-Haile                        implementation of service <type>DynamicResultSet</type>.
191bde78562SAriel Constenla-Haile                        <p>The <type>OpenCommandArgument2</type> members must be
192bde78562SAriel Constenla-Haile                        filled as follows:</p>
193bde78562SAriel Constenla-Haile                        <ul>
194bde78562SAriel Constenla-Haile                            <li><member scope="com::sun::star::ucb">OpenCommandArgument::Mode</member>:
195bde78562SAriel Constenla-Haile                                <const scope="com::sun::star::ucb">OpenMode::ALL</const> or
196bde78562SAriel Constenla-Haile                                <const scope="com::sun::star::ucb">OpenMode::FOLDERS</const> or
197bde78562SAriel Constenla-Haile                                <const scope="com::sun::star::ucb">OpenMode::DOCUMENTS</const>.
198bde78562SAriel Constenla-Haile                                The implementation of the open command MUST support all these modes!
199bde78562SAriel Constenla-Haile                            </li>
200bde78562SAriel Constenla-Haile                            <li><member scope="com::sun::star::ucb">OpenCommandArgument::Priority</member>:
201bde78562SAriel Constenla-Haile                                can be set, but implementation may ignore the value
202bde78562SAriel Constenla-Haile                            </li>
203bde78562SAriel Constenla-Haile                            <li><member scope="com::sun::star::ucb">OpenCommandArgument::Sink</member>:
204bde78562SAriel Constenla-Haile                                empty( ignored )
205bde78562SAriel Constenla-Haile                            </li>
206bde78562SAriel Constenla-Haile                            <li><member scope="com::sun::star::ucb">OpenCommandArgument::Properties</member>:
207bde78562SAriel Constenla-Haile                                The properties for which the result set shall
208bde78562SAriel Constenla-Haile                                contain the property values. The order of the
209bde78562SAriel Constenla-Haile                                sequence is the same as the order of result set
210bde78562SAriel Constenla-Haile                                columns. First element of sequence will be row
211bde78562SAriel Constenla-Haile                                number one, second will be row number two, ...
212bde78562SAriel Constenla-Haile                            </li>
213bde78562SAriel Constenla-Haile                            <li><member scope="com::sun::star::ucb">OpenCommandArgument2::SortingInfo</member>:
214bde78562SAriel Constenla-Haile                                contains sort criteria, if result set shall
215bde78562SAriel Constenla-Haile                                be sorted, otherwise it can be left empty.
216bde78562SAriel Constenla-Haile                            </li>
217bde78562SAriel Constenla-Haile                        </ul>
218bde78562SAriel Constenla-Haile                        The exceution must be aborted by the implementation of this command
219bde78562SAriel Constenla-Haile                        (by throwing a <type>CommandAbortedException</type>), if an
220bde78562SAriel Constenla-Haile                        unsupported mode is requested.
221bde78562SAriel Constenla-Haile                    </td>
222bde78562SAriel Constenla-Haile                </tr>
223bde78562SAriel Constenla-Haile                <tr>
224bde78562SAriel Constenla-Haile                    <td>open</td>
225bde78562SAriel Constenla-Haile                    <td>void</td>
226bde78562SAriel Constenla-Haile                    <td><type>OpenCommandArgument2</type> aOpenCommandArg</td>
227bde78562SAriel Constenla-Haile                    <td>For non-folder objects, the <type>OpenCommandArgument2</type>
228bde78562SAriel Constenla-Haile                        struct will be prefilled with a data sink object, which
229bde78562SAriel Constenla-Haile                        will be filled with the content data.
230bde78562SAriel Constenla-Haile                        <p>The <type>OpenCommandArgument2</type> members must be
231bde78562SAriel Constenla-Haile                        filled as follows:</p>
232bde78562SAriel Constenla-Haile                        <ul>
233bde78562SAriel Constenla-Haile                            <li><member scope="com::sun::star::ucb">OpenCommandArgument::Mode</member>:
234bde78562SAriel Constenla-Haile                                <const scope="com::sun::star::ucb">OpenMode::DOCUMENT</const> or
235bde78562SAriel Constenla-Haile                                <const scope="com::sun::star::ucb">OpenMode::DOCUMENT_SHARE_DENY_NONE</const> or
236bde78562SAriel Constenla-Haile                                <const scope="com::sun::star::ucb">OpenMode::DOCUMENT_SHARE_DENY_WRITE</const>.
237bde78562SAriel Constenla-Haile                                Support for DOCUMENT is mandatory, all others are optional.
238bde78562SAriel Constenla-Haile                            </li>
239bde78562SAriel Constenla-Haile                            <li><member scope="com::sun::star::ucb">OpenCommandArgument::Priority</member>:
240bde78562SAriel Constenla-Haile                                can be set, but implementation may ignore the value
241bde78562SAriel Constenla-Haile                            </li>
242bde78562SAriel Constenla-Haile                            <li><member scope="com::sun::star::ucb">OpenCommandArgument::Sink</member>:
243bde78562SAriel Constenla-Haile                                a sink, where the implementation can put the document data into.
244bde78562SAriel Constenla-Haile                            </li>
245bde78562SAriel Constenla-Haile                            <li><member scope="com::sun::star::ucb">OpenCommandArgument::Properties</member>: empty ( ignored )</li>
246bde78562SAriel Constenla-Haile                            <li><member scope="com::sun::star::ucb">OpenCommandArgument2::SortingInfo</member>: empty ( ignored )</li>
247bde78562SAriel Constenla-Haile                        </ul>
248bde78562SAriel Constenla-Haile                        <p>The exceution must be aborted by the implementation of this command
249bde78562SAriel Constenla-Haile                        (by throwing a <type>CommandAbortedException</type>), if an
250bde78562SAriel Constenla-Haile                        unsupported mode is requested.</p>
251bde78562SAriel Constenla-Haile                    </td>
252bde78562SAriel Constenla-Haile                </tr>
253bde78562SAriel Constenla-Haile                <tr>
254bde78562SAriel Constenla-Haile                    <td>createNewContent</td>
255bde78562SAriel Constenla-Haile                    <td><type>XContent</type></td>
256bde78562SAriel Constenla-Haile                    <td><type>ContentInfo</type> contentinfo</td>
257bde78562SAriel Constenla-Haile                    <td>
258bde78562SAriel Constenla-Haile                        This command creates a new <b>non-persistent</b> content of a given type.
259bde78562SAriel Constenla-Haile                        <p>This command must be supported by every <type>Content</type>
260bde78562SAriel Constenla-Haile                        that supports the property "CreatableContentsInfo", if the returned
261bde78562SAriel Constenla-Haile                        property value contains a non-empty sequence of creatable types.
262bde78562SAriel Constenla-Haile                        <blockquote>
263bde78562SAriel Constenla-Haile                            Note: This command is part of the replacement for the deprecated
264bde78562SAriel Constenla-Haile                            interface <type>XContentCreator</type>.
265bde78562SAriel Constenla-Haile                        </blockquote>
266bde78562SAriel Constenla-Haile                        <p>Creation of a new <b>persistent</b> content:
267bde78562SAriel Constenla-Haile                        <ol>
268bde78562SAriel Constenla-Haile                            <li>creatabletypes = obtain "CreatableContentsInfo" property from creator</li>
269bde78562SAriel Constenla-Haile                            <li>choose a suitable type from creatabletypes</li>
270bde78562SAriel Constenla-Haile                            <li>newObject = execute command "createNewContent(type)" at creator</li>
271bde78562SAriel Constenla-Haile                            <li>initialize the new object (i.e. newObject.Property1 = ...)</li>
272bde78562SAriel Constenla-Haile                            <li>execute command "insert" at new content. This command
273bde78562SAriel Constenla-Haile                                commits the data and makes the new content persistent.</li>
274bde78562SAriel Constenla-Haile                        </ol>
275bde78562SAriel Constenla-Haile                    </td>
276bde78562SAriel Constenla-Haile                </tr>
277bde78562SAriel Constenla-Haile                <tr>
278bde78562SAriel Constenla-Haile                    <td>insert</td>
279bde78562SAriel Constenla-Haile                    <td>void</td>
280bde78562SAriel Constenla-Haile                    <td><type>InsertCommandArgument</type> aInsertCommandArg</td>
281bde78562SAriel Constenla-Haile                    <td>
282bde78562SAriel Constenla-Haile                        <ol>
283bde78562SAriel Constenla-Haile                            <li>
284bde78562SAriel Constenla-Haile                                This command inserts a <b>new content</b>. It commits the process of
285bde78562SAriel Constenla-Haile                                creating a new content via executing the command "createNewContent"
286bde78562SAriel Constenla-Haile                                and initializing it via setting properties, afterwards.</br>
287bde78562SAriel Constenla-Haile                                The command is not called on the content which created the new
288bde78562SAriel Constenla-Haile                                content, because the new object already knows where it is to be
289bde78562SAriel Constenla-Haile                                inserted (i.e. Calling createNewContent with the content type for a
290bde78562SAriel Constenla-Haile                                message on a News Group creates a content which internally belongs
291bde78562SAriel Constenla-Haile                                to the Outbox. Calling "insert" on that message will result in
292bde78562SAriel Constenla-Haile                                posting the article to the appropriate News Group). Not calling
293bde78562SAriel Constenla-Haile                                "insert" for the new content, i.e. because the user cancels writing
294bde78562SAriel Constenla-Haile                                a new message, simply discards the new object. No extra call to
295bde78562SAriel Constenla-Haile                                "delete" is necessary.</br>
296bde78562SAriel Constenla-Haile                                On successful completion of this command, the parent of the inserted
297bde78562SAriel Constenla-Haile                                content must propagate the change by notifying a
298bde78562SAriel Constenla-Haile                                <type>ContentEvent</type> - <member>ContentAction::INSERTED</member>.
299bde78562SAriel Constenla-Haile                            </li>
300bde78562SAriel Constenla-Haile                            <li>
301bde78562SAriel Constenla-Haile                                Additionally this command can be called at any time to overwrite
302bde78562SAriel Constenla-Haile                                the data of an <b>existing content</b>.
303bde78562SAriel Constenla-Haile                            </li>
304bde78562SAriel Constenla-Haile                        </ol>
305bde78562SAriel Constenla-Haile                    </td>
306bde78562SAriel Constenla-Haile                </tr>
307bde78562SAriel Constenla-Haile                <tr>
308bde78562SAriel Constenla-Haile                    <td>update</td>
309bde78562SAriel Constenla-Haile                    <td>void</td>
310bde78562SAriel Constenla-Haile                    <td><type>OpenCommandArgument2</type> aOpenCommandArg</td>
311bde78562SAriel Constenla-Haile                    <td>This command triggers an update operation on a content.
312bde78562SAriel Constenla-Haile                        For example, when "updating" a POP3-Inbox, the content
313bde78562SAriel Constenla-Haile                        for that box will get and store all new objects on the
314bde78562SAriel Constenla-Haile                        appropriate server. The inserted contents will be
315bde78562SAriel Constenla-Haile                        notified by calling
316bde78562SAriel Constenla-Haile                        <member>XContentEventListener::contentEvent</member>.
317bde78562SAriel Constenla-Haile                    </td>
318bde78562SAriel Constenla-Haile                </tr>
319bde78562SAriel Constenla-Haile                <tr>
320bde78562SAriel Constenla-Haile                    <td>synchronize</td>
321bde78562SAriel Constenla-Haile                    <td>void</td>
322bde78562SAriel Constenla-Haile                    <td><type>OpenCommandArgument2</type> aOpenCommandArg</td>
323bde78562SAriel Constenla-Haile                    <td>
324bde78562SAriel Constenla-Haile                        This command triggers a synchronization operation between locally
325bde78562SAriel Constenla-Haile                        cached data and remote server's data. For example, when
326bde78562SAriel Constenla-Haile                        "synchronizing" a POP3-Inbox the content for that box will get and
327bde78562SAriel Constenla-Haile                        store all new objects and destroy all cached data for objects no
328bde78562SAriel Constenla-Haile                        longer existing on the server. The inserted/deleted contents will
329bde78562SAriel Constenla-Haile                        be notified by calling
330bde78562SAriel Constenla-Haile                        <member>XContent::contentEvent</member>.
331bde78562SAriel Constenla-Haile                    </td>
332bde78562SAriel Constenla-Haile                </tr>
333bde78562SAriel Constenla-Haile                <tr>
334bde78562SAriel Constenla-Haile                    <td>close</td>
335bde78562SAriel Constenla-Haile                    <td>void</td>
336bde78562SAriel Constenla-Haile                    <td>void</td>
337bde78562SAriel Constenla-Haile                    <td>This command closes an object.</td>
338bde78562SAriel Constenla-Haile                </tr>
339bde78562SAriel Constenla-Haile                <tr>
340bde78562SAriel Constenla-Haile                    <td>delete</td>
341bde78562SAriel Constenla-Haile                    <td>void</td>
342bde78562SAriel Constenla-Haile                    <td>boolean bDeletePhysically</td>
343bde78562SAriel Constenla-Haile                    <td>
344bde78562SAriel Constenla-Haile                        This command deletes an object. If <TRUE/> is passed as parameter,
345bde78562SAriel Constenla-Haile                        the object will be destroyed physically. Otherwise it will be put
346bde78562SAriel Constenla-Haile                        into trash can, if such a service is available and the object to
347bde78562SAriel Constenla-Haile                        be deleted supports the command "undelete".
348bde78562SAriel Constenla-Haile                        On successful completion of this command, the deleted content
349bde78562SAriel Constenla-Haile                        must propagate its deletion by notifying a <type>ContentEvent</type>
350bde78562SAriel Constenla-Haile                        - <member>ContentAction::DELETED</member>. Additionally, the contents
351bde78562SAriel Constenla-Haile                        parent must notify a <type>ContentEvent</type>
352bde78562SAriel Constenla-Haile                        - <member>ContentAction::REMOVED</member>
353bde78562SAriel Constenla-Haile                    </td>
354bde78562SAriel Constenla-Haile                </tr>
355bde78562SAriel Constenla-Haile                <tr>
356bde78562SAriel Constenla-Haile                    <td>undelete</td>
357bde78562SAriel Constenla-Haile                    <td>void</td>
358bde78562SAriel Constenla-Haile                    <td>void</td>
359bde78562SAriel Constenla-Haile                    <td>
360bde78562SAriel Constenla-Haile                        This command restores an object previously deleted into trash. It
361bde78562SAriel Constenla-Haile                        must be supported by objects which claim to be undeletable, but
362bde78562SAriel Constenla-Haile                        should never be called directly.
363bde78562SAriel Constenla-Haile                    </td>
364bde78562SAriel Constenla-Haile                </tr>
365bde78562SAriel Constenla-Haile                <tr>
366bde78562SAriel Constenla-Haile                    <td>search</td>
367bde78562SAriel Constenla-Haile                    <td><type>XDynamicResultSet</type></td>
368bde78562SAriel Constenla-Haile                    <td><type>SearchCommandArgument</type> aSearchCommandArg</td>
369bde78562SAriel Constenla-Haile                    <td>
370bde78562SAriel Constenla-Haile                        This command searches for subcontents of a content matching the
371bde78562SAriel Constenla-Haile                        given search criteria. The command will return an implemenation
372bde78562SAriel Constenla-Haile                        of service <type>DynamicResultSet</type>.
373bde78562SAriel Constenla-Haile                    </td>
374bde78562SAriel Constenla-Haile                </tr>
375bde78562SAriel Constenla-Haile                <tr>
376bde78562SAriel Constenla-Haile                    <td>transfer</td>
377bde78562SAriel Constenla-Haile                    <td>void</td>
378bde78562SAriel Constenla-Haile                    <td><type>TransferInfo</type> aTransferInfo</td>
379bde78562SAriel Constenla-Haile                    <td>
380bde78562SAriel Constenla-Haile                        <blockquote>
381bde78562SAriel Constenla-Haile                            <b>Important note:</b> A client that wants to transfer data should
382bde78562SAriel Constenla-Haile                            not execute this command, but it should execute the command
383bde78562SAriel Constenla-Haile                            "globalTransfer" at the <type>UniversalContentBroker</type>.
384bde78562SAriel Constenla-Haile                            This command is able to transfer all kind of content
385bde78562SAriel Constenla-Haile                            supported by that UCB.
386bde78562SAriel Constenla-Haile                        </blockquote>
387bde78562SAriel Constenla-Haile                        This command transfers (copies/moves) an object from one location
388bde78562SAriel Constenla-Haile                        to another. It must be executed at the folder content representing
389bde78562SAriel Constenla-Haile                        the <b>destination</b> of the transfer operation.</br>
390bde78562SAriel Constenla-Haile                        Note that the implementation need not be able to handle
391bde78562SAriel Constenla-Haile                        any type of contents.</br>
392bde78562SAriel Constenla-Haile                        Generally, there are good chances that a transfer of a content will
393bde78562SAriel Constenla-Haile                        succeed, if source and target folder have the same URL scheme.
394bde78562SAriel Constenla-Haile                        But there is no guaranty for that.</br>
395bde78562SAriel Constenla-Haile                        For instance, moving a message from a folder on IMAP server A
396bde78562SAriel Constenla-Haile                        to a folder on IMAP server B may fail, because the transfer
397bde78562SAriel Constenla-Haile                        command can't be implemented efficiently for this scenario,
398bde78562SAriel Constenla-Haile                        because it is not directly supported by the IMAP protocol.
399bde78562SAriel Constenla-Haile                        On the other hand, moving a message from one folder to
400bde78562SAriel Constenla-Haile                        another folder on the same IMAP server should work, because it can
401bde78562SAriel Constenla-Haile                        be implemeted efficiently.</br>
402bde78562SAriel Constenla-Haile                        If an implementation is not able to handle a given source URL,
403bde78562SAriel Constenla-Haile                        it should indicate this by issuing a
404bde78562SAriel Constenla-Haile                        <type>InteractiveBadTransferURLException</type> interaction request.</br>
405bde78562SAriel Constenla-Haile                        Source and target folder may be the same when doing a move operation.
406bde78562SAriel Constenla-Haile                        </br>
407bde78562SAriel Constenla-Haile                        Transfers without the transfer command can be done as follows:
408bde78562SAriel Constenla-Haile                        <ol>
409bde78562SAriel Constenla-Haile                            <li>Create a new content at the target folder</br>
410bde78562SAriel Constenla-Haile                            <code>targetContent = target.execute( "createNewContent", type )</code>
411bde78562SAriel Constenla-Haile                            </li>
412bde78562SAriel Constenla-Haile                            <li>Transfer data from source to target content</br>
413bde78562SAriel Constenla-Haile                            <code>props = sourceContent.execute( "getPropertyValues", ... )</code>
414bde78562SAriel Constenla-Haile                            <code>dataStream = sourceContent.execute( "open", ... )</code>
415bde78562SAriel Constenla-Haile                            <code>targetContent.execute( "setPropertyValues", props )</code>
416bde78562SAriel Constenla-Haile                            </li>
417bde78562SAriel Constenla-Haile                            <li>Insert ( commit ) the new content</br>
418bde78562SAriel Constenla-Haile                            <code>targetContent.execute( "insert", dataStream )</code>
419bde78562SAriel Constenla-Haile                            </li>
420bde78562SAriel Constenla-Haile                            <li>For move operations only: destroy the source content</br>
421bde78562SAriel Constenla-Haile                            <code>sourceContent.execute( "delete", ... )</code>
422bde78562SAriel Constenla-Haile                            </li>
423bde78562SAriel Constenla-Haile                        </ol>
424bde78562SAriel Constenla-Haile                        <p>This mechanism should work for all transfer operations, but generally
425bde78562SAriel Constenla-Haile                        it's less efficient than the transfer command.</p>
426bde78562SAriel Constenla-Haile                    </td>
427bde78562SAriel Constenla-Haile                </tr>
428bde78562SAriel Constenla-Haile                <tr>
429bde78562SAriel Constenla-Haile                    <td>lock</td>
430bde78562SAriel Constenla-Haile                    <td>void</td>
431bde78562SAriel Constenla-Haile                    <td>void</td>
432bde78562SAriel Constenla-Haile                    <td>
433bde78562SAriel Constenla-Haile                        This command obtains an exlusive write lock for the resource. The
434bde78562SAriel Constenla-Haile                        lock is active until command "unlock" is executed, or the OOo
435bde78562SAriel Constenla-Haile                        session that obtained the lock ends, or until the lock is released by
436bde78562SAriel Constenla-Haile                        a third party (e.g. a system administrator).</br>
437bde78562SAriel Constenla-Haile                        Exceptions:
438bde78562SAriel Constenla-Haile                        <ul>
439bde78562SAriel Constenla-Haile                            <li><type>InteractiveLockingLockedException</type></li>
440bde78562SAriel Constenla-Haile                            <li><type>InteractiveLockingLockExpiredException</type></li>
441bde78562SAriel Constenla-Haile                        </ul>
442bde78562SAriel Constenla-Haile                    </td>
443bde78562SAriel Constenla-Haile                </tr>
444bde78562SAriel Constenla-Haile                <tr>
445bde78562SAriel Constenla-Haile                    <td>unlock</td>
446bde78562SAriel Constenla-Haile                    <td>void</td>
447bde78562SAriel Constenla-Haile                    <td>void</td>
448bde78562SAriel Constenla-Haile                    <td>
449bde78562SAriel Constenla-Haile                        This command removes a lock obtained by executing the command "lock"
450bde78562SAriel Constenla-Haile                        from the resource.</br>
451bde78562SAriel Constenla-Haile                        <p>Exceptions:
452bde78562SAriel Constenla-Haile                        <ul>
453bde78562SAriel Constenla-Haile                            <li><type>InteractiveLockingLockedException</type></li>
454bde78562SAriel Constenla-Haile                            <li><type>InteractiveLockingLockExpiredException</type></li>
455bde78562SAriel Constenla-Haile                        </ul>
456bde78562SAriel Constenla-Haile                        </p>
457bde78562SAriel Constenla-Haile                        <p>Note that <type>InteractiveLockingLockExpiredException</type> might
458bde78562SAriel Constenla-Haile                        be raised by any command that requires a previously obtained lock.
459bde78562SAriel Constenla-Haile                        </p>
460bde78562SAriel Constenla-Haile                    </td>
461bde78562SAriel Constenla-Haile                </tr>
462*06594b87SAriel Constenla-Haile                <tr>
463*06594b87SAriel Constenla-Haile                    <td>addProperty</td>
464*06594b87SAriel Constenla-Haile                    <td>void</td>
465*06594b87SAriel Constenla-Haile                    <td><type>PropertyCommandArgument</type> aCmdArg</td>
466*06594b87SAriel Constenla-Haile                    <td>
467*06594b87SAriel Constenla-Haile                        Adds a new properties to the content.
468*06594b87SAriel Constenla-Haile                        <p>
469*06594b87SAriel Constenla-Haile                            <member>PropertyCommandArgument::Property</member>
470*06594b87SAriel Constenla-Haile                            contains information about the property to be added.
471*06594b87SAriel Constenla-Haile                            <member>PropertyCommandArgument::DefaultValue</member>
472*06594b87SAriel Constenla-Haile                            may contain the default value for the property. Its type must
473*06594b87SAriel Constenla-Haile                            match the one specified in <member scope="com::sun::star::beans">Property::Type</member>.
474*06594b87SAriel Constenla-Haile                        </p>
475*06594b87SAriel Constenla-Haile                        <p>Note that the dynamic properties must be kept persistent. The
476*06594b87SAriel Constenla-Haile                        service <type>Store</type> (UCB persistence service) may be used to
477*06594b87SAriel Constenla-Haile                        implement this.</p>
478*06594b87SAriel Constenla-Haile                        <p><b>Important:</b> The implementation must at least support
479*06594b87SAriel Constenla-Haile                        adding properties of the following basic data types:</p>
480*06594b87SAriel Constenla-Haile                        <p>
481*06594b87SAriel Constenla-Haile                            <ul>
482*06594b87SAriel Constenla-Haile                                <li>boolean
483*06594b87SAriel Constenla-Haile                                <li>char
484*06594b87SAriel Constenla-Haile                                <li>byte
485*06594b87SAriel Constenla-Haile                                <li>string
486*06594b87SAriel Constenla-Haile                                <li>short
487*06594b87SAriel Constenla-Haile                                <li>long
488*06594b87SAriel Constenla-Haile                                <li>hyper
489*06594b87SAriel Constenla-Haile                                <li>float
490*06594b87SAriel Constenla-Haile                                <li>double
491*06594b87SAriel Constenla-Haile                            </ul>
492*06594b87SAriel Constenla-Haile                        </p>
493*06594b87SAriel Constenla-Haile                        <p>
494*06594b87SAriel Constenla-Haile                            Raises a <type scope="com::sun::star::beans">PropertyExistException</type>
495*06594b87SAriel Constenla-Haile                            if a property with the same name already exists;
496*06594b87SAriel Constenla-Haile                           <type scope="com::sun::star::beans">IllegalTypeException</type>
497*06594b87SAriel Constenla-Haile                           if the property has an unsupported type;
498*06594b87SAriel Constenla-Haile                           <type scope="com::sun::star::lang">IllegalArgumentException</type>
499*06594b87SAriel Constenla-Haile                           if the Name of the property is empty.</p>
500*06594b87SAriel Constenla-Haile                        <blockquote>
501*06594b87SAriel Constenla-Haile                            Note: This command replaces the deprecated interface method
502*06594b87SAriel Constenla-Haile                            <member scope="com::sun::star::beans">XPropertyContainer::addProperty</member>.
503*06594b87SAriel Constenla-Haile                        </blockquote>
504*06594b87SAriel Constenla-Haile                    </td>
505*06594b87SAriel Constenla-Haile                </tr>
506*06594b87SAriel Constenla-Haile                <tr>
507*06594b87SAriel Constenla-Haile                    <td>removeProperty</td>
508*06594b87SAriel Constenla-Haile                    <td>void</td>
509*06594b87SAriel Constenla-Haile                    <td>string PropertyName</td>
510*06594b87SAriel Constenla-Haile                    <td>Removes the properties from the content.
511*06594b87SAriel Constenla-Haile                        <p>Raises a <type scope="com::sun::star::beans">UnknownPropertyException</type>
512*06594b87SAriel Constenla-Haile                        if the property does not exist;
513*06594b87SAriel Constenla-Haile                        <type scope="com::sun::star::beans">NotRemoveableException</type>
514*06594b87SAriel Constenla-Haile                        if the property is not removable.</p>
515*06594b87SAriel Constenla-Haile                        <blockquote>
516*06594b87SAriel Constenla-Haile                            Note: This command replaces the deprecated interface method
517*06594b87SAriel Constenla-Haile                            <member scope="com::sun::star::beans">XPropertyContainer::removeProperty</member>.
518*06594b87SAriel Constenla-Haile                        </blockquote>
519*06594b87SAriel Constenla-Haile                    </td>
520*06594b87SAriel Constenla-Haile                </tr>
521bde78562SAriel Constenla-Haile            </tbody>
522bde78562SAriel Constenla-Haile        </table>
523bde78562SAriel Constenla-Haile
524bde78562SAriel Constenla-Haile        <h3>Properties</h3>
525bde78562SAriel Constenla-Haile        <h4>Mandatory properties</h4>
526bde78562SAriel Constenla-Haile
527bde78562SAriel Constenla-Haile        <table style="border-width: 1px; border-spacing: 0px; border-style: solid; border-color: gray; border-collapse: collapse; background-color: white;" class="devdoc">
528bde78562SAriel Constenla-Haile            <thead>
529bde78562SAriel Constenla-Haile                <tr>
530bde78562SAriel Constenla-Haile                    <th>Name</th>
531bde78562SAriel Constenla-Haile                    <th>Type</th>
532bde78562SAriel Constenla-Haile                    <th>Description</th>
533bde78562SAriel Constenla-Haile                </tr>
534bde78562SAriel Constenla-Haile            </thead>
535bde78562SAriel Constenla-Haile            <tbody>
536bde78562SAriel Constenla-Haile                <tr>
537bde78562SAriel Constenla-Haile                    <td>ContentType</td>
538bde78562SAriel Constenla-Haile                    <td>string</td>
539bde78562SAriel Constenla-Haile                    <td>
540bde78562SAriel Constenla-Haile                        contains a unique type string for the content
541bde78562SAriel Constenla-Haile                        ( i.e. "application/vnd.sun.star.hierarchy-link" ).
542bde78562SAriel Constenla-Haile                        <p>This property is always read-only.</p>
543bde78562SAriel Constenla-Haile                        <p>The ContentType should not be confused with the MIME
544bde78562SAriel Constenla-Haile                        media type ( MIME types ) of the content. Media types
545bde78562SAriel Constenla-Haile                        may be provided through the optional property "MediaType".</p>
546bde78562SAriel Constenla-Haile                        <p>The value of this property should match the information on creatable
547bde78562SAriel Constenla-Haile                        contents given by UCB contents that implement the property
548bde78562SAriel Constenla-Haile                        "CreatableContentsInfo".</p>
549bde78562SAriel Constenla-Haile                    </td>
550bde78562SAriel Constenla-Haile                </tr>
551bde78562SAriel Constenla-Haile                <tr>
552bde78562SAriel Constenla-Haile                    <td>IsFolder</td>
553bde78562SAriel Constenla-Haile                    <td>boolean</td>
554bde78562SAriel Constenla-Haile                    <td>indicates, whether a content can contain other contents.</td>
555bde78562SAriel Constenla-Haile                </tr>
556bde78562SAriel Constenla-Haile                <tr>
557bde78562SAriel Constenla-Haile                    <td>IsDocument</td>
558bde78562SAriel Constenla-Haile                    <td>boolean</td>
559bde78562SAriel Constenla-Haile                    <td>indicates, whether a content is a document. This means,
560bde78562SAriel Constenla-Haile                        the content can dump itself into a data sink.
561bde78562SAriel Constenla-Haile                    </td>
562bde78562SAriel Constenla-Haile                </tr>
563bde78562SAriel Constenla-Haile                <tr>
564bde78562SAriel Constenla-Haile                    <td>Title</td>
565bde78562SAriel Constenla-Haile                    <td>string</td>
566bde78562SAriel Constenla-Haile                    <td>contains the title of an object (e.g. the subject of a message).</td>
567bde78562SAriel Constenla-Haile                </tr>
568bde78562SAriel Constenla-Haile            </tbody>
569bde78562SAriel Constenla-Haile        </table>
570bde78562SAriel Constenla-Haile
571bde78562SAriel Constenla-Haile        <h4>Optional properties</h4>
572bde78562SAriel Constenla-Haile
573bde78562SAriel Constenla-Haile        <table style="border-width: 1px; border-spacing: 0px; border-style: solid; border-color: gray; border-collapse: collapse; background-color: white;" class="devdoc">
574bde78562SAriel Constenla-Haile            <thead>
575bde78562SAriel Constenla-Haile                <tr>
576bde78562SAriel Constenla-Haile                    <th>Name</th>
577bde78562SAriel Constenla-Haile                    <th>Type</th>
578bde78562SAriel Constenla-Haile                    <th>Description</th>
579bde78562SAriel Constenla-Haile                </tr>
580bde78562SAriel Constenla-Haile            </thead>
581bde78562SAriel Constenla-Haile            <tbody>
582bde78562SAriel Constenla-Haile                <tr>
583bde78562SAriel Constenla-Haile                    <td>AutoUpdateInterval</td>
584bde78562SAriel Constenla-Haile                    <td>long</td>
585bde78562SAriel Constenla-Haile                    <td>contains the interval for automatic updates of an object.
586bde78562SAriel Constenla-Haile                        It is specified in seconds.
587bde78562SAriel Constenla-Haile                    </td>
588bde78562SAriel Constenla-Haile                </tr>
589bde78562SAriel Constenla-Haile                <tr>
590bde78562SAriel Constenla-Haile                    <td>ConnectionLimit</td>
591bde78562SAriel Constenla-Haile                    <td>short</td>
592bde78562SAriel Constenla-Haile                    <td>contains the maximum number of network connections
593bde78562SAriel Constenla-Haile                        allowed for one (internet) protocol at a time. (e.g. The HTTP
594bde78562SAriel Constenla-Haile                        cache can be configured to use a maximum for the number of
595bde78562SAriel Constenla-Haile                        connections used for browsing.)
596bde78562SAriel Constenla-Haile                    </td>
597bde78562SAriel Constenla-Haile                </tr>
598bde78562SAriel Constenla-Haile                <tr>
599bde78562SAriel Constenla-Haile                    <td>ConnectionMode</td>
600bde78562SAriel Constenla-Haile                    <td>short</td>
601bde78562SAriel Constenla-Haile                    <td>contains the current connection mode for the object.
602bde78562SAriel Constenla-Haile                        (see <type>ConnectionMode</type>)
603bde78562SAriel Constenla-Haile                    </td>
604bde78562SAriel Constenla-Haile                </tr>
605bde78562SAriel Constenla-Haile                <tr>
606bde78562SAriel Constenla-Haile                    <td>CreatableContentsInfo</td>
607bde78562SAriel Constenla-Haile                    <td>sequence <type>ContentInfo</type></td>
608bde78562SAriel Constenla-Haile                    <td>
609bde78562SAriel Constenla-Haile                        contains the types of Contents a Content object can create via
610bde78562SAriel Constenla-Haile                        command "createNewContent".
611bde78562SAriel Constenla-Haile                        <p>If the property value can be a non-empty sequence, the
612bde78562SAriel Constenla-Haile                        Content must also support command "createNewContent".</p>
613bde78562SAriel Constenla-Haile                        <blockquote>
614bde78562SAriel Constenla-Haile                            Note: This property is part of the replacement for the deprecated
615bde78562SAriel Constenla-Haile                            interface <type>XContentCreator</type>.
616bde78562SAriel Constenla-Haile                        </blockquote>
617bde78562SAriel Constenla-Haile                    </td>
618bde78562SAriel Constenla-Haile                </tr>
619bde78562SAriel Constenla-Haile                <tr>
620bde78562SAriel Constenla-Haile                    <td>DateCreated</td>
621bde78562SAriel Constenla-Haile                    <td><type scope"com::sun::star::util">DateTime</type></td>
622bde78562SAriel Constenla-Haile                    <td>contains the date and time the object was created.</td>
623bde78562SAriel Constenla-Haile                </tr>
624bde78562SAriel Constenla-Haile                <tr>
625bde78562SAriel Constenla-Haile                    <td>DateModified</td>
626bde78562SAriel Constenla-Haile                    <td><type scope"com::sun::star::util">DateTime</type></td>
627bde78562SAriel Constenla-Haile                    <td>contains the date and time the object was last modified.</td>
628bde78562SAriel Constenla-Haile                </tr>
629bde78562SAriel Constenla-Haile                <tr>
630bde78562SAriel Constenla-Haile                    <td>DocumentCount</td>
631bde78562SAriel Constenla-Haile                    <td>long</td>
632bde78562SAriel Constenla-Haile                    <td>contains the count of documents of a folder.</td>
633bde78562SAriel Constenla-Haile                </tr>
634bde78562SAriel Constenla-Haile                <tr>
635bde78562SAriel Constenla-Haile                    <td>DocumentCountMarked</td>
636bde78562SAriel Constenla-Haile                    <td>long</td>
637bde78562SAriel Constenla-Haile                    <td>contains the count of marked documents within a folder.</td>
638bde78562SAriel Constenla-Haile                </tr>
639bde78562SAriel Constenla-Haile                <tr>
640bde78562SAriel Constenla-Haile                    <td>DocumentHeader</td>
641bde78562SAriel Constenla-Haile                    <td>sequence&lt; <type>DocumentHeaderField</type> &gt; </td>
642bde78562SAriel Constenla-Haile                    <td>contains a sequence of documemt header fields (i.e. header
643bde78562SAriel Constenla-Haile                        fields of a MIME-message, or the document info of an
644bde78562SAriel Constenla-Haile                        office document ). For some standard header fields there
645bde78562SAriel Constenla-Haile                        are predefined separate properties, like &quot;MessageTo&quot;.
646bde78562SAriel Constenla-Haile                    </td>
647bde78562SAriel Constenla-Haile                </tr>
648bde78562SAriel Constenla-Haile                <tr>
649bde78562SAriel Constenla-Haile                    <td>DocumentStoreMode</td>
650bde78562SAriel Constenla-Haile                    <td><type>DocumentStoreMode</type></td>
651bde78562SAriel Constenla-Haile                    <td>contains information about the way a folder stores the
652bde78562SAriel Constenla-Haile                        contents of (remote) documents.
653bde78562SAriel Constenla-Haile                    </td>
654bde78562SAriel Constenla-Haile                </tr>
655bde78562SAriel Constenla-Haile                <tr>
656bde78562SAriel Constenla-Haile                    <td>FolderCount</td>
657bde78562SAriel Constenla-Haile                    <td>long</td>
658bde78562SAriel Constenla-Haile                    <td>contains the count of subfolders of a folder.</td>
659bde78562SAriel Constenla-Haile                </tr>
660bde78562SAriel Constenla-Haile                <tr>
661bde78562SAriel Constenla-Haile                    <td>FreeSpace</td>
662bde78562SAriel Constenla-Haile                    <td>hyper</td>
663bde78562SAriel Constenla-Haile                    <td>contains the free space left on a storage device. It is
664bde78562SAriel Constenla-Haile                        specified in bytes.</td>
665bde78562SAriel Constenla-Haile                </tr>
666bde78562SAriel Constenla-Haile                <tr>
667bde78562SAriel Constenla-Haile                    <td>HasDocuments</td>
668bde78562SAriel Constenla-Haile                    <td>boolean</td>
669bde78562SAriel Constenla-Haile                    <td>indicates whether a content has subcontents, which are documents.</td>
670bde78562SAriel Constenla-Haile                </tr>
671bde78562SAriel Constenla-Haile                <tr>
672bde78562SAriel Constenla-Haile                    <td>HasFolders</td>
673bde78562SAriel Constenla-Haile                    <td>boolean</td>
674bde78562SAriel Constenla-Haile                    <td>indicates whether a content has subcontents, which are folders.</td>
675bde78562SAriel Constenla-Haile                </tr>
676bde78562SAriel Constenla-Haile                <tr>
677bde78562SAriel Constenla-Haile                    <td>IsMarked</td>
678bde78562SAriel Constenla-Haile                    <td>boolean</td>
679bde78562SAriel Constenla-Haile                    <td>indicates whether a content is &quot;marked&quot;.</td>
680bde78562SAriel Constenla-Haile                </tr>
681bde78562SAriel Constenla-Haile                <tr>
682bde78562SAriel Constenla-Haile                    <td>IsRead</td>
683bde78562SAriel Constenla-Haile                    <td>boolean</td>
684bde78562SAriel Constenla-Haile                    <td>indicates whether a content has been "read".</td>
685bde78562SAriel Constenla-Haile                </tr>
686bde78562SAriel Constenla-Haile                <tr>
687bde78562SAriel Constenla-Haile                    <td>IsReadOnly</td>
688bde78562SAriel Constenla-Haile                    <td>boolean</td>
689bde78562SAriel Constenla-Haile                    <td>indicates whether a content is read-only.</td>
690bde78562SAriel Constenla-Haile                </tr>
691bde78562SAriel Constenla-Haile                <tr>
692bde78562SAriel Constenla-Haile                    <td>IsSubscribed</td>
693bde78562SAriel Constenla-Haile                    <td>boolean</td>
694bde78562SAriel Constenla-Haile                    <td>indicates whether a content is subscribed.</td>
695bde78562SAriel Constenla-Haile                </tr>
696bde78562SAriel Constenla-Haile                <tr>
697bde78562SAriel Constenla-Haile                    <td>IsTimeLimitedStore</td>
698bde78562SAriel Constenla-Haile                    <td>boolean</td>
699bde78562SAriel Constenla-Haile                    <td>indicates whether the feature to store contents
700bde78562SAriel Constenla-Haile                        depending on their age is active.</td>
701bde78562SAriel Constenla-Haile                </tr>
702bde78562SAriel Constenla-Haile                <tr>
703bde78562SAriel Constenla-Haile                    <td>UpdateOnOpen</td>
704bde78562SAriel Constenla-Haile                    <td>boolean</td>
705bde78562SAriel Constenla-Haile                    <td>indicates whether (sub)contents shall be automatically updated
706bde78562SAriel Constenla-Haile                        everytime a (folder) content is opened.</br>This property may be
707bde78562SAriel Constenla-Haile                        used to control whether a folder content should read data only
708bde78562SAriel Constenla-Haile                        from local cache when it is opened, or whether it should connect
709bde78562SAriel Constenla-Haile                        to a server to obtain latest data.</td>
710bde78562SAriel Constenla-Haile                </tr>
711bde78562SAriel Constenla-Haile                <tr>
712bde78562SAriel Constenla-Haile                    <td>Keywords</td>
713bde78562SAriel Constenla-Haile                    <td>string</td>
714bde78562SAriel Constenla-Haile                    <td>contains the keywords of a document (e.g. the value
715bde78562SAriel Constenla-Haile                        of the &quot;keywords&quot; header field of a news article).</td>
716bde78562SAriel Constenla-Haile                </tr>
717bde78562SAriel Constenla-Haile                <tr>
718bde78562SAriel Constenla-Haile                    <td>MediaType</td>
719bde78562SAriel Constenla-Haile                    <td>string</td>
720bde78562SAriel Constenla-Haile                    <td>contains the media type ( MIME type ) of a content. It is highly
721bde78562SAriel Constenla-Haile                        recommended to support this property if the content's implementation
722bde78562SAriel Constenla-Haile                        can obtain the media type natively from its data source ( i.e.
723bde78562SAriel Constenla-Haile                        HTTP servers provide media types for all their documents ).
724bde78562SAriel Constenla-Haile                    </td>
725bde78562SAriel Constenla-Haile                </tr>
726bde78562SAriel Constenla-Haile                <tr>
727bde78562SAriel Constenla-Haile                    <td>MessageBCC</td>
728bde78562SAriel Constenla-Haile                    <td>string</td>
729bde78562SAriel Constenla-Haile                    <td>contains the BCC (blind carbon copy) receiver(s) of a message.</td>
730bde78562SAriel Constenla-Haile                </tr>
731bde78562SAriel Constenla-Haile                <tr>
732bde78562SAriel Constenla-Haile                    <td>MessageCC</td>
733bde78562SAriel Constenla-Haile                    <td>string</td>
734bde78562SAriel Constenla-Haile                    <td>contains the CC (carbon copy) receiver(s) of a message.</td>
735bde78562SAriel Constenla-Haile                </tr>
736bde78562SAriel Constenla-Haile                <tr>
737bde78562SAriel Constenla-Haile                    <td>MessageFrom</td>
738bde78562SAriel Constenla-Haile                    <td>string</td>
739bde78562SAriel Constenla-Haile                    <td>contains (the address of) the sender of a message.</td>
740bde78562SAriel Constenla-Haile                </tr>
741bde78562SAriel Constenla-Haile                <tr>
742bde78562SAriel Constenla-Haile                    <td>MessageId</td>
743bde78562SAriel Constenla-Haile                    <td>string</td>
744bde78562SAriel Constenla-Haile                    <td>contains the ID of a message.</td>
745bde78562SAriel Constenla-Haile                </tr>
746bde78562SAriel Constenla-Haile                <tr>
747bde78562SAriel Constenla-Haile                    <td>MessageInReplyTo</td>
748bde78562SAriel Constenla-Haile                    <td>string</td>
749bde78562SAriel Constenla-Haile                    <td>contains the &quot;In-Reply-To&quot; field of a message.</td>
750bde78562SAriel Constenla-Haile                </tr>
751bde78562SAriel Constenla-Haile                <tr>
752bde78562SAriel Constenla-Haile                    <td>MessageReplyTo</td>
753bde78562SAriel Constenla-Haile                    <td>string</td>
754bde78562SAriel Constenla-Haile                    <td>contains the &quot;Reply-To&quot; field of a message.</td>
755bde78562SAriel Constenla-Haile                </tr>
756bde78562SAriel Constenla-Haile                <tr>
757bde78562SAriel Constenla-Haile                    <td>MessageTo</td>
758bde78562SAriel Constenla-Haile                    <td>string</td>
759bde78562SAriel Constenla-Haile                    <td>contains the recipient(s) of a message.</td>
760bde78562SAriel Constenla-Haile                </tr>
761bde78562SAriel Constenla-Haile                <tr>
762bde78562SAriel Constenla-Haile                    <td>NewsGroups</td>
763bde78562SAriel Constenla-Haile                    <td>string</td>
764bde78562SAriel Constenla-Haile                    <td>contains the name(s) of the newsgroup(s) into which a message was posted.</td>
765bde78562SAriel Constenla-Haile                </tr>
766bde78562SAriel Constenla-Haile                <tr>
767bde78562SAriel Constenla-Haile                    <td>Password</td>
768bde78562SAriel Constenla-Haile                    <td>string</td>
769bde78562SAriel Constenla-Haile                    <td>contains a password (e.g. needed to access a POP3-Server).</td>
770bde78562SAriel Constenla-Haile                </tr>
771bde78562SAriel Constenla-Haile                <tr>
772bde78562SAriel Constenla-Haile                    <td>Priority</td>
773bde78562SAriel Constenla-Haile                    <td><type>Priority</type></td>
774bde78562SAriel Constenla-Haile                    <td>contains a priority (i.e. of a message).</td>
775bde78562SAriel Constenla-Haile                </tr>
776bde78562SAriel Constenla-Haile                <tr>
777bde78562SAriel Constenla-Haile                    <td>References</td>
778bde78562SAriel Constenla-Haile                    <td>string</td>
779bde78562SAriel Constenla-Haile                    <td>contains the &quot;References&quot; field of a news article.</td>
780bde78562SAriel Constenla-Haile                </tr>
781bde78562SAriel Constenla-Haile                <tr>
782bde78562SAriel Constenla-Haile                    <td>Rules</td>
783bde78562SAriel Constenla-Haile                    <td><type>RuleSet</type></td>
784bde78562SAriel Constenla-Haile                    <td>contains the rules set for a content.</td>
785bde78562SAriel Constenla-Haile                </tr>
786bde78562SAriel Constenla-Haile                <tr>
787bde78562SAriel Constenla-Haile                    <td>SeenCount</td>
788bde78562SAriel Constenla-Haile                    <td>long</td>
789bde78562SAriel Constenla-Haile                    <td>contains the count of seen/read subcontents of a folder content.</td>
790bde78562SAriel Constenla-Haile                </tr>
791bde78562SAriel Constenla-Haile                <tr>
792bde78562SAriel Constenla-Haile                    <td>ServerBase</td>
793bde78562SAriel Constenla-Haile                    <td>string</td>
794bde78562SAriel Constenla-Haile                    <td>contains the base directory to use on a server. (e.g. Setting
795bde78562SAriel Constenla-Haile                        the server base of an FTP-Account to &quot;/pub/incoming&quot;
796bde78562SAriel Constenla-Haile                        will result in showing contents from that directory and not from
797bde78562SAriel Constenla-Haile                        server's root directory)
798bde78562SAriel Constenla-Haile                    </td>
799bde78562SAriel Constenla-Haile                </tr>
800bde78562SAriel Constenla-Haile                <tr>
801bde78562SAriel Constenla-Haile                    <td>ServerName</td>
802bde78562SAriel Constenla-Haile                    <td>string</td>
803bde78562SAriel Constenla-Haile                    <td>contains a server name (e.g. The name of the server to use for
804bde78562SAriel Constenla-Haile                        a POP3-Account).
805bde78562SAriel Constenla-Haile                    </td>
806bde78562SAriel Constenla-Haile                </tr>
807bde78562SAriel Constenla-Haile                <tr>
808bde78562SAriel Constenla-Haile                    <td>ServerPort</td>
809bde78562SAriel Constenla-Haile                    <td>short</td>
810bde78562SAriel Constenla-Haile                    <td>contains a numeric server port.</td>
811bde78562SAriel Constenla-Haile                </tr>
812bde78562SAriel Constenla-Haile                <tr>
813bde78562SAriel Constenla-Haile                    <td>Size</td>
814bde78562SAriel Constenla-Haile                    <td>hyper</td>
815bde78562SAriel Constenla-Haile                    <td>contains the size (usually in bytes) of an object.</td>
816bde78562SAriel Constenla-Haile                </tr>
817bde78562SAriel Constenla-Haile                <tr>
818bde78562SAriel Constenla-Haile                    <td>SizeLimit</td>
819bde78562SAriel Constenla-Haile                    <td>hyper</td>
820bde78562SAriel Constenla-Haile                    <td>contains a size limit for an object. (e.g. One may specify the
821bde78562SAriel Constenla-Haile                        maximum size of the HTTP-Cache)
822bde78562SAriel Constenla-Haile                    </td>
823bde78562SAriel Constenla-Haile                </tr>
824bde78562SAriel Constenla-Haile                <tr>
825bde78562SAriel Constenla-Haile                    <td>SubscribedCount</td>
826bde78562SAriel Constenla-Haile                    <td>long</td>
827bde78562SAriel Constenla-Haile                    <td>contains the count of subscribed contents of a folder.</td>
828bde78562SAriel Constenla-Haile                </tr>
829bde78562SAriel Constenla-Haile                <tr>
830bde78562SAriel Constenla-Haile                    <td>SynchronizePolicy</td>
831bde78562SAriel Constenla-Haile                    <td><type>SynchronizePolicy</type></td>
832bde78562SAriel Constenla-Haile                    <td>contains the policy to use when synchronizing two objects.</td>
833bde78562SAriel Constenla-Haile                </tr>
834bde78562SAriel Constenla-Haile                <tr>
835bde78562SAriel Constenla-Haile                    <td>TargetFrames</td>
836bde78562SAriel Constenla-Haile                    <td>string</td>
837bde78562SAriel Constenla-Haile                    <td>contains information about the target frame to use when displaying
838bde78562SAriel Constenla-Haile                        an object.
839bde78562SAriel Constenla-Haile                        <p>The value is a string containing three tokens, separated by &quot;;&quot;
840bde78562SAriel Constenla-Haile                        (A semicolon):<br/>
841bde78562SAriel Constenla-Haile                            <dl>
842bde78562SAriel Constenla-Haile                                <dt>1st token</dt>
843bde78562SAriel Constenla-Haile                                    <dd>Behavior on &quot;select&quot; ( single click )</dd>
844bde78562SAriel Constenla-Haile                                <dt>2nd token</dt>
845bde78562SAriel Constenla-Haile                                    <dd>Behavior on &quot;open&quot;   ( double click )</dd>
846bde78562SAriel Constenla-Haile                                <dt>3rd token</dt>
847bde78562SAriel Constenla-Haile                                    <dd>Behavior on &quot;open in new task&quot; ( double click + CTRL key )</dd>
848bde78562SAriel Constenla-Haile                            </dl>
849bde78562SAriel Constenla-Haile                         </p>
850bde78562SAriel Constenla-Haile                        <p> Each token may contain the following values:<br/>
851bde78562SAriel Constenla-Haile                            <dl>
852bde78562SAriel Constenla-Haile                            <dt>&quot;_beamer&quot;</dt>
853bde78562SAriel Constenla-Haile                                <dd>Show in &quot;Beamer&quot;</dd>
854bde78562SAriel Constenla-Haile                            <dt>&quot;_top&quot;</dt>
855bde78562SAriel Constenla-Haile                                <dd>Show in current frame (replaces old)</dd>
856bde78562SAriel Constenla-Haile                            <dt>&quot;_blank&quot;</dt>
857bde78562SAriel Constenla-Haile                                <dd>Show in new task</dd>
858bde78562SAriel Constenla-Haile                            </dl>
859bde78562SAriel Constenla-Haile                        </p>
860bde78562SAriel Constenla-Haile                    </td>
861bde78562SAriel Constenla-Haile                </tr>
862bde78562SAriel Constenla-Haile                <tr>
863bde78562SAriel Constenla-Haile                    <td>TargetURL</td>
864bde78562SAriel Constenla-Haile                    <td>string</td>
865bde78562SAriel Constenla-Haile                    <td>for contents that are links to other contents, contains the URL of
866*06594b87SAriel Constenla-Haile                        the target content</td>
867bde78562SAriel Constenla-Haile                </tr>
868bde78562SAriel Constenla-Haile                <tr>
869bde78562SAriel Constenla-Haile                    <td>TimeLimitStore</td>
870bde78562SAriel Constenla-Haile                    <td>short</td>
871bde78562SAriel Constenla-Haile                    <td>contains the value to use if the property "IsTimeLimitedStore" is set.</td>
872bde78562SAriel Constenla-Haile                </tr>
873bde78562SAriel Constenla-Haile                <tr>
874bde78562SAriel Constenla-Haile                    <td>UserName</td>
875bde78562SAriel Constenla-Haile                    <td>string</td>
876bde78562SAriel Constenla-Haile                    <td>contains a user name. (e.g. the user name needed to access a
877*06594b87SAriel Constenla-Haile                        POP3-Account)</td>
878bde78562SAriel Constenla-Haile                </tr>
879bde78562SAriel Constenla-Haile                <tr>
880bde78562SAriel Constenla-Haile                    <td>VerificationMode</td>
881bde78562SAriel Constenla-Haile                    <td><type>VerificationMode</type> </td>
882bde78562SAriel Constenla-Haile                    <td>describes a verification policy.</td>
883bde78562SAriel Constenla-Haile                </tr>
884bde78562SAriel Constenla-Haile            </tbody>
885bde78562SAriel Constenla-Haile        </table>
886cdf0e10cSrcweir     */
887cdf0e10cSrcweir    interface com::sun::star::ucb::XCommandProcessor;
888cdf0e10cSrcweir
889bde78562SAriel Constenla-Haile
890cdf0e10cSrcweir    /** is an enhanced version of <type>XCommandProcessor</type> that has an
891cdf0e10cSrcweir        additional method for releasing command identifiers obtained via
892cdf0e10cSrcweir        <member>XCommandProcessor::createCommandIdentifier</member> to avoid
893cdf0e10cSrcweir        resource leaks. For a detailed description of the problem refer to
894cdf0e10cSrcweir        <member>XCommandProcessor2::releaseCommandIdentifier</member>.
895cdf0e10cSrcweir
896cdf0e10cSrcweir        <p>Where many existing <type>Content</type> implementations do not
897cdf0e10cSrcweir        (yet), every new implementation should support this interface.
898cdf0e10cSrcweir     */
899cdf0e10cSrcweir    [optional] interface com::sun::star::ucb::XCommandProcessor2;
900cdf0e10cSrcweir
901bde78562SAriel Constenla-Haile
902cdf0e10cSrcweir    /** notifies changes of property values to listeners registered for
903cdf0e10cSrcweir        those properties.
904cdf0e10cSrcweir
905cdf0e10cSrcweir        <p>This interface is required.
906cdf0e10cSrcweir     */
907cdf0e10cSrcweir    interface com::sun::star::beans::XPropertiesChangeNotifier;
908cdf0e10cSrcweir
909bde78562SAriel Constenla-Haile
910cdf0e10cSrcweir    /** can be used to add new properties to the content and to remove
911cdf0e10cSrcweir        properties from the content dynamically.
912cdf0e10cSrcweir
913cdf0e10cSrcweir        <p>Note that the dynamic properties must be kept persistent. The
914cdf0e10cSrcweir        service <type>Store</type> (UCB persistence service) may be used to
915cdf0e10cSrcweir        implement this.
916cdf0e10cSrcweir
917cdf0e10cSrcweir        <p><b>Important:</b> The implementation of
918cdf0e10cSrcweir        <method scope="com::sun::star::beans">XPropertyContainer::addProperty</method>
919cdf0e10cSrcweir        must at least support adding properties of the following basic data
920cdf0e10cSrcweir        types:
921cdf0e10cSrcweir
922cdf0e10cSrcweir        <p>
923bde78562SAriel Constenla-Haile            <ul>
924bde78562SAriel Constenla-Haile                <li>boolean
925bde78562SAriel Constenla-Haile                <li>char
926bde78562SAriel Constenla-Haile                <li>byte
927bde78562SAriel Constenla-Haile                <li>string
928bde78562SAriel Constenla-Haile                <li>short
929bde78562SAriel Constenla-Haile                <li>long
930bde78562SAriel Constenla-Haile                <li>hyper
931bde78562SAriel Constenla-Haile                <li>float
932bde78562SAriel Constenla-Haile                <li>double
933bde78562SAriel Constenla-Haile            </ul>
934bde78562SAriel Constenla-Haile        </p>
935cdf0e10cSrcweir
936cdf0e10cSrcweir        <p>If a property with an unsupported type shall be added a
937cdf0e10cSrcweir        <type scope="com::sun::star::beans">IllegalTypeException</type> must
938cdf0e10cSrcweir        be raised.
939bde78562SAriel Constenla-Haile
940bde78562SAriel Constenla-Haile        @deprecated
941bde78562SAriel Constenla-Haile            <p>This interface is <b>deprecated</b>, because a
942bde78562SAriel Constenla-Haile            <type>ContentProvider</type> might need a
943bde78562SAriel Constenla-Haile            <type>XCommandEnvironment</type> to perform the tasks of adding and
944bde78562SAriel Constenla-Haile            removing properties. New implementations should implement the
945bde78562SAriel Constenla-Haile            respective commands "addProperty" and "removeProperty" instead.
946cdf0e10cSrcweir     */
947cdf0e10cSrcweir    interface com::sun::star::beans::XPropertyContainer;
948cdf0e10cSrcweir
949bde78562SAriel Constenla-Haile
950cdf0e10cSrcweir    /** can be used to notify properties removed from or added to the
951cdf0e10cSrcweir        content's property set.
952cdf0e10cSrcweir
953cdf0e10cSrcweir        <p>This interface must be implemented, if the implementation can
954cdf0e10cSrcweir        dynamically change it's property set ( e.g. because it implements
955cdf0e10cSrcweir        the interface
956cdf0e10cSrcweir        <type scope="com::sun::star::beans">XPropertyContainer</type>. )
957cdf0e10cSrcweir     */
958cdf0e10cSrcweir    [optional] interface com::sun::star::beans::XPropertySetInfoChangeNotifier;
959cdf0e10cSrcweir
960bde78562SAriel Constenla-Haile
961cdf0e10cSrcweir    /** can be used to notify commands removed from or added to the
962cdf0e10cSrcweir        content's command set.
963cdf0e10cSrcweir
964cdf0e10cSrcweir        <p>This interface must be implemented, if the implementation can
965cdf0e10cSrcweir        dynamically change it's command set ( e.g. because the set of
966cdf0e10cSrcweir        available commands depends on the value of a property of the
967cdf0e10cSrcweir        content ).
968cdf0e10cSrcweir
969cdf0e10cSrcweir        <p>This interface is optional.
970cdf0e10cSrcweir     */
971cdf0e10cSrcweir    [optional] interface com::sun::star::ucb::XCommandInfoChangeNotifier;
972cdf0e10cSrcweir
973bde78562SAriel Constenla-Haile
974cdf0e10cSrcweir    /** creates new contents (i.e. creates a new folder in another folder
975cdf0e10cSrcweir        somewhere in the local file system).
976cdf0e10cSrcweir
977cdf0e10cSrcweir        <p>A content is "new", if it does not physically exist before creating
978cdf0e10cSrcweir        it using this interface.
979cdf0e10cSrcweir
980cdf0e10cSrcweir        <p>This interface is optional. It should be implemented by contents
981cdf0e10cSrcweir        which shall be able to create new objects.
982cdf0e10cSrcweir
983cdf0e10cSrcweir        @deprecated
984cdf0e10cSrcweir
985cdf0e10cSrcweir        <p>This interface is <b>deprecated</b>. Use property
986cdf0e10cSrcweir        "CreatableContentsInfo" and command "createNewContent" instead.
987cdf0e10cSrcweir     */
988cdf0e10cSrcweir    [optional] interface com::sun::star::ucb::XContentCreator;
989cdf0e10cSrcweir
990bde78562SAriel Constenla-Haile
991cdf0e10cSrcweir    /** provides access to the parent content of this content.
992cdf0e10cSrcweir
993cdf0e10cSrcweir        <p>The object returned by the implementation of the method
994cdf0e10cSrcweir        <member scope="com::sun::star::container">XChild::getParent()</member>
995cdf0e10cSrcweir        must implement the service <type>Content</type>. If the content is a
996cdf0e10cSrcweir        root object, an empty interface may be returned.
997cdf0e10cSrcweir
998cdf0e10cSrcweir        <p>This interface must be implemented by a content which is a (logical)
999cdf0e10cSrcweir        child of a content.
1000cdf0e10cSrcweir     */
1001cdf0e10cSrcweir    [optional] interface com::sun::star::container::XChild;
1002cdf0e10cSrcweir};
1003cdf0e10cSrcweir
1004cdf0e10cSrcweir}; }; }; };
1005cdf0e10cSrcweir
1006cdf0e10cSrcweir#endif
1007