From 3faab36347837d4168d12893b7e47f58d6440c68 Mon Sep 17 00:00:00 2001 From: László Németh Date: Tue, 26 Aug 2014 15:42:12 +0200 Subject: fdo#81472 example for autocorrection within words ,, -> : replacement to speed up entering time values only with numerical keys (Other possible examples: ->, <- arrows (predefined for several languages) fi, fl ligature replacements (workaround for non-Graphite fonts) --- -> em-dash ) Change-Id: I3d26500ef778f7c239b24e41e664b9e80eedf556 --- source/text/shared/01/06040200.xhp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/text/shared/01/06040200.xhp b/source/text/shared/01/06040200.xhp index a7fd075587..2a2c2c606a 100644 --- a/source/text/shared/01/06040200.xhp +++ b/source/text/shared/01/06040200.xhp @@ -48,13 +48,14 @@ Replacement table -Lists the entries for automatically replacing words or abbreviations while you type. To add an entry, enter text in the Replace and With boxes, and then click New. To edit an entry, select it, change the text in the With box, and then click Replace. To delete an entry, select it, and then click Delete. -You can use the AutoCorrect feature to apply a specific character format to a word or abbreviation. Select the formatted text in your document, open this dialog, clear the Text only box, and then enter the text that you want to replace in the Replace box. +Lists the entries for automatically replacing words, abbreviations or word parts while you type. To add an entry, enter text in the Replace and With boxes, and then click New. To edit an entry, select it, change the text in the With box, and then click Replace. To delete an entry, select it, and then click Delete. +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 Text only box, and then enter the text that you want to replace in the Replace box. You can also include frames, graphics, and OLE objects in an AutoCorrect entry, so long as they are anchored as characters 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 Replace box, and then click New. Replace -Enter the word or abbreviation that you want to replace while you type. Wildcard character sequence .* in the end of word results the replacement of the word before arbitrary suffixes, too. Wildcard character sequence .* before the word results the replacement after arbitrary prefixes, too. For example, the pattern "i18n.*" with the replacement text "internationalization" will find and replace "i18ns" with "internationalizations", or the pattern ".*..." with the replacement text "…" will find and replace three dots in "word..." with the typographically correct precomposed Unicode horizontal ellipsis ("word…"). +Enter the word, abbreviation or word part that you want to replace while you type. Wildcard character sequence .* in the end of word results the replacement of the word before arbitrary suffixes, too. Wildcard character sequence .* before the word results the replacement after arbitrary prefixes, too. For example, the pattern "i18n.*" with the replacement text "internationalization" finds and replaces "i18ns" with "internationalizations", or the pattern ".*..." with the replacement text "…" finds and replaces three dots in "word..." with the typographically correct precomposed Unicode horizontal ellipsis ("word…"). +To replace word parts or characters within words, you can use starting and terminating wildcard character sequences in the same pattern. For example, entering time values can be faster using only numerical keys, and double decimal separators as colons in the following way: set the pattern ".*...*" or ".*,,.*" (double dots or commas within words) and the replacement text ":", and entering "10..30" or "10,,30" results "10:30" automatically. With: Enter the replacement text, graphic, frame, or OLE object that you want to replace the text in the Replace box. If you have selected text, a graphic, a frame, or an OLE object in your document, the relevant information is already entered here. -- cgit v1.2.3