summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2023-09-07 14:16:13 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-09-08 11:58:21 +0200
commit8daa94aa1ff1135d3d2552182c7f2d23cc21d6f2 (patch)
treedfe8292a0af746a8c252a9db6a6bf71be29597cd
parent5f31e41620bb668c611701c87a9f2b1cbf3c93c9 (diff)
tdf#155875 UI cmds Writer/Table in Help(34)
+ refactoring + Table - Protection (part 34) + protection is called by "uno.Protect" in menus + in Calc: protect sheet dialog + in Writer: protect cell directly + merged in shared/01/Protect.xhp with app switch + removed obsolete files Change-Id: Ieada8a774a14a19f79f58e22fd807bf5aacaf64b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/156678 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--AllLangHelp_scalc.mk1
-rw-r--r--AllLangHelp_shared.mk1
-rw-r--r--AllLangHelp_swriter.mk1
-rw-r--r--source/text/scalc/01/06060000.xhp6
-rw-r--r--source/text/scalc/01/06060100.xhp111
-rw-r--r--source/text/scalc/guide/cell_protect.xhp4
-rw-r--r--source/text/scalc/menu/sheet_tab_menu.xhp2
-rw-r--r--source/text/shared/01/Protect.xhp137
-rw-r--r--source/text/swriter/00/00000405.xhp37
-rw-r--r--source/text/swriter/01/05100000.xhp2
-rw-r--r--source/text/swriter/01/05100300.xhp41
-rw-r--r--source/text/swriter/01/05100400.xhp31
-rw-r--r--source/text/swriter/main0110.xhp7
13 files changed, 196 insertions, 185 deletions
diff --git a/AllLangHelp_scalc.mk b/AllLangHelp_scalc.mk
index 6192819d40..f69425a60f 100644
--- a/AllLangHelp_scalc.mk
+++ b/AllLangHelp_scalc.mk
@@ -133,7 +133,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/06040000 \
helpcontent2/source/text/scalc/01/06050000 \
helpcontent2/source/text/scalc/01/06060000 \
- helpcontent2/source/text/scalc/01/06060100 \
helpcontent2/source/text/scalc/01/06060200 \
helpcontent2/source/text/scalc/01/06070000 \
helpcontent2/source/text/scalc/01/06080000 \
diff --git a/AllLangHelp_shared.mk b/AllLangHelp_shared.mk
index c40c7c4209..d19ddefb7c 100644
--- a/AllLangHelp_shared.mk
+++ b/AllLangHelp_shared.mk
@@ -383,6 +383,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
helpcontent2/source/text/shared/01/pasterowabove \
helpcontent2/source/text/shared/01/pastecolumnleft \
helpcontent2/source/text/shared/01/profile_safe_mode \
+ helpcontent2/source/text/shared/01/Protect \
helpcontent2/source/text/shared/01/qrcode \
helpcontent2/source/text/shared/01/quickcolorselector \
helpcontent2/source/text/shared/01/ref_epub_export \
diff --git a/AllLangHelp_swriter.mk b/AllLangHelp_swriter.mk
index 26ffea7b41..0fcd7e2805 100644
--- a/AllLangHelp_swriter.mk
+++ b/AllLangHelp_swriter.mk
@@ -129,7 +129,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
helpcontent2/source/text/swriter/01/05090201 \
helpcontent2/source/text/swriter/01/05090300 \
helpcontent2/source/text/swriter/01/05100000 \
- helpcontent2/source/text/swriter/01/05100300 \
helpcontent2/source/text/swriter/01/05100400 \
helpcontent2/source/text/swriter/01/05110100 \
helpcontent2/source/text/swriter/01/05110300 \
diff --git a/source/text/scalc/01/06060000.xhp b/source/text/scalc/01/06060000.xhp
index b57bd65a69..fc4972f06a 100644
--- a/source/text/scalc/01/06060000.xhp
+++ b/source/text/scalc/01/06060000.xhp
@@ -18,7 +18,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
-
+
<helpdocument version="1.0">
<meta>
<topic id="textscalc0106060000xml" indexer="include" status="PUBLISH">
@@ -38,8 +38,8 @@
<embed href="text/scalc/00/00000406.xhp#protect_sheet"/>
<embed href="text/scalc/00/00000406.xhp#protect_spreadsheet"/>
</section>
-<h2 id="hd_id3147228"><link href="text/scalc/01/06060100.xhp">Sheets</link></h2>
-<embed href="text/scalc/01/06060100.xhp#tabelletext"/>
+<h2 id="hd_id3147228"><link href="text/shared/01/Protect.xhp">Sheets</link></h2>
+<embed href="text/shared/01/Protect.xhp#tabelletext"/>
<h2 id="hd_id3153768"><link href="text/scalc/01/06060200.xhp">Documents</link></h2>
<embed href="text/scalc/01/06060200.xhp#dokumenttext"/>
<section id="relatedtopics">
diff --git a/source/text/scalc/01/06060100.xhp b/source/text/scalc/01/06060100.xhp
deleted file mode 100644
index 0e39d0d27e..0000000000
--- a/source/text/scalc/01/06060100.xhp
+++ /dev/null
@@ -1,111 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * 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 .
- -->
-<helpdocument version="1.0">
-<meta>
-<topic id="textscalc0106060100xml" indexer="include" status="PUBLISH">
-<title id="tit">Protecting Sheet</title>
-<filename>/text/scalc/01/06060100.xhp</filename>
-</topic>
-</meta>
-<body>
-<bookmark branch="hid/modules/scalc/ui/protectsheetdlg/ProtectSheetDialog" id="bm_id3148919" localize="false"/>
-<bookmark branch="hid/modules/scalc/ui/protectsheetdlg/@@nowidget@@" id="bm_id3148919" localize="false"/>
-<bookmark branch="hid/.uno:Protect" id="bm_id3156326" localize="false"/>
-<bookmark branch="index" id="bm_id141619439455954">
-<bookmark_value>insert rows;protected sheet</bookmark_value>
-<bookmark_value>insert columns;protected sheet</bookmark_value>
-<bookmark_value>delete columns;protected sheet</bookmark_value>
-<bookmark_value>delete rows;protected sheet</bookmark_value>
-<bookmark_value>protected sheet;insert columns</bookmark_value>
-<bookmark_value>protected sheet;insert rows</bookmark_value>
-<bookmark_value>protected sheet;delete rows</bookmark_value>
-<bookmark_value>protected sheet;delete columns</bookmark_value>
-<bookmark_value>protect;sheet</bookmark_value>
-<bookmark_value>selection;in protected cells</bookmark_value>
-</bookmark>
-<section id="protect_sheet">
- <h1 id="hd_id3153087"><variable id="ProtectingSheeth1"><link href="text/scalc/01/06060100.xhp">Protect Sheet</link></variable></h1>
-<paragraph role="paragraph" id="par_id3148664"><variable id="tabelletext"><ahelp hid=".uno:Protect">Protects the cells in the current sheet from being modified.</ahelp></variable></paragraph>
-</section>
-<paragraph role="paragraph" id="par_id701619429750616">Choose <emph>Tools - Protect Sheet</emph> to open the <emph>Protect Sheet</emph> dialog in which you then specify sheet protection with or without a password, and select the elements of the sheet to protect.</paragraph>
-<section id="howtoget">
- <embed href="text/scalc/00/sheet_menu.xhp#protect_sheet"/>
- <embed href="text/scalc/00/00000402.xhp#cellprotection"/>
-</section>
-<warning id="par_id3149664">To protect cells from further editing, the <emph>Protected</emph> check box must be checked on the <link href="text/scalc/01/05020600.xhp"><emph>Format - Cells - Cell Protection</emph></link> tab page or on the <emph>Format Cells</emph> context menu.</warning>
-
-<h2 id="hd_id901619431276995">Protect this sheet and contents of the protected cells</h2>
-<paragraph role="paragraph" id="par_id381619431285815">Mark this checkbox to activate protection of sheet and cell contents.</paragraph>
-<h2 id="hd_id31619431291108">Password / Confirm</h2>
-<paragraph role="paragraph" id="par_id851619431300487">Allows you to enter a password to protect the sheet from unauthorized changes. Confirm the password entered in the first box.</paragraph>
-<h2 id="hd_id711619431316966">Allow users of this sheet to</h2>
-<paragraph role="paragraph" id="par_id41619431361278">Select the elements to protect from user actions:</paragraph>
-<list type="unordered">
- <listitem>
- <paragraph id="par_id661619430257262" role="listitem"><emph>Select protected cells</emph>: mark this checkbox to allow you to select protected cells. When the checkbox is unmarked, you cannot select protected cells, the cursor cannot enter in a protected range.</paragraph>
- </listitem>
- <listitem>
- <paragraph id="par_id921619430295947" role="listitem"><emph>Select unprotected cells</emph>: mark this checkbox to allow user to select unprotected cells. When the checkbox is unmarked, user cannot select unprotected cells, the cursor cannot enter in a unprotected cell or range.</paragraph>
- </listitem>
- <listitem>
- <paragraph id="par_id101619430333784" role="listitem"><emph>Insert columns</emph>: Allow column insertions even when the sheet is protected. Note that when column insertions is enabled, you can insert columns even when the range to insert the new columns into contains protected cells which will get shifted after the insertion. Cells of the newly inserted columns inherit the Protection property of the range it belongs: when the new cell is inside a protected range, the cell is protected, and when it is in an unprotected range, the cell is unprotected.</paragraph>
- </listitem>
- <listitem>
- <paragraph id="par_id891619430338809" role="listitem"><emph>Insert rows</emph>: Allow row insertions even when the sheet is protected. Note that when row insertions is enabled, you can insert rows even when the range to insert the new rows into contains protected cells which will get shifted after the insertion. Cells of the newly inserted rows inherit the Protection property of the range it belongs: when the new cell is inside a protected range it is protected, and when it is in an unprotected range, the cell is unprotected.</paragraph>
- </listitem>
- <listitem>
- <paragraph id="par_id311619430374686" role="listitem"><emph>Delete columns</emph>: Allow column deletions. Note that column deletions are only allowed on unprotected cells.
- </paragraph>
- </listitem>
- <listitem>
- <paragraph id="par_id561619430376854" role="listitem"><emph>Delete rows</emph>: Allow row deletions. Note that row deletions are only allowed on unprotected cells.
- </paragraph>
- </listitem>
-</list>
-<paragraph role="paragraph" id="par_id3154490">Unprotected cells or cell ranges can be set up on a protected sheet by using the <emph>Tools - Protect Sheet</emph> and <emph>Format - Cells - Cell Protection</emph> menus: </paragraph>
-<list type="ordered">
-<listitem>
-<paragraph role="paragraph" id="par_id3149123">Select the cells that will be unprotected</paragraph>
-</listitem>
-<listitem>
-<paragraph role="paragraph" id="par_id3150329">Select <emph>Format - Cells - Cell Protection</emph>. Unmark the <emph>Protected</emph> box and click <emph>OK</emph>.</paragraph>
-</listitem>
-<listitem>
- <paragraph role="paragraph" id="par_id3156384">On the <emph>Tools - Protect Sheet</emph> menu, activate protection for the sheet. Effective immediately, only the cell range you selected in step 1 can be edited.</paragraph>
-</listitem>
-</list>
-<paragraph role="paragraph" id="par_id3149566">To later change an unprotected area to a protected area:</paragraph>
- <list type="ordered">
- <listitem>
- <paragraph id="par_id101619439013221" role="listitem">Select the range of cells that will be protected.</paragraph>
- </listitem>
- <listitem>
- <paragraph id="par_id601619439028536" role="listitem">On the <menuitem>Format - Cells - Cell Protection</menuitem> tab page, check the <emph>Protected</emph> box. </paragraph>
- </listitem>
- <listitem>
- <paragraph id="par_id641619439061892" role="listitem">Choose the <menuitem>Tools - Protect Sheet</menuitem> menu. The previously editable range is now protected.</paragraph>
- </listitem>
- </list>
-<paragraph role="paragraph" id="par_id3153964">Sheet protection also affects the context menu of the sheet tabs at the bottom of the screen. The <emph>Delete</emph> and <emph>Rename</emph> commands cannot be selected.</paragraph>
-<paragraph role="paragraph" id="par_id3150301">If a sheet is protected, you will not be able to modify or delete any Cell Styles.</paragraph>
-<paragraph role="paragraph" id="par_id3154656">A protected sheet or cell range can no longer be modified until this protection is disabled, with the exceptions of the settings for columns and row of the <menuitem>Tools - Protect Sheet</menuitem> dialog. To disable the protection, choose the <menuitem>Tools - Protect Sheet</menuitem> command. If no password was set, the sheet protection is immediately disabled. If the sheet was password protected, the <emph>Remove Protection</emph> dialog opens, where you must enter the password.</paragraph>
-<paragraph role="paragraph" id="par_id3149815">Once saved, protected sheets can only be saved again by using the <emph>File - Save As</emph> command.</paragraph>
-<note id="par_id3148700">Complete protection of your work can be achieved by combining the options <emph>Tools - Protect Sheet</emph> and <emph>Tools - Protect Spreadsheet Structure</emph>, including password protection. To prohibit opening the document altogether, in the <emph>Save</emph> dialog mark the <emph>Save with password</emph> box before you click the <emph>Save</emph> button.</note>
-</body>
-</helpdocument>
diff --git a/source/text/scalc/guide/cell_protect.xhp b/source/text/scalc/guide/cell_protect.xhp
index e72eb0aaaf..dae3e517f1 100644
--- a/source/text/scalc/guide/cell_protect.xhp
+++ b/source/text/scalc/guide/cell_protect.xhp
@@ -63,7 +63,7 @@
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id3145362" role="listitem">Apply the protection options.</paragraph>
- <paragraph xml-lang="en-US" id="par_idN106C0" role="listitem">To protect the cells from being changed, viewed or printed according to your settings in the <emph>Format - Cells</emph> dialog, choose <link href="text/scalc/01/06060100.xhp"><menuitem>Tools - Protect Sheet</menuitem></link>.</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN106C0" role="listitem">To protect the cells from being changed, viewed or printed according to your settings in the <emph>Format - Cells</emph> dialog, choose <link href="text/shared/01/Protect.xhp"><menuitem>Tools - Protect Sheet</menuitem></link>.</paragraph>
<paragraph xml-lang="en-US" id="par_idN106C7" role="listitem">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 Spreadsheet Structure</item>.</paragraph>
</listitem>
<listitem>
@@ -75,7 +75,7 @@
</listitem>
</list>
<section id="relatedtopics">
- <embed href="text/scalc/01/06060100.xhp#ProtectingSheeth1"/>
+ <embed href="text/shared/01/Protect.xhp#ProtectingSheeth1"/>
<embed href="text/scalc/guide/cell_unprotect.xhp#cell_unprotect"/>
<embed href="text/shared/guide/protection.xhp#protection"/>
<paragraph xml-lang="en-US" id="par_idN10B8C" role="paragraph" localize="false">
diff --git a/source/text/scalc/menu/sheet_tab_menu.xhp b/source/text/scalc/menu/sheet_tab_menu.xhp
index cd549dd2fe..de6e37b7b6 100644
--- a/source/text/scalc/menu/sheet_tab_menu.xhp
+++ b/source/text/scalc/menu/sheet_tab_menu.xhp
@@ -34,7 +34,7 @@
<embed href="text/scalc/01/02180000.xhp#movecopysheet"/>
<h2 id="hd_id871684772491816">Select all sheets</h2>
<paragraph role="paragraph" id="par_id321684772518367">Selects all of the sheets in the current spreadsheet.</paragraph>
-<embed href="text/scalc/01/06060100.xhp#protect_sheet"/>
+<embed href="text/shared/01/Protect.xhp#protect_sheet"/>
<embed href="text/scalc/01/05050300.xhp#show_sheet"/>
<embed href="text/scalc/01/hide_sheet.xhp#hide_sheet"/>
diff --git a/source/text/shared/01/Protect.xhp b/source/text/shared/01/Protect.xhp
new file mode 100644
index 0000000000..d58232c169
--- /dev/null
+++ b/source/text/shared/01/Protect.xhp
@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+ <!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * 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 .
+ -->
+
+ <meta>
+ <topic id="cellprotection" indexer="include" status="PUBLISH">
+ <title id="tit">Protect</title>
+ <filename>/text/shared/01/Protect.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <comment>Same UNO command name for totally different modules and behaviour</comment>
+ <bookmark branch="hid/.uno:Protect" id="bm_id7637302" localize="false"/>
+ <switch select="appl">
+ <case select="WRITER">
+ <section id="protect">
+ <h1 id="hd_id3146322"><link href="text/shared/01/Protect.xhp">Protect Cells</link></h1>
+ <paragraph id="par_id3145822" role="paragraph"><ahelp hid=".uno:Protect">Prevents the contents of the selected cells from being modified.</ahelp></paragraph>
+ </section>
+ <section id="howtoget">
+ <embed href="text/swriter/00/00000405.xhp#protect"/>
+ </section>
+ <note id="par_id3154641">When the cursor is in a read-only cell, a note appears on the <emph>Status Bar</emph>.</note>
+ <paragraph id="par_id3149292" role="paragraph">To remove cell protection, select the cell(s), right-click, and then choose <link href="text/swriter/01/05100400.xhp"><emph>Unprotect Cells</emph></link>.</paragraph>
+ <section id="relatedtopics">
+ <embed href="text/swriter/main0110.xhp#h1"/>
+ </section>
+ </case>
+ <case select="CALC">
+ <bookmark branch="hid/modules/scalc/ui/protectsheetdlg/ProtectSheetDialog" id="bm_id3148919" localize="false"/>
+ <bookmark branch="hid/modules/scalc/ui/protectsheetdlg/@@nowidget@@" id="bm_id3148919" localize="false"/>
+ <bookmark branch="index" id="bm_id141619439455954">
+ <bookmark_value>insert rows;protected sheet</bookmark_value>
+ <bookmark_value>insert columns;protected sheet</bookmark_value>
+ <bookmark_value>delete columns;protected sheet</bookmark_value>
+ <bookmark_value>delete rows;protected sheet</bookmark_value>
+ <bookmark_value>protected sheet;insert columns</bookmark_value>
+ <bookmark_value>protected sheet;insert rows</bookmark_value>
+ <bookmark_value>protected sheet;delete rows</bookmark_value>
+ <bookmark_value>protected sheet;delete columns</bookmark_value>
+ <bookmark_value>protect;sheet</bookmark_value>
+ <bookmark_value>selection;in protected cells</bookmark_value>
+ </bookmark>
+ <section id="protect_sheet">
+ <h1 id="hd_id3153087"><variable id="ProtectingSheeth1"><link href="text/shared/01/Protect.xhp">Protect Sheet</link></variable></h1>
+ <paragraph role="paragraph" id="par_id3148664"><variable id="tabelletext"><ahelp hid=".uno:Protect">Protects the cells in the current sheet from being modified.</ahelp></variable></paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id701619429750616">Choose <emph>Tools - Protect Sheet</emph> to open the <emph>Protect Sheet</emph> dialog in which you then specify sheet protection with or without a password, and select the elements of the sheet to protect.</paragraph>
+ <section id="howtoget">
+ <embed href="text/scalc/00/sheet_menu.xhp#protect_sheet"/>
+ <embed href="text/scalc/00/00000402.xhp#cellprotection"/>
+ </section>
+ <warning id="par_id3149664">To protect cells from further editing, the <emph>Protected</emph> check box must be checked on the <link href="text/scalc/01/05020600.xhp"><emph>Format - Cells - Cell Protection</emph></link> tab page or on the <emph>Format Cells</emph> context menu.</warning>
+
+ <h2 id="hd_id901619431276995">Protect this sheet and contents of the protected cells</h2>
+ <paragraph role="paragraph" id="par_id381619431285815">Mark this checkbox to activate protection of sheet and cell contents.</paragraph>
+ <h2 id="hd_id31619431291108">Password / Confirm</h2>
+ <paragraph role="paragraph" id="par_id851619431300487">Allows you to enter a password to protect the sheet from unauthorized changes. Confirm the password entered in the first box.</paragraph>
+ <h2 id="hd_id711619431316966">Allow users of this sheet to</h2>
+ <paragraph role="paragraph" id="par_id41619431361278">Select the elements to protect from user actions:</paragraph>
+ <list type="unordered">
+ <listitem>
+ <paragraph id="par_id661619430257262" role="listitem"><emph>Select protected cells</emph>: mark this checkbox to allow you to select protected cells. When the checkbox is unmarked, you cannot select protected cells, the cursor cannot enter in a protected range.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id921619430295947" role="listitem"><emph>Select unprotected cells</emph>: mark this checkbox to allow user to select unprotected cells. When the checkbox is unmarked, user cannot select unprotected cells, the cursor cannot enter in a unprotected cell or range.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id101619430333784" role="listitem"><emph>Insert columns</emph>: Allow column insertions even when the sheet is protected. Note that when column insertions is enabled, you can insert columns even when the range to insert the new columns into contains protected cells which will get shifted after the insertion. Cells of the newly inserted columns inherit the Protection property of the range it belongs: when the new cell is inside a protected range, the cell is protected, and when it is in an unprotected range, the cell is unprotected.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id891619430338809" role="listitem"><emph>Insert rows</emph>: Allow row insertions even when the sheet is protected. Note that when row insertions is enabled, you can insert rows even when the range to insert the new rows into contains protected cells which will get shifted after the insertion. Cells of the newly inserted rows inherit the Protection property of the range it belongs: when the new cell is inside a protected range it is protected, and when it is in an unprotected range, the cell is unprotected.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id311619430374686" role="listitem"><emph>Delete columns</emph>: Allow column deletions. Note that column deletions are only allowed on unprotected cells.
+ </paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id561619430376854" role="listitem"><emph>Delete rows</emph>: Allow row deletions. Note that row deletions are only allowed on unprotected cells.
+ </paragraph>
+ </listitem>
+ </list>
+ <paragraph role="paragraph" id="par_id3154490">Unprotected cells or cell ranges can be set up on a protected sheet by using the <emph>Tools - Protect Sheet</emph> and <emph>Format - Cells - Cell Protection</emph> menus: </paragraph>
+ <list type="ordered">
+ <listitem>
+ <paragraph role="paragraph" id="par_id3149123">Select the cells that will be unprotected</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph role="paragraph" id="par_id3150329">Select <emph>Format - Cells - Cell Protection</emph>. Unmark the <emph>Protected</emph> box and click <emph>OK</emph>.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph role="paragraph" id="par_id3156384">On the <emph>Tools - Protect Sheet</emph> menu, activate protection for the sheet. Effective immediately, only the cell range you selected in step 1 can be edited.</paragraph>
+ </listitem>
+ </list>
+ <paragraph role="paragraph" id="par_id3149566">To later change an unprotected area to a protected area:</paragraph>
+ <list type="ordered">
+ <listitem>
+ <paragraph id="par_id101619439013221" role="listitem">Select the range of cells that will be protected.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id601619439028536" role="listitem">On the <menuitem>Format - Cells - Cell Protection</menuitem> tab page, check the <emph>Protected</emph> box. </paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id641619439061892" role="listitem">Choose the <menuitem>Tools - Protect Sheet</menuitem> menu. The previously editable range is now protected.</paragraph>
+ </listitem>
+ </list>
+ <paragraph role="paragraph" id="par_id3153964">Sheet protection also affects the context menu of the sheet tabs at the bottom of the screen. The <emph>Delete</emph> and <emph>Rename</emph> commands cannot be selected.</paragraph>
+ <paragraph role="paragraph" id="par_id3150301">If a sheet is protected, you will not be able to modify or delete any Cell Styles.</paragraph>
+ <paragraph role="paragraph" id="par_id3154656">A protected sheet or cell range can no longer be modified until this protection is disabled, with the exceptions of the settings for columns and row of the <menuitem>Tools - Protect Sheet</menuitem> dialog. To disable the protection, choose the <menuitem>Tools - Protect Sheet</menuitem> command. If no password was set, the sheet protection is immediately disabled. If the sheet was password protected, the <emph>Remove Protection</emph> dialog opens, where you must enter the password.</paragraph>
+ <paragraph role="paragraph" id="par_id3149815">Once saved, protected sheets can only be saved again by using the <emph>File - Save As</emph> command.</paragraph>
+ <note id="par_id3148700">Complete protection of your work can be achieved by combining the options <emph>Tools - Protect Sheet</emph> and <emph>Tools - Protect Spreadsheet Structure</emph>, including password protection. To prohibit opening the document altogether, in the <emph>Save</emph> dialog mark the <emph>Save with password</emph> box before you click the <emph>Save</emph> button.</note>
+ </case>
+ <case select="IMPRESS">
+ </case>
+ <case select="DRAW">
+ </case>
+ <default>
+ </default>
+ </switch>
+</body>
+</helpdocument>
diff --git a/source/text/swriter/00/00000405.xhp b/source/text/swriter/00/00000405.xhp
index 167397b411..484695d288 100644
--- a/source/text/swriter/00/00000405.xhp
+++ b/source/text/swriter/00/00000405.xhp
@@ -320,11 +320,42 @@
</table>
</section>
</section>
- <paragraph id="par_id3149617" role="paragraph"><variable id="schtzenze">In the context menu of a cell, choose <emph>Cell - Protect</emph>.</variable></paragraph>
+
+ <section id="protect">
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph role="paragraph" id="par_id331694100929699">Choose <menuitem>Table - Protect Cells</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+ <paragraph role="paragraph" id="par_id161694101223040">On the <menuitem>Table</menuitem> menu of the <menuitem>Table</menuitem> tab, choose <menuitem>Protect Cells</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+ <table id="tab_id51694101003318">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id911694101003319" role="paragraph"><image src="cmd/lc_protect.svg" id="img_id501694101003320" width="1cm" height="1cm"><alt id="alt_id511694101003321">Icon Protect Cells</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id101694101003323" role="paragraph">Protect Cells</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ </section>
+
<section id="unprotect">
- <paragraph id="par_id3150786" role="paragraph">In the context menu of a cell, choose <emph>Cell - Unprotect</emph>.</paragraph>
- <paragraph id="par_id3145656" role="paragraph">Open context menu in <emph>Navigator</emph> for tables.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph role="paragraph" id="par_id591694101404861">Choose <menuitem>Table - Unprotect Cells</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+ <paragraph role="paragraph" id="par_id161694101531443">On the <menuitem>Table</menuitem> menu of the <menuitem>Table</menuitem> tab, choose <menuitem>Unprotect Cells</menuitem>.</paragraph>
+ <table id="tab_id251694101615686">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id391694101615687" role="paragraph"><image src="cmd/lc_unsetcellsreadonly.svg" id="img_id961694101615688" width="1cm" height="1cm"><alt id="alt_id111694101615689">Icon Unprotect Cells</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id371694101615690" role="paragraph">Unprotect Cells</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
</section>
+
<paragraph id="par_id3148716" role="paragraph"><variable id="zeile">In the context menu of a cell, choose <emph>Row</emph>.</variable></paragraph>
<section id="tablerowheight">
diff --git a/source/text/swriter/01/05100000.xhp b/source/text/swriter/01/05100000.xhp
index a49388111c..2337b2bd00 100644
--- a/source/text/swriter/01/05100000.xhp
+++ b/source/text/swriter/01/05100000.xhp
@@ -39,7 +39,7 @@
<embed href="text/shared/01/05100500.xhp#top"/>
<embed href="text/shared/01/05100600.xhp#center_vertical"/>
<embed href="text/shared/01/05100700.xhp#bottom"/>
-<embed href="text/swriter/01/05100300.xhp#protect"/>
+<embed href="text/shared/01/Protect.xhp#protect"/>
<embed href="text/swriter/01/05100400.xhp#unprotect"/>
</body>
</helpdocument>
diff --git a/source/text/swriter/01/05100300.xhp b/source/text/swriter/01/05100300.xhp
deleted file mode 100644
index 404fe935c7..0000000000
--- a/source/text/swriter/01/05100300.xhp
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<helpdocument version="1.0">
-<!--
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * 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 .
- -->
-
-<meta>
- <topic id="textswriter0105100300xml" indexer="include" status="PUBLISH">
- <title xml-lang="en-US" id="tit">Protect</title>
- <filename>/text/swriter/01/05100300.xhp</filename>
- </topic>
- </meta>
- <body>
- <section id="protect">
-<bookmark xml-lang="en-US" branch="hid/.uno:Protect" id="bm_id7637302" localize="false"/>
-<h1 xml-lang="en-US" id="hd_id3146322"><link href="text/swriter/01/05100300.xhp">Protect</link></h1>
- <section id="protectcells">
- <paragraph xml-lang="en-US" id="par_id3145822" role="paragraph"><ahelp hid=".uno:Protect">Prevents the contents of the selected cells from being modified.</ahelp></paragraph>
- </section>
- </section>
- <section id="howtoget">
- <embed href="text/swriter/00/00000405.xhp#schtzenze"/>
- </section>
- <paragraph xml-lang="en-US" id="par_id3154641" role="note">When the cursor is in a read-only cell, a note appears on the <emph>Status Bar</emph>.</paragraph>
- <paragraph xml-lang="en-US" id="par_id3149292" role="paragraph">To remove cell protection, select the cell(s), right-click, and then choose <link href="text/swriter/01/05100400.xhp"><emph>Cell - Unprotect</emph></link>.</paragraph>
- </body>
-</helpdocument>
diff --git a/source/text/swriter/01/05100400.xhp b/source/text/swriter/01/05100400.xhp
index 05e45055f9..d8628dd6c1 100644
--- a/source/text/swriter/01/05100400.xhp
+++ b/source/text/swriter/01/05100400.xhp
@@ -20,24 +20,23 @@
<meta>
<topic id="textswriter0105100400xml" indexer="include" status="PUBLISH">
- <title xml-lang="en-US" id="tit">Unprotect</title>
+ <title id="tit">Unprotect</title>
<filename>/text/swriter/01/05100400.xhp</filename>
</topic>
</meta>
<body>
- <section id="unprotect">
-<bookmark xml-lang="en-US" branch="hid/.uno:UnsetCellsReadOnly" id="bm_id3818873" localize="false"/>
-<h1 xml-lang="en-US" id="hd_id3149052"><link href="text/swriter/01/05100400.xhp">Unprotect</link></h1>
- <section id="unprotectcells">
- <paragraph xml-lang="en-US" id="par_id3083450" role="paragraph"><ahelp hid=".uno:UnsetCellsReadOnly">Removes the cell protection for all selected cells in the current table.</ahelp></paragraph>
- </section>
- </section>
- <section id="howtoget">
- <embed href="text/swriter/00/00000405.xhp#unprotect"/>
- </section>
- <paragraph xml-lang="en-US" id="par_id3154558" role="paragraph">To remove the protection from several tables at once, select the tables, and then press <switchinline select="sys"><caseinline select="MAC">Command
-</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+T. To remove the protection from all of the tables in a document, click anywhere in the document, and then press <switchinline select="sys"><caseinline select="MAC">Command
-</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+T.</paragraph>
- <paragraph xml-lang="en-US" id="par_id3150765" role="tip">You can also remove cell protection from a table in the <link href="text/swriter/01/02110000.xhp">Navigator</link>.</paragraph>
- </body>
+<bookmark branch="hid/.uno:UnsetCellsReadOnly" id="bm_id3818873" localize="false"/>
+<section id="unprotect">
+ <h1 id="hd_id3149052"><link href="text/swriter/01/05100400.xhp">Unprotect</link></h1>
+ <paragraph id="par_id3083450" role="paragraph"><ahelp hid=".uno:UnsetCellsReadOnly">Removes the cell protection for all selected cells in the current table.</ahelp></paragraph>
+</section>
+<section id="howtoget">
+ <embed href="text/swriter/00/00000405.xhp#unprotect"/>
+</section>
+<paragraph id="par_id3154558" role="paragraph">To remove the protection from several tables at once, select the tables, and then press <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+Shift+T</keycode>. To remove the protection from all of the tables in a document, click anywhere in the document, and then press <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+Shift+T</keycode>.</paragraph>
+<tip id="par_id3150765">You can also remove cell protection from a table in the <link href="text/swriter/01/02110000.xhp">Navigator</link>.</tip>
+<section id="relatedtopics">
+ <embed href="text/swriter/main0110.xhp#h1"/>
+</section>
+</body>
</helpdocument>
diff --git a/source/text/swriter/main0110.xhp b/source/text/swriter/main0110.xhp
index 5d2c190bc5..bb9a9fc9b4 100644
--- a/source/text/swriter/main0110.xhp
+++ b/source/text/swriter/main0110.xhp
@@ -51,11 +51,8 @@
<embed href="text/swriter/01/05200000.xhp#merge_table"/>
<embed href="text/swriter/01/05190000.xhp#split_table"/>
-<h2 id="hd_id371605978330177">Protect Cells</h2>
-<embed href="text/swriter/01/05100300.xhp#protectcells"/>
-
-<h2 id="hd_id531605978352545">Unprotect Cells</h2>
-<embed href="text/swriter/01/05100400.xhp#unprotectcells"/>
+<embed href="text/shared/01/Protect.xhp#protect"/>
+<embed href="text/swriter/01/05100400.xhp#unprotect"/>
<h2 id="par_idN105F7"><link href="text/swriter/01/05150101.xhp">AutoFormat Styles</link></h2>
<embed href="text/swriter/01/05150101.xhp#autoformattabelle"/>