1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
23 #include <svl/solar.hrc>
24 #include <svl/memberid.hrc>
26 #define RID_GROUPS_SFXOFFSET 32700
28 #define EVENT_SFX_START 5000
31 // EVENT_LIB_START 10000
32 // EVENT_LIB_END 19999
34 #define EVENT_APP_START 20000
35 // EVENT_APP_END 29999
37 // Warning: the following are simultaneously SID_ON_ ...
38 #define SFX_EVENT_CLOSEAPP (EVENT_SFX_START + 1)
39 #define SFX_EVENT_CREATEDOC (EVENT_SFX_START + 2)
40 #define SFX_EVENT_OPENDOC (EVENT_SFX_START + 3)
41 #define SFX_EVENT_CLOSEDOC (EVENT_SFX_START + 4)
42 #define SFX_EVENT_SAVEDOC (EVENT_SFX_START + 5)
43 #define SFX_EVENT_SAVEASDOC (EVENT_SFX_START + 6)
44 #define SFX_EVENT_ACTIVATEDOC (EVENT_SFX_START + 7)
45 #define SFX_EVENT_DEACTIVATEDOC (EVENT_SFX_START + 8)
46 #define SFX_EVENT_PRINTDOC (EVENT_SFX_START + 9)
47 #define SFX_EVENT_SAVEACOPY (EVENT_SFX_START + 10)
49 #define SFX_EVENT_LOADFINISHED (EVENT_SFX_START + 11)
51 #define SFX_EVENT_MODIFYCHANGED (EVENT_SFX_START + 13)
52 #define SFX_EVENT_PREPARECLOSEDOC (EVENT_SFX_START + 14)
53 #define SFX_EVENT_TOGGLEFULLSCREENMODE (EVENT_SFX_START + 16)
54 #define SFX_EVENT_SAVEDOCDONE (EVENT_SFX_START + 17)
55 #define SFX_EVENT_SAVEASDOCDONE (EVENT_SFX_START + 18)
57 #define SFX_EVENT_SAVETODOC (EVENT_SFX_START + 19)
58 #define SFX_EVENT_SAVETODOCDONE (EVENT_SFX_START + 20)
60 #define SFX_EVENT_VIEWCREATED (EVENT_SFX_START + 21)
61 #define SFX_EVENT_PREPARECLOSEVIEW (EVENT_SFX_START + 22)
62 #define SFX_EVENT_CLOSEVIEW (EVENT_SFX_START + 23)
64 #define SFX_EVENT_STORAGECHANGED (EVENT_SFX_START + 24)
65 #define SFX_EVENT_VISAREACHANGED (EVENT_SFX_START + 25)
67 #define SFX_EVENT_DOCCREATED (EVENT_SFX_START + 26)
69 #define SFX_EVENT_SAVEASDOCFAILED (EVENT_SFX_START + 27)
70 #define SFX_EVENT_SAVEDOCFAILED (EVENT_SFX_START + 28)
71 #define SFX_EVENT_SAVETODOCFAILED (EVENT_SFX_START + 29)
73 // Events for Controls etc.
74 #define SFX_EVENT_MOUSEOVER_OBJECT ( EVENT_SFX_START + 100 )
75 #define SFX_EVENT_MOUSECLICK_OBJECT ( EVENT_SFX_START + 101 )
76 #define SFX_EVENT_MOUSEOUT_OBJECT ( EVENT_SFX_START + 102 )
78 #define RID_SFX_APP_START (RID_SFX_START + 256)
79 #define RID_SFX_MENU_START (RID_SFX_START + 768)
80 // RID_SFX_CONFIG_START (RID_SFX_START + 1536)
81 #define RID_SFX_DOC_START (RID_SFX_START + 1792)
82 #define RID_SFX_DIALOG_START (RID_SFX_START + 2048)
83 #define RID_SFX_BASTYP_START (RID_SFX_START + 2304)
84 #define RID_SFX_EXPLORER_START (RID_SFX_START + 2816)
86 // RID_CNT_START (RID_SFX_START + 3072)
88 #define RID_SFX_SFXLOCAL_START (RID_SFX_START + 3082)
89 #define RID_SFX_VIEW_START (RID_SFX_START + 4096)
90 #define RID_SFX_SIDEBAR_START (RID_SFX_START + 4150)
91 #define RID_SFX_PROPERTYPANEL_START (RID_SFX_START + 4400)
92 // RID_CNT_START2 (RID_SFX_START + 4500)
93 // RID_SFX_CHAOSDOC_START (RID_SFX_START + 5120)
94 // RID_SFX_TPLCOMPONENT_START (RID_SFX_START + 6800)
95 // RID_SFX_HELPCOMPONENT_START (RID_SFX_START + 7000)
97 #define SFX_OBJECTBAR_APPLICATION 0
98 #define SFX_OBJECTBAR_OBJECT 1
99 #define SFX_OBJECTBAR_TOOLS 2
100 #define SFX_OBJECTBAR_MACRO 3
101 #define SFX_OBJECTBAR_FULLSCREEN 4
102 #define SFX_OBJECTBAR_RECORDING 5
103 #define SFX_OBJECTBAR_COMMONTASK 6
104 #define SFX_OBJECTBAR_OPTIONS 7
105 #define SFX_OBJECTBAR_NAVIGATION 12
106 #define SFX_OBJECTBAR_MAX 13
108 // temporary due to compatibility
110 #define RID_DEFAULTIMAGELIST_SC (RID_SFX_START+15)
111 #define RID_DEFAULTIMAGELIST_LC (RID_SFX_START+17)
113 #define RID_STYLECATALOG (RID_SFX_START+1201)
115 #define RID_DEFAULTABOUT (RID_SFX_START+0)
117 #define DLG_STYLE_DESIGNER (RID_SFX_START+8)
119 #define RID_SFX_INCORRECT_PASSWORD (RID_SFX_START+216)
121 #define STR_STYLE_FILTER_AUTO (RID_SFX_START+9)
122 #define STR_STYLE_FILTER_USED (RID_SFX_START+10)
123 #define STR_STYLE_FILTER_USERDEF (RID_SFX_START+11)
124 #define STR_STYLE_FILTER_ALL (RID_SFX_START+12)
126 #define STR_STYLE_FILTER_HIERARCHICAL (RID_SFX_START+1200)
128 #define STR_NONAME (RID_SFX_START+100)
129 #define STR_NONE (RID_SFX_START+101)
130 #define STR_CLOSE (RID_SFX_START+103)
131 #define STR_STANDARD (RID_SFX_START+104)
132 #define STR_READONLY (RID_SFX_START+105)
134 #define STR_SFX_FILTERNAME_ALL (RID_SFX_START+106)
135 #define STR_EDIT (RID_SFX_START+108)
137 #define STR_BYTES (RID_SFX_START+111)
138 #define STR_KB (RID_SFX_START+112)
139 #define STR_MB (RID_SFX_START+113)
140 #define STR_GB (RID_SFX_START+114)
141 #define STR_QUERY_LASTVERSION (RID_SFX_START+115)
142 #define STR_STANDARD_SHORTCUT (RID_SFX_START+117)
143 #define STR_REPAIREDDOCUMENT (RID_SFX_START+118)
144 #define STR_ERRUNOEVENTBINDUNG (RID_SFX_START+119)
145 #define STR_SHARED (RID_SFX_START+120)
146 #define RID_XMLSEC_DOCUMENTSIGNED (RID_SFX_START+121)
147 #define STR_PASSWD (RID_SFX_START+122)
148 #define STR_PASSWD_EMPTY (RID_SFX_START+123)
149 #define STR_PASSWD_MIN_LEN (RID_SFX_START+124)
150 #define STR_NONCHECKEDOUT_DOCUMENT (RID_SFX_START+125)
151 #define BT_CHECKOUT (RID_SFX_START+126)
152 #define BT_READONLY_EDIT (RID_SFX_START+127)
153 #define STR_READONLY_DOCUMENT (RID_SFX_START+128)
154 #define STR_PASSWD_MIN_LEN1 (RID_SFX_START+129)
155 #define STR_MODULENOTINSTALLED (RID_SFX_START+130)
156 #define STR_ACCTITLE_PRODUCTIVITYTOOLS (RID_SFX_START+157)
158 #define SFX_THUMBNAIL_TEXT (RID_SFX_START+158)
159 #define SFX_THUMBNAIL_SHEET (RID_SFX_START+159)
160 #define SFX_THUMBNAIL_PRESENTATION (RID_SFX_START+160)
161 #define SFX_THUMBNAIL_DRAWING (RID_SFX_START+161)
163 #define SFX_FILE_THUMBNAIL_TEXT (RID_SFX_START+162)
164 #define SFX_FILE_THUMBNAIL_SHEET (RID_SFX_START+163)
165 #define SFX_FILE_THUMBNAIL_PRESENTATION (RID_SFX_START+164)
166 #define SFX_FILE_THUMBNAIL_DRAWING (RID_SFX_START+165)
167 #define SFX_FILE_THUMBNAIL_DATABASE (RID_SFX_START+166)
168 #define SFX_FILE_THUMBNAIL_MATH (RID_SFX_START+167)
169 #define SFX_FILE_THUMBNAIL_DEFAULT (RID_SFX_START+168)
173 // !! If you add a new group, please change sfxbasecontroller.cxx and
174 // !! com.sun.star.frame.CommandGroup accordingly!
176 #define GID_INTERN (RID_GROUPS_SFXOFFSET+ 0)
177 #define GID_APPLICATION (RID_GROUPS_SFXOFFSET+ 1)
178 #define GID_DOCUMENT (RID_GROUPS_SFXOFFSET+ 2)
179 #define GID_VIEW (RID_GROUPS_SFXOFFSET+ 3)
180 #define GID_EDIT (RID_GROUPS_SFXOFFSET+ 4)
181 #define GID_MACRO (RID_GROUPS_SFXOFFSET+ 5)
182 #define GID_OPTIONS (RID_GROUPS_SFXOFFSET+ 6)
183 #define GID_MATH (RID_GROUPS_SFXOFFSET+ 7)
184 #define GID_NAVIGATOR (RID_GROUPS_SFXOFFSET+ 8)
185 #define GID_INSERT (RID_GROUPS_SFXOFFSET+ 9)
186 #define GID_FORMAT (RID_GROUPS_SFXOFFSET+10)
187 #define GID_TEMPLATE (RID_GROUPS_SFXOFFSET+11)
188 #define GID_TEXT (RID_GROUPS_SFXOFFSET+12)
189 #define GID_FRAME (RID_GROUPS_SFXOFFSET+13)
190 #define GID_GRAPHIC (RID_GROUPS_SFXOFFSET+14)
191 #define GID_TABLE (RID_GROUPS_SFXOFFSET+15)
192 #define GID_ENUMERATION (RID_GROUPS_SFXOFFSET+16)
193 #define GID_DATA (RID_GROUPS_SFXOFFSET+17)
194 #define GID_SPECIAL (RID_GROUPS_SFXOFFSET+18)
195 #define GID_IMAGE (RID_GROUPS_SFXOFFSET+19)
196 #define GID_CHART (RID_GROUPS_SFXOFFSET+20)
197 #define GID_EXPLORER (RID_GROUPS_SFXOFFSET+21)
198 #define GID_CONNECTOR (RID_GROUPS_SFXOFFSET+22)
199 #define GID_MODIFY (RID_GROUPS_SFXOFFSET+23)
200 #define GID_DRAWING (RID_GROUPS_SFXOFFSET+24)
201 #define GID_CONTROLS (RID_GROUPS_SFXOFFSET+25)
202 #define GID_NAVIGATION (RID_GROUPS_SFXOFFSET+26)
204 #define RID_OPTIONS_START (SID_LIB_START + 2000)
205 // RID_OPTIONS_END (RID_OPTIONS_START + 100)
207 // ResId's ------------------------------------------------------------------
209 #define RID_SFXPAGE_SAVE (RID_OPTIONS_START + 0)
210 #define RID_SFXPAGE_GENERAL (RID_OPTIONS_START + 1)
211 #define RID_SFXDLG_EDITDICT (RID_OPTIONS_START + 4)
212 #define RID_SFXPAGE_PATH (RID_OPTIONS_START + 6)
213 #define RID_SFXPAGE_LINGU (RID_OPTIONS_START + 7)
215 #define RID_SFXPAGE_PRINTOPTIONS (RID_OPTIONS_START + 12)
217 #define RID_STR_NEW_TASK (RID_SFX_DOC_START+ 76)
219 // Member-Ids ------------------------------------------------------------
221 #define MID_DOCINFO_DESCRIPTION 0x13
222 #define MID_DOCINFO_KEYWORDS 0x17
223 #define MID_DOCINFO_SUBJECT 0x1b
224 #define MID_DOCINFO_TITLE 0x1d
225 #define MID_DOCINFO_AUTOLOADENABLED 0x2d
226 #define MID_DOCINFO_AUTOLOADURL 0x2e
227 #define MID_DOCINFO_AUTOLOADSECS 0x2f
228 #define MID_DOCINFO_DEFAULTTARGET 0x30
229 #define MID_DOCINFO_USEUSERDATA 0x31
230 #define MID_DOCINFO_DELETEUSERDATA 0x32
232 // only for FastPropertySet
233 #define MID_TYPE 0x38
234 #define MID_VALUE 0x39
235 #define MID_VALUESET 0x40
237 // Config-Ids -----------------------------------------------------------
239 #define SFX_ITEMTYPE_SW_BEGIN 20000
240 // SFX_ITEMTYPE_SW_END 22999
242 #define SFX_ITEMTYPE_SD_BEGIN 23000
243 // SFX_ITEMTYPE_SD_END 25999
245 #define SFX_ITEMTYPE_SC_BEGIN 26000
246 // SFX_ITEMTYPE_SC_END 27999
250 // Slot-Ids -------------------------------------------------------------
252 #include <sfx2/sfxsids.hrc>
254 #endif // #ifndef _SFX_HRC
256 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */