Replace /text/shared/01/06040200.xhp
AutoCorrect function; replacement table replacement table replacing; AutoCorrect function text; replacing with format frames; AutoCorrect function pictures; inserting automatically AutoCorrect function; pictures and frames

Replace

Edits the replacement table for automatically correcting or replacing words or abbreviations in your document.
To enable the replacement table, choose Tools - AutoCorrect - AutoCorrect Options, click the Options tab, and then select Use replacement table. To use the replacement table while you type, check Tools - AutoCorrect - While Typing.

Replacement table

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, abbreviation or word part that you want to replace while you type. The wildcard character sequence .* can match anything before or after the replace string. For example: Having the replace pattern i18n.* and the with pattern international, the following corrections are made: Enter Autocorrected Result i18ns internationals i18nization internationalization i18nized internationalized
The replace pattern ....* with the replacement text finds and replaces the three dots in ...word with …word. To enter time values using the number pad, use the replace pattern .*...* and : as the replacement text. Now 10..30 is replaced automatically with 10:30.

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.

Text only

Saves the entry in the With box without formatting. When the replacement is made, the text uses the same format as the document text.

New

Adds or replaces an entry in the replacement table.