1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--***********************************************************
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements.  See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership.  The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License.  You may obtain a copy of the License at
12 *
13 *   http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied.  See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 ***********************************************************-->
23
24<helpdocument version="1.0">
25<meta>
26<topic id="textsharedguideborder_tablexml" indexer="include" status="PUBLISH">
27<title xml-lang="en-US" id="tit">Defining Borders for Tables and Table Cells</title>
28<filename>/text/shared/guide/border_table.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3155805">
33<bookmark_value>tables in text; defining borders</bookmark_value>
34<bookmark_value>tables in spreadsheets;defining borders</bookmark_value>
35<bookmark_value>borders; for tables</bookmark_value>
36<bookmark_value>frames; around tables</bookmark_value>
37<bookmark_value>defining;table borders</bookmark_value>
38</bookmark><comment>mw deleted "adding;"</comment>
39<paragraph xml-lang="en-US" id="hd_id3155805" role="heading" level="1" l10n="U" oldref="16"><variable id="border_table"><link href="text/shared/guide/border_table.xhp" name="Defining Borders for Tables and Table Cells">Defining Borders for Tables and Table Cells</link>
40</variable></paragraph>
41<paragraph xml-lang="en-US" id="hd_id3147008" role="heading" level="2" l10n="U" oldref="1">Setting a Predefined Border Style</paragraph>
42<list type="ordered">
43<listitem>
44<paragraph xml-lang="en-US" id="par_id3146957" role="listitem" l10n="U" oldref="2">Select the table cells that you want to modify.</paragraph>
45</listitem>
46<listitem>
47<paragraph xml-lang="en-US" id="par_id3156346" role="listitem" l10n="CHG" oldref="3">Click the <emph>Borders</emph> icon on the <emph>Table</emph> toolbar (Writer) or on the <emph>Line and Filling</emph> bar to open the <emph>Borders</emph> window.</paragraph>
48</listitem>
49<listitem>
50<paragraph xml-lang="en-US" id="par_id3143270" role="listitem" l10n="U" oldref="5">Click one of the predefined border styles.</paragraph>
51<paragraph xml-lang="en-US" id="par_id3156156" role="listitem" l10n="U" oldref="6">This <emph>adds</emph> the selected style to the current border style of the table cells. Select the blank border style at the top left of the <emph>Borders</emph> window to clear all border styles.</paragraph>
52</listitem>
53</list>
54<paragraph xml-lang="en-US" id="hd_id3153666" role="heading" level="2" l10n="U" oldref="7">Setting a Customized Border Style</paragraph>
55<list type="ordered">
56<listitem>
57<paragraph xml-lang="en-US" id="par_id3152472" role="listitem" l10n="U" oldref="8">Select the table cells that you want to modify.</paragraph>
58</listitem>
59<listitem>
60<paragraph xml-lang="en-US" id="par_id3147265" role="listitem" l10n="CHG" oldref="9">Choose <emph>Table - Table Properties - Borders</emph> (Writer) or <emph>Format - Cells - Borders</emph> (Calc).</paragraph>
61</listitem>
62<listitem>
63<paragraph xml-lang="en-US" id="par_id3159413" role="listitem" l10n="U" oldref="10">In the <emph>User-defined</emph> area select the edge(s) that you want to appear in a common layout. Click on an edge in the preview to toggle the selection of an edge.</paragraph>
64</listitem>
65<listitem>
66<paragraph xml-lang="en-US" id="par_id31594132" role="listitem" l10n="NEW">If you select more than one row or column, you can change the middle lines between rows or columns. Select the middle markers in the <emph>User-defined</emph> area.</paragraph>
67</listitem>
68<listitem>
69<paragraph xml-lang="en-US" id="par_id3153526" role="listitem" l10n="U" oldref="11">Select a line style and color for the selected border style in the <emph>Line</emph> area. These settings apply to all border lines that are included in the selected border style.</paragraph>
70</listitem>
71<listitem>
72<paragraph xml-lang="en-US" id="par_id3145606" role="listitem" l10n="U" oldref="12">Repeat the last two steps for every border edge.</paragraph>
73</listitem>
74<listitem>
75<paragraph xml-lang="en-US" id="par_id3156422" role="listitem" l10n="U" oldref="13">Select the distance between the border lines and the page contents in the <emph>Spacing to contents</emph> area.</paragraph>
76</listitem>
77<listitem>
78<paragraph xml-lang="en-US" id="par_id3149807" role="listitem" l10n="U" oldref="14">Click <emph>OK</emph> to apply the changes.</paragraph>
79</listitem>
80</list>
81<section id="relatedtopics">
82<switch select="appl">
83<case select="WRITER">
84<embed href="text/swriter/guide/border_object.xhp#border_object"/>
85<embed href="text/swriter/guide/border_page.xhp#border_page"/>
86</case>
87</switch>
88<embed href="text/shared/guide/border_paragraph.xhp#border_paragraph"/>
89</section>
90</body>
91</helpdocument>
92