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

Seth Chaiklin (via logerrit) logerrit at kemper.freedesktop.org
Mon Dec 28 16:06:37 UTC 2020


 source/text/swriter/guide/stylist_fromselect.xhp |   59 ++++++++++++++---------
 1 file changed, 36 insertions(+), 23 deletions(-)

New commits:
commit f1e2ee29e7eab68452fd345127a3d14ba0958c77
Author:     Seth Chaiklin <sdc.blanco at youmail.dk>
AuthorDate: Sun Dec 20 14:38:28 2020 +0100
Commit:     Seth Chaiklin <sdc.blanco at youmail.dk>
CommitDate: Mon Dec 28 17:06:17 2020 +0100

    Resolves: tdf#130170 update help on "new styles from selection"
    
      for "new styles from selection" section
       * grammatical correction and clarification of instructions
       + add variables to three instructions that are repeated
         in drag-and-drop.
       + add icon for Styles actions menu, which is mentioned in
          instruction
    
      for "drag-and-drop" section
       + use <embedvar> for instructions that are repeated from
         previous section.
       * In 2004, this help page was checked in with a note
         about drag-and-drop with frames. But there is no reason
         or need for a separate note. Simplified and improved the
         instructions for frames, and integrated them with the other
         styles.
       + added instructions about list styles
       - remove instruction about drag-and-drop for page styles,
         because it is not possible to drag-and-drop page styles.
       + Add mention about dialog box for naming the new style.
       + add mention that for table and page styles, the Styles action
         menu must be used.
       * rearrange order of <relatedtopics>, improve label on link to
         help on Styles sidebar, add link to "Styles - New Style from
         Selection" command, drop link to general page on "Templates and
         Style" to reduce clutter, and because links to that page are
         also found on other pages linked into <relatedtopics>
       * update to <h1>,<h2>,<menuitem>
    
    Change-Id: I769587b7bbf3cf667b1c35c6a17cceca04ca24f2
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/108002
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.blanco at youmail.dk>

diff --git a/source/text/swriter/guide/stylist_fromselect.xhp b/source/text/swriter/guide/stylist_fromselect.xhp
index 995769ccd..1f3bc5404 100644
--- a/source/text/swriter/guide/stylist_fromselect.xhp
+++ b/source/text/swriter/guide/stylist_fromselect.xhp
@@ -34,56 +34,69 @@
 </bookmark>
 <comment>mw deleted "creating;" and added "copying;"</comment>
 
-<paragraph id="hd_id3155911" role="heading" level="1" xml-lang="en-US"><variable id="stylist_fromselect"><link href="text/swriter/guide/stylist_fromselect.xhp" name="Creating New Styles From Selections">Creating New Styles From Selections</link></variable></paragraph>
+<h1 id="hd_id3155911" xml-lang="en-US"><variable id="stylist_fromselect"><link href="text/swriter/guide/stylist_fromselect.xhp" name="Creating New Styles From Selections">Creating New Styles From Selections</link></variable></h1>
 
-<paragraph id="par_id3149829" role="heading" level="2" xml-lang="en-US">To Create a New Style From a Manually Formatted Selection</paragraph>
+<h2 id="par_id3149829" xml-lang="en-US">To Create a New Style From a Manually Formatted Selection</h2>
 
 <list type="ordered">
   <listitem>
-    <paragraph id="par_id3156097" role="listitem" xml-lang="en-US">Choose <emph>View - Styles</emph>.</paragraph>
+    <paragraph id="par_id3156097" role="listitem" xml-lang="en-US"><variable id="open_sidebar">Choose <menuitem>View - Styles</menuitem> to open the <emph>Styles</emph> deck in the Sidebar.</variable></paragraph>
   </listitem>
   <listitem>
-    <paragraph id="par_id3153402" role="listitem" xml-lang="en-US">Click the icon of the style category that you want to create.</paragraph>
+    <paragraph id="par_id3153402" role="listitem" xml-lang="en-US"><variable id="select_category">Click the icon at the top of the <emph>Styles</emph> deck for the style category of the new style.</variable></paragraph>
   </listitem>
   <listitem>
-    <paragraph id="par_id3153119" role="listitem" xml-lang="en-US">Click in the document where you want to copy the style from, for example, in a paragraph that you applied manual formatting to.</paragraph>
+    <paragraph id="par_id3153119" role="listitem" xml-lang="en-US">Click in the document where you want to copy the style from, for example, in a paragraph to which you applied manual formatting.</paragraph>
   </listitem>
   <listitem>
-    <paragraph id="par_id3153138" role="listitem" xml-lang="en-US">Click the arrow next to the <item type="menuitem">New Style from Selection</item> icon and choose <item type="menuitem">New Style from Selection</item> from the submenu</paragraph>
+    <paragraph id="par_id3153138" role="listitem" xml-lang="en-US">Click the <menuitem>Style actions</menuitem> menu icon at the top right corner of the <emph>Styles</emph> deck and choose <menuitem>New Style from Selection</menuitem> from the submenu.</paragraph>
   </listitem>
   <listitem>
-    <paragraph id="par_id3156260" role="listitem" xml-lang="en-US">Type a name in the <item type="menuitem">Style Name</item> box.</paragraph>
+    <paragraph id="par_id3156260" role="listitem" xml-lang="en-US"><variable id="enter_name">Enter a name for the new style in the <menuitem>New Style from Selection</menuitem> dialog box.</variable></paragraph>
   </listitem>
   <listitem>
     <paragraph id="par_id3154411" role="listitem" xml-lang="en-US">Click <emph>OK</emph>.</paragraph>
   </listitem>
 </list>
+<table id="tab_id11608476870069">
+    <tablerow>
+        <tablecell>
+            <paragraph role="paragraph" id="par_id761608476870069">
+<image src="cmd/sc_stylenewbyexample.png" id="img_id591608476870069" width="1cm" height="1cm"><alt id="alt_id41608476870069">Icon </alt></image>
+            </paragraph>
+       </tablecell>
+       <tablecell>
+           <paragraph id="par_id141608476870069" role="paragraph">Styles actions menu icon</paragraph>
+       </tablecell>
+    </tablerow>
+</table>
 
-<paragraph id="hd_id3153373" role="heading" level="2" xml-lang="en-US">To Create a New Style by Drag-And-Drop</paragraph>
+  
+<h2 id="hd_id3153373" xml-lang="en-US">To Create a New Style by Drag-And-Drop</h2>
 
 <list type="ordered">
   <listitem>
-    <paragraph id="par_id3154233" role="listitem" xml-lang="en-US">Choose <emph>View - Styles</emph>.</paragraph>
+    <paragraph id="par_id3154233" role="listitem" xml-lang="en-US"><embedvar href="text/swriter/guide/stylist_fromselect.xhp#open_sidebar"/></paragraph>
   </listitem>
   <listitem>
-    <paragraph id="par_id3154258" role="listitem" xml-lang="en-US">Click the icon of the style category that you want to create.</paragraph>
+    <paragraph id="par_id3154258" role="listitem" xml-lang="en-US"><embedvar href="text/swriter/guide/stylist_fromselect.xhp#select_category"/></paragraph>
   </listitem>
   <listitem>
-    <paragraph id="par_id3154851" role="listitem" xml-lang="en-US">Select at least one character, or object, in the style that you want to copy. For page and frame styles, select at least one character or object in the page or frame.</paragraph>
-  </listitem>
-  <listitem>
-    <paragraph id="par_id3154871" role="listitem" xml-lang="en-US">Drag the character or object to the Styles window and release.</paragraph>
-    <paragraph id="par_idN107B2" role="listitem" xml-lang="en-US">For paragraph and character styles, you can drag-and-drop onto the respective icon in the Styles window. You do not need to open that style category in advance.</paragraph>
-  </listitem>
-</list>
-<paragraph id="par_idN107B5" role="note" xml-lang="en-US">You can also drag-and-drop a frame into the Styles window to create a new frame style: Click the frame, wait a moment with the mouse button pressed down, but without moving the mouse, then drag to the Styles window and drop the frame onto the Frame Styles icon.</paragraph>
+    <paragraph id="par_id3154851" role="listitem" xml-lang="en-US">For <literal>paragraph</literal>, <literal>character</literal> and <literal>list</literal> styles, select at least one character in the style that you want to copy, then drag the selection to the <emph>Styles</emph> deck and release. For <literal>frame</literal> styles, select the frame and hold the mouse button pressed until the mouse icon changes, then drag to the <emph>Styles</emph> deck and release.</paragraph>
+    <paragraph id="par_idN107B2" role="listitem" xml-lang="en-US">Alternatively, you can drag-and-drop the selection onto the respective icon at the top of the <emph>Styles</emph> deck. You do not need to open that style category in advance.</paragraph>
+</listitem>
 
+<listitem>
+  <paragraph id="par_id131608474670601" role="listitem"><embedvar href="text/swriter/guide/stylist_fromselect.xhp#enter_name"/></paragraph>
+</listitem>
+  
+</list>
+<paragraph role="paragraph" id="par_id331608474971283">For <literal>page</literal> and <literal>table</literal> styles, you must use the <widget>Styles actions</widget> menu at the top right corner of the Styles deck. The drag-and-drop method is not possible with these styles.</paragraph>
 <section id="relatedtopics">
-<embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/>
-<embed href="text/swriter/guide/stylist_fillformat.xhp#stylist_fillformat"/>
+<paragraph id="par_id3149988" role="paragraph" xml-lang="en-US"><link href="text/swriter/01/05140000.xhp" name="Styles">Styles (Sidebar)</link></paragraph>
+<paragraph role="paragraph" id="par_id301608479105670"><link href="text/shared/01/05140100.xhp" name="New Style from Selection"><menuitem>Styles - New Style from Selection</menuitem></link></paragraph>
 <embed href="text/swriter/guide/stylist_update.xhp#stylist_update"/>
-<paragraph id="par_id3149988" role="paragraph" xml-lang="en-US"><link href="text/swriter/01/05140000.xhp" name="Styles">Styles</link></paragraph>
+<embed href="text/swriter/guide/stylist_fillformat.xhp#stylist_fillformat"/>
 </section>
 </body>
-
-</helpdocument>
\ No newline at end of file
+</helpdocument>


More information about the Libreoffice-commits mailing list