xref: /aoo4110/main/offapi/com/sun/star/text/TextRange.idl (revision b1cdbd2c)
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#ifndef __com_sun_star_text_TextRange_idl__
24#define __com_sun_star_text_TextRange_idl__
25
26#ifndef __com_sun_star_text_XTextRange_idl__
27#include <com/sun/star/text/XTextRange.idl>
28#endif
29
30#ifndef __com_sun_star_beans_XPropertySet_idl__
31#include <com/sun/star/beans/XPropertySet.idl>
32#endif
33
34#ifndef __com_sun_star_beans_XPropertyState_idl__
35#include <com/sun/star/beans/XPropertyState.idl>
36#endif
37
38#ifndef __com_sun_star_style_CharacterProperties_idl__
39#include <com/sun/star/style/CharacterProperties.idl>
40#endif
41
42#ifndef __com_sun_star_style_ParagraphProperties_idl__
43#include <com/sun/star/style/ParagraphProperties.idl>
44#endif
45#ifndef __com_sun_star_style_ParagraphPropertiesAsian_idl__
46#include <com/sun/star/style/ParagraphPropertiesAsian.idl>
47#endif
48#ifndef __com_sun_star_style_ParagraphPropertiesComplex_idl__
49#include <com/sun/star/style/ParagraphPropertiesComplex.idl>
50#endif
51#ifndef __com_sun_star_style_CharacterPropertiesAsian_idl__
52#include <com/sun/star/style/CharacterPropertiesAsian.idl>
53#endif
54#ifndef __com_sun_star_style_CharacterPropertiesComplex_idl__
55#include <com/sun/star/style/CharacterPropertiesComplex.idl>
56#endif
57#ifndef __com_sun_star_container_XContentEnumerationAccess_idl__
58#include <com/sun/star/container/XContentEnumerationAccess.idl>
59#endif
60
61//=============================================================================
62
63module com {  module sun {  module star {  module text {
64
65//=============================================================================
66
67/** points to a sequence of characters within a <type>Text</type>.
68
69	<p>The service provides access to the string content and the properties
70	of this range of text and the <type>TextContent</type> instances which
71	are bound to this text range.  </p>
72
73	<p>A <type>TextRange</type> is also used for a <i>text portion</i> which is
74	returned by the <type scope="com::sun::star::container">XEnumeration</type>
75	for a single paragraph. Because this is the mechanism to use to export
76	data, all formatting attributes and contents bound to this range have
77	to be available from implementations of this service. </p>
78
79	@see Text
80 */
81published service TextRange
82{
83	interface com::sun::star::text::XTextRange;
84
85	interface com::sun::star::beans::XPropertySet;
86
87	interface com::sun::star::beans::XPropertyState;
88
89	[optional] interface com::sun::star::container::XContentEnumerationAccess;
90
91	service com::sun::star::style::CharacterProperties;
92
93    [optional] service com::sun::star::style::CharacterPropertiesAsian;
94
95    [optional] service com::sun::star::style::CharacterPropertiesComplex;
96
97	service com::sun::star::style::ParagraphProperties;
98
99    [optional] service com::sun::star::style::ParagraphPropertiesAsian;
100
101    [optional] service com::sun::star::style::ParagraphPropertiesComplex;
102};
103
104//=============================================================================
105
106}; }; }; };
107
108#endif
109