1<?xml version="1.0" encoding="UTF-8"?>
2<helpdocument version="1.0">
3
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25
26
27
28<meta>
29      <topic id="textsdrawguidetext_enterxml" indexer="include" status="PUBLISH">
30         <title xml-lang="en-US" id="tit">Adding Text</title>
31         <filename>/text/sdraw/guide/text_enter.xhp</filename>
32      </topic>
33   </meta>
34   <body>
35<bookmark xml-lang="en-US" branch="index" id="bm_id3153144"><bookmark_value>text frames</bookmark_value>
36      <bookmark_value>inserting;text frames</bookmark_value>
37      <bookmark_value>copying;text from other documents</bookmark_value>
38      <bookmark_value>pasting;text from other documents</bookmark_value>
39      <bookmark_value>legends; drawings</bookmark_value>
40</bookmark><comment>mw changed "adding;" to "inserting;"</comment>
41<paragraph xml-lang="en-US" id="hd_id3153144" role="heading" level="1" l10n="U"
42                 oldref="45"><variable id="text_enter"><link href="text/sdraw/guide/text_enter.xhp" name="Adding Text">Adding Text</link>
43</variable></paragraph>
44      <paragraph xml-lang="en-US" id="par_id3145750" role="paragraph" l10n="CHG" oldref="46">There are several types of text you can add to a drawing or presentation: </paragraph>
45      <list type="unordered">
46         <listitem>
47            <paragraph xml-lang="en-US" id="par_idN10824" role="paragraph" l10n="NEW">Text in a text box</paragraph>
48         </listitem>
49         <listitem>
50            <paragraph xml-lang="en-US" id="par_idN10828" role="paragraph" l10n="NEW">Text that changes character size to fill the frame size</paragraph>
51         </listitem>
52         <listitem>
53            <paragraph xml-lang="en-US" id="par_idN1082C" role="paragraph" l10n="NEW">Text that is added to any drawing object by double-clicking the object</paragraph>
54         </listitem>
55         <listitem>
56            <paragraph xml-lang="en-US" id="par_idN10830" role="paragraph" l10n="NEW">Text that is copied from a Writer document</paragraph>
57         </listitem>
58         <listitem>
59            <paragraph xml-lang="en-US" id="par_idN10834" role="paragraph" l10n="NEW">Text that is inserted from a text document or HTML document</paragraph>
60         </listitem>
61      </list>
62      <paragraph xml-lang="en-US" id="hd_id3150202" role="heading" level="2" l10n="U"
63                 oldref="48">Adding a Text Box</paragraph>
64      <list type="ordered">
65         <listitem>
66            <paragraph xml-lang="en-US" id="par_id3155266" role="paragraph" l10n="U" oldref="49">Click the <emph>Text</emph> icon
67<image id="img_id3156450" src="res/commandimagelist/sc_text.png" width="0.1665in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3156450">Icon</alt>
68	</image> and move the mouse pointer to where you want to enter the text box.</paragraph>
69         </listitem>
70         <listitem>
71            <paragraph xml-lang="en-US" id="par_id3149052" role="paragraph" l10n="U" oldref="50">Drag a text box to the size you want in your document.</paragraph>
72         </listitem>
73         <listitem>
74            <paragraph xml-lang="en-US" id="par_id3151194" role="paragraph" l10n="CHG" oldref="51">Type or paste your text into the text box.</paragraph>
75         </listitem>
76      </list>
77      <paragraph xml-lang="en-US" id="par_id3145118" role="paragraph" l10n="CHG" oldref="53">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.</paragraph>
78      <paragraph xml-lang="en-US" id="hd_id3150437" role="heading" level="2" l10n="U"
79                 oldref="54">Fitting Text to Frames</paragraph>
80      <list type="ordered">
81         <listitem>
82            <paragraph xml-lang="en-US" id="par_id3146877" role="paragraph" l10n="CHG" oldref="56">Create a text box as described in the steps above.</paragraph>
83         </listitem>
84         <listitem>
85            <paragraph xml-lang="en-US" id="par_idN108A3" role="paragraph" l10n="NEW">With the text object selected, choose <emph>Format - Text</emph>. The <emph>Text</emph> dialog opens.</paragraph>
86         </listitem>
87         <listitem>
88            <paragraph xml-lang="en-US" id="par_idN108AF" role="paragraph" l10n="NEW">On the <emph>Text</emph> tab page, clear the <emph>Fit height to text</emph> checkbox, then select the <emph>Fit to frame</emph> checkbox. Click <emph>OK</emph>.</paragraph>
89         </listitem>
90         <listitem>
91            <paragraph xml-lang="en-US" id="par_id0610200902133994" role="paragraph" l10n="NEW">Now you can resize the text box to change the size and shape of the text characters.</paragraph>
92         </listitem>
93      </list>
94      <paragraph xml-lang="en-US" id="hd_id3155955" role="heading" level="2" l10n="CHG"
95                 oldref="58">Text Tied to a Graphic</paragraph>
96      <paragraph xml-lang="en-US" id="par_idN10917" role="paragraph" l10n="NEW">You can add text to any graphic after double-clicking the graphic.</paragraph>
97      <paragraph xml-lang="en-US" id="par_id1827448" role="paragraph" l10n="NEW">To determine the position of the text, use the settings in <emph>Format - Text</emph>.<comment>this is the Draw command. In Writer it is Format - Object - Text attributes.</comment></paragraph>
98      <list type="ordered">
99         <listitem>
100            <paragraph xml-lang="en-US" id="par_id3147366" role="paragraph" l10n="CHG" oldref="59">For example, click the arrow next to the <emph>Callouts</emph> icon
101<image id="img_id3154508" src="res/commandimagelist/sc_calloutshapes.png" width="0.1665in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3154508">Icon</alt>
102	</image> to open the Callouts toolbar.</paragraph>
103         </listitem>
104         <listitem>
105            <paragraph xml-lang="en-US" id="par_idN108FD" role="paragraph" l10n="NEW">Select a callout and move the mouse pointer to where you want the callout to start.</paragraph>
106         </listitem>
107         <listitem>
108            <paragraph xml-lang="en-US" id="par_id3150272" role="paragraph" l10n="CHG" oldref="60">Drag to draw the callout.</paragraph>
109         </listitem>
110         <listitem>
111            <paragraph xml-lang="en-US" id="par_id1978514" role="paragraph" l10n="NEW">Enter the text.</paragraph>
112         </listitem>
113      </list>
114      <paragraph xml-lang="en-US" id="par_idN1091A" role="heading" level="2" l10n="NEW">Copying Text</paragraph>
115      <list type="ordered">
116         <listitem>
117            <paragraph xml-lang="en-US" id="par_idN10921" role="paragraph" l10n="NEW">Select the text in your Writer document.</paragraph>
118         </listitem>
119         <listitem>
120            <paragraph xml-lang="en-US" id="par_idN10925" role="paragraph" l10n="NEW">Copy the text to the clipboard (<emph>Edit - Copy</emph>).</paragraph>
121         </listitem>
122         <listitem>
123            <paragraph xml-lang="en-US" id="par_idN1092D" role="paragraph" l10n="NEW">Click the page or slide where you want to paste the text.</paragraph>
124         </listitem>
125         <listitem>
126            <paragraph xml-lang="en-US" id="par_idN10931" role="paragraph" l10n="NEW">Paste the text using <emph>Edit - Paste</emph> or <emph>Edit - Paste special</emph>.</paragraph>
127            <paragraph xml-lang="en-US" id="par_idN1093C" role="paragraph" l10n="NEW">Using <emph>Paste special</emph>, you can choose the text format to be pasted. Depending on formats, you can copy different text attributes.<comment>UFI: added an emph tag, see #60923</comment></paragraph>
128         </listitem>
129      </list>
130      <paragraph xml-lang="en-US" id="par_idN1093F" role="heading" level="2" l10n="NEW">Importing Text</paragraph>
131      <list type="ordered">
132         <listitem>
133            <paragraph xml-lang="en-US" id="par_idN10946" role="paragraph" l10n="NEW">Click the page or slide where you want to import the text.</paragraph>
134         </listitem>
135         <listitem>
136            <paragraph xml-lang="en-US" id="par_idN1094A" role="paragraph" l10n="NEW">Choose <emph>Insert - File</emph>.</paragraph>
137         </listitem>
138         <listitem>
139            <paragraph xml-lang="en-US" id="par_idN10952" role="paragraph" l10n="NEW">Select a text file (*.txt) or an HTML file and click <emph>Insert</emph>. The <emph>Insert Text</emph> dialog opens. Click <emph>OK</emph> to insert the text.</paragraph>
140         </listitem>
141      </list>
142      <section id="relatedtopics">
143<switch select="appl">
144<case select="WRITER"><embed href="text/swriter/guide/text_frame.xhp#text_frame"/>
145</case>
146</switch>
147</section>
148   </body>
149</helpdocument>