xref: /AOO42X/main/uui/source/masterpasscrtdlg.src (revision 5578c25c59b81b0c22ac95d12ffdc2a670e7c3cf)
12611ca73SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
32611ca73SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
42611ca73SAndrew Rist * or more contributor license agreements.  See the NOTICE file
52611ca73SAndrew Rist * distributed with this work for additional information
62611ca73SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
72611ca73SAndrew Rist * to you under the Apache License, Version 2.0 (the
82611ca73SAndrew Rist * "License"); you may not use this file except in compliance
92611ca73SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
112611ca73SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
132611ca73SAndrew Rist * Unless required by applicable law or agreed to in writing,
142611ca73SAndrew Rist * software distributed under the License is distributed on an
152611ca73SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
162611ca73SAndrew Rist * KIND, either express or implied.  See the License for the
172611ca73SAndrew Rist * specific language governing permissions and limitations
182611ca73SAndrew Rist * under the License.
19cdf0e10cSrcweir *
202611ca73SAndrew Rist *************************************************************/
212611ca73SAndrew Rist
222611ca73SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#define __RSC
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef UUI_IDS_HRC
27cdf0e10cSrcweir#include <ids.hrc>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir#ifndef UUI_MASTERPASSCRTDLG_HRC
30cdf0e10cSrcweir#include <masterpasscrtdlg.hrc>
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweir
33cdf0e10cSrcweirModalDialog DLG_UUI_MASTERPASSWORD_CRT
34cdf0e10cSrcweir{
35cdf0e10cSrcweir    HelpId = HID_DLG_MASTERPASSWORD_CRT ;
36cdf0e10cSrcweir    Border = TRUE ;
37cdf0e10cSrcweir    Moveable = TRUE ;
38cdf0e10cSrcweir    OutputSize = TRUE ;
39cdf0e10cSrcweir    SVLook = TRUE ;
40cdf0e10cSrcweir    Size = MAP_APPFONT ( DLG_WIDTH, DLG_HEIGHT ) ;
41cdf0e10cSrcweir    Text [ en-US ] = "Set Master Password" ;
42cdf0e10cSrcweir    FixedText FT_INFOTEXT
43cdf0e10cSrcweir    {
44cdf0e10cSrcweir        Pos = MAP_APPFONT ( COL_0, ROW_0 ) ;
45cdf0e10cSrcweir        Size = MAP_APPFONT ( CTRL_WIDTH, 7*RSC_CD_FIXEDTEXT_HEIGHT ) ;
46cdf0e10cSrcweir        WordBreak = TRUE ;
47cdf0e10cSrcweir        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." ;
48cdf0e10cSrcweir    };
49cdf0e10cSrcweir    FixedLine FL_INFOTEXT
50cdf0e10cSrcweir    {
51cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0, ROW_1 ) ;
52cdf0e10cSrcweir        Size = MAP_APPFONT ( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
53cdf0e10cSrcweir    };
54cdf0e10cSrcweir    FixedText FT_MASTERPASSWORD_CRT
55cdf0e10cSrcweir    {
56cdf0e10cSrcweir        Pos = MAP_APPFONT ( COL_0, ROW_2 ) ;
57cdf0e10cSrcweir        Size = MAP_APPFONT ( CTRL_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
58cdf0e10cSrcweir        Text [ en-US ] = "~Enter password" ;
59cdf0e10cSrcweir    };
60cdf0e10cSrcweir    Edit ED_MASTERPASSWORD_CRT
61cdf0e10cSrcweir    {
62cdf0e10cSrcweir        HelpID = "uui:Edit:DLG_UUI_MASTERPASSWORD_CRT:ED_MASTERPASSWORD_CRT" ;
63cdf0e10cSrcweir        Pos = MAP_APPFONT ( COL_0, ROW_3 ) ;
64cdf0e10cSrcweir        Size = MAP_APPFONT ( CTRL_WIDTH, RSC_CD_TEXTBOX_HEIGHT ) ;
65cdf0e10cSrcweir        Border = TRUE ;
66cdf0e10cSrcweir        PassWord = TRUE ;
67cdf0e10cSrcweir    };
68cdf0e10cSrcweir    FixedText FT_MASTERPASSWORD_REPEAT
69cdf0e10cSrcweir    {
70cdf0e10cSrcweir        Pos = MAP_APPFONT ( COL_0, ROW_4 ) ;
71cdf0e10cSrcweir        Size = MAP_APPFONT ( CTRL_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
72cdf0e10cSrcweir        Text [ en-US ] = "~Reenter password" ;
73cdf0e10cSrcweir    };
74cdf0e10cSrcweir    Edit ED_MASTERPASSWORD_REPEAT
75cdf0e10cSrcweir    {
76cdf0e10cSrcweir        HelpID = "uui:Edit:DLG_UUI_MASTERPASSWORD_CRT:ED_MASTERPASSWORD_REPEAT" ;
77cdf0e10cSrcweir        Pos = MAP_APPFONT ( COL_0, ROW_5 ) ;
78cdf0e10cSrcweir        Size = MAP_APPFONT ( CTRL_WIDTH, RSC_CD_TEXTBOX_HEIGHT ) ;
79cdf0e10cSrcweir        Border = TRUE ;
80cdf0e10cSrcweir        PassWord = TRUE ;
81cdf0e10cSrcweir    };
82cdf0e10cSrcweir    FixedText FT_CAUTIONTEXT
83cdf0e10cSrcweir    {
84cdf0e10cSrcweir        Pos = MAP_APPFONT ( COL_0, ROW_6 ) ;
85cdf0e10cSrcweir        Size = MAP_APPFONT ( CTRL_WIDTH, 8*RSC_CD_FIXEDTEXT_HEIGHT ) ;
86cdf0e10cSrcweir        WordBreak = TRUE ;
87cdf0e10cSrcweir        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." ;
88cdf0e10cSrcweir    };
89cdf0e10cSrcweir    FixedLine FL_CAUTIONTEXT
90cdf0e10cSrcweir    {
91cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0, ROW_7 ) ;
92cdf0e10cSrcweir        Size = MAP_APPFONT ( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
93cdf0e10cSrcweir    };
94cdf0e10cSrcweir    HelpButton BTN_MASTERPASSCRT_HELP
95cdf0e10cSrcweir    {
96cdf0e10cSrcweir        Pos = MAP_APPFONT ( COL_0, ROW_8 ) ;
97cdf0e10cSrcweir        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
98cdf0e10cSrcweir    };
99cdf0e10cSrcweir    OKButton BTN_MASTERPASSCRT_OK
100cdf0e10cSrcweir    {
101cdf0e10cSrcweir        Pos = MAP_APPFONT ( COL_1, ROW_8 ) ;
102cdf0e10cSrcweir        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
103cdf0e10cSrcweir        DefButton = TRUE ;
104cdf0e10cSrcweir    };
105cdf0e10cSrcweir    CancelButton BTN_MASTERPASSCRT_CANCEL
106cdf0e10cSrcweir    {
107cdf0e10cSrcweir        Pos = MAP_APPFONT ( COL_2, ROW_8 ) ;
108cdf0e10cSrcweir        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
109cdf0e10cSrcweir    };
110cdf0e10cSrcweir};
111cdf0e10cSrcweir
112*5578c25cSmseidel// ********************************************************************** EOF
113