source/text/shared/01/06040100.xhp | 110 ++++++++++++++++--------------------- 1 file changed, 49 insertions(+), 61 deletions(-)
New commits: commit f675711f1c0568f5107c1d8e1d8dd24e04af72b3 Author: Olivier Hallot <[email protected]> AuthorDate: Mon Jul 27 21:47:22 2026 -0300 Commit: Olivier Hallot <[email protected]> CommitDate: Tue Jul 28 15:28:01 2026 +0200 Refactor Autocorrect options page Change-Id: I261556a3717ee470bc63f85a0be9d3a02d40a341 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/208711 Reviewed-by: Olivier Hallot <[email protected]> Tested-by: Jenkins diff --git a/source/text/shared/01/06040100.xhp b/source/text/shared/01/06040100.xhp index 5b0a4c91db..0f76bb426e 100644 --- a/source/text/shared/01/06040100.xhp +++ b/source/text/shared/01/06040100.xhp @@ -55,26 +55,28 @@ <section id="howtoget"> <embed href="text/shared/00/00000406.xhp#autokooptionen"/> </section> + <switch select="appl"> <case select="WRITER"> <paragraph id="par_id3153124" role="paragraph">In text documents, you can choose to apply [T] AutoCorrect options while you type. Enable this feature by using <menuitem>Tools - AutoCorrect - While Typing</menuitem>.</paragraph> <paragraph role="paragraph" id="par_id141612013807625">You can also apply [M] AutoCorrect options to a selection or a whole document of existing text by using <menuitem>Tools - AutoCorrect - Apply</menuitem>.</paragraph> <comment>see i72339</comment><comment>Don't use inline switches for notes, tips and warnings. The icon will still show up.</comment> +<h2 id="hd_id291612211857255">[M] and [T] options</h2> </case> </switch> -<h2 id="hd_id291612211857255"><switchinline select="appl"><caseinline select="WRITER">[M] and [T] options</caseinline></switchinline></h2> <h3 id="hd_id3154398">Use replacement table</h3> <paragraph id="par_id3151234" role="paragraph">If you type a letter combination that matches a shortcut in the <link href="text/shared/01/06040200.xhp">replacement table</link>, the letter combination is replaced with the replacement text.</paragraph> - <h3 id="hd_id3150144">Correct TWo INitial CApitals</h3> +<h3 id="hd_id3150144">Correct TWo INitial CApitals</h3> <paragraph 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> <note id="par_id831613131464106">No corrections are made to entries found in an applicable spelling dictionary.</note> - <h3 id="hd_id3156426">Capitalize first letter of every sentence.</h3> +<h3 id="hd_id3156426">Capitalize first letter of every sentence.</h3> <paragraph id="par_id3155339" role="paragraph">Capitalizes the first letter of every sentence</paragraph> <switch select="appl"> <case select="CALC"> <note id="par_id5240028">The first letter in a Calc cell will never be capitalized automatically.<comment>see i78661</comment></note> </case> </switch> + <bookmark branch="index" id="bm_id811645041244683"> <bookmark_value>bold; AutoFormat function</bookmark_value> <bookmark_value>bold; using * when typing</bookmark_value> @@ -101,11 +103,11 @@ <bookmark_value>autocorrection option;DOI citation</bookmark_value> </bookmark> <h3 id="hd_id771761648408587">DOI citation recognition</h3> -<paragraph role="paragraph" id="par_id871761649956614">Automatically creates a hyperlink when you type a <link href="text/shared/00/00000002.xhp#doi">DOI</link> reference. For example, typing <literal>doi:10.1259/bjr.20190594</literal> creates the hyperlink <literal>https://doi.org/10.1259/bjr.20190594</literal>.</paragraph> + <paragraph role="paragraph" id="par_id871761649956614">Automatically creates a hyperlink when you type a <link href="text/shared/00/00000002.xhp#doi">DOI</link> reference. For example, typing <literal>doi:10.1259/bjr.20190594</literal> creates the hyperlink <literal>https://doi.org/10.1259/bjr.20190594</literal>.</paragraph> <comment>UFI: moved "replace 1st" to Localized Options tab page, cws cbosdo01</comment> <h3 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 id="par_id3144439" role="paragraph">Replaces one or two hyphens with a long dash (see the following table).</paragraph> + <paragraph id="par_id3144439" role="paragraph">Replaces one or two hyphens with a long dash (see the following table).</paragraph> <paragraph 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. N represents digits only.</paragraph> <table id="tbl_id2444227"> <tablerow> @@ -175,30 +177,31 @@ </table> <note id="par_id1416974">If 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></note> - <h3 id="hd_id3152472"><switchinline select="appl"><caseinline select="WRITER">Delete spaces and tabs at beginning and end of paragraph -</caseinline></switchinline></h3> - <paragraph 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> - <h3 id="hd_id3147303"><switchinline select="appl"><caseinline select="WRITER">Delete spaces and tabs at end and start of line</caseinline></switchinline></h3> - <paragraph 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> -<h2 id="hd_id881612211740519"><switchinline select="appl"><caseinline select="WRITER">[T] options only</caseinline></switchinline></h2> - <h3 id="hd_id3150400">Ignore double spaces</h3> - <paragraph id="par_id3154938" role="paragraph">Replaces two or more consecutive spaces with a single space.</paragraph> - <h3 id="hd_id871612310182014">Correct accidental use of cAPS LOCK key</h3> - <paragraph role="paragraph" id="par_id971612310224117">Inverts a capitalized word entered with the <keycode>Caps Lock</keycode> key enabled, after a <keycode>space</keycode> is entered, and disables the <keycode>Caps Lock</keycode> key. For example, entering <literal>Libre</literal> with <keycode>Caps Lock</keycode> enabled appears as <literal>lIBRE</literal>, which is converted automatically to <literal>Libre</literal>.</paragraph> - <h3 id="hd_id3145116"><switchinline select="appl"><caseinline select="WRITER">Bulleted and numbered lists. Bullet symbol:</caseinline></switchinline></h3> - <paragraph 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 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. -</caseinline></switchinline></paragraph> <switch select="appl"> -<case select="WRITER"> -<note id="par_id3145606">The automatic numbering option is only applied to paragraphs formatted with “Default Paragraph Style”, “Body Text” or “Body Text, Indented” paragraph styles.</note> -</case> + <case select="WRITER"> +<h3 id="hd_id3152472">Delete spaces and tabs at beginning and end of paragraph</h3> + <paragraph id="par_id3156024" role="paragraph">Removes spaces and tabs at the beginning of a paragraph. To use this option, the <emph>Apply Styles</emph> option must also be selected.</paragraph> +<h3 id="hd_id3147303">Delete spaces and tabs at end and start of line</h3> + <paragraph id="par_id3150866" role="paragraph">Removes spaces and tabs at the beginning of each line. To use this option, the <emph>Apply Styles</emph> option must also be selected.</paragraph> +<h2 id="hd_id881612211740519">[T] options only</h2> + </case> </switch> +<h3 id="hd_id3150400">Ignore double spaces</h3> + <paragraph id="par_id3154938" role="paragraph">Replaces two or more consecutive spaces with a single space.</paragraph> +<h3 id="hd_id871612310182014">Correct accidental use of cAPS LOCK key</h3> + <paragraph role="paragraph" id="par_id971612310224117">Inverts a capitalized word entered with the <keycode>Caps Lock</keycode> key enabled, after a <keycode>space</keycode> is entered, and disables the <keycode>Caps Lock</keycode> key. For example, entering <literal>Libre</literal> with <keycode>Caps Lock</keycode> enabled appears as <literal>lIBRE</literal>, which is converted automatically to <literal>Libre</literal>.</paragraph> + <switch select="appl"> -<case select="WRITER"> + <case select="WRITER"> +<h3 id="hd_id3145116">Bulleted and numbered lists. Bullet symbol:</h3> + <paragraph id="par_id3150870" role="paragraph">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.</paragraph> + <paragraph id="par_id3146874" role="paragraph">To cancel automatic numbering when you press Enter at the end of a line that starts with a numbering symbol, press Enter again.</paragraph> + <paragraph role="paragraph" id="par_id41785196815661">Press <emph>Edit</emph> to select the bullet symbol.</paragraph> + <note id="par_id3145606">The automatic numbering option is only applied to paragraphs formatted with “Default Paragraph Style”, “Body Text” or “Body Text, Indented” paragraph styles.</note> + +<!--<h3 id="hd_id501785196597649">Bulleted and numbered lists immediate after pressing space</h3>--> + + <h3 id="hd_id3157962">Apply border</h3> <paragraph 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 <keycode>Enter</keycode>. </paragraph> <list type="unordered"> @@ -267,46 +270,31 @@ </list> <tip id="par_id581612215799960">To remove a line created with Apply Border, place the cursor above the line, press <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+M</keycode>.</tip> <embed href="text/shared/guide/line_intext.xhp#line_intext"/> -</case> -</switch> -<h3 id="hd_id3149064"><switchinline select="appl"><caseinline select="WRITER">Create table -</caseinline></switchinline></h3> - <paragraph 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 id="par_id3147219" role="paragraph"><switchinline select="appl"><caseinline select="WRITER">+-----------------+---------------+------+ -</caseinline></switchinline></paragraph> - <switch select="appl"> - <case select="WRITER"> - <h3 id="hd_id3153334">Apply Styles</h3> + +<h3 id="hd_id3149064">Create table</h3> + <paragraph id="par_id3146119" role="paragraph">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.</paragraph> + <paragraph id="par_id3147219" role="paragraph">+-----------------+---------------+------+</paragraph> + +<h3 id="hd_id3153334">Apply Styles</h3> <paragraph 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_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”, “Body Text” or “Body Text, Indented” 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> -<h2 id="hd_id861612011786183"><switchinline select="appl"><caseinline select="WRITER">[M] options only</caseinline></switchinline></h2> - <h3 id="hd_id3151075"><switchinline select="appl"><caseinline select="WRITER">Remove blank paragraphs -</caseinline></switchinline></h3> -<paragraph id="par_id3145728" role="paragraph"><switchinline select="appl"><caseinline select="WRITER">Removes empty paragraphs and paragraphs that contain only spaces or tabs from the current document. This option works for any paragraph style.</caseinline></switchinline></paragraph> - <h3 id="hd_id3152375"><switchinline select="appl"><caseinline select="WRITER">Replace Custom Styles -</caseinline></switchinline></h3> - <paragraph id="par_id3156299" role="paragraph"><switchinline select="appl"><caseinline select="WRITER">Replaces custom paragraph styles applied in the current document to “Body Text”, “Body Text, Indented”, “First Line Indent” or “Hanging Indent” paragraph style. -</caseinline></switchinline></paragraph> - <h3 id="hd_id3147045"><switchinline select="appl"><caseinline select="WRITER">Replace bullets with -</caseinline></switchinline></h3> - <paragraph 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 Paragraph Style". To change the bullet style that is used, select this option, and then click <emph>Edit</emph>. -</caseinline></switchinline></paragraph> +<h2 id="hd_id861612011786183">[M] options only</h2> +<h3 id="hd_id3151075">Remove blank paragraphs</h3> + <paragraph id="par_id3145728" role="paragraph">Removes empty paragraphs and paragraphs that contain only spaces or tabs from the current document. This option works for any paragraph style.</paragraph> +<h3 id="hd_id3152375">Replace Custom Styles</h3> + <paragraph id="par_id3156299" role="paragraph">Replaces custom paragraph styles applied in the current document to “Body Text”, “Body Text, Indented”, “First Line Indent” or “Hanging Indent” paragraph style.</paragraph> +<h3 id="hd_id3147045">Replace bullets with</h3> + <paragraph id="par_id3150420" role="paragraph">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 Paragraph Style". To change the bullet style that is used, select this option, and then click <emph>Edit</emph>.</paragraph> <comment>removed "replace standard quotes..." cws cbosdo01</comment> -<h3 id="hd_id3151019"><switchinline select="appl"><caseinline select="WRITER">Combine single line paragraphs if length greater than... -</caseinline></switchinline></h3> - <paragraph 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> +<h3 id="hd_id3151019">Combine single line paragraphs if length greater than...</h3> + <paragraph id="par_id3154162" role="paragraph">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>.</paragraph> <bookmark branch="hid/cui/ui/applyautofmtpage/edit" id="bm_id9193700" localize="false"/> -<paragraph id="par_id1218200910244459" role="paragraph"><ahelp hid="." visibility="hidden">Modifies the selected AutoCorrect option.</ahelp></paragraph> - <h2 id="hd_id3144749"><switchinline select="appl"><caseinline select="WRITER">Edit -</caseinline></switchinline></h2> - <paragraph 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> +<h2 id="hd_id3144749">Edit</h2> + <paragraph id="par_id3153841" role="paragraph"><ahelp hid="cui/ui/applyautofmtpage/edit">Modifies the selected AutoCorrect option.</ahelp></paragraph> + </case> +</switch> <embed href="text/shared/00/00000001.xhp#AutocorrectButtons"/> <switch select="appl"> <case select="WRITER">
