summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2021-09-06 17:25:24 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2021-09-07 14:03:20 +0200
commitd883745bda47f21301f6cbf29bbd47512ef9d000 (patch)
tree81d6e2ad692996778066ab5c60285da3c1905147
parent2753562419d2407c22db5af9c216f2ac00eb5000 (diff)
tdf#144339 Add Help page for ProtectFields and ProtectBookmarks
Change-Id: Ib784738af17d89b356bc6954c9402b2423cfd478 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121739 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--AllLangHelp_swriter.mk1
-rw-r--r--source/text/swriter/00/00000406.xhp5
-rw-r--r--source/text/swriter/01/protectdocument.xhp41
-rw-r--r--source/text/swriter/guide/protection.xhp42
-rw-r--r--source/text/swriter/main0106.xhp5
5 files changed, 71 insertions, 23 deletions
diff --git a/AllLangHelp_swriter.mk b/AllLangHelp_swriter.mk
index a92668e640..40dd86a91f 100644
--- a/AllLangHelp_swriter.mk
+++ b/AllLangHelp_swriter.mk
@@ -200,6 +200,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
helpcontent2/source/text/swriter/01/mm_seladdlis \
helpcontent2/source/text/swriter/01/mm_seltab \
helpcontent2/source/text/swriter/01/outlinecontent_visibility \
+ helpcontent2/source/text/swriter/01/protectdocument \
helpcontent2/source/text/swriter/01/selection_mode \
helpcontent2/source/text/swriter/01/show_whitespace \
helpcontent2/source/text/swriter/01/title_page \
diff --git a/source/text/swriter/00/00000406.xhp b/source/text/swriter/00/00000406.xhp
index 7c9f2f3970..bef0d0793f 100644
--- a/source/text/swriter/00/00000406.xhp
+++ b/source/text/swriter/00/00000406.xhp
@@ -56,6 +56,11 @@
<paragraph id="par_id3148970" role="paragraph" xml-lang="en-US"><variable id="aktverknuepf">Choose <emph>Tools - Update - Links</emph></variable></paragraph>
<paragraph id="par_id3147220" role="paragraph" xml-lang="en-US"><variable id="adiagr">Choose <menuitem>Tools - Update - Charts</menuitem></variable></paragraph>
+<section id="protecdocument">
+ <paragraph role="paragraph" id="par_id101630955770811"><variable id="protectfield">Choose <menuitem>Tools - Protect Document - Protect Fields</menuitem>.</variable></paragraph>
+ <paragraph role="paragraph" id="par_id621630955775413"><variable id="protecbookmarks">Choose <menuitem>Tools - Protect Document - Protect Bookmarks</menuitem>.</variable></paragraph>
+</section>
+
<section id="mmwizard">
<paragraph id="par_idN10792" role="paragraph" xml-lang="en-US">Choose <emph>Tools - Mail Merge Wizard</emph></paragraph>
<paragraph id="par_idN107E6" role="paragraph" xml-lang="en-US">Click the <emph>Mail Merge</emph> icon on the <emph>Mail Merge</emph> bar:</paragraph>
diff --git a/source/text/swriter/01/protectdocument.xhp b/source/text/swriter/01/protectdocument.xhp
new file mode 100644
index 0000000000..9fce04fd21
--- /dev/null
+++ b/source/text/swriter/01/protectdocument.xhp
@@ -0,0 +1,41 @@
+<?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/.
+ *
+-->
+
+<meta>
+ <topic id="protecttextdocument" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Protect Document</title>
+ <filename>/text/swriter/01/protectdocument.xhp</filename>
+ </topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id71630957701819">
+<bookmark_value>protection;fields in text documents</bookmark_value>
+<bookmark_value>protection;bookmarks in text documents</bookmark_value>
+</bookmark>
+<bookmark id="bm_id731630954633445" xml-lang="en-US" branch="hid/.uno:ProtectField" localize="false"/>
+<bookmark id="bm_id731630954633445" xml-lang="en-US" branch="hid/.uno:ProtectBookmarks" localize="false"/>
+<section id="protectdocumentheading">
+<h1 id="hd_id631630954633446"><link href="text/swriter/01/protectdocument.xhp" name="Protect Document">Protect Document</link></h1>
+<paragraph id="par_id491630954633448" role="paragraph" xml-lang="en-US">Toggles write protection for fields and bookmarks in the document.</paragraph>
+</section>
+<warning id="par_id18112016398104"><embedvar href="text/swriter/guide/protection.xhp#protwarn"/></warning>
+<section id="howtoget">
+<embed href="text/swriter/00/00000406.xhp#protecdocument"/>
+</section>
+<h2 id="hd_id431630956035026">Protect Fields</h2>
+<paragraph role="paragraph" id="par_id851630956050636">Toggles fields write protection. When checked, the fields cannot be edited or deleted.</paragraph>
+<h2 id="hd_id871630956040154">Protect Bookmarks</h2>
+<paragraph role="paragraph" id="par_id631630956055502">Toggles bookmark write protection. When checked, the bookmarks cannot be deleted or renamed.</paragraph>
+<section id="relatedtopics">
+ <paragraph role="paragraph" id="par_id281630957530212"><embedvar href="text/swriter/guide/protection.xhp#protection"/></paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/swriter/guide/protection.xhp b/source/text/swriter/guide/protection.xhp
index 7163741e4a..0735395084 100644
--- a/source/text/swriter/guide/protection.xhp
+++ b/source/text/swriter/guide/protection.xhp
@@ -39,14 +39,14 @@
</bookmark>
-<paragraph id="hd_id6007263" role="heading" level="1" xml-lang="en-US"><variable id="protection"><link href="text/swriter/guide/protection.xhp" name="Protecting Content in %PRODUCTNAME Writer">Protecting Contents in <item type="productname">%PRODUCTNAME Writer</item></link></variable></paragraph>
+<h1 id="hd_id6007263"><variable id="protection"><link href="text/swriter/guide/protection.xhp" name="Protecting Content in %PRODUCTNAME Writer">Protecting Contents in <item type="productname">%PRODUCTNAME Writer</item></link></variable></h1>
<paragraph id="par_id1924802" role="paragraph" xml-lang="en-US">The following is an overview of the different ways of protecting contents in <item type="productname">%PRODUCTNAME</item> Writer from being modified or deleted.</paragraph>
-<paragraph id="hd_id3150114" role="heading" level="2" xml-lang="en-US">Protecting Sections in <item type="productname">%PRODUCTNAME</item> Writer</paragraph>
+<h2 id="hd_id3150114">Protecting Sections in <item type="productname">%PRODUCTNAME</item> Writer</h2>
<paragraph id="par_id3150592" role="paragraph" xml-lang="en-US">Any section of a <item type="productname">%PRODUCTNAME</item> Writer text document can be protected against changes, and with an optional password.</paragraph>
-<paragraph id="par_id4545426" role="warning" xml-lang="en-US"><variable id="protwarn">Protection is not intended to be an information security protection, it is a switch to prevent accidental changes.</variable></paragraph>
+<warning id="par_id4545426"><variable id="protwarn">Protection is not intended to be an information security protection, it is a switch to prevent accidental changes.</variable></warning>
-<paragraph id="hd_id1811201610293" role="heading" level="3" xml-lang="en-US"><variable id="turnon">Turning on protection</variable></paragraph>
+<h3 id="hd_id1811201610293"><variable id="turnon">Turning on protection</variable></h3>
<paragraph id="par_id1811201645676" role="paragraph" xml-lang="en-US">Information to protect must be in a section. To create or select a section:</paragraph>
<list type="ordered">
@@ -68,7 +68,7 @@
</listitem>
</list>
-<paragraph id="hd_id1811201610294" role="heading" level="3" xml-lang="en-US">Modification of protection</paragraph>
+<h3 id="hd_id1811201610294">Modification of protection</h3>
<paragraph id="par_id18112016456789" role="paragraph" localize="false" xml-lang="en-US"><embedvar href="text/swriter/guide/protection.xhp#gotosection"/></paragraph>
<list type="ordered">
@@ -83,7 +83,7 @@
</listitem>
</list>
-<paragraph id="hd_id1811201610295" role="heading" level="3" xml-lang="en-US"><variable id="turnoff">Turning off protection</variable></paragraph>
+<h3 id="hd_id1811201610295"><variable id="turnoff">Turning off protection</variable></h3>
<paragraph id="par_id18112016456781" role="tablecontent" localize="false" xml-lang="en-US"><embedvar href="text/swriter/guide/protection.xhp#gotosection"/></paragraph>
<list type="ordered">
@@ -95,11 +95,11 @@
</listitem>
</list>
-<paragraph id="hd_id3146081" role="heading" level="2" xml-lang="en-US">Protecting Cells in a <item type="productname">%PRODUCTNAME</item> Writer Table</paragraph>
+<h2 id="hd_id3146081">Protecting Cells in a <item type="productname">%PRODUCTNAME</item> Writer Table</h2>
<paragraph id="par_id3154480" role="paragraph" xml-lang="en-US">You can protect the contents of individual cells of tables or whole table in <item type="productname">%PRODUCTNAME</item> Writer from changes.</paragraph>
-<paragraph id="par_id363170" role="warning" localize="false" xml-lang="en-US"><embedvar href="text/swriter/guide/protection.xhp#protwarn"/></paragraph>
+<warning id="par_id363170"><embedvar href="text/swriter/guide/protection.xhp#protwarn"/></warning>
-<paragraph id="par_id3154360" role="heading" level="3" localize="false" xml-lang="en-US"><embedvar href="text/swriter/guide/protection.xhp#turnon"/></paragraph>
+<h3 id="par_id3154360"><embedvar href="text/swriter/guide/protection.xhp#turnon"/></h3>
<list type="ordered">
<listitem>
@@ -110,9 +110,9 @@
</listitem>
</list>
-<paragraph id="par_id3150042" role="heading" level="3" localize="false" xml-lang="en-US"><embedvar href="text/swriter/guide/protection.xhp#turnoff"/></paragraph>
-<paragraph id="par_id3155178" role="note" xml-lang="en-US"><variable id="firstof">If necessary, choose <switchinline select="sys"><caseinline select="MAC"><item type="menuitem">%PRODUCTNAME - Preferences</item>
-</caseinline><defaultinline><item type="menuitem">Tools - Options</item></defaultinline></switchinline><item type="menuitem"> - %PRODUCTNAME Writer - Formatting Aids</item> and select <emph>Enable cursor</emph> under the <emph>Protected Areas</emph>.</variable></paragraph>
+<h3 id="par_id3150042"><embedvar href="text/swriter/guide/protection.xhp#turnoff"/></h3>
+<note id="par_id3155178"><variable id="firstof">If necessary, choose <switchinline select="sys"><caseinline select="MAC"><item type="menuitem">%PRODUCTNAME - Preferences</item>
+</caseinline><defaultinline><item type="menuitem">Tools - Options</item></defaultinline></switchinline><item type="menuitem"> - %PRODUCTNAME Writer - Formatting Aids</item> and select <emph>Enable cursor</emph> under the <emph>Protected Areas</emph>.</variable></note>
<list type="ordered">
<listitem>
@@ -123,11 +123,11 @@
</listitem>
</list>
-<paragraph id="hd_id3149259" role="heading" level="2" xml-lang="en-US">Contents Protection in Tables of Contents and Indexes</paragraph>
+<h2 id="hd_id3149259">Contents Protection in Tables of Contents and Indexes</h2>
<paragraph id="par_id3153966" role="paragraph" xml-lang="en-US">Tables of contents and indexes created in <item type="productname">%PRODUCTNAME</item> Writer, are automatically protected against accidental changes.</paragraph>
-<paragraph id="par_id814539" role="warning" localize="false" xml-lang="en-US"><embedvar href="text/swriter/guide/protection.xhp#protwarn"/></paragraph>
+<warning id="par_id814539"><embedvar href="text/swriter/guide/protection.xhp#protwarn"/></warning>
-<paragraph id="par_id3145767" role="heading" level="3" localize="false" xml-lang="en-US"><embedvar href="text/swriter/guide/protection.xhp#turnon"/></paragraph>
+<h3 id="par_id3145767"><embedvar href="text/swriter/guide/protection.xhp#turnon"/></h3>
<list type="ordered">
<listitem>
@@ -138,8 +138,8 @@
</listitem>
</list>
-<paragraph id="par_id3154118" role="heading" level="3" localize="false" xml-lang="en-US"><embedvar href="text/swriter/guide/protection.xhp#turnoff"/></paragraph>
-<paragraph id="par_id3148463" role="note" localize="false" xml-lang="en-US"><embedvar href="text/swriter/guide/protection.xhp#firstof"/></paragraph>
+<h3 id="par_id3154118"><embedvar href="text/swriter/guide/protection.xhp#turnoff"/></h3>
+<note id="par_id3148463"><embedvar href="text/swriter/guide/protection.xhp#firstof"/></note>
<list type="ordered">
<listitem>
@@ -150,9 +150,13 @@
</listitem>
</list>
-<paragraph id="hd_id1811201623985" role="heading" level="2" xml-lang="en-US">Protection of the whole <item type="productname">%PRODUCTNAME</item> Writer document from changes.</paragraph>
+<h2 id="hd_id641630957309611">Protecting fields and bookmarks from changes</h2>
+<paragraph role="paragraph" id="par_id621630957319188">Choose <menuitem>Tools - Protect Document - Protect Fields</menuitem> to protect all fields against changes. Use this protection to prevent accidental changes in fields.</paragraph>
+<paragraph role="paragraph" id="par_id111630957324575">Choose <menuitem>Tools - Protect Document - Protect Bookmarks</menuitem> to protect all bookmarks against changes. Use this protection to prevent accidental bookmark changes.</paragraph>
+
+<h2 id="hd_id1811201623985">Protection of the whole <item type="productname">%PRODUCTNAME</item> Writer document from changes.</h2>
<paragraph id="par_id31544811" role="paragraph" xml-lang="en-US">You can protect the contents of <item type="productname">%PRODUCTNAME</item> Writer document from changes, with one of the following file formats: .doc, .docx, .odt, .ott.</paragraph>
-<paragraph id="par_id18112016398104" role="warning" localize="false" xml-lang="en-US"><embedvar href="text/swriter/guide/protection.xhp#protwarn"/></paragraph>
+<warning id="par_id18112016398104"><embedvar href="text/swriter/guide/protection.xhp#protwarn"/></warning>
<paragraph id="par_id18112016812973" role="paragraph" xml-lang="en-US">To enable the protection of the whole document, go to <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph>
</caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Writer - Compatibility</emph> and choose <emph>Protect form</emph>. To disable protection, uncheck it.</paragraph>
<embed href="text/shared/00/00000004.xhp#related"/>
diff --git a/source/text/swriter/main0106.xhp b/source/text/swriter/main0106.xhp
index 8652dd4a68..8ae4724f4a 100644
--- a/source/text/swriter/main0106.xhp
+++ b/source/text/swriter/main0106.xhp
@@ -67,10 +67,7 @@
<h2 id="hd_id501612910204859"><link href="text/shared/01/01110101.xhp" name="Address Book Source">Address Book Source</link></h2>
<embed href="text/shared/01/01110101.xhp#address_book_assignment"/>
<embed href="text/swriter/01/06990000.xhp#update"/>
-
- <h2 id="hd_id411630952388179">Protect Document</h2>
- <paragraph role="paragraph" id="par_id801630952394412">Allows to protect changes in bookmarks and fields.</paragraph><comment> Need to ellaborate this... almost no text about...</comment>
-
+ <embed href="text/swriter/01/protectdocument.xhp#protectdocumentheading"/>
<embed href="text/swriter/01/06110000.xhp#calculate"/>
<h2 id="hd_id3147346" xml-lang="en-US"><link href="text/swriter/01/06100000.xhp" name="Sort">Sort</link></h2>