Difference between revisions of "Documentation/OOo3 User Guides/Writer Guide/Index Table page"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Protecting against manual changes)
m
 
(8 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
|NextPage=Documentation/OOo3_User_Guides/Writer Guide/Entries page
 
|NextPage=Documentation/OOo3_User_Guides/Writer Guide/Entries page
 
}}__notoc__
 
}}__notoc__
Use the ''Index/Table'' page to set the attributes of the table of contents.
 
  
=== Adding a title ===
 
To give the table of contents a title, type it in the ''Title'' field. (You can change an existing title by typing over it.) To delete the title, clear the ''Title'' field.
 
  
=== Setting the type of index ===
+
Use the Index/Table page, pictured above, to set the attributes of the TOC.
You can create several types of indexes. They include:
+
  
* Table of Contents
+
[[Image:CH12_InsertIndexTable_IndexTable.png|thumb|none|500px|''The Index Table Page.'']]
* Alphabetical Index
+
* Illustration Index
+
* Table of Objects
+
* Bibliography
+
  
You can also create user-defined indexes.
+
==Changing the title==
 +
To give the table of contents a different title, type it in the ''Title'' field. To delete the title, clear the ''Title'' field.
  
{{Documentation/Note| You can only change the type of index when you first create it. Once you define an index type (for example, make a table of contents) you cannot change the type.}}
+
==Setting the type of index==
 +
In computer terminology, a table of contents is one of several types of indexes. Be sure the Type of Index is set to Table of Contents. See “Alphabetic indexes” on page 18 and “Other types of indexes” on page 28 for more about creating other types of indexes.
  
=== Choosing the scope of the table of contents ===
+
{{Note|You can only change the type of index when you first create it. Once you define an index type (for example, make a table of contents) you cannot change the type.}}
From the ''for'' drop-down list in the ''Create index/table'' area, select '''Entire document'''. There is an additional option to create a table of contents for just the current chapter. For more information, refer to '''Help > OpenOffice.org Writer > Contents'''.
+
  
=== Creating a table of contents from an outline ===
+
==Protecting against manual changes==
This selection creates the table of contents using outline levels; that is, paragraphs formatted with one of the predefined heading styles (''Heading 1-10'') are added to the table of contents in order.
+
  
Click on the (...) button next to the checkbox to change the numbering properties of the table of contents. This can be useful if you want to put numbers in front of each level of the contents, as shown below.
+
To prevent the TOC from being changed accidentally, select '''Protected against manual changes'''. If this option is selected, the TOC can only be changed by using the right-click menu or the Insert Table/Index dialog box. If the option is not selected, the TOC can be changed directly on the document page, just like other text. However, any manual changes will be lost when you update it.
  
[[Image:WG12-4.png|thumb|none|500px|''Table of contents with numbers.'']]
+
==Choosing the scope of the table of contents==
  
=== Creating from index marks ===
+
The for drop-down list in the ''Create index/table'' area, allows you to select whether the TOC will cover all the document's headings ('''Entire document''') or just the headings of the chapter where it is inserted. Writer identifies a “chapter” as all the headings between two first level outline headings (normally ''Heading 1'').
This selection adds any index entries that you have inserted into the document by using '''Insert > Indexes and Tables > Entry'''. Normally you would not use this selection for a table of contents.
+
  
=== Protecting against manual changes ===
+
==Changing the number of levels included==
To stop the table of contents being changed accidentally, select the '''Protected against manual changes''' option. If this option is selected, the table of contents can only be changed using the context menu or the Insert Table/Index dialog box. If the option is not selected, the table of contents can be changed directly on the document page, just like other text.
+
  
{{Documentation/Tip| Any manual changes to a table of contents are lost when you update it.}}
+
Writer uses 10 levels of headings when it builds the table of contents (or the number of levels used in the document, whichever is smaller). To change the number of levels included, enter the required number in the Evaluate up to level box. For example, the TOC in this book includes only the first four heading levels.
  
=== Changing the number of levels included ===
 
Writer displays a default setting of 10 levels of headings when it builds the table of contents (or the number of levels used in the document, whichever is smaller). To change the number of levels, enter the required number in the ''Evaluate up to level'' box.
 
  
=== Creating from additional styles ===
+
==Creating a Table of Contents from an outline==
Writer automatically assigns to the table of contents all paragraphs formatted with the default heading styles (''Heading 1'', ''Heading 2'', and so on). To assign paragraphs formatted with other styles, including custom styles:
+
<ol>
+
<li>In the ''Create from'' area, select the '''Additional Styles''' checkbox.</li>
+
<li>Click the ('''...''') button to the right of the checkbox. The Assign Styles dialog box opens.</li>
+
  
[[Image:WG12-5.png|thumb|none|500px|''Assign Styles dialog box.'']]
+
The third section of the Index/Table page is used to determine what Writer should use to create the TOC. The available choices (not mutually exclusive) are:
  
<li>In the ''Not applied'' column, click the style that you want to assign to the table of contents.</li>
+
* Outline
<li>Use the '''>>''' button to move the selected style to the desired outline level. For example, to have paragraphs formatted with the selected style to appear as top-level entries in the table of contents, click the '''>>''' button once to move the style into the ''1'' column. To move the style in the opposite direction, use the '''<nowiki><<</nowiki>''' button.</li>
+
* Additional styles
<li>Click '''OK''' to save your changes and return to the ''Index/Table'' tab or click '''Cancel''' to return without saving your changes.</li>
+
* Index marks
</ol>
+
  
{{Documentation/Note| If the Outline box is checked, any changes you make to the position of one of the predefined Heading styles will be superseded by the default outline structure.}}
+
By default Writer uses the outline levels; that is, paragraphs formatted with the paragraph styles associated with outline levels in '''Tools > Outline Numbering'''. In the default document, ''Heading 1'' has outline level 1, ''Heading 2'' outline level 2 and so on up to ''Heading 10''.
 +
 
 +
You can change the paragraph styles included in the outline as described in [[Documentation/OOo3_User_Guides/Writer_Guide/Defining_hierarchy| Defining a hierarchy of headings]] in Chapter 6 of this guide. You can include other paragraph styles in the TOC by assigning an outline level to those styles. To do this, modify the paragraph style definition: go to the Outline & Numbering page for the style, and select the required outline level. Click '''OK''' to save the change.
 +
 
 +
[[Image:CH12_OutlineNumbering_OutlineLevel.png|thumb|none|500px|''Specifying an outline level on the Outline & Numbering page for a paragraph style.'']]
 +
 
 +
==Creating from additional styles==
 +
 
 +
By selecting the ''Additional Styles'' option on the Index/Table page, you can add more paragraph styles to the TOC. This can be useful when you want to include in the TOC an annex (appendix). If the ''Outline'' option is also selected, the additional styles will be included in the table of contents together with the ones defined in the outline numbering. However, headings included in the TOC using this feature are '''not''' hyperlinked to the headings in the document body as are headings assigned to outline levels.
 +
 
 +
{{Note| As described above, you can now assign outline levels to paragraph styles. Styles with outline levels assigned are hyperlinked in the TOC.
 +
 
 +
You can not change the outline level of a paragraph as defined in '''Tools > Outline Numbering''' using the Additional Styles page. In fact any change made to the level of these paragraphs will be ignored.}}
 +
 
 +
==Creating from index marks==
 +
 
 +
This selection adds any index entries that you have inserted into the document by using '''Insert > Indexes and Tables > Entry'''. Normally you would not use this selection for a table of contents. However, if you do wish to use it, be sure to select Table of Contents from the drop-down list in the Insert Index Entry dialog box when you are entering the index entries for use in a TOC, so that Writer can distinguish between them and any index entries intended for inclusion in an alphabetic index.
  
  
 
{{CCBY}}
 
{{CCBY}}
 
[[Category: Writer Guide (Documentation)]]
 
[[Category: Writer Guide (Documentation)]]

Latest revision as of 15:44, 4 December 2020



Use the Index/Table page, pictured above, to set the attributes of the TOC.

The Index Table Page.

Changing the title

To give the table of contents a different title, type it in the Title field. To delete the title, clear the Title field.

Setting the type of index

In computer terminology, a table of contents is one of several types of indexes. Be sure the Type of Index is set to Table of Contents. See “Alphabetic indexes” on page 18 and “Other types of indexes” on page 28 for more about creating other types of indexes.

Documentation note.png You can only change the type of index when you first create it. Once you define an index type (for example, make a table of contents) you cannot change the type.

Protecting against manual changes

To prevent the TOC from being changed accidentally, select Protected against manual changes. If this option is selected, the TOC can only be changed by using the right-click menu or the Insert Table/Index dialog box. If the option is not selected, the TOC can be changed directly on the document page, just like other text. However, any manual changes will be lost when you update it.

Choosing the scope of the table of contents

The for drop-down list in the Create index/table area, allows you to select whether the TOC will cover all the document's headings (Entire document) or just the headings of the chapter where it is inserted. Writer identifies a “chapter” as all the headings between two first level outline headings (normally Heading 1).

Changing the number of levels included

Writer uses 10 levels of headings when it builds the table of contents (or the number of levels used in the document, whichever is smaller). To change the number of levels included, enter the required number in the Evaluate up to level box. For example, the TOC in this book includes only the first four heading levels.


Creating a Table of Contents from an outline

The third section of the Index/Table page is used to determine what Writer should use to create the TOC. The available choices (not mutually exclusive) are:

  • Outline
  • Additional styles
  • Index marks

By default Writer uses the outline levels; that is, paragraphs formatted with the paragraph styles associated with outline levels in Tools > Outline Numbering. In the default document, Heading 1 has outline level 1, Heading 2 outline level 2 and so on up to Heading 10.

You can change the paragraph styles included in the outline as described in Defining a hierarchy of headings in Chapter 6 of this guide. You can include other paragraph styles in the TOC by assigning an outline level to those styles. To do this, modify the paragraph style definition: go to the Outline & Numbering page for the style, and select the required outline level. Click OK to save the change.

Specifying an outline level on the Outline & Numbering page for a paragraph style.

Creating from additional styles

By selecting the Additional Styles option on the Index/Table page, you can add more paragraph styles to the TOC. This can be useful when you want to include in the TOC an annex (appendix). If the Outline option is also selected, the additional styles will be included in the table of contents together with the ones defined in the outline numbering. However, headings included in the TOC using this feature are not hyperlinked to the headings in the document body as are headings assigned to outline levels.

Documentation note.png As described above, you can now assign outline levels to paragraph styles. Styles with outline levels assigned are hyperlinked in the TOC.

You can not change the outline level of a paragraph as defined in Tools > Outline Numbering using the Additional Styles page. In fact any change made to the level of these paragraphs will be ignored.

Creating from index marks

This selection adds any index entries that you have inserted into the document by using Insert > Indexes and Tables > Entry. Normally you would not use this selection for a table of contents. However, if you do wish to use it, be sure to select Table of Contents from the drop-down list in the Insert Index Entry dialog box when you are entering the index entries for use in a TOC, so that Writer can distinguish between them and any index entries intended for inclusion in an alphabetic index.


Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools