<?xml version="1.0" encoding="UTF-8"?>

<!--***********************************************************
 *
 * 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
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 *
 ***********************************************************-->

<helpdocument version="1.0">
<meta>
<topic id="textswriterguideindices_formxml" indexer="include" status="PUBLISH">
<title xml-lang="en-US" 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>
<paragraph xml-lang="en-US" id="hd_id3155855" role="heading" level="1" l10n="U"
oldref="38"><variable id="indices_form"><link href="text/swriter/guide/indices_form.xhp" name="Formatting an Index or a Table of Contents">Formatting an Index or a Table of Contents</link>
</variable></paragraph>
<paragraph xml-lang="en-US" id="par_id3154259" role="paragraph" l10n="U" oldref="39">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>
<paragraph xml-lang="en-US" id="hd_id3155888" role="heading" level="2" l10n="U"
oldref="44">To Apply a Different Paragraph Style to an Index Level</paragraph>
<list type="ordered">
<listitem>
<paragraph xml-lang="en-US" id="par_id3147110" role="listitem" l10n="U" oldref="45">Right-click in the index or table of contents, and then choose <emph>Edit Index/Table</emph>.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id3147135" role="listitem" l10n="U" oldref="46">Click the <emph>Styles</emph> tab.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id3150229" role="listitem" l10n="U" oldref="47">Click an index level in the <emph>Levels </emph>list.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id3150934" role="listitem" l10n="U" oldref="48">Click the style that you want to apply in the <emph>Paragraph Style </emph>list.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id3150960" role="listitem" l10n="U" oldref="56">Click the assign button <emph>&lt;</emph>.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id3150516" role="listitem" l10n="U" oldref="49">Click <emph>OK</emph>.</paragraph>
</listitem>
</list>
<paragraph xml-lang="en-US" id="hd_id3146878" role="heading" level="2" l10n="U"
oldref="40">To Assign Hyperlinks to Entries in a Table of Contents</paragraph>
<paragraph xml-lang="en-US" id="par_id3146890" role="paragraph" l10n="U" oldref="50">You can assign a cross-reference as a hyperlink to entries in a table of contents.</paragraph>
<list type="ordered">
<listitem>
<paragraph xml-lang="en-US" id="par_id3150712" role="listitem" l10n="U" oldref="51">Right-click in the table of contents, and then choose <emph>Edit Index/Table</emph>.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id3150738" role="listitem" l10n="U" oldref="42">Click the <emph>Entries</emph> tab.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id3148399" role="listitem" l10n="U" oldref="52">In the <item type="menuitem">Level</item> list click the heading level that you want to assign hyperlinks to.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id3148424" role="listitem" l10n="U" oldref="53">In the <emph>Structure</emph> area, click in the box in front of <emph>E#</emph>, and then click <emph>Hyperlink</emph>.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id3153171" role="listitem" l10n="U" oldref="54">Click in the box behind the <emph>E</emph>, and then click <emph>Hyperlink</emph>.</paragraph>
</listitem>
<listitem>
<paragraph xml-lang="en-US" id="par_id3147060" role="listitem" l10n="CHG" oldref="55">Repeat for each heading level that you want to create hyperlinks for, or click the <item type="menuitem">All</item> button to apply the formatting to all levels.</paragraph>
</listitem>
</list>
<embed href="text/shared/00/00000004.xhp#related"/>
<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"/>
</body>
</helpdocument>