source/text/swriter/01/05140000.xhp |   52 ++++++++++++++++++++++--------------
 1 file changed, 32 insertions(+), 20 deletions(-)

New commits:
commit 4801c038bbd392c61f44d47f34c9302bc20d5931
Author:     Seth Chaiklin <sdc.bla...@youmail.dk>
AuthorDate: Thu Mar 12 00:13:04 2020 +0100
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Thu Mar 12 17:08:26 2020 +0100

    tdf#106668  clarify how to apply styles
    
    - reorganize page to separate information about applying
      styles from information about the Styles deck
    - clarify how to apply Character and Paragraph Styles
    - move links about the updating, loading, new style commands
      from under the descriptions to the titles of the commands
    - remove heading and description "Applied Styles" (because not
      relevant to this page)
    - add information about predefined shortcuts for applying styles.
    - change information about Styles toolbar into a <tip> and update
      the toolbar name.
    - add link about docking/hiding windows to related topics
    
    Change-Id: I24aef3b7f632097f201545c54f7080645f767317
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/90285
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.bla...@youmail.dk>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/source/text/swriter/01/05140000.xhp 
b/source/text/swriter/01/05140000.xhp
index f67093df8..71e15e8c5 100644
--- a/source/text/swriter/01/05140000.xhp
+++ b/source/text/swriter/01/05140000.xhp
@@ -49,18 +49,6 @@
 <paragraph id="par_idN106EF" role="paragraph" xml-lang="en-US">To <link 
href="text/shared/00/00000005.xhp#andocken" name="dock">dock</link> the Styles 
window, drag its title bar to the left or to the right side of the workspace. 
To undock the window, double-click a free space on its toolbar.</paragraph>
 <paragraph id="par_id270120161717298895" role="paragraph" xml-lang="en-US">By 
default, the Styles deck displays a preview of the available styles. The 
previews can be disabled by unchecking the <emph>Show Previews</emph> box below 
the list of styles.</paragraph>
 
-<h2 id="hd_id3147167">How to apply a style:</h2>
-
-<list type="ordered">
-  <listitem>
-    <paragraph id="par_id3151264" role="listitem" xml-lang="en-US">Select the 
text. To apply a Character Style to one word, click the word. To apply a 
Paragraph Style, click the paragraph.</paragraph>
-  </listitem>
-  <listitem>
-    <paragraph id="par_id3150756" role="listitem" 
xml-lang="en-US">Double-click the style in the Styles window.</paragraph>
-  </listitem>
-</list>
-<tip id="par_idN1071D">You can assign shortcut keys to Styles on the <item 
type="menuitem">Tools - Customize - Keyboard</item> tab page.</tip>
-<paragraph id="par_id3154643" role="paragraph" xml-lang="en-US">The Styles 
toolbar contains icons for formatting your documents:</paragraph>
 
 <h2 id="hd_id3153146">Style Category</h2>
 <bookmark xml-lang="en-US" branch="hid/.uno:ParaStyle" id="bm_id5183654" 
localize="false"/>
@@ -153,9 +141,8 @@
       <paragraph id="par_id3150576" role="paragraph" xml-lang="en-US"> <image 
id="img_id3150590" src="cmd/sc_fillstyle.png" width="1cm" height="1cm"><alt 
xml-lang="en-US" id="alt_id3150590">Icon Fill Format 
Mode</alt></image></paragraph>
     </tablecell>
     <tablecell>
-      <paragraph id="par_id3145786" role="tablehead" xml-lang="en-US">Fill 
Format Mode</paragraph>
+      <paragraph id="par_id3145786" role="tablehead" xml-lang="en-US"><link 
href="text/swriter/guide/stylist_fillformat.xhp" name="style_fillformat">Fill 
Format Mode</link></paragraph>
       <paragraph id="par_id3156379" role="paragraph" xml-lang="en-US"><ahelp 
hid="SFX2_HID_TEMPLDLG_WATERCAN">Applies the selected style to the object or 
text that you select in the document. Click this icon, and then drag a 
selection in the document to apply the style.</ahelp> To exit this mode, click 
the icon again, or press Esc.</paragraph>
-<embed href="text/swriter/guide/stylist_fillformat.xhp#stylist_fillformat"/>
     </tablecell>
   </tablerow>
 </table>
@@ -170,14 +157,12 @@
       <paragraph id="par_idN109BB" role="paragraph" xml-lang="en-US"><ahelp 
hid=".">Opens a submenu with more commands.</ahelp></paragraph>
 <bookmark xml-lang="en-US" branch="hid/.uno:StyleNewByExample" 
id="bm_id7425973" localize="false"/>
 <bookmark xml-lang="en-US" branch="hid/SFX2_HID_TEMPLDLG_NEWBYEXAMPLE" 
id="bm_id3149563" localize="false"/>
-      <paragraph id="par_idN109DA" role="paragraph" 
xml-lang="en-US"><menuitem>New Style from Selection</menuitem></paragraph>
+      <paragraph id="par_idN109DA" role="paragraph" xml-lang="en-US"><link 
href="text/swriter/guide/stylist_fromselect.xhp" 
name="stylist_fromselect"><menuitem>New Style from 
Selection</menuitem></link></paragraph>
       <paragraph id="par_id3149552" role="paragraph" xml-lang="en-US"><ahelp 
hid=".">Creates a new style based on the formatting of the current paragraph, 
page, or selection.</ahelp></paragraph>
-<embed href="text/swriter/guide/stylist_fromselect.xhp#stylist_fromselect"/>
 <bookmark xml-lang="en-US" branch="hid/.uno:StyleUpdateByExample" 
id="bm_id7425974" localize="false"/>
 <bookmark xml-lang="en-US" branch="hid/SFX2_HID_TEMPLDLG_UPDATEBYEXAMPLE" 
id="bm_id9001129" localize="false"/>
-      <paragraph id="par_idN10A04" role="paragraph" 
xml-lang="en-US"><menuitem>Update Selected Style</menuitem> </paragraph>
+      <paragraph id="par_idN10A04" role="paragraph" xml-lang="en-US"><link 
href="text/swriter/guide/stylist_update.xhp" 
name="updatestyle"><menuitem>Update Selected Style</menuitem></link> 
</paragraph>
       <paragraph id="par_id3146333" role="paragraph" xml-lang="en-US"><ahelp 
hid=".">The manually formatted attributes of the text at the cursor position in 
the document will be added to the style that is selected in the Styles 
window.</ahelp></paragraph>
-<embed href="text/swriter/guide/stylist_update.xhp#stylist_update"/>
 
 <bookmark xml-lang="en-US" branch="hid/.uno:LoadStyles" id="bm_id7425975" 
localize="false"/>
       <paragraph id="par_idN10A31" role="paragraph" xml-lang="en-US"><link 
href="text/text/swriter/01/05170000.xhp" name="loadstyles"><menuitem>Load 
Styles</menuitem></link></paragraph>
@@ -186,11 +171,38 @@
   </tablerow>
 </table>
 
-<h2 id="hd_id3155576">Applied Styles</h2>
-<embed href="text/shared/02/02010000.xhp#benvortext"/>
+<h2 id="hd_id3147167">How to apply a Character style to a selected text</h2>
+<list type="ordered">
+  <listitem>
+    <paragraph id="par_id3151264" role="listitem" xml-lang="en-US">Select the 
text.</paragraph>
+  </listitem>
+  <listitem>
+    <paragraph id="par_id3150756" role="listitem" 
xml-lang="en-US">Double-click the desired character style in the Styles 
window.</paragraph>
+  </listitem>
+</list>
+<h2 id="hd_id3147184">How to apply a Paragraph style</h2>
+<list type="ordered">
+  <listitem>
+    <paragraph id="par_id3153564" role="listitem" xml-lang="en-US">Place the 
cursor in the paragraph, or select multiple paragraphs.</paragraph>
+  </listitem>
+  <listitem>
+    <paragraph id="par_id3150735" role="listitem" 
xml-lang="en-US">Double-click the desired paragraph style in the Styles 
window.</paragraph>
+  </listitem>
+</list>
+<tip id="par_idN1071D">You can assign shortcut keys to Styles from the 
<menuitem>Tools - Customize</menuitem> - <emph>Keyboard</emph> tab. Some 
shortcuts are predefined. <switchinline select="sys">
+  <caseinline select="MAC"><keycode>Command+0</keycode></caseinline>
+<defaultinline><keycode>Ctrl+0</keycode></defaultinline>
+ </switchinline> (zero) applies the <emph>Text Body</emph> paragraph style.  
<emph>Heading 1</emph> through <emph>Heading 5 </emph>paragraph styles can be 
applied by using the <switchinline select="sys">
+  <caseinline select="MAC"><keycode>Command</keycode></caseinline>
+<defaultinline><keycode>Ctrl</keycode></defaultinline>
+ </switchinline> key and the heading number. For example <switchinline 
select="sys">
+  <caseinline 
select="MAC"><keycode>Command+2</keycode></caseinline><defaultinline><keycode>Ctrl+2</keycode></defaultinline>
+</switchinline> applies the <emph>Heading 2</emph> paragraph style.</tip>
+<tip id="par_id3154643" xml-lang="en-US">The Formatting (Styles) toolbar 
contains icons for applying and modifying styles.</tip>
 <section id="relatedtopics">
 <paragraph xml-lang="en-US" role="paragraph" id="par_id3148860">More 
information about <link href="text/swriter/01/05130000.xhp" 
name="styles">styles</link>.</paragraph>
 <embed href="text/swriter/guide/pagestyles.xhp#pagestyles"/>
+<embed href="text/shared/guide/autohide.xhp#autohide"/>
 </section>
 </body>
 </helpdocument>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to