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 #ifndef _XENUM_HXX 29 #define _XENUM_HXX 30 31 enum XLineStyle { XLINE_NONE, XLINE_SOLID, XLINE_DASH }; 32 enum XLineJoint 33 { 34 XLINEJOINT_NONE, // no rounding 35 XLINEJOINT_MIDDLE, // calc middle value between joints 36 XLINEJOINT_BEVEL, // join edges with line 37 XLINEJOINT_MITER, // extend till cut 38 XLINEJOINT_ROUND // create arc 39 }; 40 enum XDashStyle { XDASH_RECT, XDASH_ROUND, XDASH_RECTRELATIVE, 41 XDASH_ROUNDRELATIVE }; 42 enum XFillStyle { XFILL_NONE, XFILL_SOLID, XFILL_GRADIENT, XFILL_HATCH, 43 XFILL_BITMAP }; 44 enum XGradientStyle { XGRAD_LINEAR, XGRAD_AXIAL, XGRAD_RADIAL, 45 XGRAD_ELLIPTICAL, XGRAD_SQUARE, XGRAD_RECT }; 46 enum XHatchStyle { XHATCH_SINGLE, XHATCH_DOUBLE, XHATCH_TRIPLE }; 47 enum XFormTextStyle { XFT_ROTATE, XFT_UPRIGHT, XFT_SLANTX, XFT_SLANTY, 48 XFT_NONE }; 49 enum XFormTextAdjust { XFT_LEFT, XFT_RIGHT, XFT_AUTOSIZE, XFT_CENTER }; 50 enum XFormTextShadow { XFTSHADOW_NONE, XFTSHADOW_NORMAL, XFTSHADOW_SLANT}; 51 enum XFormTextStdForm { XFTFORM_NONE = 0, XFTFORM_TOPCIRC, XFTFORM_BOTCIRC, 52 XFTFORM_LFTCIRC, XFTFORM_RGTCIRC, XFTFORM_TOPARC, 53 XFTFORM_BOTARC, XFTFORM_LFTARC, XFTFORM_RGTARC, 54 XFTFORM_BUTTON1, XFTFORM_BUTTON2, 55 XFTFORM_BUTTON3, XFTFORM_BUTTON4}; 56 enum XBitmapStyle { XBITMAP_TILE, XBITMAP_STRETCH }; 57 enum XBitmapType { XBITMAP_IMPORT, XBITMAP_8X8, XBITMAP_NONE, 58 XBITMAP_16X16 }; 59 60 61 #endif // _XENUM_HXX 62 63