1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir<helpdocument version="1.0">
3cdf0e10cSrcweir
4*226a8927SAndrew Rist<!--***********************************************************
5cdf0e10cSrcweir *
6*226a8927SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
7*226a8927SAndrew Rist * or more contributor license agreements.  See the NOTICE file
8*226a8927SAndrew Rist * distributed with this work for additional information
9*226a8927SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
10*226a8927SAndrew Rist * to you under the Apache License, Version 2.0 (the
11*226a8927SAndrew Rist * "License"); you may not use this file except in compliance
12*226a8927SAndrew Rist * with the License.  You may obtain a copy of the License at
13*226a8927SAndrew Rist *
14*226a8927SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
15*226a8927SAndrew Rist *
16*226a8927SAndrew Rist * Unless required by applicable law or agreed to in writing,
17*226a8927SAndrew Rist * software distributed under the License is distributed on an
18*226a8927SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*226a8927SAndrew Rist * KIND, either express or implied.  See the License for the
20*226a8927SAndrew Rist * specific language governing permissions and limitations
21*226a8927SAndrew Rist * under the License.
22*226a8927SAndrew Rist *
23*226a8927SAndrew Rist ***********************************************************-->
24*226a8927SAndrew Rist
25*226a8927SAndrew Rist
26cdf0e10cSrcweir
27cdf0e10cSrcweir
28cdf0e10cSrcweir<meta>
29cdf0e10cSrcweir<topic id="textsharedguideline_intextxml" indexer="include">
30cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Drawing Lines in Text</title>
31cdf0e10cSrcweir<filename>/text/shared/guide/line_intext.xhp</filename>
32cdf0e10cSrcweir</topic>
33cdf0e10cSrcweir</meta>
34cdf0e10cSrcweir<body>
35cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3143206"><bookmark_value>arrows; drawing in text</bookmark_value>
36cdf0e10cSrcweir<bookmark_value>indicator lines in text</bookmark_value>
37cdf0e10cSrcweir<bookmark_value>lines; drawing in text</bookmark_value>
38cdf0e10cSrcweir<bookmark_value>lines; removing automatic lines</bookmark_value>
39cdf0e10cSrcweir<bookmark_value>deleting; lines in text</bookmark_value>
40cdf0e10cSrcweir<bookmark_value>drawing lines in text</bookmark_value>
41cdf0e10cSrcweir<bookmark_value>automatic lines/borders in text</bookmark_value>
42cdf0e10cSrcweir</bookmark>
43cdf0e10cSrcweir<paragraph role="heading" id="hd_id3143206" xml-lang="en-US" level="1" l10n="U" oldref="36"><variable id="line_intext"><link href="text/shared/guide/line_intext.xhp" name="Drawing Lines in Text">Drawing Lines in Text</link>
44cdf0e10cSrcweir</variable></paragraph>
45cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3144436" xml-lang="en-US" l10n="U" oldref="37">You can incorporate lines into your text with custom angles, width, color, and other attributes.</paragraph>
46cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3153345" xml-lang="en-US" l10n="U" oldref="39">To define the line attributes and direction, use the <emph>Line</emph> drawing object as follows:</paragraph>
47cdf0e10cSrcweir<table id="tbl_id3153031">
48cdf0e10cSrcweir<tablerow>
49cdf0e10cSrcweir<tablecell>
50cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3156113" xml-lang="en-US" l10n="E">
51cdf0e10cSrcweir<image id="img_id3166410" src="res/commandimagelist/sc_insertdraw.png" width="0.2228in" height="0.2228in"><alt id="alt_id3166410" xml-lang="en-US">Icon</alt>
52cdf0e10cSrcweir	</image></paragraph>
53cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3152780" xml-lang="en-US" l10n="E">
54cdf0e10cSrcweir<image id="img_id3154285" src="res/commandimagelist/sc_line.png" width="0.2228in" height="0.2228in"><alt id="alt_id3154285" xml-lang="en-US">Icon</alt>
55cdf0e10cSrcweir	</image></paragraph>
56cdf0e10cSrcweir</tablecell>
57cdf0e10cSrcweir<tablecell>
58cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3153254" xml-lang="en-US" l10n="U" oldref="66">1.</paragraph>
59cdf0e10cSrcweir</tablecell>
60cdf0e10cSrcweir<tablecell>
61cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3159400" xml-lang="en-US" l10n="CHG" oldref="41">On the Standard bar, click the <emph>Show Draw Functions </emph>icon to open the <emph>Drawing </emph>toolbar, and click the <emph>Line</emph> icon. The mouse pointer changes to a cross-hair symbol with a line beside it.</paragraph>
62cdf0e10cSrcweir</tablecell>
63cdf0e10cSrcweir</tablerow>
64cdf0e10cSrcweir<tablerow>
65cdf0e10cSrcweir<tablecell>
66cdf0e10cSrcweir</tablecell>
67cdf0e10cSrcweir<tablecell>
68cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3156117" xml-lang="en-US" l10n="U" oldref="67">2.</paragraph>
69cdf0e10cSrcweir</tablecell>
70cdf0e10cSrcweir<tablecell>
71cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3152472" xml-lang="en-US" l10n="U" oldref="42">In your document, click where the line should begin. Hold down the mouse button and drag to the point where you want the line to end. If you also hold down the Shift key, you can draw only horizontal, vertical, and diagonal lines.</paragraph>
72cdf0e10cSrcweir</tablecell>
73cdf0e10cSrcweir</tablerow>
74cdf0e10cSrcweir<tablerow>
75cdf0e10cSrcweir<tablecell>
76cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149294" xml-lang="en-US" l10n="E">
77cdf0e10cSrcweir<image id="img_id3159413" src="res/commandimagelist/sc_drawselect.png" width="0.2228in" height="0.2228in"><alt id="alt_id3159413" xml-lang="en-US">Icon</alt>
78cdf0e10cSrcweir	</image></paragraph>
79cdf0e10cSrcweir</tablecell>
80cdf0e10cSrcweir<tablecell>
81cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3151056" xml-lang="en-US" l10n="U" oldref="68">3.</paragraph>
82cdf0e10cSrcweir</tablecell>
83cdf0e10cSrcweir<tablecell>
84cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3153361" xml-lang="en-US" l10n="CHG" oldref="43">Release the mouse button once the line has the desired direction and length. You can then draw more lines. End this function by pressing the Esc key or by clicking the <emph>Select</emph> icon from the <emph>Drawing </emph>bar.</paragraph>
85cdf0e10cSrcweir</tablecell>
86cdf0e10cSrcweir</tablerow>
87cdf0e10cSrcweir<tablerow>
88cdf0e10cSrcweir<tablecell>
89cdf0e10cSrcweir</tablecell>
90cdf0e10cSrcweir<tablecell>
91cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="69">4.</paragraph>
92cdf0e10cSrcweir</tablecell>
93cdf0e10cSrcweir<tablecell>
94cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US" l10n="U" oldref="44">After clicking the <emph>Select</emph> icon, you can select all of the lines at the same time by clicking each line while holding down the Shift key. This multiple selection enables you to assign all of them a common color, width or other attribute.</paragraph>
95cdf0e10cSrcweir</tablecell>
96cdf0e10cSrcweir</tablerow>
97cdf0e10cSrcweir</table>
98cdf0e10cSrcweir
99cdf0e10cSrcweir<list type="ordered">
100cdf0e10cSrcweir<listitem>
101cdf0e10cSrcweir<paragraph role="listitem" id="par_id3153049" xml-lang="en-US" l10n="CHG" oldref="38">Create a horizontal line by applying the preset Paragraph Style <emph>Horizontal Line</emph>. Click into an empty paragraph, and double-click the <emph>Horizontal Line</emph> Style in the <emph>Styles and Formatting</emph> window. If the entry for horizontal lines is not visible in the list of Paragraph Styles, select "All Styles" in the lower listbox.</paragraph>
102cdf0e10cSrcweir</listitem>
103cdf0e10cSrcweir<listitem>
104cdf0e10cSrcweir<paragraph role="listitem" id="par_id3153748" xml-lang="en-US" l10n="CHG" oldref="64">You can draw a line above, beside or below a paragraph in a Writer text document by choosing <emph>Format - Paragraph - </emph><link href="text/shared/01/05030500.xhp" name="Borders"><emph>Borders</emph></link>.</paragraph>
105cdf0e10cSrcweir</listitem>
106cdf0e10cSrcweir</list>
107cdf0e10cSrcweir<paragraph role="heading" id="par_idN107C6" xml-lang="en-US" level="2" l10n="CHG">Automatic lines in Writer</paragraph>
108cdf0e10cSrcweir<list type="ordered">
109cdf0e10cSrcweir<listitem>
110cdf0e10cSrcweir<paragraph role="listitem" id="par_idN107CC" xml-lang="en-US" l10n="CHG">If you start a new line in a Writer text document by typing three or more hyphen characters and press the Enter key, the characters are removed and the previous paragraph gets a line as a bottom border.</paragraph>
111cdf0e10cSrcweir<paragraph role="paragraph" id="par_id8849452" xml-lang="en-US" l10n="NEW">To create a single line, type three or more hyphens (-), or underscores ( _ ), and then press Enter. To create a double line, type three or more equal signs (=), asterisks (*), tildes (~), or hash marks (#), and then press Enter.</paragraph>
112cdf0e10cSrcweir</listitem>
113cdf0e10cSrcweir<listitem>
114cdf0e10cSrcweir<paragraph role="listitem" id="par_idN107D0" xml-lang="en-US" l10n="CHG">To remove an automatically drawn border, choose <emph>Format - Paragraph - Borders</emph> and select no border.</paragraph>
115cdf0e10cSrcweir</listitem>
116cdf0e10cSrcweir<listitem>
117cdf0e10cSrcweir<paragraph role="listitem" id="par_idN107D8" xml-lang="en-US" l10n="NEW">To undo an automatic border replacement once, choose <emph>Edit - Undo</emph>.</paragraph>
118cdf0e10cSrcweir</listitem>
119cdf0e10cSrcweir<listitem>
120cdf0e10cSrcweir<paragraph role="listitem" id="par_idN107E0" xml-lang="en-US" l10n="NEW">To disable the automatic borders, choose <emph>Tools - AutoCorrect Options - Options</emph> and clear <emph>Apply border</emph>.</paragraph>
121cdf0e10cSrcweir</listitem>
122cdf0e10cSrcweir</list>
123cdf0e10cSrcweir<paragraph role="warning" id="par_id3145787" xml-lang="en-US" l10n="U" oldref="45">The lines and other drawing objects that you insert in text are not defined in <link href="text/shared/00/00000002.xhp#html" name="HTML">HTML</link>, and are therefore not exported directly into HTML format. Instead, they are exported as graphics.</paragraph>
124cdf0e10cSrcweir<paragraph role="tip" id="par_id641804" xml-lang="en-US" l10n="NEW">When you enter a line width, you can append a measurement unit. A zero line width results in a hairline with a width of one pixel of the output medium.</paragraph>
125cdf0e10cSrcweir<embed href="text/shared/00/00000004.xhp#related"/>
126cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3154188" xml-lang="en-US" l10n="U" oldref="65"><link href="text/shared/01/05030500.xhp" name="Format - Paragraph - Borders">Format - Paragraph - Borders</link></paragraph>
127cdf0e10cSrcweir<embed href="text/swriter/guide/insert_line.xhp#insert_line"/>
128cdf0e10cSrcweir<embed href="text/shared/guide/linestyles.xhp#linestyles"/>
129cdf0e10cSrcweir</body>
130cdf0e10cSrcweir</helpdocument>
131