1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28//item String XFillAttrSetItem; SfxSetItem! 29struct XFillBitmap 30{ 31 String Name MID_NAME; 32 String GraphicsURL MID_GRAFURL; 33// com::sun::star::awt::XBitmap 34}; 35item XFillBitmap XFillBitmapItem; 36 37item INT32 XFillColorItem; // XColorItem 38 39enum SvxGradientStyle 40{ 41 SVX_GRADIENTSTYLE_LINEAR, 42 SVX_GRADIENTSTYLE_AXIAL, 43 SVX_GRADIENTSTYLE_RADIAL, 44 SVX_GRADIENTSTYLE_ELLIPTICAL, 45 SVX_GRADIENTSTYLE_SQUARE, 46 SVX_GRADIENTSTYLE_RECT 47}; 48 49struct XFillGradient 50{ 51 String Name MID_NAME; 52 // com::sun::star::awt::Gradient 53 SvxGradientStyle Style MID_GRADIENT_STYLE; 54 INT32 StartColor MID_GRADIENT_STARTCOLOR; 55 INT32 EndColor MID_GRADIENT_ENDCOLOR; 56 INT16 Angle MID_GRADIENT_ANGLE; 57 INT16 Border MID_GRADIENT_BORDER; 58 INT16 XOffset MID_GRADIENT_XOFFSET; 59 INT16 YOffset MID_GRADIENT_YOFFSET; 60 INT16 StartIntensity MID_GRADIENT_STARTINTENSITY; 61 INT16 EndIntensity MID_GRADIENT_ENDINTENSITY; 62 INT16 StepCount MID_GRADIENT_STEPCOUNT; 63}; 64item XFillGradient XFillGradientItem; 65 66enum SvxHatchStyle 67{ 68 SVX_HATCHSTYLE_SINGLE, 69 SVX_HATCHSTYLE_DOUBLE, 70 SVX_HATCHSTYLE_TRIPLE 71}; 72 73struct XFillHatch 74{ 75 String Name MID_NAME; 76 // com::sun::star::drawing::Hatch 77 SvxHatchStyle Style MID_HATCH_STYLE; 78 INT32 Color MID_HATCH_COLOR; 79 INT32 Distance MID_HATCH_DISTANCE; 80 INT32 Angle MID_HATCH_ANGLE; 81}; 82item XFillHatch XFillHatchItem; 83 84enum SvxFillStyle 85{ 86 SVX_FILLSTYLE_NONE, 87 SVX_FILLSTYLE_SOLID, 88 SVX_FILLSTYLE_GRADIENT, 89 SVX_FILLSTYLE_HATCH, 90 SVX_FILLSTYLE_BITMAP 91}; 92 93item SvxFillStyle XFillStyleItem; 94 95//item String XLineAttrSetItem; SfxSetItem! 96 97item INT32 XLineColorItem; 98 99enum SvxDashStyle 100{ 101 SVX_DASHSTYLE_RECT, 102 SVX_DASHSTYLE_ROUND, 103 SVX_DASHSTYLE_RECTRELATIVE, 104 SVX_DASHSTYLE_ROUNDRELATIVE 105}; 106 107struct XLineDash 108{ 109 String Name MID_NAME; 110 // com::sun::star::drawing::LineDash 111 SvxDashStyle Style MID_LINEDASH_STYLE; 112 INT16 Dots MID_LINEDASH_DOTS; 113 INT32 DotLen MID_LINEDASH_DOTLEN; 114 INT16 Dashes MID_LINEDASH_DASHES; 115 INT32 DashLen MID_LINEDASH_DASHLEN; 116 INT32 Distance MID_LINEDASH_DISTANCE; 117}; 118item XLineDash XLineDashItem; 119 120struct XLineEnd 121{ 122 String Name MID_NAME; 123// com::sun::star::drawing::PolyPolygonBezierCoords 124}; 125item XLineEnd XLineEndItem; 126 127item INT32 XLineEndWidthItem; 128item BOOL XLineEndCenterItem; 129 130struct XLineStart 131{ 132 String Name MID_NAME; 133// com::sun::star::drawing::PolyPolygonBezierCoords 134}; 135item XLineStart XLineStartItem; 136 137item INT32 XLineStartWidthItem; 138item BOOL XLineStartCenterItem; 139 140enum SvxLineStyle 141{ 142 SVX_LINESTYLE_NONE, 143 SVX_LINESTYLE_SOLID, 144 SVX_LINESTYLE_DASH 145}; 146 147item SvxLineStyle XLineStyleItem; 148 149item INT32 XLineWidthItem; 150item INT32 XFormTextStyleItem; 151item INT32 XFormTextAdjustItem; 152 153item INT32 XFormTextDistanceItem; // SfxInt32Item 154item INT32 XFormTextStartItem; // SfxInt32Item 155item BOOL XFormTextMirrorItem; // SfxBoolItem 156 157item INT32 XFormTextStdFormItem; // SfxEnumItem 158item BOOL XFormTextHideFormItem; // SfxBoolItem 159item BOOL XFormTextOutlineItem; // SfxBoolItem 160item INT32 XFormTextShadowItem; // SfxEnumItem 161item INT32 XFormTextShadowColorItem; // XColorItem 162item INT32 XFormTextShadowXValItem; // SfxMetricItem/SfxInt32Item 163item INT32 XFormTextShadowYValItem; // SfxMetricItem/SfxInt32Item 164