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