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#include "retypepassdlg.hrc"
25
26
27ModalDialog RID_SCDLG_RETYPEPASS
28{
29    HelpID = "sc:ModalDialog:RID_SCDLG_RETYPEPASS";
30    Text [ en-US ] = "Re-type Password" ;
31    Size = MAP_APPFONT ( 260 , 165 ) ;
32    Moveable = TRUE ;
33    Closeable = TRUE ;
34
35    OKButton BTN_OK
36    {
37        Pos = MAP_APPFONT ( 204, 6 ) ;
38        Size = MAP_APPFONT ( 50, 14 ) ;
39        DefButton = TRUE ;
40    };
41
42    CancelButton BTN_CANCEL
43    {
44        Pos = MAP_APPFONT ( 204, 23 ) ;
45        Size = MAP_APPFONT ( 50, 14 ) ;
46    };
47
48    HelpButton BTN_HELP
49    {
50        Pos = MAP_APPFONT ( 204, 43 ) ;
51        Size = MAP_APPFONT ( 50, 14 ) ;
52    };
53
54    FixedText FT_DESC
55    {
56        Pos = MAP_APPFONT ( 6, 6 ) ;
57        Size = MAP_APPFONT ( 190, 36 );
58
59        WordBreak = TRUE ;
60
61        Text [ en-US ] = "The document you are about to export has one or more protected items with password that cannot be exported.  Please re-type your password to be able to export your document." ;
62    };
63
64    FixedLine FL_DOCUMENT
65    {
66        Pos = MAP_APPFONT ( 6, 48 );
67        Size = MAP_APPFONT ( 190, 8 );
68
69        Text [ en-US ] = "Document protection" ;
70    };
71
72    FixedText FT_DOCSTATUS
73    {
74        Pos = MAP_APPFONT ( 10, 62 );
75        Size = MAP_APPFONT ( 140, 8 );
76
77        Text [ en-US ] = "Status unknown" ;
78    };
79
80    PushButton BTN_RETYPE_DOC
81    {
82        HelpID = "sc:PushButton:RID_SCDLG_RETYPEPASS:BTN_RETYPE_DOC";
83        Pos = MAP_APPFONT ( 158, 59 );
84        Size = MAP_APPFONT ( 30, 14 );
85
86        Text [ en-US ] = "Re-type" ;
87    };
88
89    FixedLine FL_SHEET
90    {
91        Pos = MAP_APPFONT ( 6, 83 );
92        Size = MAP_APPFONT ( 190, 8 );
93
94        Text [ en-US ] = "Sheet protection" ;
95    };
96
97    FixedText FT_SHEETNAME1
98    {
99        Pos = MAP_APPFONT ( 10, 97 );
100        Size = MAP_APPFONT ( 68, 8 );
101
102        Text [ en-US ] = "Sheet1 has a really long name" ;
103    };
104
105    FixedText FT_SHEETSTATUS1
106    {
107        Pos = MAP_APPFONT ( 82, 97 );
108        Size = MAP_APPFONT ( 72, 8 );
109
110        Text [ en-US ] = "Status unknown" ;
111    };
112
113    PushButton BTN_RETYPE_SHEET1
114    {
115        HelpID = "sc:PushButton:RID_SCDLG_RETYPEPASS:BTN_RETYPE_SHEET1";
116        Pos = MAP_APPFONT ( 158, 94 );
117        Size = MAP_APPFONT ( 30, 14 );
118
119        Text [ en-US ] = "Re-type" ;
120    };
121
122    FixedText FT_SHEETNAME2
123    {
124        Pos = MAP_APPFONT ( 10, 113 );
125        Size = MAP_APPFONT ( 68, 8 );
126
127        Text [ en-US ] = "Sheet2" ;
128    };
129
130    FixedText FT_SHEETSTATUS2
131    {
132        Pos = MAP_APPFONT ( 82, 113 );
133        Size = MAP_APPFONT ( 72, 8 );
134
135        Text [ en-US ] = "Status unknown" ;
136    };
137
138    PushButton BTN_RETYPE_SHEET2
139    {
140        HelpID = "sc:PushButton:RID_SCDLG_RETYPEPASS:BTN_RETYPE_SHEET2";
141        Pos = MAP_APPFONT ( 158, 110 );
142        Size = MAP_APPFONT ( 30, 14 );
143
144        Text [ en-US ] = "Re-type" ;
145    };
146
147    FixedText FT_SHEETNAME3
148    {
149        Pos = MAP_APPFONT ( 10, 129 );
150        Size = MAP_APPFONT ( 68, 8 );
151
152        Text [ en-US ] = "Sheet3" ;
153    };
154
155    FixedText FT_SHEETSTATUS3
156    {
157        Pos = MAP_APPFONT ( 82, 129 );
158        Size = MAP_APPFONT ( 72, 8 );
159
160        Text [ en-US ] = "Status unknown" ;
161    };
162
163    PushButton BTN_RETYPE_SHEET3
164    {
165        HelpID = "sc:PushButton:RID_SCDLG_RETYPEPASS:BTN_RETYPE_SHEET3";
166        Pos = MAP_APPFONT ( 158, 126 );
167        Size = MAP_APPFONT ( 30, 14 );
168
169        Text [ en-US ] = "Re-type" ;
170    };
171
172    FixedText FT_SHEETNAME4
173    {
174        Pos = MAP_APPFONT ( 10, 145 );
175        Size = MAP_APPFONT ( 68, 8 );
176
177        Text [ en-US ] = "Sheet4" ;
178    };
179
180    FixedText FT_SHEETSTATUS4
181    {
182        Pos = MAP_APPFONT ( 82, 145 );
183        Size = MAP_APPFONT ( 72, 8 );
184
185        Text [ en-US ] = "Status unknown" ;
186    };
187
188    PushButton BTN_RETYPE_SHEET4
189    {
190        HelpID = "sc:PushButton:RID_SCDLG_RETYPEPASS:BTN_RETYPE_SHEET4";
191        Pos = MAP_APPFONT ( 158, 142 );
192        Size = MAP_APPFONT ( 30, 14 );
193
194        Text [ en-US ] = "Re-type" ;
195    };
196
197    ScrollBar SB_SCROLL
198    {
199        Pos = MAP_APPFONT ( 190, 94 ) ;
200        Size = MAP_APPFONT (  8, 61 ) ;
201        VScroll = TRUE ;
202    };
203
204    String STR_NOT_PROTECTED
205    {
206        Text [ en-US ] = "Not protected" ;
207    };
208
209    String STR_NOT_PASS_PROTECTED
210    {
211        Text [ en-US ] = "Not password-protected" ;
212    };
213
214    String STR_HASH_BAD
215    {
216        Text [ en-US ] = "Hash incompatible" ;
217    };
218
219    String STR_HASH_GOOD
220    {
221        Text [ en-US ] = "Hash compatible" ;
222    };
223
224    String STR_HASH_REGENERATED
225    {
226        Text [ en-US ] = "Hash re-generated" ;
227    };
228};
229
230// ----------------------------------------------------------------------------
231
232ModalDialog RID_SCDLG_RETYPEPASS_INPUT
233{
234    HelpID = "sc:ModalDialog:RID_SCDLG_RETYPEPASS_INPUT";
235    Text [ en-US ] = "Re-type Password" ;
236    Size = MAP_APPFONT ( 230 , 110 ) ;
237    Moveable = TRUE ;
238    Closeable = TRUE ;
239
240    OKButton BTN_OK
241    {
242        Pos = MAP_APPFONT ( 174, 6 ) ;
243        Size = MAP_APPFONT ( 50, 14 ) ;
244        DefButton = TRUE ;
245    };
246
247    CancelButton BTN_CANCEL
248    {
249        Pos = MAP_APPFONT ( 174, 23 ) ;
250        Size = MAP_APPFONT ( 50, 14 ) ;
251    };
252
253    HelpButton BTN_HELP
254    {
255        Pos = MAP_APPFONT ( 174, 43 ) ;
256        Size = MAP_APPFONT ( 50, 14 ) ;
257    };
258
259    RadioButton BTN_RETYPE_PASSWORD
260    {
261        HelpID = "sc:RadioButton:RID_SCDLG_RETYPEPASS_INPUT:BTN_RETYPE_PASSWORD";
262        Pos = MAP_APPFONT ( 11, 10 );
263        Size = MAP_APPFONT ( 150, 10 );
264
265        Text [ en-US ] = "Re-type password" ;
266    };
267
268    FixedText FT_PASSWORD1
269    {
270        Pos = MAP_APPFONT ( 20, 30 );
271        Size = MAP_APPFONT ( 42, 10 );
272
273        Text [ en-US ] = "~Password" ;
274    };
275
276    Edit ED_PASSWORD1
277    {
278        HelpID = "sc:Edit:RID_SCDLG_RETYPEPASS_INPUT:ED_PASSWORD1";
279        Border = TRUE;
280        PassWord = TRUE;
281        Pos = MAP_APPFONT ( 65, 29 );
282        Size = MAP_APPFONT ( 75, 12 );
283    };
284
285    FixedText FT_PASSWORD2
286    {
287        Pos = MAP_APPFONT ( 20, 45 );
288        Size = MAP_APPFONT ( 42, 10 );
289
290        Text [ en-US ] = "~Confirm" ;
291    };
292
293    Edit ED_PASSWORD2
294    {
295        HelpID = "sc:Edit:RID_SCDLG_RETYPEPASS_INPUT:ED_PASSWORD2";
296        Border = TRUE;
297        PassWord = TRUE;
298        Pos = MAP_APPFONT ( 65, 44 );
299        Size = MAP_APPFONT ( 75, 12 );
300    };
301
302    CheckBox BTN_MATCH_OLD_PASSWORD
303    {
304        HelpID = "sc:CheckBox:RID_SCDLG_RETYPEPASS_INPUT:BTN_MATCH_OLD_PASSWORD";
305        Pos = MAP_APPFONT ( 20, 65 );
306        Size = MAP_APPFONT ( 150, 10 );
307
308        Text [ en-US ] = "New password must match the original password." ;
309    };
310
311    RadioButton BTN_REMOVE_PASSWORD
312    {
313        HelpID = "sc:RadioButton:RID_SCDLG_RETYPEPASS_INPUT:BTN_REMOVE_PASSWORD";
314        Pos = MAP_APPFONT ( 11, 90 );
315        Size = MAP_APPFONT ( 150, 10 );
316
317        Text [ en-US ] = "Remove password from this protected item." ;
318    };
319};
320
321
322