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