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