<?xml version="1.0" encoding="UTF-8"?>

<!--***********************************************************
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 *
 ***********************************************************-->

<helpdocument version="1.0">
<meta>
<topic id="textscalc0106060200xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Protecting document</title>
<filename>/text/scalc/01/06060200.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="hid/.uno:ToolProtectionDocument" id="bm_id3209635" localize="false"/><!-- HID added by script -->
<bookmark xml-lang="en-US" branch="hid/.uno:ToolProtectionDocument" id="bm_id3150791" localize="false"/>
<paragraph role="heading" id="hd_id3150541" xml-lang="en-US" level="1" l10n="U">Protecting document</paragraph>
<paragraph role="paragraph" id="par_id3145172" xml-lang="en-US" l10n="CHG"><variable id="dokumenttext"><ahelp hid=".uno:ToolProtectionDocument">Protects the sheet structure of your document from modifications. It is impossible to insert, delete, rename, move or copy sheets.</ahelp>
</variable> Open the <emph>Protect document</emph> dialog with <emph>Tools - Protect Document - Document</emph>. Optionally enter a password and click OK.</paragraph>
<section id="howtoget">
<embed href="text/scalc/00/00000406.xhp#exdsd"/>
</section>
<paragraph role="paragraph" id="par_id3153188" xml-lang="en-US" l10n="U">The structure of protected spreadsheet documents can be changed only if the <emph>Protect</emph> option is disabled. On the context menus for the spreadsheet tabs at the lower graphic border, only the menu item <emph>Select All Sheets</emph> can be activated. All other menu items are deactivated. To remove the protection, call up the command <emph>Tools - Protect Document - Document</emph> again. If no password is assigned, protection is immediately removed. If you were assigned a password, the <emph>Remove Spreadsheet Protection</emph> dialog appears, in which you must enter the password. Only then can you remove the check mark specifying that protection is active.</paragraph>
<paragraph role="paragraph" id="par_id3145750" xml-lang="en-US" l10n="U">A protected document, once saved, can only be saved again with the <emph>File - Save As</emph> menu command.</paragraph>
<paragraph role="heading" id="hd_id3152596" xml-lang="en-US" level="2" l10n="U">Password (optional)</paragraph>
<paragraph role="paragraph" id="par_id3155412" xml-lang="en-US" l10n="U">You can create a password to protect your document against unauthorized or accidental modifications.</paragraph>
<paragraph role="note" id="par_id3150717" xml-lang="en-US" l10n="U">You can completely protect your work by combining both options from <emph>Tools - Protect Document</emph>, including password entry. If you want to prevent the document from being opened by other users, select <emph>Save With Password</emph> and click the <emph>Save</emph> button. The <emph>Enter Password</emph> dialog appears. Consider carefully when choosing a password; if you forget it after you close a document you will be unable to access the document.</paragraph>
</body>
</helpdocument>
