1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#ifndef __com_sun_star_drawing_LineProperties_idl__
28#define __com_sun_star_drawing_LineProperties_idl__
29
30#ifndef __com_sun_star_drawing_LineStyle_idl__
31#include <com/sun/star/drawing/LineStyle.idl>
32#endif
33
34#ifndef __com_sun_star_util_Color_idl__
35#include <com/sun/star/util/Color.idl>
36#endif
37
38#ifndef __com_sun_star_drawing_LineDash_idl__
39#include <com/sun/star/drawing/LineDash.idl>
40#endif
41
42#ifndef __com_sun_star_drawing_PolyPolygonBezierCoords_idl__
43#include <com/sun/star/drawing/PolyPolygonBezierCoords.idl>
44#endif
45
46#ifndef __com_sun_star_drawing_LineJoint_idl__
47#include <com/sun/star/drawing/LineJoint.idl>
48#endif
49
50
51//=============================================================================
52
53 module com {  module sun {  module star {  module drawing {
54
55//=============================================================================
56
57/** This is a set of properties to describe the style for rendering a Line.
58	<p>The properties for line ends and line starts are only supported by
59	shapes with open line ends.
60 */
61published service LineProperties
62{
63	/** This property contains the type of the line.
64	 */
65	[property] com::sun::star::drawing::LineStyle LineStyle;
66
67	//-------------------------------------------------------------------------
68
69	/** This property contains the dash of the line.
70	 */
71	[property] com::sun::star::drawing::LineDash LineDash;
72
73	//-------------------------------------------------------------------------
74
75	/** This property contains the name of the dash of the line.
76	 */
77	[optional, property] string LineDashName;
78
79	//-------------------------------------------------------------------------
80
81	/** This property contains the line color.
82	 */
83	[property] com::sun::star::util::Color LineColor;
84
85	//-------------------------------------------------------------------------
86
87	/** This property contains the extent of transparency.
88	 */
89	[property] short LineTransparence;
90
91	//-------------------------------------------------------------------------
92
93	/** This property contains the width of the line in 1/100th mm.
94	 */
95	[property] long LineWidth;
96
97	//-------------------------------------------------------------------------
98
99	/** This property defines the rendering of joints between thick lines
100	 */
101	[property] com::sun::star::drawing::LineJoint LineJoint;
102
103	//-------------------------------------------------------------------------
104
105	/** This property contains the name of the line start poly polygon bezier.
106		<p>If this string is empty, no line start polygon is rendered.
107	 */
108	[optional, property] string LineStartName;
109
110	//-------------------------------------------------------------------------
111
112	/** This property contains the name of the line end poly polygon bezier.
113		<p>If this string is empty, no line end polygon is rendered.
114	 */
115	[optional, property] string LineEndName;
116
117	//-------------------------------------------------------------------------
118
119	/** This property contains the line start in the form of a poly polygon bezier.
120	 */
121	[optional, property] com::sun::star::drawing::PolyPolygonBezierCoords LineStart;
122
123	//-------------------------------------------------------------------------
124
125	/** This property contains the line end in the form of a poly polygon bezier.
126	 */
127	[optional, property] com::sun::star::drawing::PolyPolygonBezierCoords LineEnd;
128
129	//-------------------------------------------------------------------------
130
131	/** If this property is <TRUE/>, the line will
132		start from the center of the polygon.
133	 */
134	[optional, property] boolean LineStartCenter;
135
136	//-------------------------------------------------------------------------
137
138	/** This property contains the width of the line start polygon.
139	 */
140	[optional, property] long LineStartWidth;
141
142	//-------------------------------------------------------------------------
143
144	/** If this property is <TRUE/>, the line will end
145		in the center of the polygon.
146	 */
147	[optional, property] boolean LineEndCenter;
148
149	//-------------------------------------------------------------------------
150
151	/** This property contains the width of the line end polygon.
152	 */
153	[optional, property] long LineEndWidth;
154};
155
156//=============================================================================
157
158}; }; }; };
159
160#endif
161
162