Branch libreoffice-5-0-4
[LibreOffice.git] / include / tools / rcid.h
blobec37ea38cbec4da53f237ed3a1210f11202f0b77
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_TOOLS_RCID_H
21 #define INCLUDED_TOOLS_RCID_H
23 #include <tools/resid.hxx>
25 // Definition of the version number
26 #define RSCVERSION_ID 200U
27 // Definition of an invalid identifier
28 #define RC_NO_ID (sal_uInt32(0xFFFFFFFF))
30 // Resource types
31 // Minimum is 0x100 due to MS-Windows resource types
32 // (RSC_NOTYPE=0x100) is defined in resid.hxx
33 #define RSC_BYNAME (RSC_NOTYPE + 0x01)
34 #define RSC_VERSIONCONTROL (RSC_NOTYPE + 0x02) // Version control
36 #define RSC_RESOURCE (RSC_NOTYPE + 0x10)
37 #define RSC_STRING (RSC_NOTYPE + 0x11)
38 #define RSC_BITMAP (RSC_NOTYPE + 0x13)
39 #define RSC_ACCEL (RSC_NOTYPE + 0x1a)
40 #define RSC_ACCELITEM (RSC_NOTYPE + 0x1b) // only used internally
41 #define RSC_MENU (RSC_NOTYPE + 0x1c)
42 #define RSC_MENUITEM (RSC_NOTYPE + 0x1d) // only used internally
43 #define RSC_KEYCODE (RSC_NOTYPE + 0x1f)
44 #define RSC_IMAGE (RSC_NOTYPE + 0x23)
45 #define RSC_IMAGELIST (RSC_NOTYPE + 0x24)
47 #define RSC_WINDOW (RSC_NOTYPE + 0x35)
48 #define RSC_SYSWINDOW (RSC_NOTYPE + 0x36)
49 #define RSC_WORKWIN (RSC_NOTYPE + 0x37)
51 #define RSC_CONTROL (RSC_NOTYPE + 0x44)
52 #define RSC_BUTTON (RSC_NOTYPE + 0x45)
53 #define RSC_PUSHBUTTON (RSC_NOTYPE + 0x46)
55 #define RSC_IMAGEBUTTON (RSC_NOTYPE + 0x4a)
57 #define RSC_SPINBUTTON (RSC_NOTYPE + 0x4d)
58 #define RSC_RADIOBUTTON (RSC_NOTYPE + 0x4e)
60 #define RSC_CHECKBOX (RSC_NOTYPE + 0x50)
62 #define RSC_EDIT (RSC_NOTYPE + 0x52)
64 #define RSC_COMBOBOX (RSC_NOTYPE + 0x54)
65 #define RSC_LISTBOX (RSC_NOTYPE + 0x55)
67 #define RSC_TEXT (RSC_NOTYPE + 0x57)
68 #define RSC_FIXEDLINE (RSC_NOTYPE + 0x58)
70 #define RSC_FIXEDIMAGE (RSC_NOTYPE + 0x5a)
72 #define RSC_SPLITWINDOW (RSC_NOTYPE + 0x60)
73 #define RSC_SPINFIELD (RSC_NOTYPE + 0x61)
75 #define RSC_NUMERICFIELD (RSC_NOTYPE + 0x63)
76 #define RSC_METRICFIELD (RSC_NOTYPE + 0x64)
78 #define RSC_TOOLBOXITEM (RSC_NOTYPE + 0x70)
79 #define RSC_TOOLBOX (RSC_NOTYPE + 0x71)
80 #define RSC_DOCKINGWINDOW (RSC_NOTYPE + 0x72)
82 #define RSC_STRINGARRAY (RSC_NOTYPE + 0x79)
84 // (RSC_NOTYPE + 0x200) - (RSC_NOTYPE + 0x300) reserved for Sfx
86 #endif
88 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */