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 _BASCTL_DLGEDDEF_HXX 29 #define _BASCTL_DLGEDDEF_HXX 30 31 #include <tools/solar.h> 32 33 34 const sal_uInt32 DlgInventor = sal_uInt32('D')*0x00000001+ 35 sal_uInt32('L')*0x00000100+ 36 sal_uInt32('G')*0x00010000+ 37 sal_uInt32('1')*0x01000000; 38 39 40 #define OBJ_DLG_CONTROL ((sal_uInt16) 1) 41 #define OBJ_DLG_DIALOG ((sal_uInt16) 2) 42 #define OBJ_DLG_PUSHBUTTON ((sal_uInt16) 3) 43 #define OBJ_DLG_RADIOBUTTON ((sal_uInt16) 4) 44 #define OBJ_DLG_CHECKBOX ((sal_uInt16) 5) 45 #define OBJ_DLG_LISTBOX ((sal_uInt16) 6) 46 #define OBJ_DLG_COMBOBOX ((sal_uInt16) 7) 47 #define OBJ_DLG_GROUPBOX ((sal_uInt16) 8) 48 #define OBJ_DLG_EDIT ((sal_uInt16) 9) 49 #define OBJ_DLG_FIXEDTEXT ((sal_uInt16)10) 50 #define OBJ_DLG_IMAGECONTROL ((sal_uInt16)11) 51 #define OBJ_DLG_PROGRESSBAR ((sal_uInt16)12) 52 #define OBJ_DLG_HSCROLLBAR ((sal_uInt16)13) 53 #define OBJ_DLG_VSCROLLBAR ((sal_uInt16)14) 54 #define OBJ_DLG_HFIXEDLINE ((sal_uInt16)15) 55 #define OBJ_DLG_VFIXEDLINE ((sal_uInt16)16) 56 #define OBJ_DLG_DATEFIELD ((sal_uInt16)17) 57 #define OBJ_DLG_TIMEFIELD ((sal_uInt16)18) 58 #define OBJ_DLG_NUMERICFIELD ((sal_uInt16)19) 59 #define OBJ_DLG_CURRENCYFIELD ((sal_uInt16)20) 60 #define OBJ_DLG_FORMATTEDFIELD ((sal_uInt16)21) 61 #define OBJ_DLG_PATTERNFIELD ((sal_uInt16)22) 62 #define OBJ_DLG_FILECONTROL ((sal_uInt16)23) 63 #define OBJ_DLG_TREECONTROL ((sal_uInt16)24) 64 65 // control properties 66 #define DLGED_PROP_BACKGROUNDCOLOR ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "BackgroundColor" ) ) 67 #define DLGED_PROP_DROPDOWN ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Dropdown" ) ) 68 #define DLGED_PROP_FORMATSSUPPLIER ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "FormatsSupplier" ) ) 69 #define DLGED_PROP_HEIGHT ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Height" ) ) 70 #define DLGED_PROP_LABEL ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Label" ) ) 71 #define DLGED_PROP_NAME ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Name" ) ) 72 #define DLGED_PROP_ORIENTATION ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Orientation" ) ) 73 #define DLGED_PROP_POSITIONX ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PositionX" ) ) 74 #define DLGED_PROP_POSITIONY ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PositionY" ) ) 75 #define DLGED_PROP_STEP ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Step" ) ) 76 #define DLGED_PROP_TABINDEX ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "TabIndex" ) ) 77 #define DLGED_PROP_TEXTCOLOR ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "TextColor" ) ) 78 #define DLGED_PROP_TEXTLINECOLOR ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "TextLineColor" ) ) 79 #define DLGED_PROP_WIDTH ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Width" ) ) 80 #define DLGED_PROP_DECORATION ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Decoration" ) ) 81 82 83 #endif // _BASCTL_DLGEDDEF_HXX 84