1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: LineProperties.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_drawing_LineProperties_idl__
31 #define __com_sun_star_drawing_LineProperties_idl__
33 #ifndef __com_sun_star_drawing_LineStyle_idl__
34 #include
<com
/sun
/star
/drawing
/LineStyle.idl
>
37 #ifndef __com_sun_star_util_Color_idl__
38 #include
<com
/sun
/star
/util
/Color.idl
>
41 #ifndef __com_sun_star_drawing_LineDash_idl__
42 #include
<com
/sun
/star
/drawing
/LineDash.idl
>
45 #ifndef __com_sun_star_drawing_PolyPolygonBezierCoords_idl__
46 #include
<com
/sun
/star
/drawing
/PolyPolygonBezierCoords.idl
>
49 #ifndef __com_sun_star_drawing_LineJoint_idl__
50 #include
<com
/sun
/star
/drawing
/LineJoint.idl
>
54 //=============================================================================
56 module com
{ module sun
{ module star
{ module drawing
{
58 //=============================================================================
60 /** This is a set of properties to describe the style for rendering a Line.
61 <p>The properties for line ends and line starts are only supported by
62 shapes with open line ends.
64 published service LineProperties
66 /** This property contains the type of the line.
68 [property
] com
::sun
::star
::drawing
::LineStyle LineStyle
;
70 //-------------------------------------------------------------------------
72 /** This property contains the dash of the line.
74 [property
] com
::sun
::star
::drawing
::LineDash LineDash
;
76 //-------------------------------------------------------------------------
78 /** This property contains the name of the dash of the line.
80 [optional, property
] string LineDashName
;
82 //-------------------------------------------------------------------------
84 /** This property contains the line color.
86 [property
] com
::sun
::star
::util
::Color LineColor
;
88 //-------------------------------------------------------------------------
90 /** This property contains the extent of transparency.
92 [property
] short LineTransparence
;
94 //-------------------------------------------------------------------------
96 /** This property contains the width of the line in 1/100th mm.
98 [property
] long LineWidth
;
100 //-------------------------------------------------------------------------
102 /** This property defines the rendering of joints between thick lines
104 [property
] com
::sun
::star
::drawing
::LineJoint LineJoint
;
106 //-------------------------------------------------------------------------
108 /** This property contains the name of the line start poly polygon bezier.
109 <p>If this string is empty, no line start polygon is rendered.
111 [optional, property
] string LineStartName
;
113 //-------------------------------------------------------------------------
115 /** This property contains the name of the line end poly polygon bezier.
116 <p>If this string is empty, no line end polygon is rendered.
118 [optional, property
] string LineEndName
;
120 //-------------------------------------------------------------------------
122 /** This property contains the line start in the form of a poly polygon bezier.
124 [optional, property
] com
::sun
::star
::drawing
::PolyPolygonBezierCoords LineStart
;
126 //-------------------------------------------------------------------------
128 /** This property contains the line end in the form of a poly polygon bezier.
130 [optional, property
] com
::sun
::star
::drawing
::PolyPolygonBezierCoords LineEnd
;
132 //-------------------------------------------------------------------------
134 /** If this property is <TRUE/>, the line will
135 start from the center of the polygon.
137 [optional, property
] boolean LineStartCenter
;
139 //-------------------------------------------------------------------------
141 /** This property contains the width of the line start polygon.
143 [optional, property
] long LineStartWidth
;
145 //-------------------------------------------------------------------------
147 /** If this property is <TRUE/>, the line will end
148 in the center of the polygon.
150 [optional, property
] boolean LineEndCenter
;
152 //-------------------------------------------------------------------------
154 /** This property contains the width of the line end polygon.
156 [optional, property
] long LineEndWidth
;
159 //=============================================================================