xref: /trunk/main/sc/source/ui/miscdlgs/protectiondlg.src (revision 78190a370f7d7129fed9a7e70ca122eaae71ce1d)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include "protectiondlg.hrc"
25
26ModalDialog RID_SCDLG_TABPROTECTION
27{
28    HelpID = "sc:ModalDialog:RID_SCDLG_TABPROTECTION" ;
29    Text [ en-US ] = "Protect Sheet" ;
30    Size = MAP_APPFONT ( 220, 135 ) ;
31    Moveable = TRUE ;
32    Closeable = TRUE ;
33
34    OKButton BTN_OK
35    {
36        Pos = MAP_APPFONT ( 164, 6 ) ;
37        Size = MAP_APPFONT ( 50, 14 ) ;
38        DefButton = TRUE ;
39    };
40    CancelButton BTN_CANCEL
41    {
42        Pos = MAP_APPFONT ( 164, 23 ) ;
43        Size = MAP_APPFONT ( 50, 14 ) ;
44    };
45    HelpButton BTN_HELP
46    {
47        Pos = MAP_APPFONT ( 164, 43 ) ;
48        Size = MAP_APPFONT ( 50, 14 ) ;
49    };
50
51    CheckBox BTN_PROTECT
52    {
53        HelpID = "sc:CheckBox:RID_SCDLG_TABPROTECTION:BTN_PROTECT" ;
54        Pos = MAP_APPFONT ( 6, 6 ) ;
55        Size = MAP_APPFONT ( 150, 10 ) ;
56
57        Text [ en-US ] = "P~rotect this sheet and the contents of locked cells" ;
58    };
59
60    FixedText FT_PASSWORD1
61    {
62        Pos = MAP_APPFONT ( 11, 23 ) ;
63        Size = MAP_APPFONT ( 42, 10 ) ;
64
65        Text [ en-US ] = "~Password" ;
66    };
67
68    Edit ED_PASSWORD1
69    {
70        HelpID = "sc:Edit:RID_SCDLG_TABPROTECTION:ED_PASSWORD1" ;
71        Border = TRUE ;
72        PassWord = TRUE ;
73        Pos = MAP_APPFONT ( 56, 22 ) ;
74        Size = MAP_APPFONT ( 75, 12 ) ;
75    };
76
77    FixedText FT_PASSWORD2
78    {
79        Pos = MAP_APPFONT ( 11, 40 ) ;
80        Size = MAP_APPFONT ( 42, 10 ) ;
81
82        Text [ en-US ] = "~Confirm" ;
83    };
84
85    Edit ED_PASSWORD2
86    {
87        HelpID = "sc:Edit:RID_SCDLG_TABPROTECTION:ED_PASSWORD2" ;
88        Border = TRUE ;
89        PassWord = TRUE ;
90        Pos = MAP_APPFONT ( 56, 39 ) ;
91        Size = MAP_APPFONT ( 75, 12 ) ;
92    };
93
94    FixedLine FL_OPTIONS
95    {
96        Pos = MAP_APPFONT ( 6, 60 ) ;
97        Size = MAP_APPFONT ( 150, 8 ) ;
98
99        Text [ en-US ] = "Options" ;
100    };
101
102    FixedText FT_OPTIONS
103    {
104        Pos = MAP_APPFONT ( 11, 74 ) ;
105        Size = MAP_APPFONT ( 140, 8 ) ;
106
107        Text [ en-US ] = "Allow all users of this sheet to:" ;
108    };
109
110    Control CLB_OPTIONS
111    {
112        Pos = MAP_APPFONT ( 11, 85 ) ;
113        Size = MAP_APPFONT ( 140, 40 ) ;
114        Border = TRUE ;
115        TabStop = TRUE ;
116    };
117
118    String ST_SELECT_LOCKED_CELLS
119    {
120        Text [ en-US ] = "Select locked cells" ;
121    };
122
123    String ST_SELECT_UNLOCKED_CELLS
124    {
125        Text [ en-US ] = "Select unlocked cells" ;
126    };
127};
128
129// ********************************************************************** EOF
130