summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/shared/01/05030500.xhp
blob: 8053f617d1ac819271699a10da61308b560f7f14 (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
<?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="textshared0105030500xml" indexer="include" status="PUBLISH">
    <title id="tit" xml-lang="en-US">Borders</title>
    <filename>/text/shared/01/05030500.xhp</filename>
  </topic>
</meta>
<body>
  <section id="borders">
    <bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/BorderPage" id="bm_id3150756" localize="false"/>
    <bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/@@nowidget@@" id="bm_id3150756" localize="false"/>
    <h1 id="hd_id3154812" xml-lang="en-US"><link href="text/shared/01/05030500.xhp" name="Borders">Borders</link></h1>
    <paragraph role="paragraph" id="par_id3151097" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/BorderPage">Sets the border options for the selected objects in Writer or Calc.</ahelp></paragraph>
  </section>

<paragraph role="paragraph" id="par_id3155351" xml-lang="en-US">You can specify the border position, size, and style in Writer or Calc. <switchinline select="appl"><caseinline select="WRITER">In $[officename] Writer, you can add borders to pages, frames, graphics, tables, paragraphs, characters and to embedded objects.
</caseinline></switchinline></paragraph>
<section id="howtoget">
  <embed href="text/shared/00/00040500.xhp#borders"/>
</section>
<switch select="appl">
  <case select="WRITER"><tip id="par_id3152997" xml-lang="en-US">To modify the border of an entire table, place the cursor in a table cell, right-click, choose <emph>Table</emph>, and then click the <emph>Borders</emph> tab. To modify the border of a table cell, select the cell, right-click, choose <emph>Table</emph>, and then click the <emph>Borders</emph> tab.</tip>
  </case>
</switch>
  <bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/presets" id="bm_id3159157" localize="false"/>
  <h2 id="hd_id3145417">Line arrangement</h2>
  <paragraph role="paragraph" id="par_id3153332" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/presets">Select a predefined border style to apply.</ahelp></paragraph>
  <paragraph role="paragraph" id="par_id3148643" xml-lang="en-US">Alternatively, use the <emph>Borders</emph> button on the toolbar to apply predefined border formats.</paragraph>
  <embed href="text/shared/00/00000007.xhp#objektleiste"/>
  <embed href="text/shared/02/03130000.xhp#syborders"/>
<switch select="appl">
  <case select="CALC">
    <paragraph role="paragraph" id="par_id591630450693398">The <emph>Remove border</emph> option in the <emph>Adjacent Cells</emph> section determines if borders in the edges of the selected range are to be removed. Leave this option unchecked if edge borders should be left unchanged.</paragraph>
    <tip id="par_id181630450040456">Read the help page <link href="text/scalc/guide/borders.xhp">User Defined Borders in Cells</link> to learn more on how to define custom line arrangements.</tip>
  </case>
</switch>
<bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/linestylelb" id="bm_id3153896" localize="false"/><paragraph role="heading" id="hd_id3149575" xml-lang="en-US" level="2">Line</paragraph>
<paragraph role="paragraph" id="par_id3152360" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/linestylelb">Click the border style that you want to apply. The style is applied to the borders selected in the preview.</ahelp></paragraph>
<embed href="text/shared/00/00000007.xhp#objektleiste"/>
<embed href="text/shared/02/03140000.xhp#syline_style"/>
<bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/linecolorlb" id="bm_id3154072" localize="false"/><paragraph role="paragraph" id="par_id3154938" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/linecolorlb">Select the line color that you want to use for the selected border(s).</ahelp></paragraph>
<h2 id="hd_id3150359" xml-lang="en-US">Padding</h2>
<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US">Specify the amount of space that you want to leave between the border and the contents of the selection.</paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/leftmf" id="bm_id3154819" localize="false"/><paragraph role="heading" id="hd_id3147084" xml-lang="en-US" level="3">Left</paragraph>
<paragraph role="paragraph" id="par_id3151176" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/leftmf">Enter the distance that you want to have between the left border and the contents of the selection.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/rightmf" id="bm_id3143231" localize="false"/><paragraph role="heading" id="hd_id3150650" xml-lang="en-US" level="3">Right</paragraph>
<paragraph role="paragraph" id="par_id3153104" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/rightmf">Enter the distance that you want to have between the right border and the contents of the selection.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/topmf" id="bm_id3151380" localize="false"/><paragraph role="heading" id="hd_id3150495" xml-lang="en-US" level="3">Top</paragraph>
<paragraph role="paragraph" id="par_id3156212" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/topmf">Enter the distance that you want to have between the top border and the contents of the selection.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/bottommf" id="bm_id3148451" localize="false"/><paragraph role="heading" id="hd_id3150767" xml-lang="en-US" level="3">Bottom</paragraph>
<paragraph role="paragraph" id="par_id3158410" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/bottommf">Enter the distance that you want to have between the bottom border and the contents of the selection.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/sync" id="bm_id3157893" localize="false"/><paragraph role="heading" id="hd_id3155429" xml-lang="en-US" level="3">Synchronize</paragraph>
<paragraph role="paragraph" id="par_id3154299" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/sync">Applies the same <emph>padding</emph> setting to all four borders when you enter a new distance.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="index" id="bm_id3155855"><bookmark_value>shadows; borders</bookmark_value>
<bookmark_value>borders; shadows</bookmark_value>
<bookmark_value>margins; shadows</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3155855" xml-lang="en-US" level="2">Shadow style</paragraph>
<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US">You can also apply a shadow effect to borders. For the best results, only apply this effect when all four borders are visible.</paragraph>
<paragraph role="note" id="par_id3157309" xml-lang="en-US">Graphics or objects that are anchored to a frame in the document cannot exceed the size of the frame. If you apply a shadow to the borders of an object that fills an entire frame, the size of the object is reduced to display the shadows.</paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/shadows" id="bm_id3154321" localize="false"/><paragraph role="heading" id="hd_id3153728" xml-lang="en-US" level="3">Position</paragraph>
<paragraph role="paragraph" id="par_id3153364" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/shadows">Click a shadow style for the selected borders.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/distancemf" id="bm_id3152576" localize="false"/><paragraph role="heading" id="hd_id3156444" xml-lang="en-US" level="3">Distance</paragraph>
<paragraph role="paragraph" id="par_id3156060" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/distancemf">Enter the width of the shadow.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/shadowcolorlb" id="bm_id3152463" localize="false"/><paragraph role="heading" id="hd_id3155307" xml-lang="en-US" level="3">Color</paragraph>
<paragraph role="paragraph" id="par_id3146147" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/shadowcolorlb">Select a color for the shadow.</ahelp></paragraph>
<switch select="appl">
<case select="WRITER"><paragraph role="heading" id="par_idN10A2B" xml-lang="en-US" level="2">Properties</paragraph>
<paragraph role="paragraph" id="par_idN10A2F" xml-lang="en-US">Specifies the properties for the current paragraph or the selected paragraphs.</paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/mergewithnext" id="bm_id177312" localize="false"/><paragraph role="heading" id="par_idN10A3A" xml-lang="en-US" level="3">Merge with next paragraph</paragraph>
<paragraph role="paragraph" id="par_idN10A3E" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/mergewithnext">Merges the border style and the shadow style of the current paragraph with the next paragraph.</ahelp> These styles are only merged if the indent, border, and shadow styles of the next paragraph are the same as the current paragraph. This option is also available for Paragraph Styles.<comment>UFI: see spec "spec-merge-borders-and-shadow"</comment></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/borderpage/mergeadjacent" id="bm_id678731" localize="false"/><paragraph role="heading" id="par_idN109BA" xml-lang="en-US" level="3">Merge adjacent line styles</paragraph>
<paragraph role="paragraph" id="par_idN109BE" xml-lang="en-US"><ahelp hid="cui/ui/borderpage/mergeadjacent">Merges two different border styles of adjacent cells in a Writer table into one border style. This property is valid for a whole table in a Writer document.</ahelp></paragraph>
<paragraph role="note" id="par_idN109C1" xml-lang="en-US">The rules can be condensed to the statement that the stronger attribute wins. If, for example, one cell has a red border of 2 point width, and the adjacent cell has a blue border of 3 point width, then the common border between these two cells will be blue with 3 point width.<comment>UFI: see spec "collapsing_table_borders"</comment></paragraph>
</case>
</switch>
<embed href="text/shared/00/00000001.xhp#reset"/>
<comment>Calc does not have an Apply button</comment>
<switch select="appl"><case select="WRITER"><embed href="text/shared/00/00000001.xhp#apply"/></case></switch>

  <section id="relatedtopics">
    <switch select="appl">
      <case select="WRITER">
        <embed href="text/swriter/guide/border_object.xhp#border_object"/><comment>UFI: moved border_object into Writer switch</comment>
        <embed href="text/swriter/guide/border_page.xhp#border_page"/>
        <embed href="text/swriter/guide/borders.xhp#borders"/>
      </case>
    </switch>
    <embed href="text/swriter/guide/border_character.xhp#border_character"/>
    <embed href="text/shared/guide/border_paragraph.xhp#border_paragraph"/>
    <embed href="text/shared/guide/border_table.xhp#border_table"/>
  </section>
</body>
</helpdocument>