1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2046da525Smseidel
3f15c1fe4SAndrew Rist<!--***********************************************************
4046da525Smseidel *
5f15c1fe4SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
6f15c1fe4SAndrew Rist * or more contributor license agreements.  See the NOTICE file
7f15c1fe4SAndrew Rist * distributed with this work for additional information
8f15c1fe4SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
9f15c1fe4SAndrew Rist * to you under the Apache License, Version 2.0 (the
10f15c1fe4SAndrew Rist * "License"); you may not use this file except in compliance
11f15c1fe4SAndrew Rist * with the License.  You may obtain a copy of the License at
12046da525Smseidel *
13f15c1fe4SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14046da525Smseidel *
15f15c1fe4SAndrew Rist * Unless required by applicable law or agreed to in writing,
16f15c1fe4SAndrew Rist * software distributed under the License is distributed on an
17f15c1fe4SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18f15c1fe4SAndrew Rist * KIND, either express or implied.  See the License for the
19f15c1fe4SAndrew Rist * specific language governing permissions and limitations
20f15c1fe4SAndrew Rist * under the License.
21046da525Smseidel *
22f15c1fe4SAndrew Rist ***********************************************************-->
23f15c1fe4SAndrew Rist
24046da525Smseidel<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26046da525Smseidel<topic id="textsdrawguidetext_enterxml" indexer="include" status="PUBLISH">
27046da525Smseidel<title xml-lang="en-US" id="tit">Adding Text</title>
28046da525Smseidel<filename>/text/sdraw/guide/text_enter.xhp</filename>
29046da525Smseidel</topic>
30046da525Smseidel</meta>
31046da525Smseidel<body>
32046da525Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3153144">
33046da525Smseidel<bookmark_value>text frames</bookmark_value>
34046da525Smseidel<bookmark_value>inserting;text frames</bookmark_value>
35046da525Smseidel<bookmark_value>copying;text from other documents</bookmark_value>
36046da525Smseidel<bookmark_value>pasting;text from other documents</bookmark_value>
37046da525Smseidel<bookmark_value>legends; drawings</bookmark_value>
38cdf0e10cSrcweir</bookmark><comment>mw changed "adding;" to "inserting;"</comment>
39*1daf95a1Smseidel<paragraph xml-lang="en-US" id="hd_id3153144" role="heading" level="1" l10n="U"><variable id="text_enter"><link href="text/sdraw/guide/text_enter.xhp" name="Adding Text">Adding Text</link>
40cdf0e10cSrcweir</variable></paragraph>
41*1daf95a1Smseidel<paragraph xml-lang="en-US" id="par_id3145750" role="paragraph" l10n="CHG">There are several types of text you can add to a drawing or presentation:</paragraph>
42046da525Smseidel<list type="unordered">
43046da525Smseidel<listitem>
44046da525Smseidel<paragraph xml-lang="en-US" id="par_idN10824" role="paragraph" l10n="NEW">Text in a text box</paragraph>
45046da525Smseidel</listitem>
46046da525Smseidel<listitem>
47046da525Smseidel<paragraph xml-lang="en-US" id="par_idN10828" role="paragraph" l10n="NEW">Text that changes character size to fill the frame size</paragraph>
48046da525Smseidel</listitem>
49046da525Smseidel<listitem>
50046da525Smseidel<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>
51046da525Smseidel</listitem>
52046da525Smseidel<listitem>
53046da525Smseidel<paragraph xml-lang="en-US" id="par_idN10830" role="paragraph" l10n="NEW">Text that is copied from a Writer document</paragraph>
54046da525Smseidel</listitem>
55046da525Smseidel<listitem>
56046da525Smseidel<paragraph xml-lang="en-US" id="par_idN10834" role="paragraph" l10n="NEW">Text that is inserted from a text document or HTML document</paragraph>
57046da525Smseidel</listitem>
58046da525Smseidel</list>
59*1daf95a1Smseidel<paragraph xml-lang="en-US" id="hd_id3150202" role="heading" level="2" l10n="U">Adding a Text Box</paragraph>
60046da525Smseidel<list type="ordered">
61046da525Smseidel<listitem>
62*1daf95a1Smseidel<paragraph xml-lang="en-US" id="par_id3155266" role="paragraph" l10n="U">Click the <emph>Text</emph> icon
63cdf0e10cSrcweir<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>
64046da525Smseidel</image> and move the mouse pointer to where you want to enter the text box.</paragraph>
65046da525Smseidel</listitem>
66046da525Smseidel<listitem>
67*1daf95a1Smseidel<paragraph xml-lang="en-US" id="par_id3149052" role="paragraph" l10n="U">Drag a text box to the size you want in your document.</paragraph>
68046da525Smseidel</listitem>
69046da525Smseidel<listitem>
70*1daf95a1Smseidel<paragraph xml-lang="en-US" id="par_id3151194" role="paragraph" l10n="CHG">Type or paste your text into the text box.</paragraph>
71046da525Smseidel</listitem>
72046da525Smseidel</list>
73*1daf95a1Smseidel<paragraph xml-lang="en-US" id="par_id3145118" role="paragraph" l10n="CHG">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>
74*1daf95a1Smseidel<paragraph xml-lang="en-US" id="hd_id3150437" role="heading" level="2" l10n="U">Fitting Text to Frames</paragraph>
75046da525Smseidel<list type="ordered">
76046da525Smseidel<listitem>
77*1daf95a1Smseidel<paragraph xml-lang="en-US" id="par_id3146877" role="paragraph" l10n="CHG">Create a text box as described in the steps above.</paragraph>
78046da525Smseidel</listitem>
79046da525Smseidel<listitem>
80046da525Smseidel<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>
81046da525Smseidel</listitem>
82046da525Smseidel<listitem>
83046da525Smseidel<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>
84046da525Smseidel</listitem>
85046da525Smseidel<listitem>
86046da525Smseidel<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>
87046da525Smseidel</listitem>
88046da525Smseidel</list>
89*1daf95a1Smseidel<paragraph xml-lang="en-US" id="hd_id3155955" role="heading" level="2" l10n="CHG">Text Tied to a Graphic</paragraph>
90046da525Smseidel<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>
91046da525Smseidel<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>
92046da525Smseidel<list type="ordered">
93046da525Smseidel<listitem>
94*1daf95a1Smseidel<paragraph xml-lang="en-US" id="par_id3147366" role="paragraph" l10n="CHG">For example, click the arrow next to the <emph>Callouts</emph> icon
95cdf0e10cSrcweir<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>
96046da525Smseidel</image> to open the Callouts toolbar.</paragraph>
97046da525Smseidel</listitem>
98046da525Smseidel<listitem>
99046da525Smseidel<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>
100046da525Smseidel</listitem>
101046da525Smseidel<listitem>
102*1daf95a1Smseidel<paragraph xml-lang="en-US" id="par_id3150272" role="paragraph" l10n="CHG">Drag to draw the callout.</paragraph>
103046da525Smseidel</listitem>
104046da525Smseidel<listitem>
105046da525Smseidel<paragraph xml-lang="en-US" id="par_id1978514" role="paragraph" l10n="NEW">Enter the text.</paragraph>
106046da525Smseidel</listitem>
107046da525Smseidel</list>
108046da525Smseidel<paragraph xml-lang="en-US" id="par_idN1091A" role="heading" level="2" l10n="NEW">Copying Text</paragraph>
109046da525Smseidel<list type="ordered">
110046da525Smseidel<listitem>
111046da525Smseidel<paragraph xml-lang="en-US" id="par_idN10921" role="paragraph" l10n="NEW">Select the text in your Writer document.</paragraph>
112046da525Smseidel</listitem>
113046da525Smseidel<listitem>
114046da525Smseidel<paragraph xml-lang="en-US" id="par_idN10925" role="paragraph" l10n="NEW">Copy the text to the clipboard (<emph>Edit - Copy</emph>).</paragraph>
115046da525Smseidel</listitem>
116046da525Smseidel<listitem>
117046da525Smseidel<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>
118046da525Smseidel</listitem>
119046da525Smseidel<listitem>
120046da525Smseidel<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>
121046da525Smseidel<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>
122046da525Smseidel</listitem>
123046da525Smseidel</list>
124046da525Smseidel<paragraph xml-lang="en-US" id="par_idN1093F" role="heading" level="2" l10n="NEW">Importing Text</paragraph>
125046da525Smseidel<list type="ordered">
126046da525Smseidel<listitem>
127046da525Smseidel<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>
128046da525Smseidel</listitem>
129046da525Smseidel<listitem>
130046da525Smseidel<paragraph xml-lang="en-US" id="par_idN1094A" role="paragraph" l10n="NEW">Choose <emph>Insert - File</emph>.</paragraph>
131046da525Smseidel</listitem>
132046da525Smseidel<listitem>
133046da525Smseidel<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>
134046da525Smseidel</listitem>
135046da525Smseidel</list>
136046da525Smseidel<section id="relatedtopics">
137cdf0e10cSrcweir<switch select="appl">
138cdf0e10cSrcweir<case select="WRITER"><embed href="text/swriter/guide/text_frame.xhp#text_frame"/>
139cdf0e10cSrcweir</case>
140cdf0e10cSrcweir</switch>
141cdf0e10cSrcweir</section>
142046da525Smseidel</body>
143046da525Smseidel</helpdocument>
144