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