1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: masterpasscrtdlg.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
36 #ifndef UUI_MASTERPASSCRTDLG_HRC
37 #include <masterpasscrtdlg.hrc>
40 ModalDialog DLG_UUI_MASTERPASSWORD_CRT
42 HelpId = HID_DLG_MASTERPASSWORD_CRT ;
47 Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ;
48 Text [ en-US ] = "Set Master Password";
51 Pos = MAP_APPFONT ( COL_0 , ROW_0 ) ;
52 Size = MAP_APPFONT ( CTRL_WIDTH , 7*RSC_CD_FIXEDTEXT_HEIGHT ) ;
54 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.";
58 Pos = MAP_APPFONT ( 0 , ROW_1 ) ;
59 Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
61 FixedText FT_MASTERPASSWORD_CRT
63 Pos = MAP_APPFONT ( COL_0 , ROW_2 ) ;
64 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
65 Text [ en-US ] = "~Enter password";
67 Edit ED_MASTERPASSWORD_CRT
69 Pos = MAP_APPFONT ( COL_0 , ROW_3 ) ;
70 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_TEXTBOX_HEIGHT ) ;
74 FixedText FT_MASTERPASSWORD_REPEAT
76 Pos = MAP_APPFONT ( COL_0 , ROW_4 ) ;
77 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
78 Text [ en-US ] = "~Reenter password";
80 Edit ED_MASTERPASSWORD_REPEAT
82 Pos = MAP_APPFONT ( COL_0 , ROW_5 ) ;
83 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_TEXTBOX_HEIGHT ) ;
87 FixedText FT_CAUTIONTEXT
89 Pos = MAP_APPFONT ( COL_0 , ROW_6 ) ;
90 Size = MAP_APPFONT ( CTRL_WIDTH , 8*RSC_CD_FIXEDTEXT_HEIGHT ) ;
92 Text [ en-US ] = "Caution: Make sure you remember the Master Password you have set. If you forget your Master Password, you will be unable to access any of the information protected by it. Passwords are case-sensitive and at least five characters long.";
94 FixedLine FL_CAUTIONTEXT
96 Pos = MAP_APPFONT ( 0 , ROW_7 ) ;
97 Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
99 HelpButton BTN_MASTERPASSCRT_HELP
101 Pos = MAP_APPFONT ( COL_0 , ROW_8 ) ;
102 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
104 OKButton BTN_MASTERPASSCRT_OK
106 Pos = MAP_APPFONT ( COL_1 , ROW_8 ) ;
107 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
110 CancelButton BTN_MASTERPASSCRT_CANCEL
112 Pos = MAP_APPFONT ( COL_2 , ROW_8 ) ;
113 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;