source/text/shared/02/02160000.xhp |   34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

New commits:
commit 32c582fe61715f10c4eeaf15aa0a7ac7af2388fc
Author:     Seth Chaiklin <sdc.bla...@youmail.dk>
AuthorDate: Sat Feb 20 09:55:33 2021 +0100
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Thu Mar 4 12:22:32 2021 +0100

    tdf#134432 add module switches to "Character Highlighting"
    
      1. Add appl-switch to description, because only Writer has
         character style.
      2. Add appl-switch for Format - Character, because Calc does
         not have this option.
      3. Add "click icon" in to howtoget with appl-switch, because
         Writer has extra options.
      4. appl-switch for highlighting text selection.
      5. appl-switch for remove highlighting text selection.
      6. appl-switch for multiple selection in both highlighting and
         "remove highlighting" because only Writer can do this.
    
    Change-Id: Ie7fc3e713f2b3806f0a956a29e25df9d89346ea2
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111182
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/source/text/shared/02/02160000.xhp 
b/source/text/shared/02/02160000.xhp
index d6752d9c9..55b689087 100644
--- a/source/text/shared/02/02160000.xhp
+++ b/source/text/shared/02/02160000.xhp
@@ -31,11 +31,21 @@
 <section id="character_highlight">
 <bookmark xml-lang="en-US" branch="hid/.uno:BackColor" id="bm_id3153323" 
localize="false"/>
 <h1 id="hd_id3109850"><link href="text/shared/02/02160000.xhp" name="Highlight 
Color">Character Highlighting Color</link></h1>
-<paragraph role="paragraph" id="par_id3154927" xml-lang="en-US"><variable 
id="highlight_color"><ahelp hid=".uno:BackColor">Applies current highlight 
color to the character style or text selection.</ahelp></variable></paragraph>
+<paragraph role="paragraph" id="par_id3154927" xml-lang="en-US"><variable 
id="highlight_color"><ahelp hid=".uno:BackColor">Applies current highlighting 
color to the <switchinline select="appl"><caseinline select="WRITER">character 
style or</caseinline></switchinline> text 
selection.</ahelp></variable></paragraph>
 </section>
 <section id="howtoget">
-    <paragraph id="par_id3147330" role="paragraph" xml-lang="en-US">Choose 
<menuitem>Format - Character - Highlighting</menuitem> tab.</paragraph>
-    <paragraph role="paragraph" id="par_id61592838932801">When editing a 
character style, choose <emph>Highlighting</emph> tab.</paragraph>
+<switch select="appl">
+<case select="CALC"></case>
+<default>
+<paragraph id="par_id3147330" role="paragraph" xml-lang="en-US">Choose 
<menuitem>Format - Character - Highlighting</menuitem> tab.</paragraph>
+</default>
+</switch>
+<switch select="appl">
+<case select="WRITER">
+<paragraph role="paragraph" id="par_id61592838932801">When editing a character 
style, choose <emph>Highlighting</emph> tab.</paragraph>
+</case>
+</switch>
+<paragraph role="paragraph" id="par_id481613812856744">Click the 
<emph>Character Highlighting Color</emph> icon on the <switchinline 
select="appl"><caseinline select="WRITER">Formatting bar, Text Object bar or 
Character section of Properties Sidebar.</caseinline><defaultinline><emph>Text 
Formatting  bar.</emph></defaultinline></switchinline></paragraph>
 <section id="sycharacter_highlight">
 <table id="tbl_id3149182">
   <tablerow>
@@ -57,12 +67,14 @@
      <paragraph id="par_id741610983082687" role="listitem">Select the text 
that you want to highlight.</paragraph>
   </listitem>
   <listitem>
-     <paragraph id="par_id851610983100948" role="listitem">Click the 
<emph>Character Highlighting Color</emph> icon on the <emph>Formatting</emph> 
bar.</paragraph>
+     <paragraph id="par_id851610983100948" role="listitem">Click the 
<emph>Character Highlighting Color</emph> icon on the <switchinline 
select="appl"><caseinline select="WRITER"><emph>Formatting</emph> or <emph>Text 
Object</emph></caseinline><defaultinline><emph>Text 
Formatting</emph></defaultinline></switchinline> bar.</paragraph>
   </listitem>
   <listitem>
      <paragraph id="par_id461611232078309" role="listitem">To type after the 
selection without highlighting, click <switchinline select="sys"><caseinline 
select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+M</keycode>.</paragraph>
   </listitem>
 </list>
+<switch select="appl">
+<case select="WRITER">
 <h3 id="par_id3166460">For Multiple Selections</h3><comment>UFI: see 
#112387#</comment>
 <list type="ordered">
    <listitem>
@@ -92,6 +104,8 @@
     <paragraph role="listitem" id="par_idN10757" xml-lang="en-US">To turn off 
highlighting cursor, click the <emph>Character Highlighting Color</emph> icon 
again, or press <keycode>Esc</keycode>.</paragraph>
   </listitem>
 </list>
+</case>
+</switch>
 <tip id="par_idN10743">To apply highlighting to a single word, double-click 
the word; for a sentence use triple-click, and quadruple-click for a 
paragraph.</tip>
 <h2 id="par_idN1075A">To Remove Highlighting</h2>
 <list type="ordered">
@@ -99,11 +113,17 @@
     <paragraph role="listitem" id="par_idN10760" xml-lang="en-US">Select the 
highlighted text.</paragraph>
   </listitem>
   <listitem>
-    <paragraph role="listitem" id="par_id3149784" xml-lang="en-US">On the 
<emph>Formatting</emph> bar, click the arrow next to the <emph>Character 
Highlighting Color</emph> icon, and then click <emph>No Fill</emph>.</paragraph>
+    <paragraph role="listitem" id="par_id3149784" xml-lang="en-US">On the 
<switchinline select="appl"><caseinline 
select="WRITER"></caseinline><defaultinline><emph>Text</emph></defaultinline></switchinline>
 <emph>Formatting</emph> bar, click the arrow next to the <emph>Character 
Highlighting Color</emph> icon, and then click <emph>No Fill</emph>.</paragraph>
   </listitem>
+</list>
+<switch select="appl">
+<case select="WRITER">
+  <list type="ordered" startwith="3">
   <listitem>
-    <paragraph id="par_id681610983533210" role="listitem">For multiple 
selections, click the <emph>Character Highlighting Color</emph> icon with 
<emph>No Fill</emph>, select highlighting to remove, then finish by clicking 
the icon again or pressing <keycode>Esc</keycode>.</paragraph>
+  <paragraph id="par_id681610983533210" role="listitem">For multiple 
selections, click the <emph>Character Highlighting Color</emph> icon with 
<emph>No Fill</emph>, select highlighting to remove, then finish by clicking 
the icon again or pressing <keycode>Esc</keycode>.</paragraph>
   </listitem>
-</list>
+  </list>
+</case>
+</switch>
 </body>
 </helpdocument>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to