bump product version to 4.2.0.1
[LibreOffice.git] / include / sfx2 / sfx.hrc
blob713514848377c3d3c706452c7fab5542dc3cdc6d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
20 #ifndef _SFX_HRC
21 #define _SFX_HRC
23 #include <svl/solar.hrc>
24 #include <svl/memberid.hrc>
26 #define RID_GROUPS_OFFSET           32000
27 #define RID_GROUPS_SFXOFFSET        32700
28 #define RID_GROUPS_END              32767
30 //--------------------------------------------------------------------
32 #define EVENT_SFX_START              5000
33 //      EVENT_SFX_END                9999
35 //      EVENT_LIB_START             10000
36 //      EVENT_LIB_END               19999
38 #define EVENT_APP_START             20000
39 //      EVENT_APP_END               29999
41 #define EVENT_OBJ_START             30000
43 #define EVENT_SVX_START             (EVENT_OBJ_START+0x0400)
45 // Warning: the following are simultaneously SID_ON_ ...
46 #define SFX_EVENT_CLOSEAPP          (EVENT_SFX_START + 1)
47 #define SFX_EVENT_CREATEDOC         (EVENT_SFX_START + 2)
48 #define SFX_EVENT_OPENDOC           (EVENT_SFX_START + 3)
49 #define SFX_EVENT_CLOSEDOC          (EVENT_SFX_START + 4)
50 #define SFX_EVENT_SAVEDOC           (EVENT_SFX_START + 5)
51 #define SFX_EVENT_SAVEASDOC         (EVENT_SFX_START + 6)
52 #define SFX_EVENT_ACTIVATEDOC       (EVENT_SFX_START + 7)
53 #define SFX_EVENT_DEACTIVATEDOC     (EVENT_SFX_START + 8)
54 #define SFX_EVENT_PRINTDOC          (EVENT_SFX_START + 9)
55 #define SFX_EVENT_SAVEACOPY         (EVENT_SFX_START + 10)
57 #define SFX_EVENT_LOADFINISHED      (EVENT_SFX_START + 11)
59 #define SFX_EVENT_MODIFYCHANGED     (EVENT_SFX_START + 13)
60 #define SFX_EVENT_PREPARECLOSEDOC   (EVENT_SFX_START + 14)
61 #define SFX_EVENT_TOGGLEFULLSCREENMODE  (EVENT_SFX_START + 16)
62 #define SFX_EVENT_SAVEDOCDONE       (EVENT_SFX_START + 17)
63 #define SFX_EVENT_SAVEASDOCDONE     (EVENT_SFX_START + 18)
65 #define SFX_EVENT_SAVETODOC         (EVENT_SFX_START + 19)
66 #define SFX_EVENT_SAVETODOCDONE     (EVENT_SFX_START + 20)
68 #define SFX_EVENT_VIEWCREATED       (EVENT_SFX_START + 21)
69 #define SFX_EVENT_PREPARECLOSEVIEW  (EVENT_SFX_START + 22)
70 #define SFX_EVENT_CLOSEVIEW         (EVENT_SFX_START + 23)
72 #define SFX_EVENT_STORAGECHANGED    (EVENT_SFX_START + 24)
73 #define SFX_EVENT_VISAREACHANGED    (EVENT_SFX_START + 25)
75 #define SFX_EVENT_DOCCREATED        (EVENT_SFX_START + 26)
77 #define SFX_EVENT_SAVEASDOCFAILED   (EVENT_SFX_START + 27)
78 #define SFX_EVENT_SAVEDOCFAILED     (EVENT_SFX_START + 28)
79 #define SFX_EVENT_SAVETODOCFAILED   (EVENT_SFX_START + 29)
82 // Events for Controls etc.
83 #define SFX_EVENT_MOUSEOVER_OBJECT     ( EVENT_SFX_START + 100 )
84 #define SFX_EVENT_MOUSECLICK_OBJECT    ( EVENT_SFX_START + 101 )
85 #define SFX_EVENT_MOUSEOUT_OBJECT      ( EVENT_SFX_START + 102 )
87 //--------------------------------------------------------------------
89 #define RID_SFX_APP_START                   (RID_SFX_START +  256)
90 #define RID_SFX_MENU_START                  (RID_SFX_START +  768)
91 //      RID_SFX_CONFIG_START                (RID_SFX_START + 1536)
92 #define RID_SFX_DOC_START                   (RID_SFX_START + 1792)
93 #define RID_SFX_DIALOG_START                (RID_SFX_START + 2048)
94 #define RID_SFX_BASTYP_START                (RID_SFX_START + 2304)
95 #define RID_SFX_EXPLORER_START              (RID_SFX_START + 2816)
97 //      RID_CNT_START                       (RID_SFX_START + 3072)
99 #define RID_SFX_SFXLOCAL_START              (RID_SFX_START + 3082)
100 #define RID_SFX_VIEW_START                  (RID_SFX_START + 4096)
101 #define RID_SFX_SIDEBAR_START               (RID_SFX_START + 4150)
102 //      RID_CNT_START2                      (RID_SFX_START + 4500)
103 //      RID_SFX_CHAOSDOC_START              (RID_SFX_START + 5120)
104 //      RID_SFX_TPLCOMPONENT_START          (RID_SFX_START + 6800)
105 //      RID_SFX_HELPCOMPONENT_START         (RID_SFX_START + 7000)
107 //--------------------------------------------------------------------
109 #define SFX_OBJECTBAR_APPLICATION       0
110 #define SFX_OBJECTBAR_OBJECT            1
111 #define SFX_OBJECTBAR_TOOLS             2
112 #define SFX_OBJECTBAR_MACRO             3
113 #define SFX_OBJECTBAR_FULLSCREEN        4
114 #define SFX_OBJECTBAR_RECORDING         5
115 #define SFX_OBJECTBAR_COMMONTASK        6
116 #define SFX_OBJECTBAR_OPTIONS           7
117 #define SFX_OBJECTBAR_NAVIGATION        12
118 #define SFX_OBJECTBAR_MAX               13
120 // temporary due to compatibility
123 #define MSG_QUERY_LASTVERSION               RID_SFX_START
125 #define RID_APPLICATION                     RID_SFX_START
126 #define RID_DEFAULTIMAGELIST_SC             (RID_SFX_START+15)
127 #define RID_DEFAULTIMAGELIST_LC             (RID_SFX_START+17)
129 #define RID_STYLECATALOG                    (RID_SFX_START+1201)
131 #define RID_DEFAULTABOUT                    (RID_SFX_START+0)
133 #define RID_APPTITLE                        (RID_SFX_START+4)
137 #define DLG_STYLE_DESIGNER                  (RID_SFX_START+8)
139 #define RID_SFX_INCORRECT_PASSWORD          (RID_SFX_START+216)
141 #define STR_STYLE_FILTER_AUTO               (RID_SFX_START+9)
142 #define STR_STYLE_FILTER_USED               (RID_SFX_START+10)
143 #define STR_STYLE_FILTER_USERDEF            (RID_SFX_START+11)
144 #define STR_STYLE_FILTER_ALL                (RID_SFX_START+12)
145 // +13 already used!
146 #define STR_STYLE_FILTER_HIERARCHICAL       (RID_SFX_START+1200)
148 #define STR_NONAME                          (RID_SFX_START+100)
149 #define STR_NONE                            (RID_SFX_START+101)
150 #define STR_CLOSE                           (RID_SFX_START+103)
151 #define STR_STANDARD                        (RID_SFX_START+104)
152 #define STR_READONLY                        (RID_SFX_START+105)
154 #define STR_SFX_FILTERNAME_ALL              (RID_SFX_START+106)
155 #define STR_EDIT                            (RID_SFX_START+108)
157 #define STR_BYTES                           (RID_SFX_START+111)
158 #define STR_KB                              (RID_SFX_START+112)
159 #define STR_MB                              (RID_SFX_START+113)
160 #define STR_GB                              (RID_SFX_START+114)
163 #define STR_STANDARD_SHORTCUT               (RID_SFX_START+117)
164 #define STR_REPAIREDDOCUMENT                (RID_SFX_START+118)
165 #define STR_ERRUNOEVENTBINDUNG              (RID_SFX_START+119)
166 #define STR_SHARED                          (RID_SFX_START+120)
167 #define RID_XMLSEC_DOCUMENTSIGNED           (RID_SFX_START+121)
168 #define STR_PASSWD                          (RID_SFX_START+122)
169 #define STR_PASSWD_EMPTY                    (RID_SFX_START+123)
170 #define STR_PASSWD_MIN_LEN                  (RID_SFX_START+124)
171 #define STR_NONCHECKEDOUT_DOCUMENT          (RID_SFX_START+125)
172 #define BT_CHECKOUT                         (RID_SFX_START+126)
173 #define STR_ACCTITLE_PRODUCTIVITYTOOLS      (RID_SFX_START+157)
175 #define SFX_THUMBNAIL_TEXT                  (RID_SFX_START+158)
176 #define SFX_THUMBNAIL_SHEET                 (RID_SFX_START+159)
177 #define SFX_THUMBNAIL_PRESENTATION          (RID_SFX_START+160)
178 #define SFX_THUMBNAIL_DRAWING               (RID_SFX_START+161)
180 #define SFX_FILE_THUMBNAIL_TEXT             (RID_SFX_START+162)
181 #define SFX_FILE_THUMBNAIL_SHEET            (RID_SFX_START+163)
182 #define SFX_FILE_THUMBNAIL_PRESENTATION     (RID_SFX_START+164)
183 #define SFX_FILE_THUMBNAIL_DRAWING          (RID_SFX_START+165)
184 #define SFX_FILE_THUMBNAIL_DATABASE         (RID_SFX_START+166)
185 #define SFX_FILE_THUMBNAIL_MATH             (RID_SFX_START+167)
186 #define SFX_FILE_THUMBNAIL_DEFAULT          (RID_SFX_START+168)
188 //=========================================================================
190 // group ids
191 //=========================================================================
192 // !! If you add a new group, please change sfxbasecontroller.cxx and
193 // !! com.sun.star.frame.CommandGroup accordingly!
194 //=========================================================================
196 #define GID_INTERN                          (RID_GROUPS_SFXOFFSET+ 0)
197 #define GID_APPLICATION                     (RID_GROUPS_SFXOFFSET+ 1)
198 #define GID_DOCUMENT                        (RID_GROUPS_SFXOFFSET+ 2)
199 #define GID_VIEW                            (RID_GROUPS_SFXOFFSET+ 3)
200 #define GID_EDIT                            (RID_GROUPS_SFXOFFSET+ 4)
201 #define GID_MACRO                           (RID_GROUPS_SFXOFFSET+ 5)
202 #define GID_OPTIONS                         (RID_GROUPS_SFXOFFSET+ 6)
203 #define GID_MATH                            (RID_GROUPS_SFXOFFSET+ 7)
204 #define GID_NAVIGATOR                       (RID_GROUPS_SFXOFFSET+ 8)
205 #define GID_INSERT                          (RID_GROUPS_SFXOFFSET+ 9)
206 #define GID_FORMAT                          (RID_GROUPS_SFXOFFSET+10)
207 #define GID_TEMPLATE                        (RID_GROUPS_SFXOFFSET+11)
208 #define GID_TEXT                            (RID_GROUPS_SFXOFFSET+12)
209 #define GID_FRAME                           (RID_GROUPS_SFXOFFSET+13)
210 #define GID_GRAPHIC                         (RID_GROUPS_SFXOFFSET+14)
211 #define GID_TABLE                           (RID_GROUPS_SFXOFFSET+15)
212 #define GID_ENUMERATION                     (RID_GROUPS_SFXOFFSET+16)
213 #define GID_DATA                            (RID_GROUPS_SFXOFFSET+17)
214 #define GID_SPECIAL                         (RID_GROUPS_SFXOFFSET+18)
215 #define GID_IMAGE                           (RID_GROUPS_SFXOFFSET+19)
216 #define GID_CHART                           (RID_GROUPS_SFXOFFSET+20)
217 #define GID_EXPLORER                        (RID_GROUPS_SFXOFFSET+21)
218 #define GID_CONNECTOR                       (RID_GROUPS_SFXOFFSET+22)
219 #define GID_MODIFY                          (RID_GROUPS_SFXOFFSET+23)
220 #define GID_DRAWING                         (RID_GROUPS_SFXOFFSET+24)
221 #define GID_CONTROLS                        (RID_GROUPS_SFXOFFSET+25)
222 #define GID_NAVIGATION                      (RID_GROUPS_SFXOFFSET+26)
224 // =========================================================================
226 #define RID_OPTIONS_START           (SID_LIB_START +    2000)
227 //      RID_OPTIONS_END             (RID_OPTIONS_START + 100)
229 // ResId's ------------------------------------------------------------------
231 #define RID_SFXPAGE_SAVE            (RID_OPTIONS_START +  0)
232 #define RID_SFXPAGE_GENERAL         (RID_OPTIONS_START +  1)
233 #define RID_SFXDLG_EDITDICT         (RID_OPTIONS_START +  4)
234 #define RID_SFXPAGE_PATH            (RID_OPTIONS_START +  6)
235 #define RID_SFXPAGE_LINGU           (RID_OPTIONS_START +  7)
236 #define RID_SFXQB_SET_LANGUAGE      (RID_OPTIONS_START + 10)
237 #define RID_SFXPAGE_PRINTOPTIONS    (RID_OPTIONS_START + 12)
239 #define RID_STR_NEW_TASK                    (RID_SFX_DOC_START+ 76)
241 // Member-Ids ------------------------------------------------------------
243 #define MID_DOCINFO_DESCRIPTION              0x13
244 #define MID_DOCINFO_KEYWORDS                 0x17
245 #define MID_DOCINFO_SUBJECT                  0x1b
246 #define MID_DOCINFO_TITLE                        0x1d
247 #define MID_DOCINFO_AUTOLOADENABLED          0x2d
248 #define MID_DOCINFO_AUTOLOADURL              0x2e
249 #define MID_DOCINFO_AUTOLOADSECS             0x2f
250 #define MID_DOCINFO_DEFAULTTARGET            0x30
251 #define MID_DOCINFO_USEUSERDATA              0x31
252 #define MID_DOCINFO_DELETEUSERDATA           0x32
254 // only for FastPropertySet
255 #define MID_DOCINFO_REVISION                 0x15
256 #define MID_DOCINFO_EDITTIME                 0x16
257 #define MID_DOCINFO_MODIFICATIONAUTHOR       0x18
258 #define MID_DOCINFO_TEMPLATE                 0x1c
259 #define MID_DOCINFO_PRINTDATE                0x28
260 #define MID_DOCINFO_PRINTEDBY                0x2a
261 #define MID_DOCINFO_TEMPLATEDATE             0x2b
262 #define MID_DOCINFO_STATISTIC                0x33
263 #define MID_DOCINFO_CHARLOCALE               0x34
264 #define MID_CATEGORY                         0x35
265 #define MID_COMPANY                          0x36
266 #define MID_MANAGER                          0x37
267 #define MID_TYPE                             0x38
268 #define MID_VALUE                            0x39
269 #define MID_VALUESET                         0x40
271 // Config-Ids -----------------------------------------------------------
273 #define SFX_ITEMTYPE_SW_BEGIN       20000
274 //      SFX_ITEMTYPE_SW_END         22999
276 #define SFX_ITEMTYPE_SD_BEGIN       23000
277 //      SFX_ITEMTYPE_SD_END         25999
279 #define SFX_ITEMTYPE_SC_BEGIN       26000
280 //      SFX_ITEMTYPE_SC_END         27999
282 // free: 28000-32767
284 // Slot-Ids -------------------------------------------------------------
286 #include <sfx2/sfxsids.hrc>
288 #define HID_INTERFACE_SFXHELP_VIEWSH            24
290 #define RET_NEWTASK 200
292 #endif // #ifndef _SFX_HRC
294 // ******************************************************************* EOF
296 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */