xref: /aoo4110/main/basic/source/sbx/sbxres.hxx (revision b1cdbd2c)
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 
24 #ifndef _SBXRES_HXX
25 #define _SBXRES_HXX
26 
27 #include <tools/string.hxx>
28 
29 // Zur Zeit sind Ressources im SVTOOLS-Projekt nicht vorgesehen.
30 // Da es sich um unkritische Ressourcen handelt (BASIC-Keywords),
31 // koennen wir mit Dummies arbeiten.
32 
33 #define	STRING_TYPES		0
34 #define STRING_EMPTY		0
35 #define STRING_NULL	 		1
36 #define STRING_INTEGER		2
37 #define STRING_LONG 		3
38 #define STRING_SINGLE		4
39 #define STRING_DOUBLE		5
40 #define STRING_CURRENCY		6
41 #define STRING_DATE		  	7
42 #define STRING_STRING		8
43 #define STRING_OBJECT		9
44 #define STRING_ERROR		10
45 #define STRING_BOOL	   		11
46 #define STRING_VARIANT		12
47 #define STRING_ANY			13
48 #define	STRING_CHAR			16
49 #define	STRING_BYTE			17
50 #define	STRING_USHORT		18
51 #define	STRING_ULONG		19
52 #define	STRING_INT			22
53 #define	STRING_UINT			23
54 #define	STRING_LPSTR		30
55 #define	STRING_LPWSTR		31
56 #define STRING_AS			32
57 #define	STRING_OPTIONAL		33
58 #define	STRING_BYREF		34
59 
60 #define STRING_NAMEPROP		35
61 #define	STRING_PARENTPROP	36
62 #define	STRING_APPLPROP		37
63 #define STRING_COUNTPROP	38
64 #define STRING_ADDMETH		39
65 #define	STRING_ITEMMETH		40
66 #define	STRING_REMOVEMETH	41
67 
68 #define STRING_ERRORMSG		42
69 #define STRING_FALSE		43
70 #define STRING_TRUE			44
71 
72 #define	SBXRES_MAX			44
73 
74 class SbxRes : public ::rtl::OUString
75 {
76 public:
77 	SbxRes( sal_uInt16 );
78 };
79 
80 const char* GetSbxRes( sal_uInt16 );
81 
82 
83 #endif
84