<?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/.
*
-->

<meta>
      <topic id="textswriterguideborder_characterxml" indexer="include">
         <title xml-lang="en-US" id="tit">Defining Borders for Characters</title>
         <filename>/text/swriter/guide/border_character.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3156136">
<bookmark_value>characters;defining borders</bookmark_value>
      <bookmark_value>borders; for characters</bookmark_value>
      <bookmark_value>frames; around characters</bookmark_value>
      <bookmark_value>defining;character borders</bookmark_value>
</bookmark>
<paragraph xml-lang="en-US" id="hd_id3116136" role="heading" level="1"><variable id="border_character"><link href="text/swriter/guide/border_character.xhp">Defining Borders for Characters</link> 
</variable></paragraph>
      <paragraph xml-lang="en-US" id="par_id3148413" role="warning">If two adjacent text ranges' all border properties are identical (same style, width, color, padding and shadow), then those two ranges will be considered to be part of the same border group and rendered within the same border in the document.</paragraph>
      <paragraph xml-lang="en-US" id="hd_id3110503" role="heading" level="2">To Set a Predefined Border Style</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3118661" role="listitem">Select the range of characters around which you want to add a border.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3118473" role="listitem">Choose <emph>Format - Character - Borders</emph>.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3110171" role="listitem">Select one of the default border styles in the <emph>Default</emph> area.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3151046" role="listitem">Select a line style, width 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>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3152172" role="listitem">Select the distance between the border lines and the selected characters in the <emph>Padding</emph> area. You can only change distances to edges that have a border line defined.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3111023" role="listitem">Click <emph>OK</emph> to apply the changes.</paragraph>
         </listitem>
      </list>
      <paragraph xml-lang="en-US" id="hd_id3142068" role="heading" level="2">To Set a Customized Border Style</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3118613" role="listitem">Select the range of characters around which you want to add a border.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3111663" role="listitem">Choose <emph>Format - Character - Borders</emph>.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3110541" role="listitem">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>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3119149" role="listitem">Select a line style, width 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>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3116282" role="listitem">Repeat the last two steps for every border edge.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3111041" role="listitem">Select the distance between the border lines and the selected characters in the <emph>Padding</emph> area. You can only change distances to edges that have a border line defined.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3141606" role="listitem">Click <emph>OK</emph> to apply the changes.</paragraph>
         </listitem>
      </list>
      <section id="relatedtopics">
         <embed href="text/shared/guide/border_paragraph.xhp#border_paragraph"/>
         <embed href="text/swriter/guide/border_page.xhp#border_page"/>
         <embed href="text/shared/guide/border_table.xhp#border_table"/>
         <embed href="text/swriter/guide/border_object.xhp#border_object"/>
      </section>
   </body>
</helpdocument>
