Update ooo320-m1
[ooovba.git] / helpcontent2 / source / text / scalc / guide / cell_protect.xhp
blob2e67ff433ea2198e0d905290b06ea567db5aa11d
1 <?xml version="1.0" encoding="UTF-8"?>
2 <helpdocument version="1.0">
4 <!--
5 ***********************************************************************
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2008 by Sun Microsystems, Inc.
11 * OpenOffice.org - a multi-platform office productivity suite
13 * $RCSfile: soffice2xmlhelp.xsl,v $
14 * $Revision: 1.10 $
16 * This file is part of OpenOffice.org.
18 * OpenOffice.org is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU Lesser General Public License version 3
20 * only, as published by the Free Software Foundation.
22 * OpenOffice.org is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU Lesser General Public License version 3 for more details
26 * (a copy is included in the LICENSE file that accompanied this code).
28 * You should have received a copy of the GNU Lesser General Public License
29 * version 3 along with OpenOffice.org. If not, see
30 * <http://www.openoffice.org/license.html>
31 * for a copy of the LGPLv3 License.
33 ************************************************************************
34 -->
37 <meta>
38 <topic id="textscalcguidecell_protectxml" indexer="include" status="PUBLISH">
39 <title xml-lang="en-US" id="tit">Protecting Cells from Changes</title>
40 <filename>/text/scalc/guide/cell_protect.xhp</filename>
41 </topic>
42 </meta>
43 <body>
44 <bookmark xml-lang="en-US" branch="index" id="bm_id3146119"><bookmark_value>protecting;cells and sheets</bookmark_value>
45 <bookmark_value>cells; protecting</bookmark_value>
46 <bookmark_value>cell protection; enabling</bookmark_value>
47 <bookmark_value>sheets; protecting</bookmark_value>
48 <bookmark_value>documents; protecting</bookmark_value>
49 <bookmark_value>cells; hiding for printing</bookmark_value>
50 <bookmark_value>changing; sheet protection</bookmark_value>
51 <bookmark_value>hiding;formulas</bookmark_value>
52 <bookmark_value>formulas;hiding</bookmark_value>
53 </bookmark><comment>MW transferred "modifying;..." and "changing;..." into one index entry</comment>
54 <paragraph xml-lang="en-US" id="hd_id3146119" role="heading" level="1" l10n="U" oldref="5"><variable id="cell_protect"><link href="text/scalc/guide/cell_protect.xhp" name="Protecting Cells from Changes">Protecting Cells from Changes</link>
55 </variable></paragraph>
56 <paragraph xml-lang="en-US" id="par_id3153368" role="paragraph" l10n="U" oldref="17">In <item type="productname">%PRODUCTNAME</item> Calc you can protect sheets and the document as a whole. You can choose whether the cells are protected against accidental changes, whether the formulas can be viewed from within Calc, whether the cells are visible or whether the cells can be printed.</paragraph>
57 <paragraph xml-lang="en-US" id="par_id3145261" role="paragraph" l10n="U" oldref="18">Protection can be provided by means of a password, but it does not have to be. If you have assigned a password, protection can only be removed once the correct password has been entered.</paragraph>
58 <paragraph xml-lang="en-US" id="par_id3148576" role="paragraph" l10n="U" oldref="19">Note that the cell protection for cells with the <emph>Protected</emph> attribute is only effective when you protect the whole table. In the default condition, every cell has the <emph>Protected</emph> attribute. Therefore you must remove the attribute selectively for those cells where the user may make changes. You then protect the whole table and save the document.</paragraph>
59 <paragraph xml-lang="en-US" id="par_id5974303" role="warning" l10n="NEW">These protection features are just switches to prevent accidental action. The features are not intended to provide any secure protection. For example, by exporting a sheet to another file format, a user may be able to surpass the protection features. There is only one secure protection: the password that you can apply when saving an OpenDocument file. A file that has been saved with a password can be opened only with the same password.</paragraph>
60 <list type="ordered">
61 <listitem>
62 <paragraph xml-lang="en-US" id="par_idN1066B" role="listitem" l10n="NEW">Select the cells that you want to specify the cell protection options for.</paragraph>
63 </listitem>
64 <listitem>
65 <paragraph xml-lang="en-US" id="par_id3149019" role="listitem" l10n="U" oldref="7">Choose <item type="menuitem">Format - Cells</item> and click the <emph>Cell Protection</emph> tab.</paragraph>
66 </listitem>
67 <listitem>
68 <paragraph xml-lang="en-US" id="par_id3152985" role="listitem" l10n="U" oldref="9">Select the protection options that you want.</paragraph>
69 <paragraph xml-lang="en-US" id="par_id3152898" role="listitem" l10n="U" oldref="10">Select <emph>Protected</emph> to prevent changes to the contents and the format of a cell. </paragraph>
70 <paragraph xml-lang="en-US" id="par_idN1069A" role="listitem" l10n="NEW">Select <emph>Hide formula</emph> to hide and to protect formulas from changes.</paragraph>
71 <paragraph xml-lang="en-US" id="par_idN106A1" role="listitem" l10n="NEW">Select <emph>Hide when printing</emph> to hide protected cells in the printed document. The cells are not hidden onscreen.</paragraph>
72 </listitem>
73 <listitem>
74 <paragraph xml-lang="en-US" id="par_id3152872" role="listitem" l10n="U" oldref="11">Click <emph>OK</emph>.</paragraph>
75 </listitem>
76 <listitem>
77 <paragraph xml-lang="en-US" id="par_id3145362" role="listitem" l10n="U" oldref="12">Apply the protection options.</paragraph>
78 <paragraph xml-lang="en-US" id="par_idN106C0" role="listitem" l10n="NEW">To protect the cells from being changed / viewed / printed according to your settings in the <emph>Format - Cells</emph> dialog, choose <item type="menuitem">Tools - Protect Document - Sheet</item>.</paragraph>
79 <paragraph xml-lang="en-US" id="par_idN106C7" role="listitem" l10n="CHG">To protect the structure of the document, for example the count, <link href="text/scalc/guide/rename_table.xhp">names</link>, and order of the sheets, from being changed, choose <item type="menuitem">Tools - Protect Document - Document</item>.</paragraph>
80 </listitem>
81 <listitem>
82 <paragraph xml-lang="en-US" id="par_idN106CF" role="listitem" l10n="NEW">(Optional) Enter a password of at least 5 characters.</paragraph>
83 <paragraph xml-lang="en-US" id="par_idN106D2" role="warning" l10n="NEW">If you forget your password, you cannot deactivate the protection. If you only want to protect cells from accidental changes, set the sheet protection, but do not enter a password.</paragraph>
84 </listitem>
85 <listitem>
86 <paragraph xml-lang="en-US" id="par_id3153810" role="listitem" l10n="U" oldref="13">Click <emph>OK</emph>. </paragraph>
87 </listitem>
88 </list>
89 <section id="relatedtopics">
90 <embed href="text/scalc/guide/cell_unprotect.xhp#cell_unprotect"/>
91 <embed href="text/shared/guide/protection.xhp#protection"/>
92 <paragraph xml-lang="en-US" id="par_idN10B8C" role="paragraph" l10n="NEW">
93 <embedvar href="text/shared/guide/digital_signatures.xhp#digital_signatures"/>
94 </paragraph>
95 </section>
96 </body>
97 </helpdocument>