xref: /aoo41x/main/offapi/com/sun/star/text/Paragraph.idl (revision cdf0e10c)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir#ifndef __com_sun_star_text_Paragraph_idl__
28*cdf0e10cSrcweir#define __com_sun_star_text_Paragraph_idl__
29*cdf0e10cSrcweir
30*cdf0e10cSrcweir#ifndef __com_sun_star_style_ParagraphProperties_idl__
31*cdf0e10cSrcweir#include <com/sun/star/style/ParagraphProperties.idl>
32*cdf0e10cSrcweir#endif
33*cdf0e10cSrcweir#ifndef __com_sun_star_style_ParagraphPropertiesAsian_idl__
34*cdf0e10cSrcweir#include <com/sun/star/style/ParagraphPropertiesAsian.idl>
35*cdf0e10cSrcweir#endif
36*cdf0e10cSrcweir#ifndef __com_sun_star_style_ParagraphPropertiesComplex_idl__
37*cdf0e10cSrcweir#include <com/sun/star/style/ParagraphPropertiesComplex.idl>
38*cdf0e10cSrcweir#endif
39*cdf0e10cSrcweir
40*cdf0e10cSrcweir#ifndef __com_sun_star_style_CharacterProperties_idl__
41*cdf0e10cSrcweir#include <com/sun/star/style/CharacterProperties.idl>
42*cdf0e10cSrcweir#endif
43*cdf0e10cSrcweir#ifndef __com_sun_star_style_CharacterPropertiesAsian_idl__
44*cdf0e10cSrcweir#include <com/sun/star/style/CharacterPropertiesAsian.idl>
45*cdf0e10cSrcweir#endif
46*cdf0e10cSrcweir#ifndef __com_sun_star_style_CharacterPropertiesComplex_idl__
47*cdf0e10cSrcweir#include <com/sun/star/style/CharacterPropertiesComplex.idl>
48*cdf0e10cSrcweir#endif
49*cdf0e10cSrcweir
50*cdf0e10cSrcweir#ifndef __com_sun_star_text_TextContent_idl__
51*cdf0e10cSrcweir#include <com/sun/star/text/TextContent.idl>
52*cdf0e10cSrcweir#endif
53*cdf0e10cSrcweir
54*cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertySet_idl__
55*cdf0e10cSrcweir#include <com/sun/star/beans/XPropertySet.idl>
56*cdf0e10cSrcweir#endif
57*cdf0e10cSrcweir
58*cdf0e10cSrcweir#ifndef __com_sun_star_beans_XTolerantMultiPropertySet_idl__
59*cdf0e10cSrcweir#include <com/sun/star/beans/XTolerantMultiPropertySet.idl>
60*cdf0e10cSrcweir#endif
61*cdf0e10cSrcweir
62*cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertyState_idl__
63*cdf0e10cSrcweir#include <com/sun/star/beans/XPropertyState.idl>
64*cdf0e10cSrcweir#endif
65*cdf0e10cSrcweir
66*cdf0e10cSrcweir#ifndef __com_sun_star_container_XEnumerationAccess_idl__
67*cdf0e10cSrcweir#include <com/sun/star/container/XEnumerationAccess.idl>
68*cdf0e10cSrcweir#endif
69*cdf0e10cSrcweir
70*cdf0e10cSrcweir#ifndef __com_sun_star_text_TextTable_idl__
71*cdf0e10cSrcweir#include <com/sun/star/text/TextTable.idl>
72*cdf0e10cSrcweir#endif
73*cdf0e10cSrcweir
74*cdf0e10cSrcweir
75*cdf0e10cSrcweir//=============================================================================
76*cdf0e10cSrcweir
77*cdf0e10cSrcweir module com {  module sun {  module star {  module text {
78*cdf0e10cSrcweir
79*cdf0e10cSrcweir//=============================================================================
80*cdf0e10cSrcweir
81*cdf0e10cSrcweir// DocMerge from xml: service com::sun::star::text::Paragraph
82*cdf0e10cSrcweir/** is a piece of text which can take its own paragraph-specific
83*cdf0e10cSrcweir	attributes (technically, properties).
84*cdf0e10cSrcweir */
85*cdf0e10cSrcweirpublished service Paragraph
86*cdf0e10cSrcweir{
87*cdf0e10cSrcweir    /** This service is present when the paragraph object refers
88*cdf0e10cSrcweir        to a text range */
89*cdf0e10cSrcweir    [optional] service com::sun::star::style::ParagraphProperties;
90*cdf0e10cSrcweir    /** This service is present when the paragraph object refers
91*cdf0e10cSrcweir        to a text range */
92*cdf0e10cSrcweir    [optional] service com::sun::star::style::ParagraphPropertiesAsian;
93*cdf0e10cSrcweir    /** This service is present when the paragraph object refers
94*cdf0e10cSrcweir        to a text range */
95*cdf0e10cSrcweir    [optional] service com::sun::star::style::ParagraphPropertiesComplex;
96*cdf0e10cSrcweir    /** This service is present when the paragraph object refers
97*cdf0e10cSrcweir        to a text range */
98*cdf0e10cSrcweir    [optional] service com::sun::star::style::CharacterProperties;
99*cdf0e10cSrcweir    /** This service is present when the paragraph object refers
100*cdf0e10cSrcweir        to a text range */
101*cdf0e10cSrcweir    [optional] service com::sun::star::style::CharacterPropertiesAsian;
102*cdf0e10cSrcweir    /** This service is present when the paragraph object refers
103*cdf0e10cSrcweir        to a text range */
104*cdf0e10cSrcweir    [optional] service com::sun::star::style::CharacterPropertiesComplex;
105*cdf0e10cSrcweir    /** This service is present when the paragraph object refers
106*cdf0e10cSrcweir        to a text table */
107*cdf0e10cSrcweir    [optional] service com::sun::star::text::TextTable;
108*cdf0e10cSrcweir
109*cdf0e10cSrcweir	// DocMerge: empty anyway
110*cdf0e10cSrcweir	service com::sun::star::text::TextContent;
111*cdf0e10cSrcweir
112*cdf0e10cSrcweir
113*cdf0e10cSrcweir	// DocMerge from xml: service com::sun::star::text::Paragraph: interface com::sun::star::beans::XPropertySet
114*cdf0e10cSrcweir	/** This interface gives access to the properties of the paragraph
115*cdf0e10cSrcweir				itself (or its style sheet). So this interface may show
116*cdf0e10cSrcweir				property values which are not valid for any of the
117*cdf0e10cSrcweir				text portions of the paragraph, if the text itself has its
118*cdf0e10cSrcweir				own style properties set.
119*cdf0e10cSrcweir	 */
120*cdf0e10cSrcweir	interface com::sun::star::beans::XPropertySet;
121*cdf0e10cSrcweir
122*cdf0e10cSrcweir
123*cdf0e10cSrcweir	// DocMerge from xml: service com::sun::star::text::Paragraph: interface com::sun::star::beans::XPropertyState
124*cdf0e10cSrcweir	/** This interface gives access to the state of the property values
125*cdf0e10cSrcweir				in these properties. So, it is possible to determine if a specific
126*cdf0e10cSrcweir				properties value is defined in the paragraph or its style sheet.
127*cdf0e10cSrcweir	 */
128*cdf0e10cSrcweir	interface com::sun::star::beans::XPropertyState;
129*cdf0e10cSrcweir
130*cdf0e10cSrcweir
131*cdf0e10cSrcweir	// DocMerge from xml: service com::sun::star::text::Paragraph: interface com::sun::star::container::XEnumerationAccess
132*cdf0e10cSrcweir	/** This interface enumerates the text portions of this paragraph.
133*cdf0e10cSrcweir
134*cdf0e10cSrcweir				<p>A text portion is defined as the largest possible <type>TextRange</type>
135*cdf0e10cSrcweir				within a paragraph with the same property values and the same bound objects.
136*cdf0e10cSrcweir
137*cdf0e10cSrcweir				<p>In general this interface is used for exporting into file
138*cdf0e10cSrcweir				formats.
139*cdf0e10cSrcweir
140*cdf0e10cSrcweir				@see com::sun::star::text::TextRange@see com::sun::star::text::TextRange
141*cdf0e10cSrcweir	 */
142*cdf0e10cSrcweir	interface com::sun::star::container::XEnumerationAccess;
143*cdf0e10cSrcweir
144*cdf0e10cSrcweir    /** gives access to a sequence of properties.
145*cdf0e10cSrcweir        @since OOo 2.0
146*cdf0e10cSrcweir     */
147*cdf0e10cSrcweir    [optional] interface ::com::sun::star::beans::XTolerantMultiPropertySet;
148*cdf0e10cSrcweir};
149*cdf0e10cSrcweir
150*cdf0e10cSrcweir//=============================================================================
151*cdf0e10cSrcweir
152*cdf0e10cSrcweir}; }; }; };
153*cdf0e10cSrcweir
154*cdf0e10cSrcweir#endif
155