1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?>
2*b1cdbd2cSJim Jagielski<helpdocument version="1.0">
3*b1cdbd2cSJim Jagielski
4*b1cdbd2cSJim Jagielski<!--***********************************************************
5*b1cdbd2cSJim Jagielski *
6*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one
7*b1cdbd2cSJim Jagielski * or more contributor license agreements.  See the NOTICE file
8*b1cdbd2cSJim Jagielski * distributed with this work for additional information
9*b1cdbd2cSJim Jagielski * regarding copyright ownership.  The ASF licenses this file
10*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the
11*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance
12*b1cdbd2cSJim Jagielski * with the License.  You may obtain a copy of the License at
13*b1cdbd2cSJim Jagielski *
14*b1cdbd2cSJim Jagielski *   http://www.apache.org/licenses/LICENSE-2.0
15*b1cdbd2cSJim Jagielski *
16*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing,
17*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an
18*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*b1cdbd2cSJim Jagielski * KIND, either express or implied.  See the License for the
20*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations
21*b1cdbd2cSJim Jagielski * under the License.
22*b1cdbd2cSJim Jagielski *
23*b1cdbd2cSJim Jagielski ***********************************************************-->
24*b1cdbd2cSJim Jagielski
25*b1cdbd2cSJim Jagielski
26*b1cdbd2cSJim Jagielski
27*b1cdbd2cSJim Jagielski
28*b1cdbd2cSJim Jagielski<meta>
29*b1cdbd2cSJim Jagielski<topic id="textsharedguideline_intextxml" indexer="include">
30*b1cdbd2cSJim Jagielski<title id="tit" xml-lang="en-US">Drawing Lines in Text</title>
31*b1cdbd2cSJim Jagielski<filename>/text/shared/guide/line_intext.xhp</filename>
32*b1cdbd2cSJim Jagielski</topic>
33*b1cdbd2cSJim Jagielski</meta>
34*b1cdbd2cSJim Jagielski<body>
35*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="index" id="bm_id3143206"><bookmark_value>arrows; drawing in text</bookmark_value>
36*b1cdbd2cSJim Jagielski<bookmark_value>indicator lines in text</bookmark_value>
37*b1cdbd2cSJim Jagielski<bookmark_value>lines; drawing in text</bookmark_value>
38*b1cdbd2cSJim Jagielski<bookmark_value>lines; removing automatic lines</bookmark_value>
39*b1cdbd2cSJim Jagielski<bookmark_value>deleting; lines in text</bookmark_value>
40*b1cdbd2cSJim Jagielski<bookmark_value>drawing lines in text</bookmark_value>
41*b1cdbd2cSJim Jagielski<bookmark_value>automatic lines/borders in text</bookmark_value>
42*b1cdbd2cSJim Jagielski</bookmark>
43*b1cdbd2cSJim Jagielski<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>
44*b1cdbd2cSJim Jagielski</variable></paragraph>
45*b1cdbd2cSJim Jagielski<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>
46*b1cdbd2cSJim Jagielski<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>
47*b1cdbd2cSJim Jagielski<table id="tbl_id3153031">
48*b1cdbd2cSJim Jagielski<tablerow>
49*b1cdbd2cSJim Jagielski<tablecell>
50*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3156113" xml-lang="en-US" l10n="E">
51*b1cdbd2cSJim Jagielski<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>
52*b1cdbd2cSJim Jagielski	</image></paragraph>
53*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3152780" xml-lang="en-US" l10n="E">
54*b1cdbd2cSJim Jagielski<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>
55*b1cdbd2cSJim Jagielski	</image></paragraph>
56*b1cdbd2cSJim Jagielski</tablecell>
57*b1cdbd2cSJim Jagielski<tablecell>
58*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3153254" xml-lang="en-US" l10n="U" oldref="66">1.</paragraph>
59*b1cdbd2cSJim Jagielski</tablecell>
60*b1cdbd2cSJim Jagielski<tablecell>
61*b1cdbd2cSJim Jagielski<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>
62*b1cdbd2cSJim Jagielski</tablecell>
63*b1cdbd2cSJim Jagielski</tablerow>
64*b1cdbd2cSJim Jagielski<tablerow>
65*b1cdbd2cSJim Jagielski<tablecell>
66*b1cdbd2cSJim Jagielski</tablecell>
67*b1cdbd2cSJim Jagielski<tablecell>
68*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3156117" xml-lang="en-US" l10n="U" oldref="67">2.</paragraph>
69*b1cdbd2cSJim Jagielski</tablecell>
70*b1cdbd2cSJim Jagielski<tablecell>
71*b1cdbd2cSJim Jagielski<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>
72*b1cdbd2cSJim Jagielski</tablecell>
73*b1cdbd2cSJim Jagielski</tablerow>
74*b1cdbd2cSJim Jagielski<tablerow>
75*b1cdbd2cSJim Jagielski<tablecell>
76*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3149294" xml-lang="en-US" l10n="E">
77*b1cdbd2cSJim Jagielski<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>
78*b1cdbd2cSJim Jagielski	</image></paragraph>
79*b1cdbd2cSJim Jagielski</tablecell>
80*b1cdbd2cSJim Jagielski<tablecell>
81*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3151056" xml-lang="en-US" l10n="U" oldref="68">3.</paragraph>
82*b1cdbd2cSJim Jagielski</tablecell>
83*b1cdbd2cSJim Jagielski<tablecell>
84*b1cdbd2cSJim Jagielski<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>
85*b1cdbd2cSJim Jagielski</tablecell>
86*b1cdbd2cSJim Jagielski</tablerow>
87*b1cdbd2cSJim Jagielski<tablerow>
88*b1cdbd2cSJim Jagielski<tablecell>
89*b1cdbd2cSJim Jagielski</tablecell>
90*b1cdbd2cSJim Jagielski<tablecell>
91*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="69">4.</paragraph>
92*b1cdbd2cSJim Jagielski</tablecell>
93*b1cdbd2cSJim Jagielski<tablecell>
94*b1cdbd2cSJim Jagielski<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>
95*b1cdbd2cSJim Jagielski</tablecell>
96*b1cdbd2cSJim Jagielski</tablerow>
97*b1cdbd2cSJim Jagielski</table>
98*b1cdbd2cSJim Jagielski
99*b1cdbd2cSJim Jagielski<list type="ordered">
100*b1cdbd2cSJim Jagielski<listitem>
101*b1cdbd2cSJim Jagielski<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>
102*b1cdbd2cSJim Jagielski</listitem>
103*b1cdbd2cSJim Jagielski<listitem>
104*b1cdbd2cSJim Jagielski<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>
105*b1cdbd2cSJim Jagielski</listitem>
106*b1cdbd2cSJim Jagielski</list>
107*b1cdbd2cSJim Jagielski<paragraph role="heading" id="par_idN107C6" xml-lang="en-US" level="2" l10n="CHG">Automatic lines in Writer</paragraph>
108*b1cdbd2cSJim Jagielski<list type="ordered">
109*b1cdbd2cSJim Jagielski<listitem>
110*b1cdbd2cSJim Jagielski<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>
111*b1cdbd2cSJim Jagielski<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>
112*b1cdbd2cSJim Jagielski</listitem>
113*b1cdbd2cSJim Jagielski<listitem>
114*b1cdbd2cSJim Jagielski<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>
115*b1cdbd2cSJim Jagielski</listitem>
116*b1cdbd2cSJim Jagielski<listitem>
117*b1cdbd2cSJim Jagielski<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>
118*b1cdbd2cSJim Jagielski</listitem>
119*b1cdbd2cSJim Jagielski<listitem>
120*b1cdbd2cSJim Jagielski<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>
121*b1cdbd2cSJim Jagielski</listitem>
122*b1cdbd2cSJim Jagielski</list>
123*b1cdbd2cSJim Jagielski<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>
124*b1cdbd2cSJim Jagielski<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>
125*b1cdbd2cSJim Jagielski<embed href="text/shared/00/00000004.xhp#related"/>
126*b1cdbd2cSJim Jagielski<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>
127*b1cdbd2cSJim Jagielski<embed href="text/swriter/guide/insert_line.xhp#insert_line"/>
128*b1cdbd2cSJim Jagielski<embed href="text/shared/guide/linestyles.xhp#linestyles"/>
129*b1cdbd2cSJim Jagielski</body>
130*b1cdbd2cSJim Jagielski</helpdocument>
131