summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/shared/guide/line_intext.xhp
blob: 06575b38994cdbee46e0e101c77a0e5f2bcbea93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
	
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
 
	
<meta>
<topic id="textsharedguideline_intextxml" indexer="include">
<title id="tit" xml-lang="en-US">Drawing Lines in Text</title>
<filename>/text/shared/guide/line_intext.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3143206"><bookmark_value>arrows; drawing in text</bookmark_value>
<bookmark_value>indicator lines in text</bookmark_value>
<bookmark_value>lines; drawing in text</bookmark_value>
<bookmark_value>lines; removing automatic lines</bookmark_value>
<bookmark_value>deleting; lines in text</bookmark_value>
<bookmark_value>drawing lines in text</bookmark_value>
<bookmark_value>automatic lines/borders in text</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3143206" xml-lang="en-US" level="1"><variable id="line_intext"><link href="text/shared/guide/line_intext.xhp" name="Drawing Lines in Text">Drawing Lines in Text</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id3144436" xml-lang="en-US">You can incorporate lines into your text with custom angles, width, color, and other attributes.</paragraph>
<paragraph role="paragraph" id="par_id3153345" xml-lang="en-US">To define the line attributes and direction, use the <emph>Line</emph> drawing object as follows:</paragraph>
<table id="tbl_id3153031">
<tablerow>
<tablecell>
<paragraph role="paragraph" id="par_id3156113" xml-lang="en-US">
<image id="img_id3166410" src="cmd/sc_insertdraw.png" width="0.2228in" height="0.2228in"><alt id="alt_id3166410" xml-lang="en-US">Icon</alt>
	</image></paragraph>
<paragraph role="paragraph" id="par_id3152780" xml-lang="en-US">
<image id="img_id3154285" src="cmd/sc_line.png" width="0.2228in" height="0.2228in"><alt id="alt_id3154285" xml-lang="en-US">Icon</alt>
	</image></paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id3153254" xml-lang="en-US">1.</paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id3159400" xml-lang="en-US">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>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id3156117" xml-lang="en-US">2.</paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id3152472" xml-lang="en-US">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>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph role="paragraph" id="par_id3149294" xml-lang="en-US">
<image id="img_id3159413" src="cmd/sc_drawselect.png" width="0.2228in" height="0.2228in"><alt id="alt_id3159413" xml-lang="en-US">Icon</alt>
	</image></paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id3151056" xml-lang="en-US">3.</paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id3153361" xml-lang="en-US">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>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US">4.</paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US">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>
</tablecell>
</tablerow>
</table>

<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3153049" xml-lang="en-US">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</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>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153748" xml-lang="en-US">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>
</listitem>
</list>
<paragraph role="heading" id="par_idN107C6" xml-lang="en-US" level="2">Automatic lines in Writer</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_idN107CC" xml-lang="en-US">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>
<paragraph role="paragraph" id="par_id8849452" xml-lang="en-US">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>
</listitem>
<listitem>
<paragraph role="listitem" id="par_idN107D0" xml-lang="en-US">To remove an automatically drawn border, choose <emph>Format - Paragraph - Borders</emph> and select no border.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_idN107D8" xml-lang="en-US">To undo an automatic border replacement once, choose <emph>Edit - Undo</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_idN107E0" xml-lang="en-US">To disable the automatic borders, choose <emph>Tools - AutoCorrect - AutoCorrect Options - Options</emph> and clear <emph>Apply border</emph>.</paragraph>
</listitem>
</list>
<paragraph role="warning" id="par_id3145787" xml-lang="en-US">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>
<paragraph role="tip" id="par_id641804" xml-lang="en-US">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>
<embed href="text/shared/00/00000004.xhp#related"/>
<paragraph role="paragraph" id="par_id3154188" xml-lang="en-US"><link href="text/shared/01/05030500.xhp" name="Format - Paragraph - Borders">Format - Paragraph - Borders</link></paragraph>
<embed href="text/shared/guide/linestyles.xhp#linestyles"/>
</body>
</helpdocument>