source/text/shared/01/06040200.xhp |   57 +++++++++++++++++++------------------
 1 file changed, 30 insertions(+), 27 deletions(-)

New commits:
commit b14865814b963fc65ccb01b353ac0786ea360347
Author:     Olivier Hallot <[email protected]>
AuthorDate: Tue May 12 17:06:06 2026 -0300
Commit:     Olivier Hallot <[email protected]>
CommitDate: Wed May 13 13:23:45 2026 +0200

    tdf#159652 clarification for autocorrections
    
    Change-Id: If9e6194fc4ec177da68677a5470fa0ad1131903c
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/205141
    Reviewed-by: Olivier Hallot <[email protected]>
    Tested-by: Jenkins

diff --git a/source/text/shared/01/06040200.xhp 
b/source/text/shared/01/06040200.xhp
index 445947e850..7e1931e4ed 100644
--- a/source/text/shared/01/06040200.xhp
+++ b/source/text/shared/01/06040200.xhp
@@ -21,13 +21,13 @@
 
 <meta>
 <topic id="textshared0106040200xml" indexer="include">
-<title id="tit" xml-lang="en-US">Replace</title>
+<title id="tit">Replace</title>
 <filename>/text/shared/01/06040200.xhp</filename>
 </topic>
 </meta>
 <body>
 <section id="replace">
-<bookmark xml-lang="en-US" branch="index" 
id="bm_id3152876"><bookmark_value>AutoCorrect function; replacement 
table</bookmark_value>
+<bookmark branch="index" id="bm_id3152876"><bookmark_value>AutoCorrect 
function; replacement table</bookmark_value>
 <bookmark_value>replacement table</bookmark_value>
 <bookmark_value>replacing; AutoCorrect function</bookmark_value>
 <bookmark_value>text; replacing with format</bookmark_value>
@@ -35,27 +35,27 @@
 <bookmark_value>pictures; inserting automatically</bookmark_value>
 <bookmark_value>AutoCorrect function; pictures and frames</bookmark_value>
 </bookmark>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/acorreplacepage/AcorReplacePage" 
id="bm_id3150502" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/acorreplacepage/@@nowidget@@" 
id="bm_id3150502" localize="false"/>
-<h1 id="hd_id3152876" xml-lang="en-US"><link 
href="text/shared/01/06040200.xhp">Replace</link></h1>
-<paragraph role="paragraph" id="par_id3151262" xml-lang="en-US"><ahelp 
hid="cui/ui/acorreplacepage/AcorReplacePage">Edits the replacement table for 
automatically correcting or replacing words or abbreviations in your 
document.</ahelp></paragraph>
+<bookmark branch="hid/cui/ui/acorreplacepage/AcorReplacePage" 
id="bm_id3150502" localize="false"/>
+<bookmark branch="hid/cui/ui/acorreplacepage/@@nowidget@@" id="bm_id3150502" 
localize="false"/>
+<h1 id="hd_id3152876"><link 
href="text/shared/01/06040200.xhp">Replace</link></h1>
+<paragraph role="paragraph" id="par_id3151262"><ahelp 
hid="cui/ui/acorreplacepage/AcorReplacePage">Edits the replacement table for 
automatically correcting or replacing words or abbreviations in your 
document.</ahelp></paragraph>
 </section>
-<paragraph role="paragraph" id="par_id3149999" xml-lang="en-US"><switchinline 
select="appl"><caseinline select="WRITER">To enable the replacement table, 
choose <emph>Tools - AutoCorrect - AutoCorrect Options</emph>, click the 
<emph>Options</emph> tab, and then select <emph>Use replacement table</emph>. 
To use the replacement table while you type, check <emph>Tools - AutoCorrect - 
While Typing</emph>.
+<paragraph role="paragraph" id="par_id3149999"><switchinline 
select="appl"><caseinline select="WRITER">To enable the replacement table, 
choose <emph>Tools - AutoCorrect - AutoCorrect Options</emph>, click the 
<emph>Options</emph> tab, and then select <emph>Use replacement table</emph>. 
To use the replacement table while you type, check <emph>Tools - AutoCorrect - 
While Typing</emph>.
 </caseinline></switchinline></paragraph>
 <section id="howtoget">
 <embed href="text/shared/00/00000406.xhp#autokoersetzung"/>
 </section>
 <embed href="text/shared/01/06040300.xhp#language"/>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/acorreplacepage/tabview" 
id="bm_id3154810" localize="false"/>
-<h2 id="hd_id3155321" xml-lang="en-US">Replacement table</h2>
-<paragraph role="paragraph" id="par_id3152945" xml-lang="en-US"><ahelp 
hid="cui/ui/acorreplacepage/tabview">Lists the entries for automatically 
replacing words, abbreviations or word parts while you type. To add an entry, 
enter text in the <emph>Replace </emph>and <emph>With </emph>boxes, and then 
click <emph>New</emph>. To edit an entry, select it, change the text in the 
<emph>With</emph> box, and then click <emph>Replace</emph>. To delete an entry, 
select it, and then click <emph>Delete</emph>.</ahelp></paragraph>
-<paragraph role="paragraph" id="par_id3153349" xml-lang="en-US">You can use 
the AutoCorrect feature to apply a specific character format to a word, 
abbreviation or a word part. Select the formatted text in your document, open 
this dialog, clear the <emph>Text only</emph> box, and then enter the text that 
you want to replace in the<emph> Replace</emph> box.</paragraph>
-<paragraph role="paragraph" id="par_id3154173" xml-lang="en-US"><switchinline 
select="appl"><caseinline select="WRITER">You can also include frames, 
graphics, and OLE objects in an AutoCorrect entry, so long as they are anchored 
<emph>as characters</emph> in the text. Select the frame, graphic or OLE object 
and at least one text character in front of and behind the object. Open this 
dialog, type a name for this AutoCorrect entry in the <emph>Replace </emph>box, 
and then click <emph>New</emph>.
+<bookmark branch="hid/cui/ui/acorreplacepage/tabview" id="bm_id3154810" 
localize="false"/>
+<h2 id="hd_id3155321">Replacement table</h2>
+<paragraph role="paragraph" id="par_id3152945"><ahelp 
hid="cui/ui/acorreplacepage/tabview">Lists the entries for automatically 
replacing words, abbreviations or word parts while you type. To add an entry, 
enter text in the <emph>Replace </emph>and <emph>With </emph>boxes, and then 
click <emph>New</emph>. To edit an entry, select it, change the text in the 
<emph>With</emph> box, and then click <emph>Replace</emph>. To delete an entry, 
select it, and then click <emph>Delete</emph>.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3153349">You can use the AutoCorrect 
feature to apply a specific character format to a word, abbreviation or a word 
part. Select the formatted text in your document, open this dialog, clear the 
<emph>Text only</emph> box, and then enter the text that you want to replace in 
the<emph> Replace</emph> box.</paragraph>
+<paragraph role="paragraph" id="par_id3154173"><switchinline 
select="appl"><caseinline select="WRITER">You can also include frames, 
graphics, and OLE objects in an AutoCorrect entry, so long as they are anchored 
<emph>as characters</emph> in the text. Select the frame, graphic or OLE object 
and at least one text character in front of and behind the object. Open this 
dialog, type a name for this AutoCorrect entry in the <emph>Replace </emph>box, 
and then click <emph>New</emph>.
 </caseinline></switchinline></paragraph>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/acorreplacepage/origtext" 
id="bm_id1574449" localize="false"/>
-<h3 id="hd_id3148943" xml-lang="en-US">Replace</h3>
-<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US"><ahelp 
hid="cui/ui/acorreplacepage/origtext">Enter the word, abbreviation or word part 
that you want to replace while you type.</ahelp></paragraph>
-<paragraph role="paragraph" id="par_id191613145378697">The wildcard character 
sequence <literal>.*</literal> can match anything before or after the replace 
string. For example:</paragraph>
+<bookmark branch="hid/cui/ui/acorreplacepage/origtext" id="bm_id1574449" 
localize="false"/>
+<h3 id="hd_id3148943">Replace</h3>
+<paragraph role="paragraph" id="par_id3147560"><ahelp 
hid="cui/ui/acorreplacepage/origtext">Enter the word, abbreviation or word part 
that you want to replace while you type.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id191613145378697">The wildcard character 
sequence <literal>.*</literal> can match anything before or after the replace 
string. This allows to define prefixes and suffixes for long words. For 
example:</paragraph>
 <list type="unordered">
   <listitem>
     <paragraph id="par_id581613226746969" role="listitem">Having the 
<emph>replace</emph> pattern <literal>i18n.*</literal> and the 
<emph>with</emph> pattern <literal>international</literal>, the following 
corrections are made:</paragraph>
@@ -99,18 +99,21 @@
 <listitem>
 <paragraph role="listitem" id="par_id1001613148383132">The replace pattern 
<literal>....*</literal> with the replacement text <literal>…</literal> finds 
and replaces the three dots in <literal>...word</literal> with 
<literal>…word</literal>.</paragraph>
 </listitem>
+<listitem>
+<paragraph id="par_id811778615958511"  role="listitem">Using a non-blank 
separator like a comma (,), you can use the replace patterns 
<literal>,.*</literal> or <literal>.*,</literal> to add prefixes and suffixes. 
For example, defining <literal>prefix,.* -> prefix</literal> and 
<literal>,.*suffix -> suffix</literal> lets you input 
<literal>prefix,root,suffix</literal> and obtain 
<literal>prefixrootsuffix</literal>. This can be useful when prefix and suffix 
requires complex typing.</paragraph>
+</listitem>
 </list>
-<tip id="par_id3147590" xml-lang="en-US">To enter time values using the number 
pad, use the replace pattern <literal>.*...*</literal> and <literal>:</literal> 
as the replacement text. Now <literal>10..30</literal> is replaced 
automatically with <literal>10:30</literal>.</tip>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/acorreplacepage/newtext" 
id="bm_id6447340" localize="false"/>
-<h3 id="hd_id3148947" xml-lang="en-US">With:</h3>
-<paragraph role="paragraph" id="par_id3149456" xml-lang="en-US"><ahelp 
hid="cui/ui/acorreplacepage/newtext">Enter the replacement text, graphic, 
frame, or OLE object that you want to replace the text in the<emph> 
Replace</emph> box. If you have selected text, a graphic, a frame, or an OLE 
object in your document, the relevant information is already entered 
here.</ahelp></paragraph>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/acorreplacepage/textonly" 
id="bm_id8239997" localize="false"/>
-<h3 id="hd_id3150400" xml-lang="en-US">Text only</h3>
-<paragraph role="paragraph" id="par_id3153379" xml-lang="en-US"><ahelp 
hid="cui/ui/acorreplacepage/textonly">Saves the entry in the <emph>With</emph> 
box without formatting. When the replacement is made, the text uses the same 
format as the document text.</ahelp></paragraph>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/acorreplacepage/new" 
id="bm_id8823511" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/acorreplacepage/replace" 
id="bm_id8823512" localize="false"/>
-<h2 id="hd_id3153797" xml-lang="en-US">New</h2>
-<paragraph role="paragraph" id="par_id3153968" xml-lang="en-US"><ahelp 
hid="cui/ui/acorreplacepage/new">Adds or replaces an entry in the replacement 
table.</ahelp></paragraph>
+<tip id="par_id3147590">To enter time values using the number pad, use the 
replace pattern <literal>.*...*</literal> and <literal>:</literal> as the 
replacement text. Now <literal>10..30</literal> is replaced automatically with 
<literal>10:30</literal>.</tip>
+<bookmark branch="hid/cui/ui/acorreplacepage/newtext" id="bm_id6447340" 
localize="false"/>
+<h3 id="hd_id3148947">With:</h3>
+<paragraph role="paragraph" id="par_id3149456"><ahelp 
hid="cui/ui/acorreplacepage/newtext">Enter the replacement text, graphic, 
frame, or OLE object that you want to replace the text in the<emph> 
Replace</emph> box. If you have selected text, a graphic, a frame, or an OLE 
object in your document, the relevant information is already entered 
here.</ahelp></paragraph>
+<bookmark branch="hid/cui/ui/acorreplacepage/textonly" id="bm_id8239997" 
localize="false"/>
+<h3 id="hd_id3150400">Text only</h3>
+<paragraph role="paragraph" id="par_id3153379"><ahelp 
hid="cui/ui/acorreplacepage/textonly">Saves the entry in the <emph>With</emph> 
box without formatting. When the replacement is made, the text uses the same 
format as the document text.</ahelp></paragraph>
+<bookmark branch="hid/cui/ui/acorreplacepage/new" id="bm_id8823511" 
localize="false"/>
+<bookmark branch="hid/cui/ui/acorreplacepage/replace" id="bm_id8823512" 
localize="false"/>
+<h2 id="hd_id3153797">New</h2>
+<paragraph role="paragraph" id="par_id3153968"><ahelp 
hid="cui/ui/acorreplacepage/new">Adds or replaces an entry in the replacement 
table.</ahelp></paragraph>
 <embed href="text/shared/00/00000001.xhp#delete2"/>
 <embed href="text/shared/00/00000001.xhp#AutocorrectButtons"/>
 </body>

Reply via email to