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