xref: /aoo42x/main/offapi/com/sun/star/text/Paragraph.idl (revision 2a413f17)
1d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5d1766043SAndrew Rist * distributed with this work for additional information
6d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10d1766043SAndrew Rist *
11d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12d1766043SAndrew Rist *
13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14d1766043SAndrew Rist * software distributed under the License is distributed on an
15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17d1766043SAndrew Rist * specific language governing permissions and limitations
18d1766043SAndrew Rist * under the License.
19d1766043SAndrew Rist *
20d1766043SAndrew Rist *************************************************************/
21d1766043SAndrew Rist
22d1766043SAndrew Rist
23cdf0e10cSrcweir#ifndef __com_sun_star_text_Paragraph_idl__
24cdf0e10cSrcweir#define __com_sun_star_text_Paragraph_idl__
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef __com_sun_star_style_ParagraphProperties_idl__
27cdf0e10cSrcweir#include <com/sun/star/style/ParagraphProperties.idl>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir#ifndef __com_sun_star_style_ParagraphPropertiesAsian_idl__
30cdf0e10cSrcweir#include <com/sun/star/style/ParagraphPropertiesAsian.idl>
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweir#ifndef __com_sun_star_style_ParagraphPropertiesComplex_idl__
33cdf0e10cSrcweir#include <com/sun/star/style/ParagraphPropertiesComplex.idl>
34cdf0e10cSrcweir#endif
35cdf0e10cSrcweir
36cdf0e10cSrcweir#ifndef __com_sun_star_style_CharacterProperties_idl__
37cdf0e10cSrcweir#include <com/sun/star/style/CharacterProperties.idl>
38cdf0e10cSrcweir#endif
39cdf0e10cSrcweir#ifndef __com_sun_star_style_CharacterPropertiesAsian_idl__
40cdf0e10cSrcweir#include <com/sun/star/style/CharacterPropertiesAsian.idl>
41cdf0e10cSrcweir#endif
42cdf0e10cSrcweir#ifndef __com_sun_star_style_CharacterPropertiesComplex_idl__
43cdf0e10cSrcweir#include <com/sun/star/style/CharacterPropertiesComplex.idl>
44cdf0e10cSrcweir#endif
45cdf0e10cSrcweir
46cdf0e10cSrcweir#ifndef __com_sun_star_text_TextContent_idl__
47cdf0e10cSrcweir#include <com/sun/star/text/TextContent.idl>
48cdf0e10cSrcweir#endif
49cdf0e10cSrcweir
50cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertySet_idl__
51cdf0e10cSrcweir#include <com/sun/star/beans/XPropertySet.idl>
52cdf0e10cSrcweir#endif
53cdf0e10cSrcweir
54cdf0e10cSrcweir#ifndef __com_sun_star_beans_XTolerantMultiPropertySet_idl__
55cdf0e10cSrcweir#include <com/sun/star/beans/XTolerantMultiPropertySet.idl>
56cdf0e10cSrcweir#endif
57cdf0e10cSrcweir
58cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertyState_idl__
59cdf0e10cSrcweir#include <com/sun/star/beans/XPropertyState.idl>
60cdf0e10cSrcweir#endif
61cdf0e10cSrcweir
62cdf0e10cSrcweir#ifndef __com_sun_star_container_XEnumerationAccess_idl__
63cdf0e10cSrcweir#include <com/sun/star/container/XEnumerationAccess.idl>
64cdf0e10cSrcweir#endif
65cdf0e10cSrcweir
66cdf0e10cSrcweir#ifndef __com_sun_star_text_TextTable_idl__
67cdf0e10cSrcweir#include <com/sun/star/text/TextTable.idl>
68cdf0e10cSrcweir#endif
69cdf0e10cSrcweir
70cdf0e10cSrcweir
71cdf0e10cSrcweir//=============================================================================
72cdf0e10cSrcweir
73cdf0e10cSrcweir module com {  module sun {  module star {  module text {
74cdf0e10cSrcweir
75cdf0e10cSrcweir//=============================================================================
76cdf0e10cSrcweir
77cdf0e10cSrcweir// DocMerge from xml: service com::sun::star::text::Paragraph
78cdf0e10cSrcweir/** is a piece of text which can take its own paragraph-specific
79cdf0e10cSrcweir	attributes (technically, properties).
80cdf0e10cSrcweir */
81cdf0e10cSrcweirpublished service Paragraph
82cdf0e10cSrcweir{
83cdf0e10cSrcweir    /** This service is present when the paragraph object refers
84cdf0e10cSrcweir        to a text range */
85cdf0e10cSrcweir    [optional] service com::sun::star::style::ParagraphProperties;
86cdf0e10cSrcweir    /** This service is present when the paragraph object refers
87cdf0e10cSrcweir        to a text range */
88cdf0e10cSrcweir    [optional] service com::sun::star::style::ParagraphPropertiesAsian;
89cdf0e10cSrcweir    /** This service is present when the paragraph object refers
90cdf0e10cSrcweir        to a text range */
91cdf0e10cSrcweir    [optional] service com::sun::star::style::ParagraphPropertiesComplex;
92cdf0e10cSrcweir    /** This service is present when the paragraph object refers
93cdf0e10cSrcweir        to a text range */
94cdf0e10cSrcweir    [optional] service com::sun::star::style::CharacterProperties;
95cdf0e10cSrcweir    /** This service is present when the paragraph object refers
96cdf0e10cSrcweir        to a text range */
97cdf0e10cSrcweir    [optional] service com::sun::star::style::CharacterPropertiesAsian;
98cdf0e10cSrcweir    /** This service is present when the paragraph object refers
99cdf0e10cSrcweir        to a text range */
100cdf0e10cSrcweir    [optional] service com::sun::star::style::CharacterPropertiesComplex;
101cdf0e10cSrcweir    /** This service is present when the paragraph object refers
102cdf0e10cSrcweir        to a text table */
103cdf0e10cSrcweir    [optional] service com::sun::star::text::TextTable;
104cdf0e10cSrcweir
105cdf0e10cSrcweir	// DocMerge: empty anyway
106cdf0e10cSrcweir	service com::sun::star::text::TextContent;
107cdf0e10cSrcweir
108cdf0e10cSrcweir
109cdf0e10cSrcweir	// DocMerge from xml: service com::sun::star::text::Paragraph: interface com::sun::star::beans::XPropertySet
110cdf0e10cSrcweir	/** This interface gives access to the properties of the paragraph
111cdf0e10cSrcweir				itself (or its style sheet). So this interface may show
112cdf0e10cSrcweir				property values which are not valid for any of the
113cdf0e10cSrcweir				text portions of the paragraph, if the text itself has its
114cdf0e10cSrcweir				own style properties set.
115cdf0e10cSrcweir	 */
116cdf0e10cSrcweir	interface com::sun::star::beans::XPropertySet;
117cdf0e10cSrcweir
118cdf0e10cSrcweir
119cdf0e10cSrcweir	// DocMerge from xml: service com::sun::star::text::Paragraph: interface com::sun::star::beans::XPropertyState
120cdf0e10cSrcweir	/** This interface gives access to the state of the property values
121cdf0e10cSrcweir				in these properties. So, it is possible to determine if a specific
122cdf0e10cSrcweir				properties value is defined in the paragraph or its style sheet.
123cdf0e10cSrcweir	 */
124cdf0e10cSrcweir	interface com::sun::star::beans::XPropertyState;
125cdf0e10cSrcweir
126cdf0e10cSrcweir
127cdf0e10cSrcweir	// DocMerge from xml: service com::sun::star::text::Paragraph: interface com::sun::star::container::XEnumerationAccess
128cdf0e10cSrcweir	/** This interface enumerates the text portions of this paragraph.
129cdf0e10cSrcweir
130cdf0e10cSrcweir				<p>A text portion is defined as the largest possible <type>TextRange</type>
131cdf0e10cSrcweir				within a paragraph with the same property values and the same bound objects.
132cdf0e10cSrcweir
133cdf0e10cSrcweir				<p>In general this interface is used for exporting into file
134cdf0e10cSrcweir				formats.
135cdf0e10cSrcweir
136cdf0e10cSrcweir				@see com::sun::star::text::TextRange@see com::sun::star::text::TextRange
137cdf0e10cSrcweir	 */
138cdf0e10cSrcweir	interface com::sun::star::container::XEnumerationAccess;
139cdf0e10cSrcweir
140cdf0e10cSrcweir    /** gives access to a sequence of properties.
141*2a413f17SJürgen Schmidt        @since OpenOffice 2.0
142cdf0e10cSrcweir     */
143cdf0e10cSrcweir    [optional] interface ::com::sun::star::beans::XTolerantMultiPropertySet;
144cdf0e10cSrcweir};
145cdf0e10cSrcweir
146cdf0e10cSrcweir//=============================================================================
147cdf0e10cSrcweir
148cdf0e10cSrcweir}; }; }; };
149cdf0e10cSrcweir
150cdf0e10cSrcweir#endif
151