1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_text_BaseFrame_idl__
20 #define __com_sun_star_text_BaseFrame_idl__
22 #include
<com
/sun
/star
/text
/BaseFrameProperties.idl
>
23 #include
<com
/sun
/star
/text
/TextContent.idl
>
24 #include
<com
/sun
/star
/drawing
/XShape.idl
>
25 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
26 #include
<com
/sun
/star
/container
/XNamed.idl
>
27 #include
<com
/sun
/star
/style
/GraphicLocation.idl
>
28 #include
<com
/sun
/star
/table
/BorderLine.idl
>
29 #include
<com
/sun
/star
/table
/ShadowFormat.idl
>
30 #include
<com
/sun
/star
/text
/XTextFrame.idl
>
33 module com
{ module sun
{ module star
{ module text
{
36 /** specifies the base service of text frames, graphic objects, and embedded objects
38 published service BaseFrame
40 service BaseFrameProperties
;
42 /** This interface specifies the access to the shape data (position
43 and size) of the text frame.
45 <p>This interface is valid before the text frame is attached
46 to a surrounding text, but when attached the values can change
47 (e.g., due to a revised layout of the surrounding text).
49 <p>The position is relative to the position of the anchor
50 [see XTextFrame::getAnchor()]. Size and position are
51 both measured in 100th mm. The size is not valid if the
52 size is relative and no layout exists or if the layout is invalid.
54 <p>This interface is only for the layout. In particular, the
55 setting of values is only allowed for the layout component of the
56 owner text of this text component.
58 [optional] interface com
::sun
::star
::drawing
::XShape
;
59 /** This interface makes it possible to access the properties of
62 <p>This interface is valid before the text frame is attached to
65 interface com
::sun
::star
::beans
::XPropertySet
;
66 /** This interface specifies the name of this text frame.
68 <p>The name may be set automatically by the container if it is not
69 set when inserted. In this case a random, unique name is assigned.
71 interface com
::sun
::star
::container
::XNamed
;
72 /** contains the name of the frame style that is applied to this object.
74 [property
] string FrameStyleName
;
83 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */