Update ooo320-m1
[ooovba.git] / sw / source / core / inc / unofldmid.h
blob7cac35e1389ed7bc9e6b7cdac14c5ab05e74a9b0
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: unofldmid.h,v $
10 * $Revision: 1.9 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef SW_UNOFLDMID_H
31 #define SW_UNOFLDMID_H
33 #include <tools/solar.h>
35 class String;
36 namespace com { namespace sun { namespace star { namespace uno {
37 class Any;
38 } } } }
40 /******************************************************************************
42 ******************************************************************************/
43 //Abbildung der Properties auf den Descriptor
44 #define FIELD_PROP_PAR1 10
45 #define FIELD_PROP_PAR2 11
46 #define FIELD_PROP_PAR3 12
47 #define FIELD_PROP_FORMAT 13
48 #define FIELD_PROP_SUBTYPE 14
49 #define FIELD_PROP_BOOL1 15
50 #define FIELD_PROP_BOOL2 16
51 #define FIELD_PROP_DATE 17
52 #define FIELD_PROP_USHORT1 18
53 #define FIELD_PROP_USHORT2 19
54 #define FIELD_PROP_BYTE1 20
55 #define FIELD_PROP_DOUBLE 21
56 #define FIELD_PROP_BOOL3 22
57 #define FIELD_PROP_PAR4 23
58 #define FIELD_PROP_SHORT1 24
59 #define FIELD_PROP_DATE_TIME 25
60 #define FIELD_PROP_PROP_SEQ 26
61 #define FIELD_PROP_LOCALE 27
62 #define FIELD_PROP_BOOL4 28
63 #define FIELD_PROP_STRINGS 29
64 #define FIELD_PROP_PAR5 30
65 #define FIELD_PROP_PAR6 31
67 #define FIELD_PROP_IS_FIELD_USED 32
68 #define FIELD_PROP_IS_FIELD_DISPLAYED 33
70 #define FIELD_PROP_TEXT 34
72 String& GetString( const com::sun::star::uno::Any&, String& rStr );
74 #endif