summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/shared/guide/line_intext.xhp
blob: 4c77f7d977acdd52faaf452947d5a6a32635e235 (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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?xml version="1.0" encoding="UTF-8"?>
<!--
 ***********************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: line_intext.xhp,v $
 *
 *  $Revision: 1.10 $
 *
 *  last change: $Author: vg $ $Date: 2007-02-07 11:44:22 $
 *
 *  The Contents of this file are made available subject to
 *  the terms of GNU Lesser General Public License Version 2.1.
 *
 *
 *    GNU Lesser General Public License Version 2.1
 *    =============================================
 *    Copyright 2005 by Sun Microsystems, Inc.
 *    901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License version 2.1, as published by the Free Software Foundation.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 *
 *    You should have received a copy of the GNU Lesser General Public
 *    License along with this library; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *    MA  02111-1307  USA
 *
 ************************************************************************
 -->
	
<helpdocument version="1.0">
<meta>
<topic id="textsharedguideline_intextxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Drawing Lines in Text</title>
<filename>/text/shared/guide/line_intext.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2006-11-10T15:23:40">converted from old format - fpe</lastedited>
</history>
</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" 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>
</variable></paragraph>
<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>
<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>
<table id="tbl_id3153031">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3156113" xml-lang="en-US" l10n="E">
<image id="img_id3166410" src="res/commandimagelist/sc_insertdraw.png" width="0.222inch" height="0.222inch"><alt id="alt_id3166410" xml-lang="en-US">Icon</alt>
	</image></paragraph>
<paragraph role="paragraph" id="par_id3152780" xml-lang="en-US" l10n="E">
<image id="img_id3154285" src="res/commandimagelist/sc_line.png" width="0.222inch" height="0.222inch"><alt id="alt_id3154285" xml-lang="en-US">Icon</alt>
	</image></paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3153254" xml-lang="en-US" l10n="U" oldref="66">1.</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<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>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3156117" xml-lang="en-US" l10n="U" oldref="67">2.</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<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>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3149294" xml-lang="en-US" l10n="E">
<image id="img_id3159413" src="res/commandimagelist/sc_drawselect.png" width="0.222inch" height="0.222inch"><alt id="alt_id3159413" xml-lang="en-US">Icon</alt>
	</image></paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3151056" xml-lang="en-US" l10n="U" oldref="68">3.</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<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>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="69">4.</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<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>
</tablecell>
</tablerow>
</table>
<list type="unordered">
<listitem>
<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>
</listitem>
<listitem>
<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>
</listitem>
</list>
<paragraph role="heading" id="par_idN107C6" xml-lang="en-US" level="2" l10n="CHG">Automatic lines in Writer</paragraph>
<list type="unordered">
<listitem>
<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 <item type="keycode">Enter</item> 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" 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>
</listitem>
<listitem>
<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>
</listitem>
<listitem>
<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>
</listitem>
<listitem>
<paragraph role="listitem" id="par_idN107E0" xml-lang="en-US" l10n="NEW">To disable the automatic borders, choose <emph>Tools - AutoCorrect - Options</emph> and clear <emph>Apply border</emph>.</paragraph>
</listitem>
</list>
<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>
<embed href="text/shared/00/00000004.xhp#related"/>
<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>
<embed href="text/swriter/guide/insert_line.xhp#insert_line"/>
<embed href="text/shared/guide/linestyles.xhp#linestyles"/>
</body>
</helpdocument>