xref: /AOO41X/main/tools/inc/tools/rcid.h (revision 514f4c20bcebc1639918b6975cc4300e4484c27c)
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 _TOOLS_RCID_H
25 #define _TOOLS_RCID_H
26 
27 #include <tools/resid.hxx>
28 
29 // Definition der Versionsnummer
30 #define RSCVERSION_ID           200U
31 // Definition eines ungueltige Identifiers.
32 #define RC_NO_ID                (sal_uInt32(0xFFFFFFFF))
33 
34 // Dies sind die Resourcetypen
35 // Mindestens 0x100 wegen MS-Windows Resourcetypen
36 //#define RSC_NOTYPE              0x100
37 //RSC_NOTYPE wird in resid.hxx definiert
38 #define RSC_BYNAME              (RSC_NOTYPE + 0x01)
39 #define RSC_VERSIONCONTROL      (RSC_NOTYPE + 0x02) // Versionskontrolle
40 
41 #define RSC_RESOURCE            (RSC_NOTYPE + 0x10)
42 #define RSC_STRING              (RSC_NOTYPE + 0x11)
43 #define RSC_BITMAP              (RSC_NOTYPE + 0x13)
44 #define RSC_ACCEL               (RSC_NOTYPE + 0x1a)
45 #define RSC_ACCELITEM           (RSC_NOTYPE + 0x1b)// nur intern
46 #define RSC_MENU                (RSC_NOTYPE + 0x1c)
47 #define RSC_MENUITEM            (RSC_NOTYPE + 0x1d)// nur intern
48 #define RSC_KEYCODE             (RSC_NOTYPE + 0x1f)
49 #define RSC_TIME                (RSC_NOTYPE + 0x20)
50 #define RSC_DATE                (RSC_NOTYPE + 0x21)
51 //#define RSC_INTERNATIONAL     (RSC_NOTYPE + 0x22) // erAck: got rid of class International (2005-06-17)
52 #define RSC_IMAGE               (RSC_NOTYPE + 0x23)
53 #define RSC_IMAGELIST           (RSC_NOTYPE + 0x24)
54 
55 #define RSC_MESSBOX             (RSC_NOTYPE + 0x30)
56 #define RSC_INFOBOX             (RSC_NOTYPE + 0x31)
57 #define RSC_WARNINGBOX          (RSC_NOTYPE + 0x32)
58 #define RSC_ERRORBOX            (RSC_NOTYPE + 0x33)
59 #define RSC_QUERYBOX            (RSC_NOTYPE + 0x34)
60 #define RSC_WINDOW              (RSC_NOTYPE + 0x35)
61 #define RSC_SYSWINDOW           (RSC_NOTYPE + 0x36)
62 #define RSC_WORKWIN             (RSC_NOTYPE + 0x37)
63 #define RSC_MDIWINDOW           (RSC_NOTYPE + 0x38)
64 #define RSC_FLOATINGWINDOW      (RSC_NOTYPE + 0x39)
65 #define RSC_DIALOG              (RSC_NOTYPE + 0x3a)
66 #define RSC_MODELESSDIALOG      (RSC_NOTYPE + 0x3b)
67 #define RSC_MODALDIALOG         (RSC_NOTYPE + 0x3c)
68 #define RSC_CONTROL             (RSC_NOTYPE + 0x44)
69 #define RSC_BUTTON              (RSC_NOTYPE + 0x45)
70 #define RSC_PUSHBUTTON          (RSC_NOTYPE + 0x46)
71 #define RSC_OKBUTTON            (RSC_NOTYPE + 0x47)
72 #define RSC_CANCELBUTTON        (RSC_NOTYPE + 0x48)
73 #define RSC_HELPBUTTON          (RSC_NOTYPE + 0x49)
74 #define RSC_IMAGEBUTTON         (RSC_NOTYPE + 0x4a)
75 #define RSC_MENUBUTTON          (RSC_NOTYPE + 0x4b)
76 #define RSC_MOREBUTTON          (RSC_NOTYPE + 0x4c)
77 #define RSC_SPINBUTTON          (RSC_NOTYPE + 0x4d)
78 #define RSC_RADIOBUTTON         (RSC_NOTYPE + 0x4e)
79 #define RSC_IMAGERADIOBUTTON    (RSC_NOTYPE + 0x4f)
80 #define RSC_CHECKBOX            (RSC_NOTYPE + 0x50)
81 #define RSC_TRISTATEBOX         (RSC_NOTYPE + 0x51)
82 #define RSC_EDIT                (RSC_NOTYPE + 0x52)
83 #define RSC_MULTILINEEDIT       (RSC_NOTYPE + 0x53)
84 #define RSC_COMBOBOX            (RSC_NOTYPE + 0x54)
85 #define RSC_LISTBOX             (RSC_NOTYPE + 0x55)
86 #define RSC_MULTILISTBOX        (RSC_NOTYPE + 0x56)
87 #define RSC_TEXT                (RSC_NOTYPE + 0x57)
88 #define RSC_FIXEDLINE           (RSC_NOTYPE + 0x58)
89 #define RSC_FIXEDBITMAP         (RSC_NOTYPE + 0x59)
90 #define RSC_FIXEDIMAGE          (RSC_NOTYPE + 0x5a)
91 #define RSC_GROUPBOX            (RSC_NOTYPE + 0x5c)
92 #define RSC_SCROLLBAR           (RSC_NOTYPE + 0x5d)
93 #define RSC_SCROLLBARBOX        (RSC_NOTYPE + 0x5e)
94 #define RSC_SPLITTER            (RSC_NOTYPE + 0x5f)
95 #define RSC_SPLITWINDOW         (RSC_NOTYPE + 0x60)
96 #define RSC_SPINFIELD           (RSC_NOTYPE + 0x61)
97 #define RSC_PATTERNFIELD        (RSC_NOTYPE + 0x62)
98 #define RSC_NUMERICFIELD        (RSC_NOTYPE + 0x63)
99 #define RSC_METRICFIELD         (RSC_NOTYPE + 0x64)
100 #define RSC_CURRENCYFIELD       (RSC_NOTYPE + 0x65)
101 #define RSC_DATEFIELD           (RSC_NOTYPE + 0x66)
102 #define RSC_TIMEFIELD           (RSC_NOTYPE + 0x67)
103 #define RSC_PATTERNBOX          (RSC_NOTYPE + 0x68)
104 #define RSC_NUMERICBOX          (RSC_NOTYPE + 0x69)
105 #define RSC_METRICBOX           (RSC_NOTYPE + 0x6a)
106 #define RSC_CURRENCYBOX         (RSC_NOTYPE + 0x6b)
107 #define RSC_DATEBOX             (RSC_NOTYPE + 0x6c)
108 #define RSC_TIMEBOX             (RSC_NOTYPE + 0x6d)
109 #define RSC_LONGCURRENCYFIELD   (RSC_NOTYPE + 0x6e)
110 #define RSC_LONGCURRENCYBOX     (RSC_NOTYPE + 0x6f)
111 #define RSC_TOOLBOXITEM         (RSC_NOTYPE + 0x70)
112 #define RSC_TOOLBOX             (RSC_NOTYPE + 0x71)
113 #define RSC_DOCKINGWINDOW       (RSC_NOTYPE + 0x72)
114 #define RSC_STATUSBAR           (RSC_NOTYPE + 0x73)
115 #define RSC_TABPAGE             (RSC_NOTYPE + 0x74)
116 #define RSC_TABCONTROL          (RSC_NOTYPE + 0x75)
117 #define RSC_TABDIALOG           (RSC_NOTYPE + 0x76)
118 #define RSC_TABCONTROLITEM      (RSC_NOTYPE + 0x77)
119 #define RSC_TREELISTBOX         (RSC_NOTYPE + 0x78)
120 #define RSC_STRINGARRAY         (RSC_NOTYPE + 0x79)
121 
122 // (RSC_NOTYPE + 0x200) - (RSC_NOTYPE + 0x300) fuer Sfx reserviert
123 
124 #define RT_SYS_BITMAP           (RSC_NOTYPE + 0xf2)
125 #define RT_SYS_STRING           (RSC_NOTYPE + 0xf3)     // Sonderbehandlung
126 #define RT_SYS_FILE             (RSC_NOTYPE + 0xf4)     // nicht implementiert
127 
128 // (RSC_NOTYPE + 0x200) - (RSC_NOTYPE + 0x300) fuer Sfx reserviert
129 
130 #endif // _RCID_H
131