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 .
21 module com
{ module sun
{ module star
{ module drawing
{
24 /** The CaptionShape represents a rectangular drawing shape
25 with an additional set of lines. It can be used as a description for
26 a fixed point inside a drawing.
28 published service CaptionShape
30 /** the position and size is only used for the
33 service com
::sun
::star
::drawing
::Shape
;
35 service com
::sun
::star
::drawing
::FillProperties
;
37 service com
::sun
::star
::drawing
::LineProperties
;
39 service com
::sun
::star
::drawing
::ShadowProperties
;
41 service com
::sun
::star
::drawing
::Text
;
43 service com
::sun
::star
::drawing
::RotationDescriptor
;
45 /** This is the radius of the caption area corners.
47 [property
] long CornerRadius
;
49 /** The caption point property specify the position of
50 the point that is captioned. A set of lines are
51 rendered from the caption area.
53 [property
] com
::sun
::star
::awt
::Point CaptionPoint
;
55 /** This property specifies the geometry of the line of a caption.
59 [property
] short CaptionType
;
61 /** This property specifies if the escape angle of
62 the line of a caption is fixed or free. If this
63 is set to `FALSE`, the application can choose
64 the best possible angle. If not, the value in
65 <code>CaptionAngle</code> is used.
67 [property
] boolean CaptionIsFixedAngle
;
69 /** This property specifies the escape angle of
70 the line of a caption.
71 It is only used if <code>CaptionIsFixedAngle</code>
74 [property
] long CaptionAngle
;
76 /** This property specifies the distance between the
77 text area of the caption and the start of the line.
79 [property
] long CaptionGap
;
81 /** This property specifies the escape direction for the
84 @see CaptionEscapeDirection
86 [property
] long CaptionEscapeDirection
;
88 /** If this property is `TRUE`, the property <code>CaptionEscapeRelative</code>
89 is used, else the property <code>CaptionEscapeAbsolute</code> is used.
91 [property
] boolean CaptionIsEscapeRelative
;
93 /** This property specifies the relative escape distance for
94 the line of a caption.
96 [property
] long CaptionEscapeRelative
;
98 /** This property specifies the absolute escape distance for
99 the line of a caption.
101 [property
] long CaptionEscapeAbsolute
;
103 /** This property specifies the length of the caption line.
105 [property
] long CaptionLineLength
;
107 /** If this property is `TRUE`, the application determines
108 the best possible length for the caption line.
110 [property
] boolean CaptionIsFitLineLength
;
116 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */