source/text/shared/01/06040100.xhp |   83 ++++++++++++++++++++-----------------
 1 file changed, 47 insertions(+), 36 deletions(-)

New commits:
commit 67826012b8b84e43e92bb7e8111981e3c51fee13
Author:     Seth Chaiklin <sdc.bla...@youmail.dk>
AuthorDate: Mon Jan 25 13:12:04 2021 +0100
Commit:     Seth Chaiklin <sdc.bla...@youmail.dk>
CommitDate: Mon Jan 25 23:06:05 2021 +0100

    Relevant to: tdf#59034  mention that [M] only applies to Default
    
      tdf#59034 makes sensible request to document that [M] only
      applies to "Default Paragraph Style". (Made a few tests with
      7.2.0.0.alpha0+ -- and this seems to still be true)
      Modified explanation of [M] to address this point.
    
      tdf#90507 notes that Tools - AutoCorrect - Apply will convert
      Default PS into "Text Body" PS.  There is already a "note" that
      warns about this -- but it is not easy to understand, because it
      mentions "deselecting". (Was it added in 2015 in:
      https://help.libreoffice.org/4.3/Common/Options_3 by WikiSysop)?
    
      Testing shows that it is true, that if no M fields are selected,
      all Default PS are still converted to Text Body (as long as paragraph
      is non-empty -- in my tests). Have simplified <note> and added point
      about being non-empty.
    
      tdf#95433 shows some confusion about when a Heading is created
      automatically, plus "help" is missing a critical feature (need for
      an uppercase letter). Also, explanation about higher heading levels
      is not clear. Have modified the description for "Apply Styles".
    
      + add a <relatedtopics> for Writer, with link to AutoCorrect commands
      * updated to <h2>,<h3> and <note>
    
    Change-Id: Ib17c12a13a0aff58ebbbfd145cad7809b99cdb05
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/109878
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.bla...@youmail.dk>

diff --git a/source/text/shared/01/06040100.xhp 
b/source/text/shared/01/06040100.xhp
index 0b28bbcc3..0f948b6bd 100644
--- a/source/text/shared/01/06040100.xhp
+++ b/source/text/shared/01/06040100.xhp
@@ -20,7 +20,7 @@
 
 <meta>
       <topic id="textshared0106040100xml" indexer="include">
-         <title xml-lang="en-US" id="tit">Options</title>
+         <title xml-lang="en-US" id="tit">Options (AutoCorrect)</title>
          <filename>/text/shared/01/06040100.xhp</filename>
       </topic>
    </meta>
@@ -58,28 +58,28 @@
       </section>
 <switch select="appl">
 <case select="WRITER">
-<paragraph xml-lang="en-US" id="par_id3153124" role="paragraph">In text 
documents, you can choose to apply the AutoCorrect corrections while you type 
[T], or only when you modify existing text [M] with <emph>Tools - AutoCorrect - 
Apply</emph>.</paragraph>
-      <paragraph xml-lang="en-US" id="par_id7547227" role="note">When you 
choose to modify existing text with all options deselected, still all "Default" 
paragraph styles will be converted to "Text body" styles. <comment>see 
i72339</comment><comment>Don't use inline switches for notes, tips and 
warnings. The icon will still show up.</comment></paragraph>
+<paragraph xml-lang="en-US" id="par_id3153124" role="paragraph">In text 
documents, you can choose to apply the AutoCorrect corrections while you type 
[T], or by choosing <menuitem>Tools - AutoCorrect - Apply</menuitem> to modify 
existing text [M]. The [M] options are applied only to paragraphs with Default 
Paragraph Style.</paragraph>
+      <note xml-lang="en-US" id="par_id7547227">All non-empty paragraphs with 
"Default Paragraph Style" are converted to "Text Body" paragraph style when 
<menuitem>Tools - AutoCorrect - Apply</menuitem> is used.</note> <comment>see 
i72339</comment><comment>Don't use inline switches for notes, tips and 
warnings. The icon will still show up.</comment>
 </case>
 </switch>
-<paragraph xml-lang="en-US" id="hd_id3154398" role="heading" level="3">Use 
replacement table</paragraph>
+<h3 xml-lang="en-US" id="hd_id3154398">Use replacement table</h3>
       <paragraph xml-lang="en-US" id="par_id3151234" role="paragraph">If you 
type a letter combination that matches a shortcut in the <link 
href="text/shared/01/06040200.xhp" name="replacement table">replacement 
table</link>, the letter combination is replaced with the replacement 
text.</paragraph>
-      <paragraph xml-lang="en-US" id="hd_id3150144" role="heading" 
level="3">Correct TWo INitial CApitals</paragraph>
+      <h3 xml-lang="en-US" id="hd_id3150144">Correct TWo INitial CApitals</h3>
       <paragraph xml-lang="en-US" id="par_id3149177" role="paragraph">If you 
type two uppercase letters at the beginning of a "WOrd", the second uppercase 
letter is automatically replaced with a lowercase letter.</paragraph>
-      <paragraph xml-lang="en-US" id="hd_id3156426" role="heading" 
level="3">Capitalize first letter of every sentence.</paragraph>
+      <h3 xml-lang="en-US" id="hd_id3156426">Capitalize first letter of every 
sentence.</h3>
       <paragraph xml-lang="en-US" id="par_id3155339" 
role="paragraph">Capitalizes the first letter of every sentence.</paragraph>
 <switch select="appl">
 <case select="CALC">
 <paragraph xml-lang="en-US" id="par_id5240028" role="note">The first letter in 
a Calc cell will never be capitalized automatically.<comment>see 
i78661</comment></paragraph>
 </case>
 </switch>
-<paragraph xml-lang="en-US" id="hd_id3145072" role="heading" 
level="3">Automatic *bold*, /italic/, -strikeout- and _underline_</paragraph>
+<h3 xml-lang="en-US" id="hd_id3145072">Automatic *bold*, /italic/, -strikeout- 
and _underline_</h3>
       <paragraph xml-lang="en-US" id="par_id3153577" 
role="paragraph">Automatically applies bold, italic, strikethrough or underline 
formatting to text enclosed by asterisks (*), slashes (/), hyphens (-), and 
underscores (_), respectively. These characters disappear after the formatting 
is applied.</paragraph>
       <paragraph xml-lang="en-US" id="par_id3153127" role="note">This feature 
does not work if the formatting characters <item type="literal">* / - _</item> 
are entered with an <link href="text/shared/00/00000005.xhp#IME" name="Input 
Method Editor">Input Method Editor</link>.</paragraph>
-      <paragraph xml-lang="en-US" id="hd_id3150275" role="heading" 
level="3">URL Recognition</paragraph>
+      <h3 xml-lang="en-US" id="hd_id3150275">URL Recognition</h3>
       <paragraph xml-lang="en-US" id="par_id3158430" 
role="paragraph">Automatically creates a hyperlink when you type a <link 
href="text/shared/00/00000002.xhp#url" name="URL">URL</link>.</paragraph>
 <comment>UFI: moved "replace 1st" to Localized Options tab page, cws 
cbosdo01</comment>
-      <paragraph xml-lang="en-US" id="hd_id3148473" role="heading" 
level="3">Replace Dashes<comment>UFI: changed switches, added table, 
#61325#</comment></paragraph><comment>UFI: see i73558 for name: not the dashes 
are replaced but the hyphens (or even better the minus signs)</comment>
+      <h3 xml-lang="en-US" id="hd_id3148473">Replace Dashes<comment>UFI: 
changed switches, added table, #61325#</comment></h3><comment>UFI: see i73558 
for name: not the dashes are replaced but the hyphens (or even better the minus 
signs)</comment>
 <paragraph xml-lang="en-US" id="par_id3144439" role="paragraph">Replaces one 
or two hyphens with a long dash (see the following table).</paragraph>
       <paragraph xml-lang="en-US" id="par_id87282" role="paragraph">Text will 
be replaced after you type a trailing white space (space, tab, or return). In 
the following table, the A and B represent text consisting of letters A to z or 
digits 0 to 9.</paragraph>
       <table id="tbl_id2444227">
@@ -142,18 +142,18 @@
       </table>
 
       <paragraph xml-lang="en-US" id="par_id1416974" role="note">If the 
hyphens are there between digits or the text has the Hungarian or Finnish 
language attribute, then two hyphens in the sequence A--B are replaced by an 
en-dash instead of an em-dash.<comment>i71908</comment></paragraph>
-      <paragraph xml-lang="en-US" id="hd_id3152472" role="heading" 
level="3"><switchinline select="appl"><caseinline select="WRITER">Delete spaces 
and tabs at beginning and end of paragraph
-</caseinline></switchinline></paragraph>
+      <h3 xml-lang="en-US" id="hd_id3152472"><switchinline 
select="appl"><caseinline select="WRITER">Delete spaces and tabs at beginning 
and end of paragraph
+</caseinline></switchinline></h3>
       <paragraph xml-lang="en-US" id="par_id3156024" 
role="paragraph"><switchinline select="appl"><caseinline 
select="WRITER">Removes spaces and tabs at the beginning of a paragraph. To use 
this option, the <emph>Apply Styles</emph> option must also be selected.
 </caseinline></switchinline></paragraph>
-      <paragraph xml-lang="en-US" id="hd_id3147303" role="heading" 
level="3"><switchinline select="appl"><caseinline select="WRITER">Delete blanks 
and tabs at end and start of lines
-</caseinline></switchinline></paragraph>
+      <h3 xml-lang="en-US" id="hd_id3147303"><switchinline 
select="appl"><caseinline select="WRITER">Delete blanks and tabs at end and 
start of lines
+</caseinline></switchinline></h3>
       <paragraph xml-lang="en-US" id="par_id3150866" 
role="paragraph"><switchinline select="appl"><caseinline 
select="WRITER">Removes spaces and tabs at the beginning of each line. To use 
this option, the <emph>Apply Styles</emph> option must also be selected.
 </caseinline></switchinline></paragraph>
-      <paragraph xml-lang="en-US" id="hd_id3150400" role="heading" 
level="3">Ignore double spaces</paragraph>
+      <h3 xml-lang="en-US" id="hd_id3150400">Ignore double spaces</h3>
       <paragraph xml-lang="en-US" id="par_id3154938" role="paragraph">Replaces 
two or more consecutive spaces with a single space.</paragraph>
-      <paragraph xml-lang="en-US" id="hd_id3145116" role="heading" 
level="3"><switchinline select="appl"><caseinline select="WRITER">Apply 
numbering - symbol
-</caseinline></switchinline></paragraph>
+      <h3 xml-lang="en-US" id="hd_id3145116"><switchinline 
select="appl"><caseinline select="WRITER">Apply numbering - symbol
+</caseinline></switchinline></h3>
       <paragraph xml-lang="en-US" id="par_id3150870" 
role="paragraph"><switchinline select="appl"><caseinline 
select="WRITER">Automatically creates a numbered list when you press Enter at 
the end of a line that starts with a number followed by a period, a space, and 
text. If a line starts with a hyphen (-), a plus sign (+), or an asterisk (*), 
followed by a space, and text, a bulleted list is created when you press Enter.
 </caseinline></switchinline></paragraph>
       <paragraph xml-lang="en-US" id="par_id3146874" 
role="paragraph"><switchinline select="appl"><caseinline select="WRITER">To 
cancel automatic numbering when you press Enter at the end of a line that 
starts with a numbering symbol, press Enter again.
@@ -165,7 +165,7 @@
 </switch>
 <switch select="appl">
 <case select="WRITER">
-<paragraph xml-lang="en-US" id="hd_id3157962" role="heading" level="3">Apply 
border</paragraph>
+<h3 xml-lang="en-US" id="hd_id3157962">Apply border</h3>
       <paragraph xml-lang="en-US" id="par_id3144445" 
role="paragraph">Automatically applies a border at the base of the preceding 
paragraph when you type three or more specific characters, and then press 
Enter. To create a single line, type three or more hyphens (-), or underscores 
(_), and then press Enter. To create a double line, type three or more equal 
signs (=), asterisks (*), tildes (~), or hash marks (#), and then press 
Enter.</paragraph>
       <paragraph xml-lang="en-US" id="par_idN10C2E" role="paragraph">To delete 
the created line, click the paragraph above the line, choose <emph>Format - 
Paragraph - Borders</emph>, delete the bottom border.</paragraph>
       <paragraph xml-lang="en-US" id="par_idN10C35" role="paragraph">The 
following table summarizes the line thickness for the different characters: 
</paragraph>
@@ -222,39 +222,50 @@
       <embed href="text/shared/guide/line_intext.xhp#line_intext"/>
 </case>
 </switch>
-<paragraph xml-lang="en-US" id="hd_id3149064" role="heading" 
level="3"><switchinline select="appl"><caseinline select="WRITER">Create table
-</caseinline></switchinline></paragraph>
+<h3 xml-lang="en-US" id="hd_id3149064"><switchinline select="appl"><caseinline 
select="WRITER">Create table
+</caseinline></switchinline></h3>
       <paragraph xml-lang="en-US" id="par_id3146119" 
role="paragraph"><switchinline select="appl"><caseinline 
select="WRITER">Creates a table when you press Enter after typing a series of 
hyphens (-) or tabs separated by plus signs, that is, +------+---+. Plus signs 
indicate column dividers, while hyphens and tabs indicate the width of a column.
 </caseinline></switchinline></paragraph>
       <paragraph xml-lang="en-US" id="par_id3147219" 
role="paragraph"><switchinline select="appl"><caseinline 
select="WRITER">+-----------------+---------------+------+
 </caseinline></switchinline></paragraph>
-      <paragraph xml-lang="en-US" id="hd_id3153334" role="heading" 
level="3"><switchinline select="appl"><caseinline select="WRITER">Apply Styles
-</caseinline></switchinline></paragraph>
-      <paragraph xml-lang="en-US" id="par_id3147396" 
role="paragraph"><switchinline select="appl"><caseinline 
select="WRITER">Automatically replaces the "Default" paragraph style with the 
Heading 1 to Heading 8 paragraph styles. To apply the Heading 1 paragraph 
style, type the text that you want to use as a heading (without a period), and 
then press Enter twice. To apply a sub-heading, press Tab one or more times, 
type the text (without a period), and then press Enter.
-</caseinline></switchinline></paragraph>
-      <paragraph xml-lang="en-US" id="hd_id3151075" role="heading" 
level="3"><switchinline select="appl"><caseinline select="WRITER">Remove blank 
paragraphs
-</caseinline></switchinline></paragraph>
-<paragraph xml-lang="en-US" id="par_id3145728" role="paragraph"><switchinline 
select="appl"><caseinline select="WRITER">Removes empty paragraphs from the 
current document when you choose <emph>Tools - AutoCorrect - Apply</emph>.
-</caseinline></switchinline></paragraph>
-      <paragraph xml-lang="en-US" id="hd_id3152375" role="heading" 
level="3"><switchinline select="appl"><caseinline select="WRITER">Replace 
Custom Styles
-</caseinline></switchinline></paragraph>
+    <switch select="appl">
+    <case select="WRITER">
+      <h3 xml-lang="en-US" id="hd_id3153334">Apply Styles</h3>
+      <paragraph xml-lang="en-US" id="par_id3147396" 
role="paragraph">Automatically apply a Heading 1 to Heading 8 paragraph style 
to a text that starts with an uppercase letter and does not end with a 
period.</paragraph>
+<paragraph role="paragraph" id="par_id721611585502649"> To get a Heading 1 
paragraph style, type the text that you want to use as a heading, then press 
Enter twice.</paragraph>
+      <paragraph role="paragraph" id="par_id101611585558103">For other Heading 
N styles, press the <keycode>Tab</keycode> key N-1 times before typing the text 
to get the desired level. For example, to get a "Heading 4" paragraph style 
press the <keycode>Tab</keycode> key three times, type something, then press 
<keycode>Enter</keycode> twice.</paragraph>
+      <note id="par_id331611585252617">This feature works only with "Default 
Paragraph Style", "Text Body" and "Text Body Indent" paragraph styles, and 
there must be one empty paragraph before the text, if the text is not at the 
top of a page.</note>
+    </case>
+    </switch>
+      <h3 xml-lang="en-US" id="hd_id3151075"><switchinline 
select="appl"><caseinline select="WRITER">Remove blank paragraphs
+</caseinline></switchinline></h3>
+<paragraph xml-lang="en-US" id="par_id3145728" role="paragraph"><switchinline 
select="appl"><caseinline select="WRITER">Removes empty paragraphs from the 
current document when you choose <menuitem>Tools - AutoCorrect - 
Apply</menuitem>.</caseinline></switchinline></paragraph>
+      <h3 xml-lang="en-US" id="hd_id3152375"><switchinline 
select="appl"><caseinline select="WRITER">Replace Custom Styles
+</caseinline></switchinline></h3>
       <paragraph xml-lang="en-US" id="par_id3156299" 
role="paragraph"><switchinline select="appl"><caseinline 
select="WRITER">Replaces the custom paragraph styles in the current document 
with the "Default", the "Text Body", or the "Text Body Indent" paragraph style.
 </caseinline></switchinline></paragraph>
-      <paragraph xml-lang="en-US" id="hd_id3147045" role="heading" 
level="3"><switchinline select="appl"><caseinline select="WRITER">Replace 
bullets with
-</caseinline></switchinline></paragraph>
+      <h3 xml-lang="en-US" id="hd_id3147045"><switchinline 
select="appl"><caseinline select="WRITER">Replace bullets with
+</caseinline></switchinline></h3>
       <paragraph xml-lang="en-US" id="par_id3150420" 
role="paragraph"><switchinline select="appl"><caseinline 
select="WRITER">Converts paragraphs that start with a hyphen (-), a plus sign 
(+), or an asterisk (*) directly followed by a space or a tab, to bulleted 
lists. This option only works on paragraphs that are formatted with the 
"Default", "Text Body", or "Text Body Indent" paragraph styles. To change the 
bullet style that is used, select this option, and then click <emph>Edit</emph>.
 </caseinline></switchinline></paragraph>
 <comment>removed "replace standard quotes..." cws cbosdo01</comment>
-<paragraph xml-lang="en-US" id="hd_id3151019" role="heading" 
level="3"><switchinline select="appl"><caseinline select="WRITER">Combine 
single line paragraphs if length greater than...
-</caseinline></switchinline></paragraph>
+<h3 xml-lang="en-US" id="hd_id3151019"><switchinline select="appl"><caseinline 
select="WRITER">Combine single line paragraphs if length greater than...
+</caseinline></switchinline></h3>
       <paragraph xml-lang="en-US" id="par_id3154162" 
role="paragraph"><switchinline select="appl"><caseinline 
select="WRITER">Combines consecutive single-line paragraphs into a single 
paragraph. This option only works on paragraphs that use the "Default" 
paragraph style. If a paragraph is longer than the specified length value, the 
paragraph is combined with the next paragraph. To enter a different length 
value, select the option, and then click <link 
href="text/swriter/01/05150104.xhp"><emph>Edit</emph></link>.
 </caseinline></switchinline></paragraph>
 <bookmark xml-lang="en-US" branch="hid/cui/ui/applyautofmtpage/edit" 
id="bm_id9193700" localize="false"/>
 <paragraph xml-lang="en-US" id="par_id1218200910244459" 
role="paragraph"><ahelp hid="." visibility="hidden">Modifies the selected 
AutoCorrect option.</ahelp></paragraph>
-      <paragraph xml-lang="en-US" id="hd_id3144749" role="heading" 
level="2"><switchinline select="appl"><caseinline select="WRITER">Edit
-</caseinline></switchinline></paragraph>
+      <h2 xml-lang="en-US" id="hd_id3144749"><switchinline 
select="appl"><caseinline select="WRITER">Edit
+</caseinline></switchinline></h2>
       <paragraph xml-lang="en-US" id="par_id3153841" 
role="paragraph"><switchinline select="appl"><caseinline select="WRITER"><ahelp 
hid="cui/ui/applyautofmtpage/edit">Modifies the selected AutoCorrect 
option.</ahelp>
 </caseinline></switchinline></paragraph>
 <embed href="text/shared/00/00000001.xhp#AutocorrectButtons"/>
-   </body>
+<switch select="appl">
+<case select="WRITER">
+  <section id="relatedtopics">
+    <paragraph role="paragraph" id="par_id871611602271367"><link 
name="AutoCorrect" href="text/swriter/01/05150000.xhp">AutoCorrect 
Commands</link></paragraph>
+  </section>
+</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