1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
30 #include <sfx2/sfx.hrc>
32 // #defines *****************************************************************
34 #define RID_SFX_DOC_END (RID_SFX_DIALOG_START-1)
36 #define STR_NODEFPRINTER (RID_SFX_DOC_START+ 0)
37 #define STR_PRINTER_NOTAVAIL_1 (RID_SFX_DOC_START+ 1)
38 #define STR_PRINTER_NOTAVAIL_2 (RID_SFX_DOC_START+ 2)
39 #define STR_PRINTER_NOTAVAIL_3 (RID_SFX_DOC_START+ 3)
40 #define STR_PRINTER_NOTAVAIL_4 (RID_SFX_DOC_START+ 4)
41 #define STR_PRINTER_NOTAVAIL_5 (RID_SFX_DOC_START+ 5)
42 #define STR_PRINT_OPTIONS (RID_SFX_DOC_START+ 6)
43 #define STR_ERROR_PRINTER_BUSY (RID_SFX_DOC_START+ 7)
44 #define STR_NOSTARTPRINTER (RID_SFX_DOC_START+ 8)
45 #define MSG_CONFIRM_FILTER (RID_SFX_DOC_START+11)
46 #define MSG_CONFIRM_OVERWRITE_TEMPLATE (RID_SFX_DOC_START+12)
48 #define STR_DELETE_REGION (RID_SFX_DOC_START+14)
49 #define STR_DELETE_TEMPLATE (RID_SFX_DOC_START+15)
50 #define MSG_REGION_NOTEMPTY (RID_SFX_DOC_START+17)
52 #define DLG_NEW_FILE (RID_SFX_DOC_START+1)
53 #define DLG_DOC_TEMPLATE (RID_SFX_DOC_START+2)
54 #define DLG_ORGANIZE (RID_SFX_DOC_START+3)
56 #define BMP_STYLES_CLOSED (RID_SFX_DOC_START+ 0)
57 #define BMP_STYLES_OPENED (RID_SFX_DOC_START+ 1)
59 #define BMP_STYLES_FAMILY1 (RID_SFX_DOC_START+ 2)
60 #define BMP_STYLES_FAMILY2 (RID_SFX_DOC_START+ 3)
61 #define BMP_STYLES_FAMILY3 (RID_SFX_DOC_START+ 4)
62 #define BMP_STYLES_FAMILY4 (RID_SFX_DOC_START+ 5)
64 #define STR_STYLES (RID_SFX_DOC_START+ 18)
65 #define STR_MACROS (RID_SFX_DOC_START+ 19)
67 #define STR_PRINT_STYLES (RID_SFX_DOC_START+ 20)
68 #define STR_PRINT_STYLES_HEADER (RID_SFX_DOC_START+ 21)
69 #define MSG_PRINT_ERROR (RID_SFX_DOC_START+ 22)
70 #define STR_BACKUP_COPY (RID_SFX_DOC_START+ 23)
71 #define MSG_CANT_OPEN_TEMPLATE (RID_SFX_DOC_START+ 25)
72 #define MSG_VIEW_OPEN_CANT_SAVE (RID_SFX_DOC_START+ 26)
73 #define STR_ERROR_SAVE (RID_SFX_DOC_START+ 27)
74 #define STR_TEMPLATE_FILTER (RID_SFX_DOC_START+ 28)
75 #define STR_ERROR_COPY_TEMPLATE (RID_SFX_DOC_START+ 29)
77 #define STR_ERROR_DELETE_TEMPLATE (RID_SFX_DOC_START+ 30)
78 #define STR_ERROR_MOVE_TEMPLATE (RID_SFX_DOC_START+ 32)
79 #define MSG_ERROR_RESCAN (RID_SFX_DOC_START+ 33)
80 #define STR_ERROR_SAVE_TEMPLATE (RID_SFX_DOC_START+ 34)
81 #define MSG_ERROR_RENAME_TEMPLATE (RID_SFX_DOC_START+ 34)
82 #define MSG_ERROR_RENAME_TEMPLATE_REGION (RID_SFX_DOC_START+ 35)
83 #define STR_CONFIG (RID_SFX_DOC_START+ 37)
84 #define MSG_ERROR_EMPTY_NAME (RID_SFX_DOC_START+ 37)
85 #define MSG_ERROR_UNIQ_NAME (RID_SFX_DOC_START+ 38)
86 #define STR_QUERY_DEFAULT_TEMPLATE (RID_SFX_DOC_START+ 39)
87 #define MSG_QUERY_RESET_DEFAULT_TEMPLATE (RID_SFX_DOC_START+ 39)
88 #define MSG_TEMPLATE_DIR_NOT_EXIST (RID_SFX_DOC_START+ 40)
89 #define MSG_DOCINFO_CANTREAD (RID_SFX_DOC_START+ 41)
90 #define STR_ERROR_NOSTORAGE (RID_SFX_DOC_START+ 42)
91 #define STR_QUERY_MUSTOWNFORMAT (RID_SFX_DOC_START+ 44)
92 #define STR_SAVEDOC (RID_SFX_DOC_START+ 45)
93 #define STR_UPDATEDOC (RID_SFX_DOC_START+ 46)
94 #define STR_SAVEASDOC (RID_SFX_DOC_START+ 47)
95 #define STR_SAVECOPYDOC (RID_SFX_DOC_START+ 48)
96 #define STR_CLOSEDOC (RID_SFX_DOC_START+ 49)
97 #define STR_CLOSEDOC_ANDRETURN (RID_SFX_DOC_START+ 50)
98 #define STR_WIZARD (RID_SFX_DOC_START+ 51)
99 #define RID_STR_FILTCONFIG (RID_SFX_DOC_START+ 52)
100 #define RID_STR_FILTBASIC (RID_SFX_DOC_START+ 53)
101 #define RID_STR_WARNSTYLEOVERWRITE (RID_SFX_DOC_START+ 54)
102 #define RID_DLSTATUS (RID_SFX_DOC_START+ 55)
104 #define STR_DOC_LOADING (RID_SFX_DOC_START+ 57)
105 #define MSG_OPEN_READONLY (RID_SFX_DOC_START+ 58)
107 #define RID_OFFICEFILTER (RID_SFX_DOC_START+ 59)
108 #define RID_OFFICEFILTER_WILDCARD (RID_SFX_DOC_START+ 60)
109 #define RID_OFFICEFILTER_MACTYPE (RID_SFX_DOC_START+ 61)
110 #define RID_OFFICEFILTER_OS2TYPE (RID_SFX_DOC_START+ 62)
111 #define STR_FRAMEOBJECT_PROPERTIES (RID_SFX_DOC_START+ 63)
113 #define STR_FSET_FILTERNAME0 (RID_SFX_DOC_START+ 64)
114 #define STR_FSET_FILTERNAME1 (RID_SFX_DOC_START+ 65)
116 #define STR_TEMPL_MOVED (RID_SFX_DOC_START+ 66)
117 #define STR_TEMPL_RESET (RID_SFX_DOC_START+ 67)
118 #define STR_AUTOMATICVERSION (RID_SFX_DOC_START+ 68)
120 #define STR_DOCTYPENAME_SW (RID_SFX_DOC_START+ 69)
121 #define STR_DOCTYPENAME_SWWEB (RID_SFX_DOC_START+ 70)
122 #define STR_DOCTYPENAME_SWGLOB (RID_SFX_DOC_START+ 71)
123 #define STR_DOCTYPENAME_SC (RID_SFX_DOC_START+ 72)
124 #define STR_DOCTYPENAME_SI (RID_SFX_DOC_START+ 73)
125 #define STR_DOCTYPENAME_SD (RID_SFX_DOC_START+ 74)
126 #define STR_DOCTYPENAME_MESSAGE (RID_SFX_DOC_START+ 75)
127 #define RID_STR_NEW_TASK (RID_SFX_DOC_START+ 76)
129 #define STR_SAVEANDCLOSE (RID_SFX_DOC_START+ 77)
130 #define STR_NOSAVEANDCLOSE (RID_SFX_DOC_START+ 78)
131 #define STR_PACKNGO_NOACCESS (RID_SFX_DOC_START+ 79)
132 #define STR_PACKNGO_NEWMEDIUM (RID_SFX_DOC_START+ 80)
134 #define TEMPLATE_LONG_NAMES_ARY (RID_SFX_DOC_START+ 81)
135 #define TEMPLATE_SHORT_NAMES_ARY (RID_SFX_DOC_START+ 82)
136 #define RID_CNT_STR_WAITING (RID_SFX_DOC_START+ 83)
138 #define STR_OBJECT (RID_SFX_DOC_START+ 84)
141 #define DLOAD_STATUS 2
144 #define DLOAD_CANCEL 1
146 #define DLG_MACROQUERY (RID_SFX_DOC_START+87)
147 #define BTN_OK (RID_SFX_DOC_START+88)
148 #define BTN_CANCEL (RID_SFX_DOC_START+89)
149 #define FT_OK (RID_SFX_DOC_START+90)
150 #define FT_CANCEL (RID_SFX_DOC_START+91)
152 #define STR_EXPORTASPDF_TITLE (RID_SFX_DOC_START+92)
153 #define STR_EXPORTBUTTON (RID_SFX_DOC_START+93)
154 #define STR_EXPORTWITHCFGBUTTON (RID_SFX_DOC_START+94)
156 #define RID_SVXSTR_SECURITY_ADDPATH (RID_SFX_DOC_START+95)
158 #define STR_LABEL_FILEFORMAT (RID_SFX_DOC_START+96)
160 // some icons are commented out since they are removed
161 #define BMP_SIGNATURE (RID_SFX_DOC_START+97)
162 #define BMP_128X128_CALC_DOC (RID_SFX_DOC_START+99)
163 #define BMP_128X128_CHART_DOC (RID_SFX_DOC_START+101)
164 #define BMP_128X128_DRAW_DOC (RID_SFX_DOC_START+102)
165 #define BMP_128X128_IMPRESS_DOC (RID_SFX_DOC_START+104)
166 #define BMP_128X128_MATH_DOC (RID_SFX_DOC_START+107)
167 #define BMP_128X128_WRITER_DOC (RID_SFX_DOC_START+108)
169 #define STR_HIDDENINFO_CONTAINS (RID_SFX_DOC_START+110)
170 #define STR_HIDDENINFO_RECORDCHANGES (RID_SFX_DOC_START+111)
171 #define STR_HIDDENINFO_NOTES (RID_SFX_DOC_START+112)
172 #define STR_HIDDENINFO_DOCVERSIONS (RID_SFX_DOC_START+113)
173 #define STR_HIDDENINFO_FIELDS (RID_SFX_DOC_START+114)
174 #define STR_HIDDENINFO_LINKDATA (RID_SFX_DOC_START+115)
175 #define STR_HIDDENINFO_CONTINUE_SAVING (RID_SFX_DOC_START+116)
176 #define STR_HIDDENINFO_CONTINUE_PRINTING (RID_SFX_DOC_START+117)
177 #define STR_HIDDENINFO_CONTINUE_SIGNING (RID_SFX_DOC_START+118)
178 #define STR_HIDDENINFO_CONTINUE_CREATEPDF (RID_SFX_DOC_START+119)
180 #define STR_NEW_FILENAME_SAVE (RID_SFX_DOC_START+121)
181 #define STR_ERROR_DELETE_TEMPLATE_DIR (RID_SFX_DOC_START+123)
182 #define STR_DOCINFO_INFOFIELD (RID_SFX_DOC_START+124)
184 #define MSG_XMLSEC_QUERY_SAVESIGNEDBEFORESIGN (RID_SFX_DOC_START+125)
185 #define STR_XMLSEC_ODF12_EXPECTED (RID_SFX_DOC_START+126)
187 #define STR_QRYTEMPL_MESSAGE (RID_SFX_DOC_START+127)
188 #define STR_QRYTEMPL_UPDATE_BTN (RID_SFX_DOC_START+128)
189 #define STR_QRYTEMPL_KEEP_BTN (RID_SFX_DOC_START+129)
191 // please update to the last id
192 #define ACT_SFX_DOC_END STR_QRYTEMPL_KEEP_BTN
193 #if ACT_SFX_DOC_END > RID_SFX_DOC_END
194 #error resource overflow in #line, #file