[Libreoffice-commits] help.git: source/text

Seth Chaiklin (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 17 23:14:20 UTC 2020


 source/text/shared/01/05140100.xhp           |   14 ++++++++------
 source/text/swriter/guide/stylist_update.xhp |   10 ++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 421d76024ce554072d3e062345eeaa32e735f3c6
Author:     Seth Chaiklin <sdc.blanco at youmail.dk>
AuthorDate: Thu Dec 17 23:32:35 2020 +0100
Commit:     Seth Chaiklin <sdc.blanco at youmail.dk>
CommitDate: Fri Dec 18 00:14:00 2020 +0100

    tdf#130170  - add related topic to Create Style
    
       ( shared/01/05140100.xhp )
         + add <relatedtopics> section
         + add <embed> to guide page "Updating Styles from Selection"
             ( swriter/guide/stylist_update.xhp )
         * update to <h1>,<h2>,<h3>
    
        ( swriter/guide/stylist_update.xhp )
          + add sys-switch for F11/Cmd+T
          * update to <h1>
    
    Change-Id: I9981d46d44f3cb3af490deb0f2b8f976fa111892
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/107902
    Reviewed-by: Seth Chaiklin <sdc.blanco at youmail.dk>
    Tested-by: Jenkins

diff --git a/source/text/shared/01/05140100.xhp b/source/text/shared/01/05140100.xhp
index 1c3348bc8..ecbc7e9db 100644
--- a/source/text/shared/01/05140100.xhp
+++ b/source/text/shared/01/05140100.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="textshared0105140100xml" indexer="include" status="PUBLISH">
 <title xml-lang="en-US" id="tit">Create Style</title>
@@ -32,11 +30,15 @@
 <body>
 <bookmark branch="hid/sfx/ui/newstyle/@@nowidget@@" xml-lang="en-US" id="bm_@@nowidget@@" localize="false"/>
 <bookmark branch="hid/sfx/ui/newstyle/CreateStyleDialog" xml-lang="en-US" id="bm_id3152942" localize="false"/>
-<paragraph role="heading" level="1" id="hd_id3152823" xml-lang="en-US">Create Style</paragraph>
+<h1 id="hd_id3152823" xml-lang="en-US">Create Style</h1>
   <comment>This command is a Styl_ist icon</comment>
-  <bookmark branch="hid/sfx/ui/newstyle/stylename" xml-lang="en-US" id="bm_id3155069" localize="false"/><paragraph role="heading" level="2" id="hd_id3152790" xml-lang="en-US">Style name</paragraph>
+  <bookmark branch="hid/sfx/ui/newstyle/stylename" xml-lang="en-US" id="bm_id3155069" localize="false"/>
+  <h2 id="hd_id3152790" xml-lang="en-US">Style name</h2>
   <paragraph role="paragraph" id="par_id3155599" xml-lang="en-US"><ahelp hid="sfx/ui/newstyle/stylename" visibility="visible">Enter a name for the new Style.</ahelp></paragraph>
-  <paragraph role="heading" level="3" id="hd_id3154682" xml-lang="en-US">List of Custom Styles</paragraph>
+  <h3 id="hd_id3154682" xml-lang="en-US">List of Custom Styles</h3>
   <paragraph role="paragraph" id="par_id3154894" xml-lang="en-US">Lists the user-defined styles that are attached to the current document.</paragraph>
+<section id="relatedtopics">
+  <embed href="text/swriter/guide/stylist_update.xhp#stylist_update"/>
+</section> 
  </body>
 </helpdocument>
diff --git a/source/text/swriter/guide/stylist_update.xhp b/source/text/swriter/guide/stylist_update.xhp
index d74362dd1..600c80e90 100644
--- a/source/text/swriter/guide/stylist_update.xhp
+++ b/source/text/swriter/guide/stylist_update.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <helpdocument version="1.0">
-	
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,8 +17,7 @@
  *   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="textswriterguidestylist_updatexml" indexer="include" status="PUBLISH">
          <title xml-lang="en-US" id="tit">Updating Styles From Selections</title>
@@ -33,11 +31,11 @@
       <bookmark_value>Styles window; updating from selections</bookmark_value>
       <bookmark_value>updating; styles, from selections</bookmark_value>
 </bookmark>
-<paragraph xml-lang="en-US" id="hd_id3155915" role="heading" level="1"><variable id="stylist_update"><link href="text/swriter/guide/stylist_update.xhp" name="Updating Styles From Selections">Updating Styles From Selections</link>
-</variable></paragraph>
+<h1 xml-lang="en-US" id="hd_id3155915"><variable id="stylist_update"><link href="text/swriter/guide/stylist_update.xhp" name="Updating Styles From Selections">Updating Styles From Selections</link>
+</variable></h1>
       <list type="ordered">
          <listitem>
-            <paragraph xml-lang="en-US" id="par_id3149838" role="listitem">Choose <menuitem>View - Styles</menuitem> or press <keycode>F11</keycode>.</paragraph>
+            <paragraph xml-lang="en-US" id="par_id3149838" role="listitem">Choose <menuitem>View - Styles</menuitem> or press <switchinline select="sys"><caseinline select="MAC"><keycode>Command+T</keycode></caseinline><defaultinline><keycode>F11</keycode></defaultinline></switchinline>.</paragraph>
          </listitem>
          <listitem>
             <paragraph xml-lang="en-US" id="par_id3156107" role="listitem">Click the icon of the style category that you want to update.<comment>UFI: use "category" for consistent wording, see #i21144#</comment></paragraph>


More information about the Libreoffice-commits mailing list