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