Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / drawing / CaptionShape.idl
blob548a85b34f56f5dc40543224d5f75fadbcaaf33a
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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_drawing_CaptionShape_idl__
20 #define __com_sun_star_drawing_CaptionShape_idl__
22 #include <com/sun/star/drawing/Shape.idl>
24 #include <com/sun/star/drawing/Text.idl>
25 #include <com/sun/star/drawing/FillProperties.idl>
26 #include <com/sun/star/drawing/LineProperties.idl>
28 #include <com/sun/star/drawing/ShadowProperties.idl>
30 #include <com/sun/star/drawing/RotationDescriptor.idl>
31 #include <com/sun/star/awt/Point.idl>
34 module com { module sun { module star { module drawing {
37 /** The CaptionShape represents a rectangular drawing shape
38 with an additional set of lines. It can be used as a description for
39 a fixed point inside a drawing.
41 published service CaptionShape
43 /** the position and size is only used for the
44 caption area
46 service com::sun::star::drawing::Shape;
48 service com::sun::star::drawing::FillProperties;
50 service com::sun::star::drawing::LineProperties;
52 service com::sun::star::drawing::ShadowProperties;
54 service com::sun::star::drawing::Text;
56 service com::sun::star::drawing::RotationDescriptor;
58 /** This is the radius of the caption area corners.
60 [property] long CornerRadius;
62 /** The caption point property specify the position of
63 the point that is captioned. A set of lines are
64 rendered from the caption area.
66 [property] com::sun::star::awt::Point CaptionPoint;
68 /** This property specifies the geometry of the line of a caption.
70 @see CaptionType
72 [property] short CaptionType;
74 /** This property specifies if the escape angle of
75 the line of a caption is fixed or free. If this
76 is set to `FALSE`, the application can choose
77 the best possible angle. If not, the value in
78 <code>CaptionAngle</code> is used.
80 [property] boolean CaptionIsFixedAngle;
82 /** This property specifies the escape angle of
83 the line of a caption.
84 It is only used if <code>CaptionIsFixedAngle</code>
85 is set to `TRUE`
87 [property] long CaptionAngle;
89 /** This property specifies the distance between the
90 text area of the caption and the start of the line.
92 [property] long CaptionGap;
94 /** This property specifies the escape direction for the
95 line of a caption.
97 @see CaptionEscapeDirection
99 [property] long CaptionEscapeDirection;
101 /** If this property is `TRUE`, the property <code>CaptionEscapeRelative</code>
102 is used, else the property <code>CaptionEscapeAbsolute</code> is used.
104 [property] boolean CaptionIsEscapeRelative;
106 /** This property specifies the relative escape distance for
107 the line of a caption.
109 [property] long CaptionEscapeRelative;
111 /** This property specifies the absolute escape distance for
112 the line of a caption.
114 [property] long CaptionEscapeAbsolute;
116 /** This property specifies the length of the caption line.
118 [property] long CaptionLineLength;
120 /** If this property is `TRUE`, the application determines
121 the best possible length for the caption line.
123 [property] boolean CaptionIsFitLineLength;
127 }; }; }; };
129 #endif
131 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */