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 #ifndef SW_UNOFLDMID_H 28 #define SW_UNOFLDMID_H 29 30 #include <tools/solar.h> 31 32 class String; 33 namespace com { namespace sun { namespace star { namespace uno { 34 class Any; 35 } } } } 36 37 /****************************************************************************** 38 * 39 ******************************************************************************/ 40 //Abbildung der Properties auf den Descriptor 41 #define FIELD_PROP_PAR1 10 42 #define FIELD_PROP_PAR2 11 43 #define FIELD_PROP_PAR3 12 44 #define FIELD_PROP_FORMAT 13 45 #define FIELD_PROP_SUBTYPE 14 46 #define FIELD_PROP_BOOL1 15 47 #define FIELD_PROP_BOOL2 16 48 #define FIELD_PROP_DATE 17 49 #define FIELD_PROP_USHORT1 18 50 #define FIELD_PROP_USHORT2 19 51 #define FIELD_PROP_BYTE1 20 52 #define FIELD_PROP_DOUBLE 21 53 #define FIELD_PROP_BOOL3 22 54 #define FIELD_PROP_PAR4 23 55 #define FIELD_PROP_SHORT1 24 56 #define FIELD_PROP_DATE_TIME 25 57 #define FIELD_PROP_PROP_SEQ 26 58 #define FIELD_PROP_LOCALE 27 59 #define FIELD_PROP_BOOL4 28 60 #define FIELD_PROP_STRINGS 29 61 #define FIELD_PROP_PAR5 30 62 #define FIELD_PROP_PAR6 31 63 64 #define FIELD_PROP_IS_FIELD_USED 32 65 #define FIELD_PROP_IS_FIELD_DISPLAYED 33 66 67 #define FIELD_PROP_TEXT 34 68 69 String& GetString( const com::sun::star::uno::Any&, String& rStr ); 70 71 #endif 72