update dev300-m58
[ooovba.git] / svx / sdi / xoitems.sdi
blobb612309640dd2444788d55bce4bbb8a421f19e4d
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: xoitems.sdi,v $
10  * $Revision: 1.5 $
11  *
12  * This file is part of OpenOffice.org.
13  *
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.
17  *
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).
23  *
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.
28  *
29  ************************************************************************/
31 //item String XFillAttrSetItem; SfxSetItem!
32 struct XFillBitmap
34     String      Name            MID_NAME;
35     String      GraphicsURL     MID_GRAFURL;
36 //      com::sun::star::awt::XBitmap
38 item XFillBitmap XFillBitmapItem;
40 item INT32      XFillColorItem;                         // XColorItem
42 enum SvxGradientStyle
44     SVX_GRADIENTSTYLE_LINEAR,
45     SVX_GRADIENTSTYLE_AXIAL,
46     SVX_GRADIENTSTYLE_RADIAL,
47     SVX_GRADIENTSTYLE_ELLIPTICAL,
48     SVX_GRADIENTSTYLE_SQUARE,
49     SVX_GRADIENTSTYLE_RECT
52 struct XFillGradient
54     String                              Name                    MID_NAME;
55     //  com::sun::star::awt::Gradient
56     SvxGradientStyle    Style                   MID_GRADIENT_STYLE;
57     INT32                               StartColor              MID_GRADIENT_STARTCOLOR;
58     INT32                               EndColor                MID_GRADIENT_ENDCOLOR;
59     INT16                               Angle                   MID_GRADIENT_ANGLE;
60     INT16                               Border                  MID_GRADIENT_BORDER;
61     INT16                               XOffset                 MID_GRADIENT_XOFFSET;
62     INT16                               YOffset                 MID_GRADIENT_YOFFSET;
63     INT16                               StartIntensity  MID_GRADIENT_STARTINTENSITY;
64     INT16                               EndIntensity    MID_GRADIENT_ENDINTENSITY;
65     INT16                               StepCount               MID_GRADIENT_STEPCOUNT;
67 item XFillGradient XFillGradientItem;
69 enum SvxHatchStyle
71     SVX_HATCHSTYLE_SINGLE,
72     SVX_HATCHSTYLE_DOUBLE,
73     SVX_HATCHSTYLE_TRIPLE
76 struct XFillHatch
78     String                              Name                    MID_NAME;
79     //  com::sun::star::drawing::Hatch
80     SvxHatchStyle               Style                   MID_HATCH_STYLE;
81     INT32                               Color                   MID_HATCH_COLOR;
82     INT32                               Distance                MID_HATCH_DISTANCE;
83     INT32                               Angle                   MID_HATCH_ANGLE;        
85 item XFillHatch XFillHatchItem;
87 enum SvxFillStyle
89     SVX_FILLSTYLE_NONE,
90     SVX_FILLSTYLE_SOLID,
91     SVX_FILLSTYLE_GRADIENT,
92     SVX_FILLSTYLE_HATCH,
93     SVX_FILLSTYLE_BITMAP
96 item SvxFillStyle XFillStyleItem;
98 //item String XLineAttrSetItem; SfxSetItem!
100 item INT32      XLineColorItem;
102 enum SvxDashStyle
104     SVX_DASHSTYLE_RECT,
105     SVX_DASHSTYLE_ROUND,
106     SVX_DASHSTYLE_RECTRELATIVE,
107     SVX_DASHSTYLE_ROUNDRELATIVE
110 struct XLineDash
112     String                      Name            MID_NAME;
113     //  com::sun::star::drawing::LineDash
114     SvxDashStyle        Style           MID_LINEDASH_STYLE;
115     INT16                       Dots            MID_LINEDASH_DOTS;
116     INT32                       DotLen          MID_LINEDASH_DOTLEN;
117     INT16                       Dashes          MID_LINEDASH_DASHES;
118     INT32                       DashLen         MID_LINEDASH_DASHLEN;
119     INT32                       Distance        MID_LINEDASH_DISTANCE;
121 item XLineDash XLineDashItem;
123 struct XLineEnd
125     String      Name            MID_NAME;
126 //      com::sun::star::drawing::PolyPolygonBezierCoords
128 item XLineEnd XLineEndItem;
130 item INT32      XLineEndWidthItem;
131 item BOOL       XLineEndCenterItem;
133 struct XLineStart
135     String      Name            MID_NAME;
136 //      com::sun::star::drawing::PolyPolygonBezierCoords
138 item XLineStart XLineStartItem;
140 item INT32      XLineStartWidthItem;
141 item BOOL       XLineStartCenterItem;
143 enum SvxLineStyle
145     SVX_LINESTYLE_NONE,
146     SVX_LINESTYLE_SOLID,
147     SVX_LINESTYLE_DASH
150 item SvxLineStyle XLineStyleItem;
152 item INT32      XLineWidthItem;
153 item INT32      XFormTextStyleItem;
154 item INT32      XFormTextAdjustItem;
156 item INT32      XFormTextDistanceItem;          // SfxInt32Item
157 item INT32      XFormTextStartItem;                     // SfxInt32Item
158 item BOOL       XFormTextMirrorItem;            // SfxBoolItem
160 item INT32      XFormTextStdFormItem;           // SfxEnumItem
161 item BOOL       XFormTextHideFormItem;          // SfxBoolItem
162 item BOOL       XFormTextOutlineItem;           // SfxBoolItem
163 item INT32      XFormTextShadowItem;            // SfxEnumItem
164 item INT32      XFormTextShadowColorItem;       // XColorItem
165 item INT32      XFormTextShadowXValItem;        // SfxMetricItem/SfxInt32Item
166 item INT32      XFormTextShadowYValItem;        // SfxMetricItem/SfxInt32Item