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 ************************************************************************/
33 #ifndef UUI_MASTERPASSCRTDLG_HRC
34 #include <masterpasscrtdlg.hrc>
37 ModalDialog DLG_UUI_MASTERPASSWORD_CRT
39 HelpId = HID_DLG_MASTERPASSWORD_CRT ;
44 Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ;
45 Text [ en-US ] = "Set Master Password";
48 Pos = MAP_APPFONT ( COL_0 , ROW_0 ) ;
49 Size = MAP_APPFONT ( CTRL_WIDTH , 7*RSC_CD_FIXEDTEXT_HEIGHT ) ;
51 Text [ en-US ] = "Passwords for web connections are protected by a master password. You will be asked to enter it once per session, if %PRODUCTNAME retrieves a password from the protected password list.";
55 Pos = MAP_APPFONT ( 0 , ROW_1 ) ;
56 Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
58 FixedText FT_MASTERPASSWORD_CRT
60 Pos = MAP_APPFONT ( COL_0 , ROW_2 ) ;
61 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
62 Text [ en-US ] = "~Enter password";
64 Edit ED_MASTERPASSWORD_CRT
66 HelpID = "uui:Edit:DLG_UUI_MASTERPASSWORD_CRT:ED_MASTERPASSWORD_CRT";
67 Pos = MAP_APPFONT ( COL_0 , ROW_3 ) ;
68 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_TEXTBOX_HEIGHT ) ;
72 FixedText FT_MASTERPASSWORD_REPEAT
74 Pos = MAP_APPFONT ( COL_0 , ROW_4 ) ;
75 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
76 Text [ en-US ] = "~Reenter password";
78 Edit ED_MASTERPASSWORD_REPEAT
80 HelpID = "uui:Edit:DLG_UUI_MASTERPASSWORD_CRT:ED_MASTERPASSWORD_REPEAT";
81 Pos = MAP_APPFONT ( COL_0 , ROW_5 ) ;
82 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_TEXTBOX_HEIGHT ) ;
86 FixedText FT_CAUTIONTEXT
88 Pos = MAP_APPFONT ( COL_0 , ROW_6 ) ;
89 Size = MAP_APPFONT ( CTRL_WIDTH , 8*RSC_CD_FIXEDTEXT_HEIGHT ) ;
91 Text [ en-US ] = "Caution: If you forget the master password, you will be unable to access any of the information protected by it. Passwords are case-sensitive.";
93 FixedLine FL_CAUTIONTEXT
95 Pos = MAP_APPFONT ( 0 , ROW_7 ) ;
96 Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
98 HelpButton BTN_MASTERPASSCRT_HELP
100 Pos = MAP_APPFONT ( COL_0 , ROW_8 ) ;
101 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
103 OKButton BTN_MASTERPASSCRT_OK
105 Pos = MAP_APPFONT ( COL_1 , ROW_8 ) ;
106 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
109 CancelButton BTN_MASTERPASSCRT_CANCEL
111 Pos = MAP_APPFONT ( COL_2 , ROW_8 ) ;
112 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;