# Adding Text

/text/sdraw/guide/text_enter.xhp
text frames
inserting;text frames
copying;text from other documents
pasting;text from other documents
legends; drawings
mw changed "adding;" to "inserting;"
Adding Text
There are several types of text you can add to a drawing or presentation:
- Text in a text box
- Text that changes character size to fill the frame size
- Text that is added to any drawing object by double-clicking the object
- Text that is copied from a Writer document
- Text that is inserted from a text document or HTML document
Adding a Text Box
- Click the Text icon Icon and move the mouse pointer to where you want to enter the text box.
- Drag a text box to the size you want in your document.
- Type or paste your text into the text box.
Double-click the text to edit it or to format text properties, such as font size or font color. Click the border of the text box to edit the object properties, such as border color or arranging in front or behind other objects.
Fitting Text to Frames
- Create a text box as described in the steps above.
- With the text object selected, choose Format - Text. The Text dialog opens.
- On the Text tab page, clear the Fit height to text checkbox, then select the Fit to frame checkbox. Click OK.
- Now you can resize the text box to change the size and shape of the text characters.
Text Tied to a Graphic
You can add text to any graphic after double-clicking the graphic.
To determine the position of the text, use the settings in Format - Text.this is the Draw command. In Writer it is Format - Object - Text attributes.
- For example, click the arrow next to the Callouts icon Icon to open the Callouts toolbar.
- Select a callout and move the mouse pointer to where you want the callout to start.
- Drag to draw the callout.
- Enter the text.
Copying Text
- Select the text in your Writer document.
- Copy the text to the clipboard (Edit - Copy).
- Click the page or slide where you want to paste the text.
- Paste the text using Edit - Paste or Edit - Paste special.
  Using Paste special, you can choose the text format to be pasted. Depending on formats, you can copy different text attributes.UFI: added an emph tag, see #60923
Importing Text
- Click the page or slide where you want to import the text.
- Choose Insert - File.
- Select a text file (*.txt) or an HTML file and click Insert. The Insert Text dialog opens. Click OK to insert the text.