summaryrefslogtreecommitdiffstats
path: root/source/text/swriter/guide/borders.xhp
blob: affeb7e5c5010e7239e1f89026f5b21b0154462c (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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<?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="textswriterguidebordersxhp" indexer="include" status="PUBLISH">
         <title xml-lang="en-US" id="tit">User Defined Borders in Text Documents </title>
         <filename>/text/swriter/guide/borders.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark xml-lang="en-US" branch="index" id="bm_id6737876"><bookmark_value>borders;for text tables</bookmark_value>
      <bookmark_value>cells;borders in text tables</bookmark_value>
      <bookmark_value>defining;table borders in Writer</bookmark_value>
      <bookmark_value>frames;around text tables</bookmark_value>
      <bookmark_value>tables;defining borders</bookmark_value>
</bookmark><comment>MW changed "text tables;" to "tables;"</comment>
<paragraph xml-lang="en-US" id="hd_id3614917" role="heading" level="1"><variable id="borders"><link href="text/swriter/guide/borders.xhp">User Defined Borders in Text Documents</link>
</variable></paragraph>
      <paragraph xml-lang="en-US" id="par_id1069368" role="paragraph">You can apply a variety of different cell borders to selected cells in a Writer table and to the whole table. Other objects in text documents can have user defined borders, too. For example, you can assign borders to page styles, to frames, and to inserted pictures or charts.</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id6527298" role="paragraph">Select the cell or a block of cells in a Writer table.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id6129947" role="paragraph">Choose <item type="menuitem">Table - Properties</item>.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id8141117" role="paragraph">In the dialog, click the <emph>Borders</emph> tab.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id6016418" role="paragraph">Choose the border options you want to apply and click OK.</paragraph>
         </listitem>
      </list>
      <paragraph xml-lang="en-US" id="par_id5282448" role="paragraph">The options in the <emph>Line arrangement</emph> area can be used to apply multiple border styles.</paragraph>
      <paragraph xml-lang="en-US" id="hd_id3547166" role="heading" level="2">Selection of cells</paragraph>
      <paragraph xml-lang="en-US" id="par_id1108432" role="paragraph">Depending on the selection of cells, the area looks different.</paragraph>
      <table id="tbl_id4423352">
         <tablerow>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id2422559" role="tablehead">Selection</paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id1053498" role="tablehead">Line arrangement area</paragraph>
            </tablecell>
         </tablerow>
         <tablerow>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id1076998" role="tablecontent">One cell selected in a table that has more than one cells, or cursor inside a table with no cell selected</paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id4240241" role="tablecontent">
<image id="img_id1058992" src="media/helpimg/border_wr_1.png" width="1.4071in" height="1.7791in"><alt xml-lang="en-US" id="alt_id1058992">one cell border</alt>
	</image></paragraph>
            </tablecell>
         </tablerow>
         <tablerow>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id162053" role="tablecontent">A one cell table, the cell is selected</paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id5021820" role="tablecontent">
<image id="img_id7366557" src="media/helpimg/border_wr_2.png" width="1.4071in" height="1.7791in"><alt xml-lang="en-US" id="alt_id7366557">one selected cell border</alt>
	</image></paragraph>
            </tablecell>
         </tablerow>
         <tablerow>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id3549607" role="tablecontent">Cells in a column selected</paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id2544328" role="tablecontent">
<image id="img_id2298654" src="media/helpimg/border_wr_3.png" width="1.4071in" height="1.7791in"><alt xml-lang="en-US" id="alt_id2298654">column selected border</alt>
	</image></paragraph>
            </tablecell>
         </tablerow>
         <tablerow>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id1636402" role="tablecontent">Cells in a row selected</paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id7450483" role="tablecontent">
<image id="img_id9033783" src="media/helpimg/border_wr_4.png" width="1.4071in" height="1.7791in"><alt xml-lang="en-US" id="alt_id9033783">row selected border</alt>
	</image></paragraph>
            </tablecell>
         </tablerow>
         <tablerow>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id5741752" role="tablecontent">A whole table of 2x2 or more cells selected</paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id570085" role="tablecontent">
<image id="img_id4776757" src="media/helpimg/border_wr_5.png" width="1.4071in" height="1.7791in"><alt xml-lang="en-US" id="alt_id4776757">block selected border</alt>
	</image></paragraph>
            </tablecell>
         </tablerow>
      </table>

      <paragraph xml-lang="en-US" id="hd_id5044099" role="heading" level="2">Default settings</paragraph>
      <paragraph xml-lang="en-US" id="par_id626544" role="paragraph">Click one of the <emph>Default</emph> icons to set or reset multiple borders.</paragraph>
      <list type="unordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id292062" role="listitem">The thin gray lines inside an icon show the borders that will be reset or cleared.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id1361735" role="listitem">The dark lines inside an icon show the lines that will be set using the selected line style and color.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id82399" role="listitem">The thick gray lines inside an icon show the lines that will not be changed.</paragraph>
         </listitem>
      </list>
      <paragraph xml-lang="en-US" id="hd_id7144993" role="heading" level="3">Examples</paragraph>
      <paragraph xml-lang="en-US" id="par_id5528427" role="paragraph">Select a block of about 8x8 cells, then choose <emph>Format - Cells - Borders</emph>.</paragraph>
      <paragraph xml-lang="en-US" id="par_id4194158" role="paragraph">
<image id="img_id8221076" src="media/helpimg/border_ca_5.png" width="1.2209in" height="0.2445in"><alt xml-lang="en-US" id="alt_id8221076">default icons for borders</alt>
	</image></paragraph>
      <list type="unordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id7253028" role="listitem">Click the left icon to clear all lines. This removes all outer borders and all inner lines.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id9441206" role="listitem">Click the second icon from the left to set an outer border and to remove all other lines.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id7276833" role="listitem">Click the rightmost icon to set an outer border. The inner lines are not changed.</paragraph>
         </listitem>
      </list>
      <paragraph xml-lang="en-US" id="par_id5273293" role="paragraph">Now you can continue to see which lines the other icons will set or remove.</paragraph>
      <paragraph xml-lang="en-US" id="hd_id5110019" role="heading" level="2">User defined settings</paragraph>
      <paragraph xml-lang="en-US" id="par_id1820734" role="paragraph">In the <emph>User defined</emph> area, you can click to set or remove individual lines. The preview shows lines in three different states. </paragraph>
      <paragraph xml-lang="en-US" id="par_id7093111" role="paragraph">Repeatedly click an edge or a corner to switch through the three different states.</paragraph>
      <table id="tbl_id5196996">
         <tablerow>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id3673818" role="tablehead">Line types</paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id2593768" role="tablehead">Image</paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id2055421" role="tablehead">Meaning</paragraph>
            </tablecell>
         </tablerow>
         <tablerow>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id9836115" role="tablecontent">A black line</paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id6485793" role="tablecontent">
<image id="img_id1237525" src="media/helpimg/border_wr_6.png" width="1.4071in" height="1.2555in"><alt xml-lang="en-US" id="alt_id1237525">solid line for border</alt>
	</image></paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id1454512" role="tablecontent">A black line sets the corresponding line of the selected cells. The line is shown as a dotted line when you choose the 0.05 pt line style. Double lines are shown when you select a double line style.</paragraph>
            </tablecell>
         </tablerow>
         <tablerow>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id4618671" role="tablecontent">A gray line</paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id1239356" role="tablecontent">
<image id="img_id2688680" src="media/helpimg/border_wr_7.png" width="1.4071in" height="1.2555in"><alt xml-lang="en-US" id="alt_id2688680">gray line for border</alt>
	</image></paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id9474166" role="tablecontent">A gray line is shown when the corresponding line of the selected cells will not be changed. No line will be set or removed at this position.</paragraph>
            </tablecell>
         </tablerow>
         <tablerow>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id1545457" role="tablecontent">A white line</paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id1681875" role="tablecontent">
<image id="img_id7340617" src="media/helpimg/border_wr_8.png" width="1.4071in" height="1.2555in"><alt xml-lang="en-US" id="alt_id7340617">white line for border</alt>
	</image></paragraph>
            </tablecell>
            <tablecell>
               <paragraph xml-lang="en-US" id="par_id2316660" role="tablecontent">A white line is shown when the corresponding line of the selected cells will be removed.</paragraph>
            </tablecell>
         </tablerow>
      </table>

      <paragraph xml-lang="en-US" id="hd_id5908688" role="heading" level="3">Examples</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id5118564" role="paragraph">Select a single cell in a Writer table, then choose <emph>Table - Properties - Borders</emph>.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id244758" role="paragraph">Select a thick line style.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id7741325" role="paragraph">To set a lower border, click the lower edge repeatedly until you see a thick line.</paragraph>
         </listitem>
      </list>
      <paragraph xml-lang="en-US" id="par_id542313" role="paragraph">
<image id="img_id4273506" src="media/helpimg/border_wr_6.png" width="1.4071in" height="1.2555in"><alt xml-lang="en-US" id="alt_id4273506">setting thick lower border</alt>
	</image></paragraph>
      <paragraph xml-lang="en-US" id="par_id2210760" role="note">All cells in a Writer table have at least a left and a lower line by default. Most cells on the table perimeter have more lines applied by default. </paragraph>
      <paragraph xml-lang="en-US" id="par_id5400860" role="warning">All lines that are shown in white in the preview will be removed from the cell.</paragraph>
<switch select="appl">
<case select="CALC"><embed href="text/scalc/guide/borders.xhp#borders"/>
</case>
</switch>
      <embed href="text/swriter/guide/border_character.xhp#border_character"/>
      <embed href="text/swriter/guide/border_page.xhp#border_page"/>
      <embed href="text/shared/guide/border_paragraph.xhp#border_paragraph"/>
   </body>
</helpdocument>