<?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="textswriterguideindices_formxml" indexer="include" status="PUBLISH">
         <title id="tit">Formatting an Index or a Table of Contents</title>
         <filename>/text/swriter/guide/indices_form.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3155855"><bookmark_value>indexes; formatting</bookmark_value>
      <bookmark_value>editing; index format</bookmark_value>
      <bookmark_value>tables of contents; formatting</bookmark_value>
      <bookmark_value>entries; in tables of contents, as hyperlinks</bookmark_value>
      <bookmark_value>tables of contents; hyperlinks as entries</bookmark_value>
      <bookmark_value>hyperlinks; in tables of contents and indexes</bookmark_value>
      <bookmark_value>formatting;indexes and tables of contents</bookmark_value>
</bookmark>
<h1 id="hd_id3155855"><variable id="indices_form"><link href="text/swriter/guide/indices_form.xhp">Formatting an Index or a Table of Contents</link>
</variable></h1>
      <paragraph id="par_id3154259" role="paragraph">You can apply different paragraph styles, assign hyperlinks to entries, change the layout of indexes, and change the background color of indexes in the <emph>Insert Index</emph> dialog.</paragraph>
      <h2 id="hd_id3155888">To Apply a Different Paragraph Style to an Index Level</h2>
      <list type="ordered">
         <listitem>
            <paragraph id="par_id3147110" role="listitem">Right-click in the index or table of contents, then choose <menuitem>Edit Index</menuitem>.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3147135" role="listitem">Click the <emph>Styles </emph>tab.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3150229" role="listitem">Click an index level in the <emph>Levels </emph>list.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3150934" role="listitem">Click the style that you want to apply in the <emph>Paragraph Style </emph>list.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3150960" role="listitem">Click the assign button <emph>&lt;</emph>.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3150516" role="listitem">Click <emph>OK</emph>.</paragraph>
         </listitem>
      </list>
      <h2 id="hd_id3146878">To Assign Hyperlinks to Entries in a Table of Contents</h2>
      <paragraph id="par_id3146890" role="paragraph">You can assign a cross-reference as a hyperlink to entries in a table of contents.</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph id="par_id3150712" role="listitem">Right-click in the table of contents, then choose <menuitem>Edit Index</menuitem>.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3150738" role="listitem">Click the <emph>Entries</emph> tab.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3148399" role="listitem">In the <menuitem>Level</menuitem> list click the index level for which you want to assign hyperlinks.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3148424" role="listitem">In the <menuitem>Structure</menuitem> area, click in the box in front of <menuitem>N#</menuitem>, and then click <menuitem>Hyperlink</menuitem>.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3153171" role="listitem">Click in the box behind the <emph>E</emph>, and then click <emph>Hyperlink</emph>.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3147060" role="listitem">Repeat for each index level that should use a hyperlink, or click the <menuitem>All</menuitem> button to apply the formatting to all levels.</paragraph>
         </listitem>
      </list>
      <section id="relatedtopics">
      <embed href="text/swriter/guide/indices_toc.xhp#indices_toc"/>
      <embed href="text/swriter/guide/indices_enter.xhp#indices_enter"/>
      <embed href="text/swriter/guide/indices_edit.xhp#indices_edit"/>
      <embed href="text/swriter/guide/indices_delete.xhp#indices_delete"/>
      <embed href="text/swriter/guide/indices_index.xhp#indices_index"/>
      <embed href="text/swriter/guide/indices_userdef.xhp#indices_userdef"/>
      <embed href="text/swriter/guide/indices_literature.xhp#indices_literature"/>
      <embed href="text/swriter/guide/indices_multidoc.xhp#indices_multidoc"/>
      </section>
   </body>
</helpdocument>
