1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 #ifndef SW_UNOFLDMID_H 24 #define SW_UNOFLDMID_H 25 26 #include <tools/solar.h> 27 28 class String; 29 namespace com { namespace sun { namespace star { namespace uno { 30 class Any; 31 } } } } 32 33 /****************************************************************************** 34 * 35 ******************************************************************************/ 36 //Abbildung der Properties auf den Descriptor 37 #define FIELD_PROP_PAR1 10 38 #define FIELD_PROP_PAR2 11 39 #define FIELD_PROP_PAR3 12 40 #define FIELD_PROP_FORMAT 13 41 #define FIELD_PROP_SUBTYPE 14 42 #define FIELD_PROP_BOOL1 15 43 #define FIELD_PROP_BOOL2 16 44 #define FIELD_PROP_DATE 17 45 #define FIELD_PROP_USHORT1 18 46 #define FIELD_PROP_USHORT2 19 47 #define FIELD_PROP_BYTE1 20 48 #define FIELD_PROP_DOUBLE 21 49 #define FIELD_PROP_BOOL3 22 50 #define FIELD_PROP_PAR4 23 51 #define FIELD_PROP_SHORT1 24 52 #define FIELD_PROP_DATE_TIME 25 53 #define FIELD_PROP_PROP_SEQ 26 54 #define FIELD_PROP_LOCALE 27 55 #define FIELD_PROP_BOOL4 28 56 #define FIELD_PROP_STRINGS 29 57 #define FIELD_PROP_PAR5 30 58 #define FIELD_PROP_PAR6 31 59 60 #define FIELD_PROP_IS_FIELD_USED 32 61 #define FIELD_PROP_IS_FIELD_DISPLAYED 33 62 63 #define FIELD_PROP_TEXT 34 64 65 String& GetString( const com::sun::star::uno::Any&, String& rStr ); 66 67 #endif 68