Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / sc / source / ui / miscdlgs / protectiondlg.src
blobba0990d11118c964a85a34a009175cf93c882c30
1 /*
2  * This file is part of the LibreOffice project.
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  *
8  * This file incorporates work covered by the following license notice:
9  *
10  *   Licensed to the Apache Software Foundation (ASF) under one or more
11  *   contributor license agreements. See the NOTICE file distributed
12  *   with this work for additional information regarding copyright
13  *   ownership. The ASF licenses this file to you under the Apache
14  *   License, Version 2.0 (the "License"); you may not use this file
15  *   except in compliance with the License. You may obtain a copy of
16  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
17  */
19 #include "protectiondlg.hrc"
21 ModalDialog RID_SCDLG_TABPROTECTION
23     HelpID = "sc:ModalDialog:RID_SCDLG_TABPROTECTION";
24     Text [ en-US ] = "Protect Sheet" ;
25     Size = MAP_APPFONT ( 250 , 135 ) ;
26     Moveable = TRUE ;
27     Closeable = TRUE ;
29     OKButton BTN_OK
30     {
31         Pos = MAP_APPFONT ( 194 , 6 ) ;
32         Size = MAP_APPFONT ( 50 , 14 ) ;
33         DefButton = TRUE ;
34     };
35     CancelButton BTN_CANCEL
36     {
37         Pos = MAP_APPFONT ( 194 , 23 ) ;
38         Size = MAP_APPFONT ( 50 , 14 ) ;
39     };
40     HelpButton BTN_HELP
41     {
42         Pos = MAP_APPFONT ( 194 , 43 ) ;
43         Size = MAP_APPFONT ( 50 , 14 ) ;
44     };
46     CheckBox BTN_PROTECT
47     {
48         HelpID = "sc:CheckBox:RID_SCDLG_TABPROTECTION:BTN_PROTECT";
49         Pos = MAP_APPFONT ( 6 , 6 ) ;
50         Size = MAP_APPFONT ( 180 , 10 );
52         Text [ en-US ] = "P~rotect this sheet and the contents of protected cells" ;
53     };
55     FixedText FT_PASSWORD1
56     {
57         Pos = MAP_APPFONT ( 11, 23 );
58         Size = MAP_APPFONT ( 42, 10 );
60         Text [ en-US ] = "~Password" ;
61     };
63     Edit ED_PASSWORD1
64     {
65         HelpID = "sc:Edit:RID_SCDLG_TABPROTECTION:ED_PASSWORD1";
66         Border = TRUE;
67         PassWord = TRUE;
68         Pos = MAP_APPFONT ( 56, 22 );
69         Size = MAP_APPFONT ( 75, 12 );
70     };
72     FixedText FT_PASSWORD2
73     {
74         Pos = MAP_APPFONT ( 11, 40 );
75         Size = MAP_APPFONT ( 42, 10 );
77         Text [ en-US ] = "~Confirm" ;
78     };
80     Edit ED_PASSWORD2
81     {
82         HelpID = "sc:Edit:RID_SCDLG_TABPROTECTION:ED_PASSWORD2";
83         Border = TRUE;
84         PassWord = TRUE;
85         Pos = MAP_APPFONT ( 56, 39 );
86         Size = MAP_APPFONT ( 75, 12 );
87     };
89     FixedLine FL_OPTIONS
90     {
91         Pos = MAP_APPFONT ( 6, 60 );
92         Size = MAP_APPFONT ( 180, 8 );
94         Text [ en-US ] = "Options";
95     };
97     FixedText FT_OPTIONS
98     {
99         Pos = MAP_APPFONT ( 11, 74 );
100         Size = MAP_APPFONT ( 140, 8 );
102         Text [ en-US ] = "Allow all users of this sheet to:";
103     };
105     Control CLB_OPTIONS
106     {
107         Pos = MAP_APPFONT ( 11, 85 );
108         Size = MAP_APPFONT ( 140, 40 );
109         Border = TRUE ;
110         TabStop = TRUE ;
111     };
113     String ST_SELECT_PROTECTED_CELLS
114     {
115         Text [ en-US ] = "Select protected cells";
116     };
118     String ST_SELECT_UNPROTECTED_CELLS
119     {
120         Text [ en-US ] = "Select unprotected cells";
121     };