1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef __com_sun_star_text_InContentMetadata_idl__
25#define __com_sun_star_text_InContentMetadata_idl__
26
27#ifndef __com_sun_star_container_XEnumerationAccess_idl__
28#include <com/sun/star/container/XEnumerationAccess.idl>
29#endif
30
31#ifndef __com_sun_star_container_XChild_idl__
32#include <com/sun/star/container/XChild.idl>
33#endif
34
35#ifndef __com_sun_star_text_TextContent_idl__
36#include <com/sun/star/text/TextContent.idl>
37#endif
38
39#ifndef __com_sun_star_rdf_XMetadatable_idl__
40#include <com/sun/star/rdf/XMetadatable.idl>
41#endif
42
43
44//=============================================================================
45
46module com {  module sun {  module star {  module text {
47
48//=============================================================================
49
50/** is a <type>TextContent</type> that can be used to attach RDF metadata
51    to a range of text.
52
53    @since OpenOffice 3.2
54 */
55service InContentMetadata
56{
57    //-------------------------------------------------------------------------
58    /** None of the properties of <type>TextContent</type> are
59        supported. */
60    service com::sun::star::text::TextContent;
61
62    //-------------------------------------------------------------------------
63    /** The <type>InContentMetadata</type> can have RDF metadata attached. */
64    interface com::sun::star::rdf::XMetadatable;
65
66    //-------------------------------------------------------------------------
67    /** The <type>TextContent</type>s that are contained in the
68        annotated range of text can be enumerated. */
69    interface com::sun::star::container::XEnumerationAccess;
70
71    //-------------------------------------------------------------------------
72    /** The <type>TextContent</type> that is the parent of this text range.
73        @since OpenOffice 3.3
74     */
75    interface com::sun::star::container::XChild;
76
77};
78
79
80//=============================================================================
81
82}; }; }; };
83
84#endif
85