xref: /aoo41x/main/svx/sdi/xoitems.sdi (revision db240f72)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24//item String XFillAttrSetItem; SfxSetItem!
25struct XFillBitmap
26{
27	String	Name		MID_NAME;
28	String	GraphicsURL	MID_GRAFURL;
29//	com::sun::star::awt::XBitmap
30};
31item XFillBitmap XFillBitmapItem;
32
33item INT32	XFillColorItem;				// XColorItem
34
35enum SvxGradientStyle
36{
37	SVX_GRADIENTSTYLE_LINEAR,
38	SVX_GRADIENTSTYLE_AXIAL,
39	SVX_GRADIENTSTYLE_RADIAL,
40	SVX_GRADIENTSTYLE_ELLIPTICAL,
41	SVX_GRADIENTSTYLE_SQUARE,
42	SVX_GRADIENTSTYLE_RECT
43};
44
45struct XFillGradient
46{
47	String				Name			MID_NAME;
48	//	com::sun::star::awt::Gradient
49	SvxGradientStyle	Style			MID_GRADIENT_STYLE;
50	INT32				StartColor		MID_GRADIENT_STARTCOLOR;
51	INT32				EndColor		MID_GRADIENT_ENDCOLOR;
52	INT16				Angle			MID_GRADIENT_ANGLE;
53	INT16				Border			MID_GRADIENT_BORDER;
54	INT16				XOffset			MID_GRADIENT_XOFFSET;
55	INT16				YOffset			MID_GRADIENT_YOFFSET;
56	INT16				StartIntensity	MID_GRADIENT_STARTINTENSITY;
57	INT16				EndIntensity	MID_GRADIENT_ENDINTENSITY;
58	INT16				StepCount		MID_GRADIENT_STEPCOUNT;
59};
60item XFillGradient XFillGradientItem;
61
62enum SvxHatchStyle
63{
64	SVX_HATCHSTYLE_SINGLE,
65	SVX_HATCHSTYLE_DOUBLE,
66	SVX_HATCHSTYLE_TRIPLE
67};
68
69struct XFillHatch
70{
71	String				Name			MID_NAME;
72	//	com::sun::star::drawing::Hatch
73	SvxHatchStyle		Style			MID_HATCH_STYLE;
74	INT32				Color			MID_HATCH_COLOR;
75	INT32				Distance		MID_HATCH_DISTANCE;
76	INT32				Angle			MID_HATCH_ANGLE;
77};
78item XFillHatch XFillHatchItem;
79
80enum SvxFillStyle
81{
82	SVX_FILLSTYLE_NONE,
83	SVX_FILLSTYLE_SOLID,
84	SVX_FILLSTYLE_GRADIENT,
85	SVX_FILLSTYLE_HATCH,
86	SVX_FILLSTYLE_BITMAP
87};
88
89item SvxFillStyle XFillStyleItem;
90
91//item String XLineAttrSetItem; SfxSetItem!
92
93item INT32	XLineColorItem;
94
95enum SvxDashStyle
96{
97	SVX_DASHSTYLE_RECT,
98	SVX_DASHSTYLE_ROUND,
99	SVX_DASHSTYLE_RECTRELATIVE,
100	SVX_DASHSTYLE_ROUNDRELATIVE
101};
102
103struct XLineDash
104{
105	String			Name		MID_NAME;
106	//	com::sun::star::drawing::LineDash
107	SvxDashStyle	Style		MID_LINEDASH_STYLE;
108	INT16			Dots		MID_LINEDASH_DOTS;
109	INT32			DotLen		MID_LINEDASH_DOTLEN;
110	INT16			Dashes		MID_LINEDASH_DASHES;
111	INT32			DashLen		MID_LINEDASH_DASHLEN;
112	INT32			Distance	MID_LINEDASH_DISTANCE;
113};
114item XLineDash XLineDashItem;
115
116struct XLineEnd
117{
118	String	Name		MID_NAME;
119//	com::sun::star::drawing::PolyPolygonBezierCoords
120};
121item XLineEnd XLineEndItem;
122
123item INT32	XLineEndWidthItem;
124item BOOL	XLineEndCenterItem;
125
126struct XLineStart
127{
128	String	Name		MID_NAME;
129//	com::sun::star::drawing::PolyPolygonBezierCoords
130};
131item XLineStart XLineStartItem;
132
133item INT32	XLineStartWidthItem;
134item BOOL	XLineStartCenterItem;
135
136enum SvxLineStyle
137{
138	SVX_LINESTYLE_NONE,
139	SVX_LINESTYLE_SOLID,
140	SVX_LINESTYLE_DASH
141};
142
143item SvxLineStyle XLineStyleItem;
144
145item INT32	XLineWidthItem;
146item INT32	XFormTextStyleItem;
147item INT32	XFormTextAdjustItem;
148
149item INT32	XFormTextDistanceItem;		// SfxInt32Item
150item INT32	XFormTextStartItem;			// SfxInt32Item
151item BOOL	XFormTextMirrorItem;		// SfxBoolItem
152
153item INT32	XFormTextStdFormItem;		// SfxEnumItem
154item BOOL	XFormTextHideFormItem;		// SfxBoolItem
155item BOOL	XFormTextOutlineItem;		// SfxBoolItem
156item INT32	XFormTextShadowItem;		// SfxEnumItem
157item INT32	XFormTextShadowColorItem;	// XColorItem
158item INT32	XFormTextShadowXValItem;	// SfxMetricItem/SfxInt32Item
159item INT32	XFormTextShadowYValItem;	// SfxMetricItem/SfxInt32Item
160