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#include "protectiondlg.hrc"
29
30ModalDialog RID_SCDLG_TABPROTECTION
31{
32    HelpID = "sc:ModalDialog:RID_SCDLG_TABPROTECTION";
33    Text [ en-US ] = "Protect Sheet" ;
34    Size = MAP_APPFONT ( 220 , 135 ) ;
35    Moveable = TRUE ;
36    Closeable = TRUE ;
37
38    OKButton BTN_OK
39    {
40        Pos = MAP_APPFONT ( 164 , 6 ) ;
41        Size = MAP_APPFONT ( 50 , 14 ) ;
42        DefButton = TRUE ;
43    };
44    CancelButton BTN_CANCEL
45    {
46        Pos = MAP_APPFONT ( 164 , 23 ) ;
47        Size = MAP_APPFONT ( 50 , 14 ) ;
48    };
49    HelpButton BTN_HELP
50    {
51        Pos = MAP_APPFONT ( 164 , 43 ) ;
52        Size = MAP_APPFONT ( 50 , 14 ) ;
53    };
54
55    CheckBox BTN_PROTECT
56    {
57        HelpID = "sc:CheckBox:RID_SCDLG_TABPROTECTION:BTN_PROTECT";
58        Pos = MAP_APPFONT ( 6 , 6 ) ;
59        Size = MAP_APPFONT ( 150 , 10 );
60
61        Text [ en-US ] = "P~rotect this sheet and the contents of locked cells" ;
62    };
63
64    FixedText FT_PASSWORD1
65    {
66        Pos = MAP_APPFONT ( 11, 23 );
67        Size = MAP_APPFONT ( 42, 10 );
68
69        Text [ en-US ] = "~Password" ;
70    };
71
72    Edit ED_PASSWORD1
73    {
74        HelpID = "sc:Edit:RID_SCDLG_TABPROTECTION:ED_PASSWORD1";
75        Border = TRUE;
76        PassWord = TRUE;
77        Pos = MAP_APPFONT ( 56, 22 );
78        Size = MAP_APPFONT ( 75, 12 );
79    };
80
81    FixedText FT_PASSWORD2
82    {
83        Pos = MAP_APPFONT ( 11, 40 );
84        Size = MAP_APPFONT ( 42, 10 );
85
86        Text [ en-US ] = "~Confirm" ;
87    };
88
89    Edit ED_PASSWORD2
90    {
91        HelpID = "sc:Edit:RID_SCDLG_TABPROTECTION:ED_PASSWORD2";
92        Border = TRUE;
93        PassWord = TRUE;
94        Pos = MAP_APPFONT ( 56, 39 );
95        Size = MAP_APPFONT ( 75, 12 );
96    };
97
98    FixedLine FL_OPTIONS
99    {
100        Pos = MAP_APPFONT ( 6, 60 );
101        Size = MAP_APPFONT ( 150, 8 );
102
103        Text [ en-US ] = "Options";
104    };
105
106    FixedText FT_OPTIONS
107    {
108        Pos = MAP_APPFONT ( 11, 74 );
109        Size = MAP_APPFONT ( 140, 8 );
110
111        Text [ en-US ] = "Allow all users of this sheet to:";
112    };
113
114    Control CLB_OPTIONS
115    {
116        Pos = MAP_APPFONT ( 11, 85 );
117        Size = MAP_APPFONT ( 140, 40 );
118        Border = TRUE ;
119        TabStop = TRUE ;
120    };
121
122    String ST_SELECT_LOCKED_CELLS
123    {
124        Text [ en-US ] = "Select locked cells";
125    };
126
127    String ST_SELECT_UNLOCKED_CELLS
128    {
129        Text [ en-US ] = "Select unlocked cells";
130    };
131};
132