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="textswriterguidebordersxhp" indexer="include" status="PUBLISH">
30*b1cdbd2cSJim Jagielski         <title xml-lang="en-US" id="tit">User Defined Borders in Text Documents </title>
31*b1cdbd2cSJim Jagielski         <filename>/text/swriter/guide/borders.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_id6737876"><bookmark_value>borders;for text tables</bookmark_value>
36*b1cdbd2cSJim Jagielski      <bookmark_value>cells;borders in text tables</bookmark_value>
37*b1cdbd2cSJim Jagielski      <bookmark_value>defining;table borders in Writer</bookmark_value>
38*b1cdbd2cSJim Jagielski      <bookmark_value>frames;around text tables</bookmark_value>
39*b1cdbd2cSJim Jagielski      <bookmark_value>tables;defining borders</bookmark_value>
40*b1cdbd2cSJim Jagielski</bookmark><comment>MW changed "text tables;" to "tables;"</comment>
41*b1cdbd2cSJim Jagielski<paragraph xml-lang="en-US" id="hd_id3614917" role="heading" level="1" l10n="NEW"><variable id="borders"><link href="text/swriter/guide/borders.xhp">User Defined Borders in Text Documents</link>
42*b1cdbd2cSJim Jagielski</variable></paragraph>
43*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id1069368" role="paragraph" l10n="NEW">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>
44*b1cdbd2cSJim Jagielski      <list type="ordered">
45*b1cdbd2cSJim Jagielski         <listitem>
46*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id6527298" role="paragraph" l10n="NEW">Select the cell or a block of cells in a Writer table.</paragraph>
47*b1cdbd2cSJim Jagielski         </listitem>
48*b1cdbd2cSJim Jagielski         <listitem>
49*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id6129947" role="paragraph" l10n="NEW">Choose <item type="menuitem">Table - Table properties</item>.</paragraph>
50*b1cdbd2cSJim Jagielski         </listitem>
51*b1cdbd2cSJim Jagielski         <listitem>
52*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id8141117" role="paragraph" l10n="NEW">In the dialog, click the <emph>Borders</emph> tab.</paragraph>
53*b1cdbd2cSJim Jagielski         </listitem>
54*b1cdbd2cSJim Jagielski         <listitem>
55*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id6016418" role="paragraph" l10n="NEW">Choose the border options you want to apply and click OK.</paragraph>
56*b1cdbd2cSJim Jagielski         </listitem>
57*b1cdbd2cSJim Jagielski      </list>
58*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id5282448" role="paragraph" l10n="NEW">The options in the <emph>Line arrangement</emph> area can be used to apply multiple border styles.</paragraph>
59*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id3547166" role="heading" level="2" l10n="NEW">Selection of cells</paragraph>
60*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id1108432" role="paragraph" l10n="NEW">Depending on the selection of cells, the area looks different.</paragraph>
61*b1cdbd2cSJim Jagielski      <table id="tbl_id4423352">
62*b1cdbd2cSJim Jagielski         <tablerow>
63*b1cdbd2cSJim Jagielski            <tablecell>
64*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id2422559" role="tablehead" l10n="NEW">Selection</paragraph>
65*b1cdbd2cSJim Jagielski            </tablecell>
66*b1cdbd2cSJim Jagielski            <tablecell>
67*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id1053498" role="tablehead" l10n="NEW">Line arrangement area</paragraph>
68*b1cdbd2cSJim Jagielski            </tablecell>
69*b1cdbd2cSJim Jagielski         </tablerow>
70*b1cdbd2cSJim Jagielski         <tablerow>
71*b1cdbd2cSJim Jagielski            <tablecell>
72*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id1076998" role="tablecontent" l10n="NEW">One cell selected in a table of more that one cell size, or cursor inside a table with no cell selected</paragraph>
73*b1cdbd2cSJim Jagielski            </tablecell>
74*b1cdbd2cSJim Jagielski            <tablecell>
75*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id4240241" role="tablecontent" l10n="NEW">
76*b1cdbd2cSJim Jagielski<image id="img_id1058992" src="res/helpimg/border_wr_1.png" width="1.4071in" height="1.7791in"><alt xml-lang="en-US" id="alt_id1058992">one cell border</alt>
77*b1cdbd2cSJim Jagielski	</image></paragraph>
78*b1cdbd2cSJim Jagielski            </tablecell>
79*b1cdbd2cSJim Jagielski         </tablerow>
80*b1cdbd2cSJim Jagielski         <tablerow>
81*b1cdbd2cSJim Jagielski            <tablecell>
82*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id162053" role="tablecontent" l10n="NEW">A one cell table, the cell is selected</paragraph>
83*b1cdbd2cSJim Jagielski            </tablecell>
84*b1cdbd2cSJim Jagielski            <tablecell>
85*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id5021820" role="tablecontent" l10n="NEW">
86*b1cdbd2cSJim Jagielski<image id="img_id7366557" src="res/helpimg/border_wr_2.png" width="1.4071in" height="1.7791in"><alt xml-lang="en-US" id="alt_id7366557">one selected cell border</alt>
87*b1cdbd2cSJim Jagielski	</image></paragraph>
88*b1cdbd2cSJim Jagielski            </tablecell>
89*b1cdbd2cSJim Jagielski         </tablerow>
90*b1cdbd2cSJim Jagielski         <tablerow>
91*b1cdbd2cSJim Jagielski            <tablecell>
92*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id3549607" role="tablecontent" l10n="NEW">Cells in a column selected</paragraph>
93*b1cdbd2cSJim Jagielski            </tablecell>
94*b1cdbd2cSJim Jagielski            <tablecell>
95*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id2544328" role="tablecontent" l10n="NEW">
96*b1cdbd2cSJim Jagielski<image id="img_id2298654" src="res/helpimg/border_wr_3.png" width="1.4071in" height="1.7791in"><alt xml-lang="en-US" id="alt_id2298654">column selected border</alt>
97*b1cdbd2cSJim Jagielski	</image></paragraph>
98*b1cdbd2cSJim Jagielski            </tablecell>
99*b1cdbd2cSJim Jagielski         </tablerow>
100*b1cdbd2cSJim Jagielski         <tablerow>
101*b1cdbd2cSJim Jagielski            <tablecell>
102*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id1636402" role="tablecontent" l10n="NEW">Cells in a row selected</paragraph>
103*b1cdbd2cSJim Jagielski            </tablecell>
104*b1cdbd2cSJim Jagielski            <tablecell>
105*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id7450483" role="tablecontent" l10n="NEW">
106*b1cdbd2cSJim Jagielski<image id="img_id9033783" src="res/helpimg/border_wr_4.png" width="1.4071in" height="1.7791in"><alt xml-lang="en-US" id="alt_id9033783">row selected border</alt>
107*b1cdbd2cSJim Jagielski	</image></paragraph>
108*b1cdbd2cSJim Jagielski            </tablecell>
109*b1cdbd2cSJim Jagielski         </tablerow>
110*b1cdbd2cSJim Jagielski         <tablerow>
111*b1cdbd2cSJim Jagielski            <tablecell>
112*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id5741752" role="tablecontent" l10n="NEW">A whole table of 2x2 or more cells selected</paragraph>
113*b1cdbd2cSJim Jagielski            </tablecell>
114*b1cdbd2cSJim Jagielski            <tablecell>
115*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id570085" role="tablecontent" l10n="NEW">
116*b1cdbd2cSJim Jagielski<image id="img_id4776757" src="res/helpimg/border_wr_5.png" width="1.4071in" height="1.7791in"><alt xml-lang="en-US" id="alt_id4776757">block selected border</alt>
117*b1cdbd2cSJim Jagielski	</image></paragraph>
118*b1cdbd2cSJim Jagielski            </tablecell>
119*b1cdbd2cSJim Jagielski         </tablerow>
120*b1cdbd2cSJim Jagielski      </table>
121*b1cdbd2cSJim Jagielski
122*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id5044099" role="heading" level="2" l10n="NEW">Default settings</paragraph>
123*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id626544" role="paragraph" l10n="NEW">Click one of the <emph>Default</emph> icons to set or reset multiple borders.</paragraph>
124*b1cdbd2cSJim Jagielski      <list type="unordered">
125*b1cdbd2cSJim Jagielski         <listitem>
126*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id292062" role="listitem" l10n="NEW">The thin gray lines inside an icon show the borders that will be reset or cleared.</paragraph>
127*b1cdbd2cSJim Jagielski         </listitem>
128*b1cdbd2cSJim Jagielski         <listitem>
129*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id1361735" role="listitem" l10n="NEW">The dark lines inside an icon show the lines that will be set using the selected line style and color.</paragraph>
130*b1cdbd2cSJim Jagielski         </listitem>
131*b1cdbd2cSJim Jagielski         <listitem>
132*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id82399" role="listitem" l10n="NEW">The thick gray lines inside an icon show the lines that will not be changed.</paragraph>
133*b1cdbd2cSJim Jagielski         </listitem>
134*b1cdbd2cSJim Jagielski      </list>
135*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id7144993" role="heading" level="3" l10n="NEW">Examples</paragraph>
136*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id5528427" role="paragraph" l10n="NEW">Select a block of about 8x8 cells, then choose <emph>Format - Cells - Borders</emph>.</paragraph>
137*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id4194158" role="paragraph" l10n="NEW">
138*b1cdbd2cSJim Jagielski<image id="img_id8221076" src="res/helpimg/border_ca_5.png" width="1.2209in" height="0.2445in"><alt xml-lang="en-US" id="alt_id8221076">default icons for borders</alt>
139*b1cdbd2cSJim Jagielski	</image></paragraph>
140*b1cdbd2cSJim Jagielski      <list type="unordered">
141*b1cdbd2cSJim Jagielski         <listitem>
142*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id7253028" role="listitem" l10n="NEW">Click the left icon to clear all lines. This removes all outer borders and all inner lines.</paragraph>
143*b1cdbd2cSJim Jagielski         </listitem>
144*b1cdbd2cSJim Jagielski         <listitem>
145*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id9441206" role="listitem" l10n="NEW">Click the second icon from the left to set an outer border and to remove all other lines.</paragraph>
146*b1cdbd2cSJim Jagielski         </listitem>
147*b1cdbd2cSJim Jagielski         <listitem>
148*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id7276833" role="listitem" l10n="NEW">Click the rightmost icon to set an outer border. The inner lines are not changed.</paragraph>
149*b1cdbd2cSJim Jagielski         </listitem>
150*b1cdbd2cSJim Jagielski      </list>
151*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id5273293" role="paragraph" l10n="NEW">Now you can continue to see which lines the other icons will set or remove.</paragraph>
152*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id5110019" role="heading" level="2" l10n="NEW">User defined settings</paragraph>
153*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id1820734" role="paragraph" l10n="NEW">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>
154*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id7093111" role="paragraph" l10n="NEW">Repeatedly click an edge or a corner to switch through the three different states.</paragraph>
155*b1cdbd2cSJim Jagielski      <table id="tbl_id5196996">
156*b1cdbd2cSJim Jagielski         <tablerow>
157*b1cdbd2cSJim Jagielski            <tablecell>
158*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id3673818" role="tablehead" l10n="NEW">Line types</paragraph>
159*b1cdbd2cSJim Jagielski            </tablecell>
160*b1cdbd2cSJim Jagielski            <tablecell>
161*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id2593768" role="tablehead" l10n="NEW">Image</paragraph>
162*b1cdbd2cSJim Jagielski            </tablecell>
163*b1cdbd2cSJim Jagielski            <tablecell>
164*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id2055421" role="tablehead" l10n="NEW">Meaning</paragraph>
165*b1cdbd2cSJim Jagielski            </tablecell>
166*b1cdbd2cSJim Jagielski         </tablerow>
167*b1cdbd2cSJim Jagielski         <tablerow>
168*b1cdbd2cSJim Jagielski            <tablecell>
169*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id9836115" role="tablecontent" l10n="NEW">A black line</paragraph>
170*b1cdbd2cSJim Jagielski            </tablecell>
171*b1cdbd2cSJim Jagielski            <tablecell>
172*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id6485793" role="tablecontent" l10n="NEW">
173*b1cdbd2cSJim Jagielski<image id="img_id1237525" src="res/helpimg/border_wr_6.png" width="1.4071in" height="1.2555in"><alt xml-lang="en-US" id="alt_id1237525">solid line for border</alt>
174*b1cdbd2cSJim Jagielski	</image></paragraph>
175*b1cdbd2cSJim Jagielski            </tablecell>
176*b1cdbd2cSJim Jagielski            <tablecell>
177*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id1454512" role="tablecontent" l10n="NEW">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>
178*b1cdbd2cSJim Jagielski            </tablecell>
179*b1cdbd2cSJim Jagielski         </tablerow>
180*b1cdbd2cSJim Jagielski         <tablerow>
181*b1cdbd2cSJim Jagielski            <tablecell>
182*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id4618671" role="tablecontent" l10n="NEW">A gray line</paragraph>
183*b1cdbd2cSJim Jagielski            </tablecell>
184*b1cdbd2cSJim Jagielski            <tablecell>
185*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id1239356" role="tablecontent" l10n="NEW">
186*b1cdbd2cSJim Jagielski<image id="img_id2688680" src="res/helpimg/border_wr_7.png" width="1.4071in" height="1.2555in"><alt xml-lang="en-US" id="alt_id2688680">gray line for border</alt>
187*b1cdbd2cSJim Jagielski	</image></paragraph>
188*b1cdbd2cSJim Jagielski            </tablecell>
189*b1cdbd2cSJim Jagielski            <tablecell>
190*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id9474166" role="tablecontent" l10n="NEW">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>
191*b1cdbd2cSJim Jagielski            </tablecell>
192*b1cdbd2cSJim Jagielski         </tablerow>
193*b1cdbd2cSJim Jagielski         <tablerow>
194*b1cdbd2cSJim Jagielski            <tablecell>
195*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id1545457" role="tablecontent" l10n="NEW">A white line</paragraph>
196*b1cdbd2cSJim Jagielski            </tablecell>
197*b1cdbd2cSJim Jagielski            <tablecell>
198*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id1681875" role="tablecontent" l10n="NEW">
199*b1cdbd2cSJim Jagielski<image id="img_id7340617" src="res/helpimg/border_wr_8.png" width="1.4071in" height="1.2555in"><alt xml-lang="en-US" id="alt_id7340617">white line for border</alt>
200*b1cdbd2cSJim Jagielski	</image></paragraph>
201*b1cdbd2cSJim Jagielski            </tablecell>
202*b1cdbd2cSJim Jagielski            <tablecell>
203*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id2316660" role="tablecontent" l10n="NEW">A white line is shown when the corresponding line of the selected cells will be removed.</paragraph>
204*b1cdbd2cSJim Jagielski            </tablecell>
205*b1cdbd2cSJim Jagielski         </tablerow>
206*b1cdbd2cSJim Jagielski      </table>
207*b1cdbd2cSJim Jagielski
208*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id5908688" role="heading" level="3" l10n="NEW">Examples</paragraph>
209*b1cdbd2cSJim Jagielski      <list type="ordered">
210*b1cdbd2cSJim Jagielski         <listitem>
211*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id5118564" role="paragraph" l10n="NEW">Select a single cell in a Writer table, then choose <emph>Table - Table properties - Borders</emph>.</paragraph>
212*b1cdbd2cSJim Jagielski         </listitem>
213*b1cdbd2cSJim Jagielski         <listitem>
214*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id244758" role="paragraph" l10n="NEW">Select a thick line style.</paragraph>
215*b1cdbd2cSJim Jagielski         </listitem>
216*b1cdbd2cSJim Jagielski         <listitem>
217*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id7741325" role="paragraph" l10n="NEW">To set a lower border, click the lower edge repeatedly until you see a thick line.</paragraph>
218*b1cdbd2cSJim Jagielski         </listitem>
219*b1cdbd2cSJim Jagielski      </list>
220*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id542313" role="paragraph" l10n="NEW">
221*b1cdbd2cSJim Jagielski<image id="img_id4273506" src="res/helpimg/border_wr_6.png" width="1.4071in" height="1.2555in"><alt xml-lang="en-US" id="alt_id4273506">setting thick lower border</alt>
222*b1cdbd2cSJim Jagielski	</image></paragraph>
223*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id2210760" role="note" l10n="NEW">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>
224*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id5400860" role="warning" l10n="NEW">All lines that are shown in white in the preview will be removed from the cell.</paragraph>
225*b1cdbd2cSJim Jagielski<switch select="appl">
226*b1cdbd2cSJim Jagielski<case select="CALC"><embed href="text/scalc/guide/borders.xhp#borders"/>
227*b1cdbd2cSJim Jagielski</case>
228*b1cdbd2cSJim Jagielski</switch><embed href="text/swriter/guide/border_page.xhp#border_page"/>
229*b1cdbd2cSJim Jagielski      <embed href="text/shared/guide/border_paragraph.xhp#border_paragraph"/>
230*b1cdbd2cSJim Jagielski   </body>
231*b1cdbd2cSJim Jagielski</helpdocument>