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