merge the formfield patch from ooo-build
[ooovba.git] / helpcontent2 / source / text / swriter / guide / borders.xhp
blob4c592d71528dce689a48c035600b02c5bc6206b3
1 <?xml version="1.0" encoding="UTF-8"?>
2 <helpdocument version="1.0">
4 <!--
5 ***********************************************************************
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2008 by Sun Microsystems, Inc.
11 * OpenOffice.org - a multi-platform office productivity suite
13 * $RCSfile: soffice2xmlhelp.xsl,v $
14 * $Revision: 1.10 $
16 * This file is part of OpenOffice.org.
18 * OpenOffice.org is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU Lesser General Public License version 3
20 * only, as published by the Free Software Foundation.
22 * OpenOffice.org is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU Lesser General Public License version 3 for more details
26 * (a copy is included in the LICENSE file that accompanied this code).
28 * You should have received a copy of the GNU Lesser General Public License
29 * version 3 along with OpenOffice.org. If not, see
30 * <http://www.openoffice.org/license.html>
31 * for a copy of the LGPLv3 License.
33 ************************************************************************
34 -->
37 <meta>
38 <topic id="textswriterguidebordersxhp" indexer="include" status="PUBLISH">
39 <title xml-lang="en-US" id="tit">User Defined Borders in Text Documents </title>
40 <filename>text/swriter/guide/borders.xhp</filename>
41 </topic>
42 </meta>
43 <body>
44 <bookmark xml-lang="en-US" branch="index" id="bm_id6737876"><bookmark_value>borders;for text tables</bookmark_value>
45 <bookmark_value>cells;borders in text tables</bookmark_value>
46 <bookmark_value>defining;table borders in Writer</bookmark_value>
47 <bookmark_value>frames;around text tables</bookmark_value>
48 <bookmark_value>tables;defining borders</bookmark_value>
49 </bookmark><comment>MW changed "text tables;" to "tables;"</comment>
50 <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>
51 </variable></paragraph>
52 <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>
53 <list type="ordered">
54 <listitem>
55 <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>
56 </listitem>
57 <listitem>
58 <paragraph xml-lang="en-US" id="par_id6129947" role="paragraph" l10n="NEW">Choose <item type="menuitem">Table - Table properties</item>.</paragraph>
59 </listitem>
60 <listitem>
61 <paragraph xml-lang="en-US" id="par_id8141117" role="paragraph" l10n="NEW">In the dialog, click the <emph>Borders</emph> tab.</paragraph>
62 </listitem>
63 <listitem>
64 <paragraph xml-lang="en-US" id="par_id6016418" role="paragraph" l10n="NEW">Choose the border options you want to apply and click OK.</paragraph>
65 </listitem>
66 </list>
67 <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>
68 <paragraph xml-lang="en-US" id="hd_id3547166" role="heading" level="2" l10n="NEW">Selection of cells</paragraph>
69 <paragraph xml-lang="en-US" id="par_id1108432" role="paragraph" l10n="NEW">Depending on the selection of cells, the area looks different.</paragraph>
70 <table id="tbl_id4423352">
71 <tablerow>
72 <tablecell>
73 <paragraph xml-lang="en-US" id="par_id2422559" role="tablehead" l10n="NEW">Selection</paragraph>
74 </tablecell>
75 <tablecell>
76 <paragraph xml-lang="en-US" id="par_id1053498" role="tablehead" l10n="NEW">Line arrangement area</paragraph>
77 </tablecell>
78 </tablerow>
79 <tablerow>
80 <tablecell>
81 <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>
82 </tablecell>
83 <tablecell>
84 <paragraph xml-lang="en-US" id="par_id4240241" role="tablecontent" l10n="NEW">
85 <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>
86 </image></paragraph>
87 </tablecell>
88 </tablerow>
89 <tablerow>
90 <tablecell>
91 <paragraph xml-lang="en-US" id="par_id162053" role="tablecontent" l10n="NEW">A one cell table, the cell is selected</paragraph>
92 </tablecell>
93 <tablecell>
94 <paragraph xml-lang="en-US" id="par_id5021820" role="tablecontent" l10n="NEW">
95 <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>
96 </image></paragraph>
97 </tablecell>
98 </tablerow>
99 <tablerow>
100 <tablecell>
101 <paragraph xml-lang="en-US" id="par_id3549607" role="tablecontent" l10n="NEW">Cells in a column selected</paragraph>
102 </tablecell>
103 <tablecell>
104 <paragraph xml-lang="en-US" id="par_id2544328" role="tablecontent" l10n="NEW">
105 <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>
106 </image></paragraph>
107 </tablecell>
108 </tablerow>
109 <tablerow>
110 <tablecell>
111 <paragraph xml-lang="en-US" id="par_id1636402" role="tablecontent" l10n="NEW">Cells in a row selected</paragraph>
112 </tablecell>
113 <tablecell>
114 <paragraph xml-lang="en-US" id="par_id7450483" role="tablecontent" l10n="NEW">
115 <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>
116 </image></paragraph>
117 </tablecell>
118 </tablerow>
119 <tablerow>
120 <tablecell>
121 <paragraph xml-lang="en-US" id="par_id5741752" role="tablecontent" l10n="NEW">A whole table of 2x2 or more cells selected</paragraph>
122 </tablecell>
123 <tablecell>
124 <paragraph xml-lang="en-US" id="par_id570085" role="tablecontent" l10n="NEW">
125 <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>
126 </image></paragraph>
127 </tablecell>
128 </tablerow>
129 </table>
131 <paragraph xml-lang="en-US" id="hd_id5044099" role="heading" level="2" l10n="NEW">Default settings</paragraph>
132 <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>
133 <list type="unordered">
134 <listitem>
135 <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>
136 </listitem>
137 <listitem>
138 <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>
139 </listitem>
140 <listitem>
141 <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>
142 </listitem>
143 </list>
144 <paragraph xml-lang="en-US" id="hd_id7144993" role="heading" level="3" l10n="NEW">Examples</paragraph>
145 <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>
146 <paragraph xml-lang="en-US" id="par_id4194158" role="paragraph" l10n="NEW">
147 <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>
148 </image></paragraph>
149 <list type="unordered">
150 <listitem>
151 <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>
152 </listitem>
153 <listitem>
154 <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>
155 </listitem>
156 <listitem>
157 <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>
158 </listitem>
159 </list>
160 <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>
161 <paragraph xml-lang="en-US" id="hd_id5110019" role="heading" level="2" l10n="NEW">User defined settings</paragraph>
162 <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>
163 <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>
164 <table id="tbl_id5196996">
165 <tablerow>
166 <tablecell>
167 <paragraph xml-lang="en-US" id="par_id3673818" role="tablehead" l10n="NEW">Line types</paragraph>
168 </tablecell>
169 <tablecell>
170 <paragraph xml-lang="en-US" id="par_id2593768" role="tablehead" l10n="NEW">Image</paragraph>
171 </tablecell>
172 <tablecell>
173 <paragraph xml-lang="en-US" id="par_id2055421" role="tablehead" l10n="NEW">Meaning</paragraph>
174 </tablecell>
175 </tablerow>
176 <tablerow>
177 <tablecell>
178 <paragraph xml-lang="en-US" id="par_id9836115" role="tablecontent" l10n="NEW">A black line</paragraph>
179 </tablecell>
180 <tablecell>
181 <paragraph xml-lang="en-US" id="par_id6485793" role="tablecontent" l10n="NEW">
182 <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>
183 </image></paragraph>
184 </tablecell>
185 <tablecell>
186 <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>
187 </tablecell>
188 </tablerow>
189 <tablerow>
190 <tablecell>
191 <paragraph xml-lang="en-US" id="par_id4618671" role="tablecontent" l10n="NEW">A gray line</paragraph>
192 </tablecell>
193 <tablecell>
194 <paragraph xml-lang="en-US" id="par_id1239356" role="tablecontent" l10n="NEW">
195 <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>
196 </image></paragraph>
197 </tablecell>
198 <tablecell>
199 <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>
200 </tablecell>
201 </tablerow>
202 <tablerow>
203 <tablecell>
204 <paragraph xml-lang="en-US" id="par_id1545457" role="tablecontent" l10n="NEW">A white line</paragraph>
205 </tablecell>
206 <tablecell>
207 <paragraph xml-lang="en-US" id="par_id1681875" role="tablecontent" l10n="NEW">
208 <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>
209 </image></paragraph>
210 </tablecell>
211 <tablecell>
212 <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>
213 </tablecell>
214 </tablerow>
215 </table>
217 <paragraph xml-lang="en-US" id="hd_id5908688" role="heading" level="3" l10n="NEW">Examples</paragraph>
218 <list type="ordered">
219 <listitem>
220 <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>
221 </listitem>
222 <listitem>
223 <paragraph xml-lang="en-US" id="par_id244758" role="paragraph" l10n="NEW">Select a thick line style.</paragraph>
224 </listitem>
225 <listitem>
226 <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>
227 </listitem>
228 </list>
229 <paragraph xml-lang="en-US" id="par_id542313" role="paragraph" l10n="NEW">
230 <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>
231 </image></paragraph>
232 <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>
233 <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>
234 <switch select="appl">
235 <case select="CALC"><embed href="text/scalc/guide/borders.xhp#borders"/>
236 </case>
237 </switch><embed href="text/swriter/guide/border_page.xhp#border_page"/>
238 <embed href="text/shared/guide/border_paragraph.xhp#border_paragraph"/>
239 </body>
240 </helpdocument>