source/text/swriter/00/00000404.xhp |    8 +++---
 source/text/swriter/01/04020100.xhp |   47 +++++++++++++++++-------------------
 2 files changed, 27 insertions(+), 28 deletions(-)

New commits:
commit 691b11f75851d7d3d9c386e8316adf68d0c020ff
Author:     Seth Chaiklin <sdc.bla...@youmail.dk>
AuthorDate: Sun Feb 12 02:29:16 2023 +0000
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Wed Feb 15 13:06:01 2023 +0000

    add link to Using sections in related topics
    
       refactor <h1>,<h2>,<h3>,<relatedtopics>
       rename German id
    
    Change-Id: I741b76916b8467bb704e499e66ca0f802337679c
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/146798
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.bla...@youmail.dk>
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/source/text/swriter/00/00000404.xhp 
b/source/text/swriter/00/00000404.xhp
index 82fcae4b63..d841ac9a14 100644
--- a/source/text/swriter/00/00000404.xhp
+++ b/source/text/swriter/00/00000404.xhp
@@ -53,7 +53,7 @@
 <tablerow>
 <tablecell>
 <paragraph role="paragraph" id="par_id3150760" xml-lang="en-US">
-<image id="img_id3146959" src="cmd/sc_insertfield.png" width="0.2228in" 
height="0.2228in"><alt id="alt_id3146959" xml-lang="en-US">Icon</alt>
+<image id="img_id3146959" src="cmd/sc_insertfield.png" width="1cm" 
height="1cm"><alt id="alt_id3146959" xml-lang="en-US">Icon</alt>
        </image></paragraph>
 </tablecell>
 <tablecell>
@@ -93,7 +93,7 @@
 
 </section>
 </section>
-<paragraph role="paragraph" id="par_id3155899" xml-lang="en-US"><variable 
id="bereicheinbereich">Choose <emph>Insert - Section - Section</emph> tab or 
choose <emph>Format - Sections</emph>
+<paragraph role="paragraph" id="par_id3155899" xml-lang="en-US"><variable 
id="section">Choose <emph>Insert - Section - Section</emph> tab or choose 
<emph>Format - Sections</emph>
 </variable></paragraph>
 <paragraph role="paragraph" id="par_id3154197" xml-lang="en-US"><variable 
id="sectionindents">Choose <menuitem>Insert - Section - Indents</menuitem> tab 
or choose <menuitem>Format - Sections</menuitem> - <widget>Options</widget> 
button - <emph>Indents</emph> tab
 </variable></paragraph>
@@ -107,7 +107,7 @@
 <tablerow>
 <tablecell>
 <paragraph role="paragraph" id="par_id3151261" xml-lang="en-US">
-<image id="img_id3149099" src="cmd/sc_insertfootnote.png" width="0.2228in" 
height="0.2228in"><alt id="alt_id3149099" xml-lang="en-US">Icon</alt>
+<image id="img_id3149099" src="cmd/sc_insertfootnote.png" width="1cm" 
height="1cm"><alt id="alt_id3149099" xml-lang="en-US">Icon</alt>
        </image></paragraph>
 </tablecell>
 <tablecell>
@@ -123,7 +123,7 @@
 <tablerow>
 <tablecell>
 <paragraph role="paragraph" id="par_id3147579" xml-lang="en-US">
-<image id="img_id3147586" src="cmd/sc_insertendnote.png" width="0.2228in" 
height="0.2228in"><alt id="alt_id3147586" xml-lang="en-US">Icon</alt>
+<image id="img_id3147586" src="cmd/sc_insertendnote.png" width="1cm" 
height="1cm"><alt id="alt_id3147586" xml-lang="en-US">Icon</alt>
        </image></paragraph>
 </tablecell>
 <tablecell>
diff --git a/source/text/swriter/01/04020100.xhp 
b/source/text/swriter/01/04020100.xhp
index 23e391afce..89493021e4 100644
--- a/source/text/swriter/01/04020100.xhp
+++ b/source/text/swriter/01/04020100.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
-
+<helpdocument version="1.0">
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -19,7 +18,6 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  -->
 
-<helpdocument version="1.0">
 <meta>
 <topic id="textswriter0104020100xml" indexer="include" status="PUBLISH">
 <title id="tit" xml-lang="en-US">Section</title>
@@ -38,24 +36,24 @@
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/sectionpage/SectionPage" id="bm_id3145414" 
localize="false"/>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/editsectiondialog/EditSectionDialog" 
id="bm_id3145415" localize="false"/>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/editsectiondialog/@@nowidget@@" 
id="bm_@@nowidget@@" localize="false"/>
-<paragraph role="heading" id="hd_id3157557" xml-lang="en-US" level="1"><link 
href="text/swriter/01/04020100.xhp">Section</link></paragraph>
+<h1 id="hd_id3157557" xml-lang="en-US"><link 
href="text/swriter/01/04020100.xhp">Section</link></h1>
 <paragraph role="paragraph" id="par_id3154644" xml-lang="en-US"><ahelp 
hid=".">Sets the properties of the section.</ahelp></paragraph>
 </section>
 <section id="howtoget">
-  <embed href="text/swriter/00/00000404.xhp#bereicheinbereich"/>
+  <embed href="text/swriter/00/00000404.xhp#section"/>
 </section>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/sectionpage/sectionname" id="bm_id3145413" 
localize="false"/>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/editsectiondialog/curname" id="bm_id8467970" 
localize="false"/>
-<paragraph role="heading" id="hd_id3151170" xml-lang="en-US" level="2">New 
Section</paragraph>
+<h2 id="hd_id3151170" xml-lang="en-US">New Section</h2>
 <paragraph role="paragraph" id="par_id3145420" xml-lang="en-US"><ahelp 
hid=".">Type a name for the new section.</ahelp> By default, $[officename] 
automatically assigns the name "Section X" to new sections, where X is a 
consecutive number.</paragraph>
-<paragraph role="heading" id="hd_id3154102" xml-lang="en-US" 
level="2">Link</paragraph>
+<h2 id="hd_id3154102" xml-lang="en-US">Link</h2>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/editsectiondialog/link" id="bm_id3153532" 
localize="false"/>
 <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/sectionpage/link" 
id="bm_id3153536" localize="false"/>
-<paragraph role="heading" id="hd_id3149806" xml-lang="en-US" 
level="3">Link</paragraph>
+<h3 id="hd_id3149806" xml-lang="en-US">Link</h3>
 <paragraph role="paragraph" id="par_id3154472" xml-lang="en-US"><ahelp 
hid=".">Inserts the contents of another document or section from another 
document in the current section.</ahelp></paragraph>
 <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/sectionpage/dde" 
id="bm_id3154569" localize="false"/>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/editsectiondialog/dde" id="bm_id3154573" 
localize="false"/>
-<paragraph role="heading" id="hd_id3153672" xml-lang="en-US" 
level="3">DDE<comment>UFI: WIN only, while fixing #109638#</comment></paragraph>
+<h3 id="hd_id3153672" xml-lang="en-US">DDE<comment>UFI: WIN only, while fixing 
#109638#</comment></h3>
 <paragraph role="paragraph" id="par_id3151310" xml-lang="en-US"><ahelp 
hid=".">Creates a <emph>DDE </emph>link. Select this check box, and then enter 
the <emph>DDE </emph>command that you want to use. The <emph>DDE</emph> option 
is only available if the <emph>Link</emph> check box is 
selected.</ahelp></paragraph>
 <section id="DDE_Statement">
 <paragraph role="paragraph" id="par_id3143280" xml-lang="en-US">The general 
syntax for a DDE command is: "&lt;Server&gt; &lt;Topic&gt; &lt;Item&gt;", where 
server is the DDE name for the application that contains the data. Topic refers 
to the location of the Item (usually the file name), and Item represents the 
actual object.</paragraph>
@@ -63,49 +61,50 @@
  <paragraph role="paragraph" id="par_id3149098" xml-lang="en-US">For example, 
to insert a section named "Section1" from a $[officename] text document abc.odt 
as a DDE link, use the command: "soffice x:\abc.odt Section1". To insert the 
contents of the first cell from a Microsoft Excel spreadsheet file called 
"abc.xls", use the command: "excel x:\[abc.xls]Sheet1 z1s1". You can also copy 
the elements that you want to insert as a DDE link, and then <emph>Edit - Paste 
Special</emph>. You can then view the DDE command for the link, by selecting 
the contents and choosing <emph>Edit - Fields</emph>.</paragraph>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/sectionpage/filename" id="bm_id3149038" 
localize="false"/>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/editsectiondialog/filename" id="bm_id3149042" 
localize="false"/>
-<paragraph role="heading" id="hd_id3153640" xml-lang="en-US" level="3">File 
name<switchinline select="sys"><caseinline select="WIN"> / DDE command
-</caseinline></switchinline></paragraph>
+<h3 id="hd_id3153640" xml-lang="en-US">File name<switchinline 
select="sys"><caseinline select="WIN"> / DDE command
+</caseinline></switchinline></h3>
 <paragraph role="paragraph" id="par_id3145754" xml-lang="en-US"><ahelp 
hid=".">Enter the path and the filename for the file that you want to insert, 
or click the <emph>Browse</emph> button to locate the 
file.</ahelp><switchinline select="sys"><caseinline select="WIN"> If the 
<emph>DDE </emph>check box is selected, enter the DDE command that you want to 
use.
 </caseinline></switchinline></paragraph>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/sectionpage/selectfile" id="bm_id3155148" 
localize="false"/>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/editsectiondialog/file" id="bm_id3156266" 
localize="false"/>
-<paragraph role="heading" id="hd_id3155136" xml-lang="en-US" 
level="3">Browse</paragraph>
+<h3 id="hd_id3155136" xml-lang="en-US">Browse</h3>
 <paragraph role="paragraph" id="par_id3156274" xml-lang="en-US"><ahelp 
hid=".">Locate the file that you want to insert as a link, and then click 
<emph>Insert</emph>.</ahelp></paragraph>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/sectionpage/sectionname" id="bm_id3145781" 
localize="false"/>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/editsectiondialog/section" id="bm_id3145785" 
localize="false"/>
-<paragraph role="heading" id="hd_id3149180" xml-lang="en-US" 
level="3">Section</paragraph>
+<h3 id="hd_id3149180" xml-lang="en-US">Section</h3>
 <paragraph role="paragraph" id="par_id3155910" xml-lang="en-US"><ahelp 
hid=".">Select the section in the file that you want to insert as a 
link.</ahelp></paragraph>
 <paragraph role="paragraph" id="par_id3151373" xml-lang="en-US">When you open 
a document that contains linked sections, you are prompted to update the 
links.</paragraph>
-<paragraph role="heading" id="hd_id3150687" xml-lang="en-US" level="2">Write 
Protection</paragraph>
+<h2 id="hd_id3150687" xml-lang="en-US">Write Protection</h2>
 <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/sectionpage/protect" 
id="bm_id3155864" localize="false"/>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/editsectiondialog/protect" id="bm_id3155868" 
localize="false"/>
-<paragraph role="heading" id="hd_id3150700" xml-lang="en-US" 
level="3">Protect</paragraph>
+<h3 id="hd_id3150700" xml-lang="en-US">Protect</h3>
 <paragraph role="paragraph" id="par_id3150110" xml-lang="en-US"><ahelp 
hid=".">Prevents the selected section from being edited.</ahelp></paragraph>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/editsectiondialog/withpassword" 
id="bm_id3145273" localize="false"/>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/sectionpage/withpassword" id="bm_id3145274" 
localize="false"/>
-<paragraph role="heading" id="hd_id3145261" xml-lang="en-US" level="3">With 
password</paragraph>
+<h3 id="hd_id3145261" xml-lang="en-US">With password</h3>
 <paragraph role="paragraph" id="par_id3149555" xml-lang="en-US"><ahelp 
hid=".">Protects the selected section with a password. The password must have a 
minimum of 5 characters.</ahelp></paragraph>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/editsectiondialog/password" id="bm_id3150561" 
localize="false"/>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/sectionpage/selectpassword" id="bm_id3147735" 
localize="false"/>
-<paragraph role="heading" id="hd_id3150549" xml-lang="en-US" 
level="3">Password</paragraph>
+<h3 id="hd_id3150549" xml-lang="en-US">Password</h3>
 <paragraph role="paragraph" id="par_id3147742" xml-lang="en-US"><ahelp 
hid=".">Opens a dialog where you can change the current 
password.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3146333" xml-lang="en-US" 
level="2">Hide</paragraph>
+<h2 id="hd_id3146333" xml-lang="en-US">Hide</h2>
 <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/sectionpage/hide" 
id="bm_id3149843" localize="false"/>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/editsectiondialog/hide" id="bm_id3149847" 
localize="false"/>
-<paragraph role="heading" id="hd_id3149830" xml-lang="en-US" 
level="3">Hide</paragraph>
+<h3 id="hd_id3149830" xml-lang="en-US">Hide</h3>
 <paragraph role="paragraph" id="par_id3148849" xml-lang="en-US"><ahelp 
hid=".">Hides and prevents the selected section from being printed.</ahelp> The 
components of a hidden sections appear gray in the Navigator. When you rest 
your mouse pointer over a hidden component in the Navigator, the Help tip 
"hidden" is displayed.</paragraph>
 <paragraph role="note" id="par_id3155074" xml-lang="en-US">You cannot hide a 
section if it is the only content on a page, or in a header, footer, footnote, 
frame, or table cell.</paragraph>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/sectionpage/withcond" id="bm_id3154334" 
localize="false"/>
 <bookmark xml-lang="en-US" 
branch="hid/modules/swriter/ui/editsectiondialog/condition" id="bm_id3154338" 
localize="false"/>
-<paragraph role="heading" id="hd_id3154323" xml-lang="en-US" level="3">With 
condition</paragraph>
+<h3 id="hd_id3154323" xml-lang="en-US">With condition</h3>
 <paragraph role="paragraph" id="par_id3154343" xml-lang="en-US"><ahelp 
hid=".">Enter the condition that must be met to hide the section.</ahelp> A 
condition is a <link href="text/swriter/01/04090200.xhp">logical 
expression</link>, such as "SALUTATION EQ Mr.". For example, if you use the 
<link href="text/swriter/guide/form_letters_main.xhp">mail merge</link> form 
letter feature to define a database field called "Salutation" that contains 
"Mr.", "Ms.", or "Sir or Madam", you can then specify that a section will only 
be printed if the salutation is "Mr.".</paragraph>
 <paragraph role="paragraph" id="par_id3150086" xml-lang="en-US">Another 
example would be to create the field variable "x" and set its value to 1. Then 
specify a condition based on this variable for hiding a section, such as: "x eq 
1". If you want to display the section, set the value of the variable "x" to 
"0".</paragraph>
-<paragraph role="heading" id="par_idN108DF" xml-lang="en-US" 
level="2">Properties</paragraph>
+<h2 id="par_idN108DF" xml-lang="en-US">Properties</h2>
 <paragraph role="paragraph" id="par_idN108E3" xml-lang="en-US">You see this 
area of the dialog when the current document is an XForms document.</paragraph>
-<paragraph role="heading" id="par_idN108E6" xml-lang="en-US" 
level="3">Editable in read-only document</paragraph>
+<h3 id="par_idN108E6" xml-lang="en-US">Editable in read-only document</h3>
 <paragraph role="paragraph" id="par_idN108EA" xml-lang="en-US">Select to allow 
editing of the section's contents even if the document is opened in read-only 
mode.</paragraph>
-<embed href="text/shared/00/00000004.xhp#related"/>
-<paragraph role="paragraph" id="par_id3150032" xml-lang="en-US"><link 
href="text/swriter/01/04090000.xhp">Field commands</link></paragraph>
+<section id="relatedtopics">
 <paragraph role="paragraph" id="par_id3158420" xml-lang="en-US"><link 
href="text/swriter/01/04090200.xhp">Syntax for conditions</link></paragraph>
+<embed href="text/swriter/guide/sections.xhp#sections"/>
+</section>
 </body>
 </helpdocument>

Reply via email to