1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?>
2*b1cdbd2cSJim Jagielski<helpdocument version="1.0">
3*b1cdbd2cSJim Jagielski
4*b1cdbd2cSJim Jagielski<!--***********************************************************
5*b1cdbd2cSJim Jagielski *
6*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one
7*b1cdbd2cSJim Jagielski * or more contributor license agreements.  See the NOTICE file
8*b1cdbd2cSJim Jagielski * distributed with this work for additional information
9*b1cdbd2cSJim Jagielski * regarding copyright ownership.  The ASF licenses this file
10*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the
11*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance
12*b1cdbd2cSJim Jagielski * with the License.  You may obtain a copy of the License at
13*b1cdbd2cSJim Jagielski *
14*b1cdbd2cSJim Jagielski *   http://www.apache.org/licenses/LICENSE-2.0
15*b1cdbd2cSJim Jagielski *
16*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing,
17*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an
18*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*b1cdbd2cSJim Jagielski * KIND, either express or implied.  See the License for the
20*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations
21*b1cdbd2cSJim Jagielski * under the License.
22*b1cdbd2cSJim Jagielski *
23*b1cdbd2cSJim Jagielski ***********************************************************-->
24*b1cdbd2cSJim Jagielski
25*b1cdbd2cSJim Jagielski
26*b1cdbd2cSJim Jagielski
27*b1cdbd2cSJim Jagielski
28*b1cdbd2cSJim Jagielski<meta>
29*b1cdbd2cSJim Jagielski      <topic id="textswriterguideindices_tocxml" indexer="include" status="PUBLISH">
30*b1cdbd2cSJim Jagielski         <title xml-lang="en-US" id="tit">Creating a Table of Contents</title>
31*b1cdbd2cSJim Jagielski         <filename>/text/swriter/guide/indices_toc.xhp</filename>
32*b1cdbd2cSJim Jagielski      </topic>
33*b1cdbd2cSJim Jagielski   </meta>
34*b1cdbd2cSJim Jagielski   <body>
35*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="index" id="bm_id3147104"><bookmark_value>tables of contents; creating and updating</bookmark_value>
36*b1cdbd2cSJim Jagielski      <bookmark_value>updating; tables of contents</bookmark_value>
37*b1cdbd2cSJim Jagielski</bookmark><comment>mw deleted "creating;"</comment>
38*b1cdbd2cSJim Jagielski<paragraph xml-lang="en-US" id="hd_id3147104" role="heading" level="1" l10n="U"
39*b1cdbd2cSJim Jagielski                 oldref="16"><variable id="indices_toc"><link href="text/swriter/guide/indices_toc.xhp" name="Creating a Table of Contents">Creating a Table of Contents</link>
40*b1cdbd2cSJim Jagielski</variable></paragraph>
41*b1cdbd2cSJim Jagielski      <section id="tomanual">
42*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="par_id3150942" role="paragraph" l10n="U" oldref="45">The best way to generate a table of contents is to apply the predefined heading paragraph styles, such as "Heading 1", to the paragraphs that you want to include in your table of contents. After you apply these styles, you can then create a table of contents.</paragraph>
43*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="hd_id5876949" role="heading" level="2" l10n="NEW">To Insert a Table of Contents</paragraph>
44*b1cdbd2cSJim Jagielski         <list type="ordered">
45*b1cdbd2cSJim Jagielski            <listitem>
46*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id3150510" role="listitem" l10n="U" oldref="17">Click in your document where you want to create the table of contents.</paragraph>
47*b1cdbd2cSJim Jagielski            </listitem>
48*b1cdbd2cSJim Jagielski            <listitem>
49*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id3150528" role="listitem" l10n="U" oldref="18">Choose <emph>Insert - Indexes and Tables - Indexes and Tables</emph>, and then click the <link href="text/swriter/01/04120211.xhp" name="Index/Table"><emph>Index/Table</emph></link> tab.</paragraph>
50*b1cdbd2cSJim Jagielski            </listitem>
51*b1cdbd2cSJim Jagielski            <listitem>
52*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id3153746" role="listitem" l10n="U" oldref="46">Select "Table of Contents" in the <emph>Type</emph> box.</paragraph>
53*b1cdbd2cSJim Jagielski            </listitem>
54*b1cdbd2cSJim Jagielski            <listitem>
55*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id3146856" role="listitem" l10n="U" oldref="47">Select any options that you want.</paragraph>
56*b1cdbd2cSJim Jagielski            </listitem>
57*b1cdbd2cSJim Jagielski            <listitem>
58*b1cdbd2cSJim Jagielski               <paragraph xml-lang="en-US" id="par_id3146872" role="listitem" l10n="U" oldref="19">Click <emph>OK</emph>.</paragraph>
59*b1cdbd2cSJim Jagielski            </listitem>
60*b1cdbd2cSJim Jagielski         </list>
61*b1cdbd2cSJim Jagielski         <paragraph xml-lang="en-US" id="par_id3146896" role="paragraph" l10n="U" oldref="20">If you want to use a different paragraph style as a table of contents entry, select the <item type="menuitem">Additional Styles</item>
62*b1cdbd2cSJim Jagielski            <emph/>check box in the <item type="menuitem">Create from</item> area, and then click the (<item type="menuitem">...</item>) button next to the check box. In the <item type="menuitem">Assign Styles</item> dialog, click the style in the list, and then click the <item type="menuitem">&gt;&gt;</item>
63*b1cdbd2cSJim Jagielski            <emph/>or the <item type="menuitem">&lt;&lt;</item>
64*b1cdbd2cSJim Jagielski            <emph/>button to define the outline level for the paragraph style.</paragraph>
65*b1cdbd2cSJim Jagielski      </section>
66*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id3153148" role="heading" level="2" l10n="U"
67*b1cdbd2cSJim Jagielski                 oldref="21">To Update a Table of Contents</paragraph>
68*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id3153161" role="paragraph" l10n="U" oldref="22">Do one of the following:</paragraph>
69*b1cdbd2cSJim Jagielski      <list type="unordered">
70*b1cdbd2cSJim Jagielski         <listitem>
71*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3153183" role="listitem" l10n="U" oldref="48">Right-click in the table of contents and choose <emph>Update Index/Table</emph>.</paragraph>
72*b1cdbd2cSJim Jagielski         </listitem>
73*b1cdbd2cSJim Jagielski         <listitem>
74*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3147066" role="listitem" l10n="U" oldref="44">Choose <emph>Tools - Update - All Indexes and Tables</emph>.</paragraph>
75*b1cdbd2cSJim Jagielski         </listitem>
76*b1cdbd2cSJim Jagielski      </list>
77*b1cdbd2cSJim Jagielski      <embed href="text/shared/00/00000004.xhp#related"/>
78*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/indices_enter.xhp#indices_enter"/>
79*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/indices_edit.xhp#indices_edit"/>
80*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/indices_form.xhp#indices_form"/>
81*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/indices_delete.xhp#indices_delete"/>
82*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/indices_index.xhp#indices_index"/>
83*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/indices_userdef.xhp#indices_userdef"/>
84*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/indices_literature.xhp#indices_literature"/>
85*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/indices_multidoc.xhp#indices_multidoc"/>
86*b1cdbd2cSJim Jagielski   </body>
87*b1cdbd2cSJim Jagielski</helpdocument>