To assign AutoText shortcut to some text, the steps arc as follows:
1. Type the text into your document.
2. Select the text so that it is highlighted.
3. Select Edit → AutText (or press Ctrl+F3).
4. Enter a name for your shortcut. Writer will suggest a one-letter shortcut, which you can change.
5. Click the AùtoText button on the right and select New (text only) from the menu.
6. Click Close to return to your document.