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