1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
30e4b25e7SAndrew Rist<!--***********************************************************
43de3c617Smseidel *
50e4b25e7SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
60e4b25e7SAndrew Rist * or more contributor license agreements.  See the NOTICE file
70e4b25e7SAndrew Rist * distributed with this work for additional information
80e4b25e7SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
90e4b25e7SAndrew Rist * to you under the Apache License, Version 2.0 (the
100e4b25e7SAndrew Rist * "License"); you may not use this file except in compliance
110e4b25e7SAndrew Rist * with the License.  You may obtain a copy of the License at
123de3c617Smseidel *
130e4b25e7SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
143de3c617Smseidel *
150e4b25e7SAndrew Rist * Unless required by applicable law or agreed to in writing,
160e4b25e7SAndrew Rist * software distributed under the License is distributed on an
170e4b25e7SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
180e4b25e7SAndrew Rist * KIND, either express or implied.  See the License for the
190e4b25e7SAndrew Rist * specific language governing permissions and limitations
200e4b25e7SAndrew Rist * under the License.
213de3c617Smseidel *
220e4b25e7SAndrew Rist ***********************************************************-->
230e4b25e7SAndrew Rist
243de3c617Smseidel<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
263de3c617Smseidel<topic id="textswriterguidebordersxhp" indexer="include" status="PUBLISH">
273de3c617Smseidel<title xml-lang="en-US" id="tit">User Defined Borders in Text Documents</title>
283de3c617Smseidel<filename>/text/swriter/guide/borders.xhp</filename>
293de3c617Smseidel</topic>
303de3c617Smseidel</meta>
313de3c617Smseidel<body>
323de3c617Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id6737876">
333de3c617Smseidel<bookmark_value>borders;for text tables</bookmark_value>
343de3c617Smseidel<bookmark_value>cells;borders in text tables</bookmark_value>
353de3c617Smseidel<bookmark_value>defining;table borders in Writer</bookmark_value>
363de3c617Smseidel<bookmark_value>frames;around text tables</bookmark_value>
373de3c617Smseidel<bookmark_value>tables;defining borders</bookmark_value>
38cdf0e10cSrcweir</bookmark><comment>MW changed "text tables;" to "tables;"</comment>
39cdf0e10cSrcweir<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>
40cdf0e10cSrcweir</variable></paragraph>
413de3c617Smseidel<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>
423de3c617Smseidel<list type="ordered">
433de3c617Smseidel<listitem>
443de3c617Smseidel<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>
453de3c617Smseidel</listitem>
463de3c617Smseidel<listitem>
473de3c617Smseidel<paragraph xml-lang="en-US" id="par_id6129947" role="paragraph" l10n="NEW">Choose <item type="menuitem">Table - Table properties</item>.</paragraph>
483de3c617Smseidel</listitem>
493de3c617Smseidel<listitem>
503de3c617Smseidel<paragraph xml-lang="en-US" id="par_id8141117" role="paragraph" l10n="NEW">In the dialog, click the <emph>Borders</emph> tab.</paragraph>
513de3c617Smseidel</listitem>
523de3c617Smseidel<listitem>
533de3c617Smseidel<paragraph xml-lang="en-US" id="par_id6016418" role="paragraph" l10n="NEW">Choose the border options you want to apply and click OK.</paragraph>
543de3c617Smseidel</listitem>
553de3c617Smseidel</list>
563de3c617Smseidel<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>
573de3c617Smseidel<paragraph xml-lang="en-US" id="hd_id3547166" role="heading" level="2" l10n="NEW">Selection of cells</paragraph>
583de3c617Smseidel<paragraph xml-lang="en-US" id="par_id1108432" role="paragraph" l10n="NEW">Depending on the selection of cells, the area looks different.</paragraph>
593de3c617Smseidel<table id="tbl_id4423352">
603de3c617Smseidel<tablerow>
613de3c617Smseidel<tablecell>
623de3c617Smseidel<paragraph xml-lang="en-US" id="par_id2422559" role="tablehead" l10n="NEW">Selection</paragraph>
633de3c617Smseidel</tablecell>
643de3c617Smseidel<tablecell>
653de3c617Smseidel<paragraph xml-lang="en-US" id="par_id1053498" role="tablehead" l10n="NEW">Line arrangement area</paragraph>
663de3c617Smseidel</tablecell>
673de3c617Smseidel</tablerow>
683de3c617Smseidel<tablerow>
693de3c617Smseidel<tablecell>
703de3c617Smseidel<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>
713de3c617Smseidel</tablecell>
723de3c617Smseidel<tablecell>
733de3c617Smseidel<paragraph xml-lang="en-US" id="par_id4240241" role="tablecontent" l10n="NEW">
74cdf0e10cSrcweir<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>
753de3c617Smseidel</image></paragraph>
763de3c617Smseidel</tablecell>
773de3c617Smseidel</tablerow>
783de3c617Smseidel<tablerow>
793de3c617Smseidel<tablecell>
803de3c617Smseidel<paragraph xml-lang="en-US" id="par_id162053" role="tablecontent" l10n="NEW">A one cell table, the cell is selected</paragraph>
813de3c617Smseidel</tablecell>
823de3c617Smseidel<tablecell>
833de3c617Smseidel<paragraph xml-lang="en-US" id="par_id5021820" role="tablecontent" l10n="NEW">
84cdf0e10cSrcweir<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>
853de3c617Smseidel</image></paragraph>
863de3c617Smseidel</tablecell>
873de3c617Smseidel</tablerow>
883de3c617Smseidel<tablerow>
893de3c617Smseidel<tablecell>
903de3c617Smseidel<paragraph xml-lang="en-US" id="par_id3549607" role="tablecontent" l10n="NEW">Cells in a column selected</paragraph>
913de3c617Smseidel</tablecell>
923de3c617Smseidel<tablecell>
933de3c617Smseidel<paragraph xml-lang="en-US" id="par_id2544328" role="tablecontent" l10n="NEW">
94cdf0e10cSrcweir<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>
953de3c617Smseidel</image></paragraph>
963de3c617Smseidel</tablecell>
973de3c617Smseidel</tablerow>
983de3c617Smseidel<tablerow>
993de3c617Smseidel<tablecell>
1003de3c617Smseidel<paragraph xml-lang="en-US" id="par_id1636402" role="tablecontent" l10n="NEW">Cells in a row selected</paragraph>
1013de3c617Smseidel</tablecell>
1023de3c617Smseidel<tablecell>
1033de3c617Smseidel<paragraph xml-lang="en-US" id="par_id7450483" role="tablecontent" l10n="NEW">
104cdf0e10cSrcweir<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>
1053de3c617Smseidel</image></paragraph>
1063de3c617Smseidel</tablecell>
1073de3c617Smseidel</tablerow>
1083de3c617Smseidel<tablerow>
1093de3c617Smseidel<tablecell>
1103de3c617Smseidel<paragraph xml-lang="en-US" id="par_id5741752" role="tablecontent" l10n="NEW">A whole table of 2x2 or more cells selected</paragraph>
1113de3c617Smseidel</tablecell>
1123de3c617Smseidel<tablecell>
1133de3c617Smseidel<paragraph xml-lang="en-US" id="par_id570085" role="tablecontent" l10n="NEW">
114cdf0e10cSrcweir<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>
1153de3c617Smseidel</image></paragraph>
1163de3c617Smseidel</tablecell>
1173de3c617Smseidel</tablerow>
1183de3c617Smseidel</table>
1193de3c617Smseidel<paragraph xml-lang="en-US" id="hd_id5044099" role="heading" level="2" l10n="NEW">Default settings</paragraph>
1203de3c617Smseidel<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>
1213de3c617Smseidel<list type="unordered">
1223de3c617Smseidel<listitem>
1233de3c617Smseidel<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>
1243de3c617Smseidel</listitem>
1253de3c617Smseidel<listitem>
1263de3c617Smseidel<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>
1273de3c617Smseidel</listitem>
1283de3c617Smseidel<listitem>
1293de3c617Smseidel<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>
1303de3c617Smseidel</listitem>
1313de3c617Smseidel</list>
1323de3c617Smseidel<paragraph xml-lang="en-US" id="hd_id7144993" role="heading" level="3" l10n="NEW">Examples</paragraph>
1333de3c617Smseidel<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>
1343de3c617Smseidel<paragraph xml-lang="en-US" id="par_id4194158" role="paragraph" l10n="NEW">
135cdf0e10cSrcweir<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>
1363de3c617Smseidel</image></paragraph>
1373de3c617Smseidel<list type="unordered">
1383de3c617Smseidel<listitem>
1393de3c617Smseidel<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>
1403de3c617Smseidel</listitem>
1413de3c617Smseidel<listitem>
1423de3c617Smseidel<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>
1433de3c617Smseidel</listitem>
1443de3c617Smseidel<listitem>
1453de3c617Smseidel<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>
1463de3c617Smseidel</listitem>
1473de3c617Smseidel</list>
1483de3c617Smseidel<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>
1493de3c617Smseidel<paragraph xml-lang="en-US" id="hd_id5110019" role="heading" level="2" l10n="NEW">User defined settings</paragraph>
150*b184ee58Smseidel<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>
1513de3c617Smseidel<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>
1523de3c617Smseidel<table id="tbl_id5196996">
1533de3c617Smseidel<tablerow>
1543de3c617Smseidel<tablecell>
1553de3c617Smseidel<paragraph xml-lang="en-US" id="par_id3673818" role="tablehead" l10n="NEW">Line types</paragraph>
1563de3c617Smseidel</tablecell>
1573de3c617Smseidel<tablecell>
1583de3c617Smseidel<paragraph xml-lang="en-US" id="par_id2593768" role="tablehead" l10n="NEW">Image</paragraph>
1593de3c617Smseidel</tablecell>
1603de3c617Smseidel<tablecell>
1613de3c617Smseidel<paragraph xml-lang="en-US" id="par_id2055421" role="tablehead" l10n="NEW">Meaning</paragraph>
1623de3c617Smseidel</tablecell>
1633de3c617Smseidel</tablerow>
1643de3c617Smseidel<tablerow>
1653de3c617Smseidel<tablecell>
1663de3c617Smseidel<paragraph xml-lang="en-US" id="par_id9836115" role="tablecontent" l10n="NEW">A black line</paragraph>
1673de3c617Smseidel</tablecell>
1683de3c617Smseidel<tablecell>
1693de3c617Smseidel<paragraph xml-lang="en-US" id="par_id6485793" role="tablecontent" l10n="NEW">
170cdf0e10cSrcweir<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>
1713de3c617Smseidel</image></paragraph>
1723de3c617Smseidel</tablecell>
1733de3c617Smseidel<tablecell>
1743de3c617Smseidel<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>
1753de3c617Smseidel</tablecell>
1763de3c617Smseidel</tablerow>
1773de3c617Smseidel<tablerow>
1783de3c617Smseidel<tablecell>
1793de3c617Smseidel<paragraph xml-lang="en-US" id="par_id4618671" role="tablecontent" l10n="NEW">A gray line</paragraph>
1803de3c617Smseidel</tablecell>
1813de3c617Smseidel<tablecell>
1823de3c617Smseidel<paragraph xml-lang="en-US" id="par_id1239356" role="tablecontent" l10n="NEW">
183cdf0e10cSrcweir<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>
1843de3c617Smseidel</image></paragraph>
1853de3c617Smseidel</tablecell>
1863de3c617Smseidel<tablecell>
1873de3c617Smseidel<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>
1883de3c617Smseidel</tablecell>
1893de3c617Smseidel</tablerow>
1903de3c617Smseidel<tablerow>
1913de3c617Smseidel<tablecell>
1923de3c617Smseidel<paragraph xml-lang="en-US" id="par_id1545457" role="tablecontent" l10n="NEW">A white line</paragraph>
1933de3c617Smseidel</tablecell>
1943de3c617Smseidel<tablecell>
1953de3c617Smseidel<paragraph xml-lang="en-US" id="par_id1681875" role="tablecontent" l10n="NEW">
196cdf0e10cSrcweir<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>
1973de3c617Smseidel</image></paragraph>
1983de3c617Smseidel</tablecell>
1993de3c617Smseidel<tablecell>
2003de3c617Smseidel<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>
2013de3c617Smseidel</tablecell>
2023de3c617Smseidel</tablerow>
2033de3c617Smseidel</table>
2043de3c617Smseidel<paragraph xml-lang="en-US" id="hd_id5908688" role="heading" level="3" l10n="NEW">Examples</paragraph>
2053de3c617Smseidel<list type="ordered">
2063de3c617Smseidel<listitem>
2073de3c617Smseidel<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>
2083de3c617Smseidel</listitem>
2093de3c617Smseidel<listitem>
2103de3c617Smseidel<paragraph xml-lang="en-US" id="par_id244758" role="paragraph" l10n="NEW">Select a thick line style.</paragraph>
2113de3c617Smseidel</listitem>
2123de3c617Smseidel<listitem>
2133de3c617Smseidel<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>
2143de3c617Smseidel</listitem>
2153de3c617Smseidel</list>
2163de3c617Smseidel<paragraph xml-lang="en-US" id="par_id542313" role="paragraph" l10n="NEW">
217cdf0e10cSrcweir<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>
2183de3c617Smseidel</image></paragraph>
219*b184ee58Smseidel<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>
2203de3c617Smseidel<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>
221cdf0e10cSrcweir<switch select="appl">
222cdf0e10cSrcweir<case select="CALC"><embed href="text/scalc/guide/borders.xhp#borders"/>
223cdf0e10cSrcweir</case>
224cdf0e10cSrcweir</switch><embed href="text/swriter/guide/border_page.xhp#border_page"/>
2253de3c617Smseidel<embed href="text/shared/guide/border_paragraph.xhp#border_paragraph"/>
2263de3c617Smseidel</body>
2273de3c617Smseidel</helpdocument>
228