While Typing (AutoCorrect)/text/swriter/01/05150100.xhpautomatic heading formattingAutoCorrect function;headingsheadings;automaticseparator lines;AutoCorrect function
While Typing
Automatically formats the document while you type. To set the formatting options, choose , and then click the Options tab.You can use AutoCorrect to format text documents and plain ASCII text files, but not characters that you have manually formatted. Automatic word completion only occurs after you type a word for the second time in a document.To reverse the last AutoCorrect action, choose Edit - Undo.When you apply automatic formats, the following rules apply:
AutoCorrect for Headings
A paragraph is formatted as a heading when the following conditions are met:paragraph begins with a capital letterparagraph does not end with a punctuation markempty paragraph above and below the paragraph
AutoCorrect for Separator Lines
If you type three or more hyphens (---) or certain other characters in a row and then press Enter, the paragraph is replaced by a horizontal line as wide as the page. The line is actually the lower border of the preceding paragraph. The bottom padding of such a paragraph will be set to 0.75 mm. The following rules apply:Three hyphens (-) yield a single line (0.05 pt thick).Three underscores (_) yield a single line (0.75 pt thick).Three equal signs (=) yield a thin double line (0.75 pt thick).Three asterisk signs (*) yield a thick/thin double line (2.25 pt thick).Three tilde signs (~) yield a thin/thick double line (2.25 pt thick).Three hash signs (#) yield a medium double line (1.5 pt thick).Other AutoCorrect rules