1*db240f72SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*db240f72SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*db240f72SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*db240f72SAndrew Rist * distributed with this work for additional information 6*db240f72SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*db240f72SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*db240f72SAndrew Rist * "License"); you may not use this file except in compliance 9*db240f72SAndrew Rist * with the License. You may obtain a copy of the License at 10*db240f72SAndrew Rist * 11*db240f72SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*db240f72SAndrew Rist * 13*db240f72SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*db240f72SAndrew Rist * software distributed under the License is distributed on an 15*db240f72SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*db240f72SAndrew Rist * KIND, either express or implied. See the License for the 17*db240f72SAndrew Rist * specific language governing permissions and limitations 18*db240f72SAndrew Rist * under the License. 19*db240f72SAndrew Rist * 20*db240f72SAndrew Rist *************************************************************/ 21*db240f72SAndrew Rist 22*db240f72SAndrew 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 145cdf0e10cSrcweirenum SvxLineJoint 146cdf0e10cSrcweir{ 147cdf0e10cSrcweir // com::sun::star::drawing::LineJoint 148cdf0e10cSrcweir SVX_LINEJOINT_NONE, // no rounding 149cdf0e10cSrcweir SVX_LINEJOINT_MIDDLE, // calc middle value between joints 150cdf0e10cSrcweir SVX_LINEJOINT_BEVEL, // join edges with line 151cdf0e10cSrcweir SVX_LINEJOINT_MITER, // extend till cut 152cdf0e10cSrcweir SVX_LINEJOINT_ROUND // create arc 153cdf0e10cSrcweir}; 154cdf0e10cSrcweir 155cdf0e10cSrcweiritem SvxLineJoint XLineJointItem; 156cdf0e10cSrcweir 157cdf0e10cSrcweirenum SvxLineCap 158cdf0e10cSrcweir{ 159 // com::sun::star::drawing::LineCap 160 SVX_LINECAP_BUTT, 161 SVX_LINECAP_ROUND, 162 SVX_LINECAP_SQUARE 163}; 164 165item SvxLineCap XLineCapItem; 166 167item INT32 XLineWidthItem; 168item INT32 XFormTextStyleItem; 169item INT32 XFormTextAdjustItem; 170 171item INT32 XFormTextDistanceItem; // SfxInt32Item 172item INT32 XFormTextStartItem; // SfxInt32Item 173item BOOL XFormTextMirrorItem; // SfxBoolItem 174 175item BOOL XFormTextHideFormItem; // SfxBoolItem 176item BOOL XFormTextOutlineItem; // SfxBoolItem 177item INT32 XFormTextShadowItem; // SfxEnumItem 178item INT32 XFormTextShadowColorItem; // XColorItem 179item INT32 XFormTextShadowXValItem; // SfxMetricItem/SfxInt32Item 180item INT32 XFormTextShadowYValItem; // SfxMetricItem/SfxInt32Item 181 182item XFillGradient XFillFloatTransparenceItem; // XFillGradient 183 184// eof 185