1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 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. 14 * 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). 20 * 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. 25 * 26 ************************************************************************/ 27 28#define __RSC 29 30#ifndef UUI_IDS_HRC 31#include <ids.hrc> 32#endif 33#ifndef UUI_MASTERPASSCRTDLG_HRC 34#include <masterpasscrtdlg.hrc> 35#endif 36 37ModalDialog DLG_UUI_MASTERPASSWORD_CRT 38{ 39 HelpId = HID_DLG_MASTERPASSWORD_CRT ; 40 Border = TRUE ; 41 Moveable = TRUE ; 42 OutputSize = TRUE ; 43 SVLook = TRUE ; 44 Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ; 45 Text [ en-US ] = "Set Master Password"; 46 FixedText FT_INFOTEXT 47 { 48 Pos = MAP_APPFONT ( COL_0 , ROW_0 ) ; 49 Size = MAP_APPFONT ( CTRL_WIDTH , 7*RSC_CD_FIXEDTEXT_HEIGHT ) ; 50 WordBreak = TRUE ; 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."; 52 }; 53 FixedLine FL_INFOTEXT 54 { 55 Pos = MAP_APPFONT ( 0 , ROW_1 ) ; 56 Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ; 57 }; 58 FixedText FT_MASTERPASSWORD_CRT 59 { 60 Pos = MAP_APPFONT ( COL_0 , ROW_2 ) ; 61 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ; 62 Text [ en-US ] = "~Enter password"; 63 }; 64 Edit ED_MASTERPASSWORD_CRT 65 { 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 ) ; 69 Border = TRUE ; 70 PassWord = TRUE ; 71 }; 72 FixedText FT_MASTERPASSWORD_REPEAT 73 { 74 Pos = MAP_APPFONT ( COL_0 , ROW_4 ) ; 75 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ; 76 Text [ en-US ] = "~Reenter password"; 77 }; 78 Edit ED_MASTERPASSWORD_REPEAT 79 { 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 ) ; 83 Border = TRUE ; 84 PassWord = TRUE ; 85 }; 86 FixedText FT_CAUTIONTEXT 87 { 88 Pos = MAP_APPFONT ( COL_0 , ROW_6 ) ; 89 Size = MAP_APPFONT ( CTRL_WIDTH , 8*RSC_CD_FIXEDTEXT_HEIGHT ) ; 90 WordBreak = TRUE ; 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."; 92 }; 93 FixedLine FL_CAUTIONTEXT 94 { 95 Pos = MAP_APPFONT ( 0 , ROW_7 ) ; 96 Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ; 97 }; 98 HelpButton BTN_MASTERPASSCRT_HELP 99 { 100 Pos = MAP_APPFONT ( COL_0 , ROW_8 ) ; 101 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 102 }; 103 OKButton BTN_MASTERPASSCRT_OK 104 { 105 Pos = MAP_APPFONT ( COL_1 , ROW_8 ) ; 106 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 107 DefButton = TRUE ; 108 }; 109 CancelButton BTN_MASTERPASSCRT_CANCEL 110 { 111 Pos = MAP_APPFONT ( COL_2 , ROW_8 ) ; 112 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 113 }; 114}; 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136