xref: /trunk/main/cui/source/dialogs/passwdomdlg.src (revision b464c4e8)
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 <cuires.hrc>
25#include "passwdomdlg.hrc"
26#include "helpid.hrc"
27
28
29ModalDialog RID_DLG_PASSWORD_TO_OPEN_MODIFY
30{
31	Size = MAP_APPFONT ( 200, 155 ) ;
32	Text [ en-US ] = "Set Password" ;
33	HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY ;
34	Border = TRUE ;
35	Moveable = TRUE ;
36	OutputSize = TRUE ;
37	SVLook = TRUE ;
38
39	FixedLine FL_FILE_ENCRYPTION
40	{
41		Pos = MAP_APPFONT ( 3, 3 ) ;
42		Size = MAP_APPFONT ( 194, 8 ) ;
43		Text [ en-US ] = "File encryption password" ;
44	};
45
46	FixedText FT_PASSWD_TO_OPEN
47	{
48		Pos = MAP_APPFONT ( 6, 17 ) ;
49		Size = MAP_APPFONT ( 188, 8 ) ;
50		Text [ en-US ] = "~Enter password to open" ;
51		WordBreak = TRUE ;
52	};
53
54	Edit ED_PASSWD_TO_OPEN
55	{
56		HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_PASSWORD_TO_OPEN ;
57		Pos = MAP_APPFONT ( 6, 28 ) ;
58		Size = MAP_APPFONT ( 188, 12 ) ;
59		Border = TRUE ;
60		PassWord = TRUE ;
61	};
62
63	FixedText FT_REENTER_PASSWD_TO_OPEN
64	{
65		Pos = MAP_APPFONT ( 6, 45 ) ;
66		Size = MAP_APPFONT ( 188, 8 ) ;
67		Text [ en-US ] = "Confirm password" ;
68		WordBreak = TRUE ;
69	};
70
71	Edit ED_REENTER_PASSWD_TO_OPEN
72	{
73		HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_CONFIRM_PASSWORD_TO_OPEN ;
74		Pos = MAP_APPFONT ( 6, 56 ) ;
75		Size = MAP_APPFONT ( 188, 12 ) ;
76		Border = TRUE ;
77		PassWord = TRUE ;
78	};
79/*
80	FixedImage FI_PASSWD_TO_OPEN_MATCH
81	{
82		Pos = MAP_APPFONT ( 150, 42 ) ;
83		Size = MAP_APPFONT ( 12, 12 ) ;
84	};
85*/
86	FixedText FT_PASSWD_NOTE
87	{
88		Pos = MAP_APPFONT ( 6, 77 ) ;
89		Size = MAP_APPFONT ( 188, 5 * 8 ) ; // some extra space for translation in other languages
90		Text [ en-US ] = "Note: After a password has been set, the document will only open with the password. Should you lose the password, there will be no way to recover the document. Please also note that this password is case-sensitive." ;
91		WordBreak = TRUE ;
92	};
93
94	FixedLine FL_BUTTONS
95	{
96		Pos = MAP_APPFONT ( 0, 122 ) ;
97		Size = MAP_APPFONT ( 200, 8 ) ;
98	};
99
100	MoreButton BTN_MORE_FEWER_OPTIONS
101	{
102		HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_MORE ;
103		Pos = MAP_APPFONT ( 6, 135 ) ;
104		Size = MAP_APPFONT ( 65, 14 ) ;
105		Delta = 92 ;
106		MapUnit = MAP_APPFONT ;
107		State = FALSE ;
108	};
109
110	OKButton BTN_OK
111	{
112		Pos = MAP_APPFONT ( 91, 135 ) ;
113		Size = MAP_APPFONT ( 50, 14 ) ;
114		DefButton = TRUE ;
115	};
116
117	CancelButton BTN_CANCEL
118	{
119		Pos = MAP_APPFONT ( 144, 135 ) ;
120		Size = MAP_APPFONT ( 50, 14 ) ;
121	};
122
123	FixedLine FL_FILE_SHARING_OPTIONS
124	{
125		Pos = MAP_APPFONT ( 3, 154 ) ;
126		Size = MAP_APPFONT ( 194, 8 ) ;
127		Text [ en-US ] = "File sharing password" ;
128	};
129
130	CheckBox CB_OPEN_READONLY
131	{
132		HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_FILE_READONLY ;
133		Pos = MAP_APPFONT ( 6, 170 ) ;
134		Size = MAP_APPFONT ( 188, 8 ) ;
135		Text [ en-US ] = "Open file read-only" ;
136	};
137
138	FixedText FT_PASSWD_TO_MODIFY
139	{
140		Pos = MAP_APPFONT ( 6, 186 ) ;
141		Size = MAP_APPFONT ( 188, 8 ) ;
142		Text [ en-US ] = "Enter password to allow editing" ;
143		WordBreak = TRUE ;
144	};
145
146	Edit ED_PASSWD_TO_MODIFY
147	{
148		HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_PASSWORD_TO_MODIFY ;
149		Pos = MAP_APPFONT ( 6, 196 ) ;
150		Size = MAP_APPFONT ( 188, 12 ) ;
151		Border = TRUE ;
152		PassWord = TRUE ;
153	};
154
155	FixedText FT_REENTER_PASSWD_TO_MODIFY
156	{
157		Pos = MAP_APPFONT ( 6, 214 ) ;
158		Size = MAP_APPFONT ( 188, 8 ) ;
159		Text [ en-US ] = "Confirm password" ;
160		WordBreak = TRUE ;
161	};
162
163	Edit ED_REENTER_PASSWD_TO_MODIFY
164	{
165		HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_CONFIRM_PASSWORD_TO_MODIFY ;
166		Pos = MAP_APPFONT ( 6, 224 ) ;
167		Size = MAP_APPFONT ( 188, 12 ) ;
168		Border = TRUE ;
169		PassWord = TRUE ;
170	};
171/*
172	FixedImage FI_PASSWD_TO_MODIFY_MATCH
173	{
174		Pos = MAP_APPFONT ( 150, 224 ) ;
175		Size = MAP_APPFONT ( 12, 12 ) ;
176	};
177*/
178
179	String STR_PASSWD_MUST_BE_CONFIRMED
180	{
181		Text [ en-US ] = "Password must be confirmed" ;
182	};
183
184	String STR_MORE_OPTIONS
185	{
186		Text [ en-US ] = "More ~Options" ;
187	};
188
189	String STR_FEWER_OPTIONS
190	{
191		Text [ en-US ] = "Fewer ~Options" ;
192	};
193
194	String STR_ONE_PASSWORD_MISMATCH
195	{
196		Text [ en-US ] = "The confirmation password did not match the password. Set the password again by entering the same password in both boxes." ;
197	};
198
199	String STR_TWO_PASSWORDS_MISMATCH
200	{
201		Text [ en-US ] = "The confirmation passwords did not match the original passwords. Set the passwords again." ;
202	};
203
204	String STR_INVALID_STATE_FOR_OK_BUTTON
205	{
206		Text [ en-US ] = "Please enter a password to open or to modify, or check the open read-only option to continue." ;
207	};
208
209	String STR_INVALID_STATE_FOR_OK_BUTTON_V2
210	{
211		Text [ en-US ] = "Set the password by entering the same password in both boxes." ;
212	};
213/*
214	Image IMG_PASSWD_MATCH
215	{
216		ImageBitmap = Bitmap {File = "apply.png" ;} ;
217	};
218
219	Image IMG_PASSWD_MATCH_HC
220	{
221		ImageBitmap = Bitmap {File = "apply_h.png" ;} ;
222	};
223*/
224};
225
226// ********************************************************************** EOF
227