xref: /AOO41X/main/basic/source/sbx/sbxres.hxx (revision 234bd5c559aaf7abbd02d045859137b774cd8b34)
1*234bd5c5SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*234bd5c5SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*234bd5c5SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*234bd5c5SAndrew Rist  * distributed with this work for additional information
6*234bd5c5SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*234bd5c5SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*234bd5c5SAndrew Rist  * "License"); you may not use this file except in compliance
9*234bd5c5SAndrew Rist  * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir  *
11*234bd5c5SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir  *
13*234bd5c5SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*234bd5c5SAndrew Rist  * software distributed under the License is distributed on an
15*234bd5c5SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*234bd5c5SAndrew Rist  * KIND, either express or implied.  See the License for the
17*234bd5c5SAndrew Rist  * specific language governing permissions and limitations
18*234bd5c5SAndrew Rist  * under the License.
19cdf0e10cSrcweir  *
20*234bd5c5SAndrew Rist  *************************************************************/
21*234bd5c5SAndrew Rist 
22*234bd5c5SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef _SBXRES_HXX
25cdf0e10cSrcweir #define _SBXRES_HXX
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include <tools/string.hxx>
28cdf0e10cSrcweir 
29cdf0e10cSrcweir // Zur Zeit sind Ressources im SVTOOLS-Projekt nicht vorgesehen.
30cdf0e10cSrcweir // Da es sich um unkritische Ressourcen handelt (BASIC-Keywords),
31cdf0e10cSrcweir // koennen wir mit Dummies arbeiten.
32cdf0e10cSrcweir 
33cdf0e10cSrcweir #define	STRING_TYPES		0
34cdf0e10cSrcweir #define STRING_EMPTY		0
35cdf0e10cSrcweir #define STRING_NULL	 		1
36cdf0e10cSrcweir #define STRING_INTEGER		2
37cdf0e10cSrcweir #define STRING_LONG 		3
38cdf0e10cSrcweir #define STRING_SINGLE		4
39cdf0e10cSrcweir #define STRING_DOUBLE		5
40cdf0e10cSrcweir #define STRING_CURRENCY		6
41cdf0e10cSrcweir #define STRING_DATE		  	7
42cdf0e10cSrcweir #define STRING_STRING		8
43cdf0e10cSrcweir #define STRING_OBJECT		9
44cdf0e10cSrcweir #define STRING_ERROR		10
45cdf0e10cSrcweir #define STRING_BOOL	   		11
46cdf0e10cSrcweir #define STRING_VARIANT		12
47cdf0e10cSrcweir #define STRING_ANY			13
48cdf0e10cSrcweir #define	STRING_CHAR			16
49cdf0e10cSrcweir #define	STRING_BYTE			17
50cdf0e10cSrcweir #define	STRING_USHORT		18
51cdf0e10cSrcweir #define	STRING_ULONG		19
52cdf0e10cSrcweir #define	STRING_INT			22
53cdf0e10cSrcweir #define	STRING_UINT			23
54cdf0e10cSrcweir #define	STRING_LPSTR		30
55cdf0e10cSrcweir #define	STRING_LPWSTR		31
56cdf0e10cSrcweir #define STRING_AS			32
57cdf0e10cSrcweir #define	STRING_OPTIONAL		33
58cdf0e10cSrcweir #define	STRING_BYREF		34
59cdf0e10cSrcweir 
60cdf0e10cSrcweir #define STRING_NAMEPROP		35
61cdf0e10cSrcweir #define	STRING_PARENTPROP	36
62cdf0e10cSrcweir #define	STRING_APPLPROP		37
63cdf0e10cSrcweir #define STRING_COUNTPROP	38
64cdf0e10cSrcweir #define STRING_ADDMETH		39
65cdf0e10cSrcweir #define	STRING_ITEMMETH		40
66cdf0e10cSrcweir #define	STRING_REMOVEMETH	41
67cdf0e10cSrcweir 
68cdf0e10cSrcweir #define STRING_ERRORMSG		42
69cdf0e10cSrcweir #define STRING_FALSE		43
70cdf0e10cSrcweir #define STRING_TRUE			44
71cdf0e10cSrcweir 
72cdf0e10cSrcweir #define	SBXRES_MAX			44
73cdf0e10cSrcweir 
74cdf0e10cSrcweir class SbxRes : public ::rtl::OUString
75cdf0e10cSrcweir {
76cdf0e10cSrcweir public:
77cdf0e10cSrcweir 	SbxRes( sal_uInt16 );
78cdf0e10cSrcweir };
79cdf0e10cSrcweir 
80cdf0e10cSrcweir const char* GetSbxRes( sal_uInt16 );
81cdf0e10cSrcweir 
82cdf0e10cSrcweir 
83cdf0e10cSrcweir #endif
84