<?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="textswriterguidetext_centervertxml" indexer="include">
    <title id="tit" xml-lang="en-US">Using a Frame to Center Text on a Page</title>
    <filename>/text/swriter/guide/text_centervert.xhp</filename>
  </topic>
</meta>

<body>

<bookmark xml-lang="en-US" branch="index" id="bm_id3155177">
  <bookmark_value>frames; centering on pages</bookmark_value>
  <bookmark_value>centering;frames on pages</bookmark_value>
  <bookmark_value>title pages; centering text on</bookmark_value>
</bookmark>


<h1 id="hd_id3155177"><variable id="text_centervert"><link href="text/swriter/guide/text_centervert.xhp">Using a Frame to Center Text on a Page</link></variable></h1>

<list type="ordered">
  <listitem>
    <paragraph id="par_id3155920" role="listitem" xml-lang="en-US">Select the text that you want to center on the page.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3155868" role="listitem" xml-lang="en-US">Choose <emph>Insert - Frame</emph>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3152765" role="listitem" xml-lang="en-US">In the <item type="menuitem">Anchor</item> area, select <item type="menuitem">To page</item>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3149844" role="listitem" xml-lang="en-US">In the <item type="menuitem">Size</item> area, set the dimensions of the frame.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3156114" role="listitem" xml-lang="en-US">In the <item type="menuitem">Position</item> area, select "Center" in the <item type="menuitem">Horizontal</item> and <item type="menuitem">Vertical</item> boxes.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3153410" role="listitem" xml-lang="en-US">Click <emph>OK</emph>.</paragraph>
  </listitem>
</list>
<paragraph id="par_id3149615" role="note" xml-lang="en-US">To hide the borders of the frame, select the frame, and then choose <item type="menuitem">Format - Frame and Object - Properties</item>. Click the <item type="menuitem">Borders</item> tab, and then click in the <item type="menuitem">Set No Border</item> box in the <item type="menuitem">Line Arrangement</item> area.</paragraph>
<paragraph id="par_id3145098" role="paragraph" xml-lang="en-US">To resize the frame, drag the edges of the frame.</paragraph>

<section id="relatedtopics">
  <embed href="text/swriter/guide/text_emphasize.xhp#text_emphasize"/>
<embed href="text/swriter/guide/text_frame.xhp#text_frame"/>
</section>
</body>

</helpdocument>
