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

Octavio Alvarez (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 16 12:30:25 UTC 2020


 source/text/shared/01/05010000.xhp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 2ea58f0c0e5270f6cce5f5cb80f054d1f3c37f50
Author:     Octavio Alvarez <octallo at alvarezp.org>
AuthorDate: Wed Jul 15 18:38:34 2020 -0500
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Thu Jul 16 14:30:03 2020 +0200

    Made Clear Direct Formatting help match reality
    
    The Clear Direct Formatting help text incorrectly states that
    this function will remove character styles on Writer, which
    is not true. This is causing confusion as reflected in the
    following bugs:
    
    Bug 132702 - CLEAR DIRECT FORMATTING: Wrong information in LO Help
    - https://bugs.documentfoundation.org/show_bug.cgi?id=132702
    
    Bug 132469 - Clear Direct Formatting char does not work
    - https://bugs.documentfoundation.org/show_bug.cgi?id=132469
    
    as well as in the following question from Ask:
    
    Why does direct clear formatting not clear character style
    - https://ask.libreoffice.org/en/question/51776/
    
    This was an old behavior pre-2011 before I converted "Default
    Formatting" into "Clear Default Formatting". The help text was
    also updated by me back then, but I am observing that it was
    done incompletely, as it seems like I changed the topic title
    but did not update the text about the actual behavior:
    
    https://git.libreoffice.org/help/+/7d23506818f48f534622f83343a79083105672da%5E%21/
    
    Additionally, while analyzing this issue, I found that people
    get confused as to how to remove remaining formatting that is
    still applied as a character style. Sometimes they don't know
    that a character style is still applied. Thus, I am adding a
    note about it.
    
    The Design Team or other developers may later decide that it's
    better to proceed in a different way, but, for now, it's
    important to state the truth about how this function works.
    
    Change-Id: I2a522c68630d64c21eabe9af61ace8a66d633ae2
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/98869
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/shared/01/05010000.xhp b/source/text/shared/01/05010000.xhp
index c9addf977..5be40a396 100644
--- a/source/text/shared/01/05010000.xhp
+++ b/source/text/shared/01/05010000.xhp
@@ -40,7 +40,7 @@
 <bookmark xml-lang="en-US" branch="hid/.uno:StandardTextAttributes" id="bm_id2575480" localize="false"/>
 
 <paragraph role="heading" id="hd_id3153391" xml-lang="en-US" level="1"><link href="text/shared/01/05010000.xhp" name="Clear Direct Formatting">Clear Direct Formatting</link></paragraph>
-<paragraph role="paragraph" id="par_id3145829" xml-lang="en-US"><ahelp hid=".">Removes direct formatting and formatting by character styles from the selection.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3145829" xml-lang="en-US"><ahelp hid=".">Removes direct formatting from the selection.</ahelp></paragraph>
 </section>
 <paragraph role="paragraph" id="par_id3147261" xml-lang="en-US"><switchinline select="appl"><caseinline select="CHART">
 </caseinline><defaultinline>Direct formatting is formatting that you applied without using styles, such as setting bold typeface by clicking the <emph>Bold</emph> icon.</defaultinline></switchinline></paragraph>
@@ -48,6 +48,7 @@
 <embed href="text/shared/00/00040500.xhp#standard"/>
 </section>
 <switch select="appl">
+<case select="WRITER"><paragraph role="tip" id="par_id671594846326658">Applied character styles will not be affected by Clear Direct Formatting, only direct formatting applied on top of the character styles. To remove formatting applied by a character style, reapply the <emph>Default</emph> character style.</paragraph></case>
 <case select="WRITER"><paragraph role="tip" id="par_id3157959" xml-lang="en-US">To stop applying a direct format, such as underlining, while you type new text at the end of a line, press Shift+Ctrl+X.</paragraph>
 </case>
 </switch>


More information about the Libreoffice-commits mailing list