xref: /aoo4110/main/offapi/com/sun/star/text/BaseFrame.idl (revision b1cdbd2c)
1*b1cdbd2cSJim Jagielski/**************************************************************
2*b1cdbd2cSJim Jagielski *
3*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one
4*b1cdbd2cSJim Jagielski * or more contributor license agreements.  See the NOTICE file
5*b1cdbd2cSJim Jagielski * distributed with this work for additional information
6*b1cdbd2cSJim Jagielski * regarding copyright ownership.  The ASF licenses this file
7*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the
8*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance
9*b1cdbd2cSJim Jagielski * with the License.  You may obtain a copy of the License at
10*b1cdbd2cSJim Jagielski *
11*b1cdbd2cSJim Jagielski *   http://www.apache.org/licenses/LICENSE-2.0
12*b1cdbd2cSJim Jagielski *
13*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing,
14*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an
15*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b1cdbd2cSJim Jagielski * KIND, either express or implied.  See the License for the
17*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations
18*b1cdbd2cSJim Jagielski * under the License.
19*b1cdbd2cSJim Jagielski *
20*b1cdbd2cSJim Jagielski *************************************************************/
21*b1cdbd2cSJim Jagielski
22*b1cdbd2cSJim Jagielski
23*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_text_BaseFrame_idl__
24*b1cdbd2cSJim Jagielski#define __com_sun_star_text_BaseFrame_idl__
25*b1cdbd2cSJim Jagielski
26*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_text_BaseFrameProperties_idl__
27*b1cdbd2cSJim Jagielski#include <com/sun/star/text/BaseFrameProperties.idl>
28*b1cdbd2cSJim Jagielski#endif
29*b1cdbd2cSJim Jagielski
30*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_text_TextContent_idl__
31*b1cdbd2cSJim Jagielski#include <com/sun/star/text/TextContent.idl>
32*b1cdbd2cSJim Jagielski#endif
33*b1cdbd2cSJim Jagielski
34*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_drawing_XShape_idl__
35*b1cdbd2cSJim Jagielski#include <com/sun/star/drawing/XShape.idl>
36*b1cdbd2cSJim Jagielski#endif
37*b1cdbd2cSJim Jagielski
38*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_beans_XPropertySet_idl__
39*b1cdbd2cSJim Jagielski#include <com/sun/star/beans/XPropertySet.idl>
40*b1cdbd2cSJim Jagielski#endif
41*b1cdbd2cSJim Jagielski
42*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_container_XNamed_idl__
43*b1cdbd2cSJim Jagielski#include <com/sun/star/container/XNamed.idl>
44*b1cdbd2cSJim Jagielski#endif
45*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_style_GraphicLocation_idl__
46*b1cdbd2cSJim Jagielski#include <com/sun/star/style/GraphicLocation.idl>
47*b1cdbd2cSJim Jagielski#endif
48*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_table_BorderLine_idl__
49*b1cdbd2cSJim Jagielski#include <com/sun/star/table/BorderLine.idl>
50*b1cdbd2cSJim Jagielski#endif
51*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_table_ShadowFormat_idl__
52*b1cdbd2cSJim Jagielski#include <com/sun/star/table/ShadowFormat.idl>
53*b1cdbd2cSJim Jagielski#endif
54*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_text_XTextFrame_idl__
55*b1cdbd2cSJim Jagielski#include <com/sun/star/text/XTextFrame.idl>
56*b1cdbd2cSJim Jagielski#endif
57*b1cdbd2cSJim Jagielski
58*b1cdbd2cSJim Jagielski//=============================================================================
59*b1cdbd2cSJim Jagielski
60*b1cdbd2cSJim Jagielski module com {  module sun {  module star {  module text {
61*b1cdbd2cSJim Jagielski
62*b1cdbd2cSJim Jagielski//=============================================================================
63*b1cdbd2cSJim Jagielski
64*b1cdbd2cSJim Jagielski/** specifies the base service of text frames, graphic objects, and embedded objects
65*b1cdbd2cSJim Jagielski */
66*b1cdbd2cSJim Jagielskipublished service BaseFrame
67*b1cdbd2cSJim Jagielski{
68*b1cdbd2cSJim Jagielski    service BaseFrameProperties;
69*b1cdbd2cSJim Jagielski    service TextContent;
70*b1cdbd2cSJim Jagielski    //-------------------------------------------------------------------------
71*b1cdbd2cSJim Jagielski	/** This interface specifies the access to the shape data (position
72*b1cdbd2cSJim Jagielski				and size) of the text frame.
73*b1cdbd2cSJim Jagielski
74*b1cdbd2cSJim Jagielski				<p>This interface is valid before the text frame is attached
75*b1cdbd2cSJim Jagielski				to a surrounding text, but when attached the values can change
76*b1cdbd2cSJim Jagielski				(e.g., due to a revised layout of the surrounding text).
77*b1cdbd2cSJim Jagielski
78*b1cdbd2cSJim Jagielski				<p>The position is relative to the position of the anchor
79*b1cdbd2cSJim Jagielski				[see <member>XTextFrame::getAnchor()</member>]. Size and position are
80*b1cdbd2cSJim Jagielski				both measured in 100th mm. The size is not valid if the
81*b1cdbd2cSJim Jagielski				size is relative and no layout exists or if the layout is invalid.
82*b1cdbd2cSJim Jagielski
83*b1cdbd2cSJim Jagielski				<p>This interface is only for the layout.  In particular, the
84*b1cdbd2cSJim Jagielski				setting of values is only allowed for the layout component of the
85*b1cdbd2cSJim Jagielski				owner text of this text component.
86*b1cdbd2cSJim Jagielski	 */
87*b1cdbd2cSJim Jagielski	[optional] interface com::sun::star::drawing::XShape;
88*b1cdbd2cSJim Jagielski	//-------------------------------------------------------------------------
89*b1cdbd2cSJim Jagielski	/** This interface makes it possible to access the properties of
90*b1cdbd2cSJim Jagielski				this text frame.
91*b1cdbd2cSJim Jagielski
92*b1cdbd2cSJim Jagielski				<p>This interface is valid before the text frame is attached to
93*b1cdbd2cSJim Jagielski				a surrounding text.
94*b1cdbd2cSJim Jagielski	 */
95*b1cdbd2cSJim Jagielski	interface com::sun::star::beans::XPropertySet;
96*b1cdbd2cSJim Jagielski	//-------------------------------------------------------------------------
97*b1cdbd2cSJim Jagielski	/** This interface specifies the name of this text frame.
98*b1cdbd2cSJim Jagielski
99*b1cdbd2cSJim Jagielski				<p>The name may be set automatically by the container if it is not
100*b1cdbd2cSJim Jagielski				set when inserted. In this case a random, unique name is assigned.
101*b1cdbd2cSJim Jagielski	 */
102*b1cdbd2cSJim Jagielski	interface com::sun::star::container::XNamed;
103*b1cdbd2cSJim Jagielski    //-------------------------------------------------------------------------
104*b1cdbd2cSJim Jagielski	/** contains the name of the frame style that is applied to this object.
105*b1cdbd2cSJim Jagielski	 */
106*b1cdbd2cSJim Jagielski	[property] string FrameStyleName;
107*b1cdbd2cSJim Jagielski
108*b1cdbd2cSJim Jagielski};
109*b1cdbd2cSJim Jagielski
110*b1cdbd2cSJim Jagielski//=============================================================================
111*b1cdbd2cSJim Jagielski
112*b1cdbd2cSJim Jagielski}; }; }; };
113*b1cdbd2cSJim Jagielski
114*b1cdbd2cSJim Jagielski#endif
115