1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: TextRange.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_text_TextRange_idl__
31 #define __com_sun_star_text_TextRange_idl__
33 #ifndef __com_sun_star_text_XTextRange_idl__
34 #include
<com
/sun
/star
/text
/XTextRange.idl
>
37 #ifndef __com_sun_star_beans_XPropertySet_idl__
38 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
41 #ifndef __com_sun_star_beans_XPropertyState_idl__
42 #include
<com
/sun
/star
/beans
/XPropertyState.idl
>
45 #ifndef __com_sun_star_style_CharacterProperties_idl__
46 #include
<com
/sun
/star
/style
/CharacterProperties.idl
>
49 #ifndef __com_sun_star_style_ParagraphProperties_idl__
50 #include
<com
/sun
/star
/style
/ParagraphProperties.idl
>
52 #ifndef __com_sun_star_style_ParagraphPropertiesAsian_idl__
53 #include
<com
/sun
/star
/style
/ParagraphPropertiesAsian.idl
>
55 #ifndef __com_sun_star_style_ParagraphPropertiesComplex_idl__
56 #include
<com
/sun
/star
/style
/ParagraphPropertiesComplex.idl
>
58 #ifndef __com_sun_star_style_CharacterPropertiesAsian_idl__
59 #include
<com
/sun
/star
/style
/CharacterPropertiesAsian.idl
>
61 #ifndef __com_sun_star_style_CharacterPropertiesComplex_idl__
62 #include
<com
/sun
/star
/style
/CharacterPropertiesComplex.idl
>
64 #ifndef __com_sun_star_container_XContentEnumerationAccess_idl__
65 #include
<com
/sun
/star
/container
/XContentEnumerationAccess.idl
>
68 //=============================================================================
70 module com
{ module sun
{ module star
{ module text
{
72 //=============================================================================
74 /** points to a sequence of characters within a <type>Text</type>.
76 <p>The service provides access to the string content and the properties
77 of this range of text and the <type>TextContent</type> instances which
78 are bound to this text range. </p>
80 <p>A <type>TextRange</type> is also used for a <i>text portion</i> which is
81 returned by the <type scope="com::sun::star::container">XEnumeration</type>
82 for a single paragraph. Because this is the mechanism to use to export
83 data, all formatting attributes and contents bound to this range have
84 to be available from implementations of this service. </p>
88 published service TextRange
90 interface com
::sun
::star
::text
::XTextRange
;
92 interface com
::sun
::star
::beans
::XPropertySet
;
94 interface com
::sun
::star
::beans
::XPropertyState
;
96 [optional] interface com
::sun
::star
::container
::XContentEnumerationAccess
;
98 service com
::sun
::star
::style
::CharacterProperties
;
100 [optional] service com
::sun
::star
::style
::CharacterPropertiesAsian
;
102 [optional] service com
::sun
::star
::style
::CharacterPropertiesComplex
;
104 service com
::sun
::star
::style
::ParagraphProperties
;
106 [optional] service com
::sun
::star
::style
::ParagraphPropertiesAsian
;
108 [optional] service com
::sun
::star
::style
::ParagraphPropertiesComplex
;
111 //=============================================================================