summaryrefslogtreecommitdiff
path: root/svx/sdi/xoitems.sdi
blob: 0825c0df1829bdc6fba0819a36e9722a6564bad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
/*************************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: xoitems.sdi,v $
 *
 *  $Revision: 1.4 $
 *
 *  last change: $Author: rt $ $Date: 2005-09-08 20:12:42 $
 *
 *  The Contents of this file are made available subject to
 *  the terms of GNU Lesser General Public License Version 2.1.
 *
 *
 *    GNU Lesser General Public License Version 2.1
 *    =============================================
 *    Copyright 2005 by Sun Microsystems, Inc.
 *    901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License version 2.1, as published by the Free Software Foundation.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 *
 *    You should have received a copy of the GNU Lesser General Public
 *    License along with this library; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *    MA  02111-1307  USA
 *
 ************************************************************************/

//item String XFillAttrSetItem; SfxSetItem!
struct XFillBitmap
{
    String  Name        MID_NAME;
    String  GraphicsURL MID_GRAFURL;
//  com::sun::star::awt::XBitmap
};
item XFillBitmap XFillBitmapItem;

item INT32  XFillColorItem;             // XColorItem

enum SvxGradientStyle
{
    SVX_GRADIENTSTYLE_LINEAR,
    SVX_GRADIENTSTYLE_AXIAL,
    SVX_GRADIENTSTYLE_RADIAL,
    SVX_GRADIENTSTYLE_ELLIPTICAL,
    SVX_GRADIENTSTYLE_SQUARE,
    SVX_GRADIENTSTYLE_RECT
};

struct XFillGradient
{
    String              Name            MID_NAME;
    //  com::sun::star::awt::Gradient
    SvxGradientStyle    Style           MID_GRADIENT_STYLE;
    INT32               StartColor      MID_GRADIENT_STARTCOLOR;
    INT32               EndColor        MID_GRADIENT_ENDCOLOR;
    INT16               Angle           MID_GRADIENT_ANGLE;
    INT16               Border          MID_GRADIENT_BORDER;
    INT16               XOffset         MID_GRADIENT_XOFFSET;
    INT16               YOffset         MID_GRADIENT_YOFFSET;
    INT16               StartIntensity  MID_GRADIENT_STARTINTENSITY;
    INT16               EndIntensity    MID_GRADIENT_ENDINTENSITY;
    INT16               StepCount       MID_GRADIENT_STEPCOUNT;
};
item XFillGradient XFillGradientItem;

enum SvxHatchStyle
{
    SVX_HATCHSTYLE_SINGLE,
    SVX_HATCHSTYLE_DOUBLE,
    SVX_HATCHSTYLE_TRIPLE
};

struct XFillHatch
{
    String              Name            MID_NAME;
    //  com::sun::star::drawing::Hatch
    SvxHatchStyle       Style           MID_HATCH_STYLE;
    INT32               Color           MID_HATCH_COLOR;
    INT32               Distance        MID_HATCH_DISTANCE;
    INT32               Angle           MID_HATCH_ANGLE;
};
item XFillHatch XFillHatchItem;

enum SvxFillStyle
{
    SVX_FILLSTYLE_NONE,
    SVX_FILLSTYLE_SOLID,
    SVX_FILLSTYLE_GRADIENT,
    SVX_FILLSTYLE_HATCH,
    SVX_FILLSTYLE_BITMAP
};

item SvxFillStyle XFillStyleItem;

//item String XLineAttrSetItem; SfxSetItem!

item INT32  XLineColorItem;

enum SvxDashStyle
{
    SVX_DASHSTYLE_RECT,
    SVX_DASHSTYLE_ROUND,
    SVX_DASHSTYLE_RECTRELATIVE,
    SVX_DASHSTYLE_ROUNDRELATIVE
};

struct XLineDash
{
    String          Name        MID_NAME;
    //  com::sun::star::drawing::LineDash
    SvxDashStyle    Style       MID_LINEDASH_STYLE;
    INT16           Dots        MID_LINEDASH_DOTS;
    INT32           DotLen      MID_LINEDASH_DOTLEN;
    INT16           Dashes      MID_LINEDASH_DASHES;
    INT32           DashLen     MID_LINEDASH_DASHLEN;
    INT32           Distance    MID_LINEDASH_DISTANCE;
};
item XLineDash XLineDashItem;

struct XLineEnd
{
    String  Name        MID_NAME;
//  com::sun::star::drawing::PolyPolygonBezierCoords
};
item XLineEnd XLineEndItem;

item INT32  XLineEndWidthItem;
item BOOL   XLineEndCenterItem;

struct XLineStart
{
    String  Name        MID_NAME;
//  com::sun::star::drawing::PolyPolygonBezierCoords
};
item XLineStart XLineStartItem;

item INT32  XLineStartWidthItem;
item BOOL   XLineStartCenterItem;

enum SvxLineStyle
{
    SVX_LINESTYLE_NONE,
    SVX_LINESTYLE_SOLID,
    SVX_LINESTYLE_DASH
};

item SvxLineStyle XLineStyleItem;

item INT32  XLineWidthItem;
item INT32  XFormTextStyleItem;
item INT32  XFormTextAdjustItem;

item INT32  XFormTextDistanceItem;      // SfxInt32Item
item INT32  XFormTextStartItem;         // SfxInt32Item
item BOOL   XFormTextMirrorItem;        // SfxBoolItem

item INT32  XFormTextStdFormItem;       // SfxEnumItem
item BOOL   XFormTextHideFormItem;      // SfxBoolItem
item BOOL   XFormTextOutlineItem;       // SfxBoolItem
item INT32  XFormTextShadowItem;        // SfxEnumItem
item INT32  XFormTextShadowColorItem;   // XColorItem
item INT32  XFormTextShadowXValItem;    // SfxMetricItem/SfxInt32Item
item INT32  XFormTextShadowYValItem;    // SfxMetricItem/SfxInt32Item