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: Paragraph.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_Paragraph_idl__
31 #define __com_sun_star_text_Paragraph_idl__
33 #ifndef __com_sun_star_style_ParagraphProperties_idl__
34 #include
<com
/sun
/star
/style
/ParagraphProperties.idl
>
36 #ifndef __com_sun_star_style_ParagraphPropertiesAsian_idl__
37 #include
<com
/sun
/star
/style
/ParagraphPropertiesAsian.idl
>
39 #ifndef __com_sun_star_style_ParagraphPropertiesComplex_idl__
40 #include
<com
/sun
/star
/style
/ParagraphPropertiesComplex.idl
>
43 #ifndef __com_sun_star_style_CharacterProperties_idl__
44 #include
<com
/sun
/star
/style
/CharacterProperties.idl
>
46 #ifndef __com_sun_star_style_CharacterPropertiesAsian_idl__
47 #include
<com
/sun
/star
/style
/CharacterPropertiesAsian.idl
>
49 #ifndef __com_sun_star_style_CharacterPropertiesComplex_idl__
50 #include
<com
/sun
/star
/style
/CharacterPropertiesComplex.idl
>
53 #ifndef __com_sun_star_text_TextContent_idl__
54 #include
<com
/sun
/star
/text
/TextContent.idl
>
57 #ifndef __com_sun_star_beans_XPropertySet_idl__
58 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
61 #ifndef __com_sun_star_beans_XTolerantMultiPropertySet_idl__
62 #include
<com
/sun
/star
/beans
/XTolerantMultiPropertySet.idl
>
65 #ifndef __com_sun_star_beans_XPropertyState_idl__
66 #include
<com
/sun
/star
/beans
/XPropertyState.idl
>
69 #ifndef __com_sun_star_container_XEnumerationAccess_idl__
70 #include
<com
/sun
/star
/container
/XEnumerationAccess.idl
>
73 #ifndef __com_sun_star_text_TextTable_idl__
74 #include
<com
/sun
/star
/text
/TextTable.idl
>
78 //=============================================================================
80 module com
{ module sun
{ module star
{ module text
{
82 //=============================================================================
84 // DocMerge from xml: service com::sun::star::text::Paragraph
85 /** is a piece of text which can take its own paragraph-specific
86 attributes (technically, properties).
88 published service Paragraph
90 /** This service is present when the paragraph object refers
92 [optional] service com
::sun
::star
::style
::ParagraphProperties
;
93 /** This service is present when the paragraph object refers
95 [optional] service com
::sun
::star
::style
::ParagraphPropertiesAsian
;
96 /** This service is present when the paragraph object refers
98 [optional] service com
::sun
::star
::style
::ParagraphPropertiesComplex
;
99 /** This service is present when the paragraph object refers
101 [optional] service com
::sun
::star
::style
::CharacterProperties
;
102 /** This service is present when the paragraph object refers
104 [optional] service com
::sun
::star
::style
::CharacterPropertiesAsian
;
105 /** This service is present when the paragraph object refers
107 [optional] service com
::sun
::star
::style
::CharacterPropertiesComplex
;
108 /** This service is present when the paragraph object refers
110 [optional] service com
::sun
::star
::text
::TextTable
;
112 // DocMerge: empty anyway
113 service com
::sun
::star
::text
::TextContent
;
116 // DocMerge from xml: service com::sun::star::text::Paragraph: interface com::sun::star::beans::XPropertySet
117 /** This interface gives access to the properties of the paragraph
118 itself (or its style sheet). So this interface may show
119 property values which are not valid for any of the
120 text portions of the paragraph, if the text itself has its
121 own style properties set.
123 interface com
::sun
::star
::beans
::XPropertySet
;
126 // DocMerge from xml: service com::sun::star::text::Paragraph: interface com::sun::star::beans::XPropertyState
127 /** This interface gives access to the state of the property values
128 in these properties. So, it is possible to determine if a specific
129 properties value is defined in the paragraph or its style sheet.
131 interface com
::sun
::star
::beans
::XPropertyState
;
134 // DocMerge from xml: service com::sun::star::text::Paragraph: interface com::sun::star::container::XEnumerationAccess
135 /** This interface enumerates the text portions of this paragraph.
137 <p>A text portion is defined as the largest possible <type>TextRange</type>
138 within a paragraph with the same property values and the same bound objects.
140 <p>In general this interface is used for exporting into file
143 @see com::sun::star::text::TextRange@see com::sun::star::text::TextRange
145 interface com
::sun
::star
::container
::XEnumerationAccess
;
147 /** gives access to a sequence of properties.
150 [optional] interface ::com
::sun
::star
::beans
::XTolerantMultiPropertySet
;
153 //=============================================================================