<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=BruceDickson</id>
	<title>Apache OpenOffice Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=BruceDickson"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/BruceDickson"/>
	<updated>2026-05-14T18:20:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/OOo3_User_Guides/Calc_Guide/Organizing_templates&amp;diff=187694</id>
		<title>Documentation/OOo3 User Guides/Calc Guide/Organizing templates</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/OOo3_User_Guides/Calc_Guide/Organizing_templates&amp;diff=187694"/>
		<updated>2010-11-06T02:15:24Z</updated>

		<summary type="html">&lt;p&gt;BruceDickson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Organizing templates}}&lt;br /&gt;
{{Documentation/CG3Ch10TOC&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/OOo3_User_Guides/Calc Guide/Changing template&lt;br /&gt;
|NextPage=Documentation/OOo3_User_Guides/Calc Guide/Graphics in Calc&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
NOTE:  If You are looking to apply a template to already-created text, this option is very limited in any styles environment.  See this page for discussion and wrokaround:  http://user.services.openoffice.org/en/forum/viewtopic.php?f=29&amp;amp;t=26944&lt;br /&gt;
&lt;br /&gt;
OOo can only use templates that are in OOo template folders. You can create new OOo template folders and use them to organize your templates, and import templates into those folders. For example, you might have one template folder for report templates and another for letter templates. You can also export templates.&lt;br /&gt;
&lt;br /&gt;
To begin, choose &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Templates &amp;gt; Organize&amp;#039;&amp;#039;&amp;#039; from the main menu. The Template Management dialog opens.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note| All the actions made by the &amp;#039;&amp;#039;&amp;#039;Commands&amp;#039;&amp;#039;&amp;#039; button in the Template Management dialog can be made as well by right-clicking on the templates or the folders.}}&lt;br /&gt;
&lt;br /&gt;
== Creating a template folder ==&lt;br /&gt;
To create a template folder:&lt;br /&gt;
&lt;br /&gt;
# In the Template Management dialog, click any folder.&lt;br /&gt;
# Click the &amp;#039;&amp;#039;&amp;#039;Commands &amp;#039;&amp;#039;&amp;#039;button&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;and choose &amp;#039;&amp;#039;&amp;#039;New&amp;#039;&amp;#039;&amp;#039; from the drop-down menu. A new folder called &amp;#039;&amp;#039;Untitled&amp;#039;&amp;#039; appears.&lt;br /&gt;
# Type a name for the new folder, and then press &amp;#039;&amp;#039;Enter&amp;#039;&amp;#039;. OOo saves the folder with the name that you entered.&lt;br /&gt;
&lt;br /&gt;
== Deleting a template folder ==&lt;br /&gt;
You cannot delete template folders supplied with OOo or installed using the Extension Manager; you can only delete template folders that you have created.&lt;br /&gt;
&lt;br /&gt;
To delete a template folder:&lt;br /&gt;
&lt;br /&gt;
# In the Template Management dialog, select the folder that you want to delete.&lt;br /&gt;
# Click the &amp;#039;&amp;#039;&amp;#039;Commands &amp;#039;&amp;#039;&amp;#039;button and choose&amp;#039;&amp;#039;&amp;#039; Delete&amp;#039;&amp;#039;&amp;#039; from the drop-down menu. A message box appears and asks you to confirm the deletion. Click &amp;#039;&amp;#039;&amp;#039;Yes.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Moving a template ==&lt;br /&gt;
To move a template from one template folder to another template folder:&lt;br /&gt;
&lt;br /&gt;
# In the Template Management dialog, double-click the folder that contains the template you want to move. A list of the templates contained in that folder appears underneath the folder name.&lt;br /&gt;
# Click the template that you want to move and drag it to the desired folder. If you do not have the authority to delete templates from the source folder, this action &amp;#039;&amp;#039;copies&amp;#039;&amp;#039; the template instead of moving it.&lt;br /&gt;
&lt;br /&gt;
== Deleting a template ==&lt;br /&gt;
You cannot delete templates supplied with OOo or installed using the Extension Manager; you can only delete templates that you have created or imported.&lt;br /&gt;
&lt;br /&gt;
To delete a template:&lt;br /&gt;
&lt;br /&gt;
# In the Template Management dialog, double-click the folder that contains the template you want to delete. A list of the templates contained in that folder appears underneath the folder name.&lt;br /&gt;
# Click the template that you want to delete.&lt;br /&gt;
# Click the &amp;#039;&amp;#039;&amp;#039;Commands &amp;#039;&amp;#039;&amp;#039;button and choose &amp;#039;&amp;#039;&amp;#039;Delete&amp;#039;&amp;#039;&amp;#039; from the drop-down menu. A message box appears and asks you to confirm the deletion. Click &amp;#039;&amp;#039;&amp;#039;Yes.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Importing a template ==&lt;br /&gt;
If the template that you want to use is in a different location, you must import it into an OOo template folder.&lt;br /&gt;
&lt;br /&gt;
To import a template into a template folder:&lt;br /&gt;
&lt;br /&gt;
# In the Template Management dialog, select the folder into which you want to import the template.&lt;br /&gt;
# Click the &amp;#039;&amp;#039;&amp;#039;Commands &amp;#039;&amp;#039;&amp;#039;button and choose &amp;#039;&amp;#039;&amp;#039;Import Template&amp;#039;&amp;#039;&amp;#039; from the drop-down menu. A standard file browser window opens.&lt;br /&gt;
# Find and select the template that you want to import and click &amp;#039;&amp;#039;&amp;#039;Open. &amp;#039;&amp;#039;&amp;#039;The file browser window closes and the template appears in the selected folder.&lt;br /&gt;
# If you want, type a new name for the template, and then press &amp;#039;&amp;#039;Enter&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Exporting a template ==&lt;br /&gt;
To export a template from a template folder to another location:&lt;br /&gt;
&lt;br /&gt;
# In the Template Management dialog, double-click the folder that contains the template you want to export. A list of the templates contained in that folder appears underneath the folder name.&lt;br /&gt;
# Click the template that you want to export.&lt;br /&gt;
# Click the &amp;#039;&amp;#039;&amp;#039;Commands &amp;#039;&amp;#039;&amp;#039;button and choose &amp;#039;&amp;#039;&amp;#039;Export Template&amp;#039;&amp;#039;&amp;#039; from the drop-down menu.&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;The Save As window opens.&lt;br /&gt;
# Find the folder into which you want to export the template and click &amp;#039;&amp;#039;&amp;#039;Save&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{CCBY}}&lt;br /&gt;
[[Category: Calc Guide (Documentation)]]&lt;/div&gt;</summary>
		<author><name>BruceDickson</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating_a_master_document&amp;diff=186153</id>
		<title>Documentation/OOoAuthors User Manual/Writer Guide/Creating a master document</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating_a_master_document&amp;diff=186153"/>
		<updated>2010-10-05T04:14:49Z</updated>

		<summary type="html">&lt;p&gt;BruceDickson: /* Step 5. Insert the subdocuments into the master document */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Creating a master document}}&lt;br /&gt;
{{WriterMasterDocTOC|PrevNext=block&lt;br /&gt;
|PrevPage=Documentation/OOoAuthors User Manual/Writer Guide/Using the Navigator&lt;br /&gt;
|NextPage=Documentation/OOoAuthors_User_Manual/Writer Guide/Editing a master document}}__notoc__&lt;br /&gt;
The three most common scenarios for creating a master document depend on the current state of your document:&lt;br /&gt;
&lt;br /&gt;
* You have one existing document (a book) that you want to split into several subdocuments (chapters) that will be controlled by the master document.&lt;br /&gt;
* You have several existing documents (chapters) by one or more authors that you want to combine into one book, controlled by the master document.&lt;br /&gt;
* You have no existing documents but intend to write a long book containing several chapters, possibly by multiple authors.&lt;br /&gt;
&lt;br /&gt;
We will look at each of these scenarios in turn.&lt;br /&gt;
&lt;br /&gt;
== Splitting one document into a master document and subdocuments ==&lt;br /&gt;
When you have one existing document that you want to split into several subdocuments that will be controlled by the master document, you can split the document automatically.&lt;br /&gt;
&lt;br /&gt;
Use this method if the original document uses only the &amp;#039;&amp;#039;Default&amp;#039;&amp;#039; page style, is numbered sequentially from the first page, and uses the &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; style to identify the start of each chapter. In these conditions, this method will work well.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Advantages:&amp;#039;&amp;#039;&amp;#039; This method is quick and easy, and any existing cross-references between chapters are preserved. Although cleanup work may be necessary, once you have done the cleanup, the document will behave itself.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Disadvantages:&amp;#039;&amp;#039;&amp;#039; If the original document was complex, you may have major cleanup work to do because some formatting will be lost—for example, page styles, page breaks, restarted page numbering.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;How to do it:&amp;#039;&amp;#039;&amp;#039; Open the document and click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Send &amp;gt; Create Master Document&amp;#039;&amp;#039;&amp;#039; to split the document. You will find that each of the subdocuments begins with a &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; and the file names are all &amp;#039;&amp;#039;maindocnameX.odt&amp;#039;&amp;#039;, where X is 1, 2, 3, and so on. If you have a Preface or other “chapter” starting with a Heading 1 before Chapter 1, the file names will not directly correspond to the chapter numbers.&lt;br /&gt;
&lt;br /&gt;
== Combining several documents into a master document ==&lt;br /&gt;
This method works best when all of the documents were created from the same template, but you can also use it when the documents were created from different templates.&lt;br /&gt;
&lt;br /&gt;
Use one of the techniques described in [[#Starting with no existing documents|Starting with no existing documents]] to create a blank master document and insert the other documents as subdocuments of the master document.&lt;br /&gt;
&lt;br /&gt;
This method is especially useful if the subdocuments are created or maintained by multiple writers. All writers on the project can work on their subdocuments without fear of version control issues that can occur when multiple people work on the same document.&lt;br /&gt;
&lt;br /&gt;
== Starting with no existing documents ==&lt;br /&gt;
The ideal situation is to start with no existing documents, because you can do everything the way you want from the beginning. Writer provides three ways to create a master document:&lt;br /&gt;
&lt;br /&gt;
[[#Method 1. Quick and easy, but not recommended|Method 1. Quick and easy, but not recommended]]&lt;br /&gt;
&lt;br /&gt;
[[#Method 2. Not too complicated, but with restrictions|Method 2. Not too complicated, but with restrictions]]&lt;br /&gt;
&lt;br /&gt;
[[#Method 3. Complete control|Method 3. Complete control]]&lt;br /&gt;
&lt;br /&gt;
In each case, you need to have a disciplined approach to make sure the master document works correctly and reliably. Each method below describes the steps to take. Be sure to do the steps in the order given.&lt;br /&gt;
&lt;br /&gt;
===Method 1. Quick and easy, but not recommended===&lt;br /&gt;
Writer provides a quick and easy way to create a master document, but the master document is not associated with a template, so changes to styles and formatting are more difficult to apply reliably.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; If the subdocuments were all created with the same template and the styles were not modified in the documents, then the styles are imported into the master document with the subdocuments, and styles and formatting should be correct in the master document. This method works best when these conditions are met.&lt;br /&gt;
&lt;br /&gt;
How to do it: &lt;br /&gt;
&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; New &amp;gt; Master Document&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# Use the Navigator to insert new documents or existing files into the master document, as described in [[#Step 5. Insert the subdocuments into the master document|Step 5. Insert the subdocuments into the master document]].&lt;br /&gt;
&lt;br /&gt;
===Method 2. Not too complicated, but with restrictions===&lt;br /&gt;
This technique works well if you want to use sequential page numbering throughout the final document (not restarting at 1 at any point), and each chapter starts with a &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; on a new page. If you want to restart page numbering anywhere in the document, use Method 3.&lt;br /&gt;
&lt;br /&gt;
How to do it: Follow the instructions in the next section ([[#Method 3. Complete control|Method 3. Complete control]]), but do not put in the text sections between the subdocuments or try to change the page numbering.&lt;br /&gt;
&lt;br /&gt;
===Method 3. Complete control===&lt;br /&gt;
This method gives you complete control over complex documents with several page styles or restarted page numbering. It is a bit more work to set up, but works reliably. However, the method does not work in some situations. See [[#Problem solving|Problem solving]] for details.&lt;br /&gt;
&lt;br /&gt;
How to do it: Follow these steps, in the order given. Each step is explained in detail in the following subsections.&lt;br /&gt;
&lt;br /&gt;
[[#Step 1. Plan the project|Step 1. Plan the project]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 2. Create a template containing the required styles, fields, and other elements|Step 2. Create a template containing the required styles, fields, and other elements]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 3. Create the master document and subdocuments from the same template|Step 3. Create the master document and subdocuments from the same template]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 4. Insert some information directly into the master document|Step 4. Insert some information directly into the master document]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 5. Insert the subdocuments into the master document|Step 5. Insert the subdocuments into the master document]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 6. Add a table of contents, bibliography, or index|Step 6. Add a table of contents, bibliography, or index]]&lt;br /&gt;
&lt;br /&gt;
====Step 1. Plan the project====&lt;br /&gt;
&lt;br /&gt;
Although you can make changes at most steps in this process, the more you can plan before you start, the less work you will have to do to correct any problems later. Here are some things you need to plan:&lt;br /&gt;
&lt;br /&gt;
* Parts of book or report required, and the page numbering to be used in different parts of the book. Consider as an example a book with these parts:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Part&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Length&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Page numbering&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title (cover) page&lt;br /&gt;
| 1 page&lt;br /&gt;
| no page number&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| 1 page (back of title page)&lt;br /&gt;
| no page number&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Table of Contents&lt;br /&gt;
| unknown length&lt;br /&gt;
| start with i&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Preface (Foreword)&lt;br /&gt;
| 2 pages&lt;br /&gt;
| continue from ToC&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Chapters 1 to 8&lt;br /&gt;
| unknown length&lt;br /&gt;
| start with 1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Appendixes A, B&lt;br /&gt;
| unknown length&lt;br /&gt;
| continue from Chapter 8&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Index&lt;br /&gt;
| unknown length&lt;br /&gt;
| continue from Appendix B&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* What pages will be in the master document and what will be in the subdocuments. The ToC and index must be in the master document. A typical arrangement would be:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Part&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Location&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title (cover) page&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Table of Contents&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Preface (Foreword)&lt;br /&gt;
| Subdocument&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Chapters 1 to 8&lt;br /&gt;
| Subdocuments&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Appendixes A, B&lt;br /&gt;
| Subdocuments&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Index&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Page, paragraph, character, frame, and numbering styles. See Chapter 6 (Introduction to Styles) and Chapter 7 (Working with Styles) for instructions on how to create or modify styles. Some styles for the example book are:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Page styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Next page style&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title page&lt;br /&gt;
| No header, footer or page numbers; layout different from other pages&lt;br /&gt;
| Copyright page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| No header, footer or page numbers; layout different from other pages&lt;br /&gt;
| Front matter first page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter first page&lt;br /&gt;
| No header; page number in footer, Roman numbers (i, ii, iii); layout different from following pages&lt;br /&gt;
| Front matter left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter left page&lt;br /&gt;
| Header and footer, one containing the page number (Roman)&lt;br /&gt;
| Front matter right page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter right page&lt;br /&gt;
| Margins mirrored from Front matter left page; Roman page number&lt;br /&gt;
| Front matter left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| First page&lt;br /&gt;
| No header; page number in footer, Arabic numbers (1, 2, 3); layout same as Front matter first page&lt;br /&gt;
| Left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Left page&lt;br /&gt;
| Layout as for Front matter left page, but Arabic page numbers&lt;br /&gt;
| Right page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Right page&lt;br /&gt;
| Layout as for Front matter right page, but Arabic page numbers&lt;br /&gt;
| Left page&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Paragraph styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Next paragraph style&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Heading 1&lt;br /&gt;
| 18 pt, bold, 0.30” above, 0.15” after, page break before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Heading 2&lt;br /&gt;
| 14 pt, bold, 0.30 “ above, 0.15” below&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Body text&lt;br /&gt;
| 12 pt, double space, 0.25” indent before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Page break&lt;br /&gt;
| 6 pt, no space before or after, page break before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Character styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Emphasis&lt;br /&gt;
| 12 pt, italic&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Body text&lt;br /&gt;
| 12 pt&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Insert fields and AutoText entries as required. See other chapters in this book for ideas.&lt;br /&gt;
&lt;br /&gt;
====Step 2. Create a template containing the required styles, fields, and other elements====&lt;br /&gt;
You can create your template from an existing document or template that contains some or all of the styles you want for this document, or you can create the template from a blank document. For more about templates, see Chapter 10 (Working with Templates).&lt;br /&gt;
&lt;br /&gt;
If you use an existing document or template, delete all the text from it except for fields in headers and footers before saving it as the template for this project. It will still have all the styles you defined, even if the text is not there. You can change the styles in the template as your project develops.&lt;br /&gt;
&lt;br /&gt;
Be sure to use &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Templates &amp;gt; Save &amp;#039;&amp;#039;&amp;#039;when creating the template.&lt;br /&gt;
&lt;br /&gt;
====Step 3. Create the master document and subdocuments from the same template====&lt;br /&gt;
If you are starting a new project, create the master document and all the subdocuments from the same template. Not using the same template could create style inconsistencies that require time and effort to correct. For example, if two subdocuments have a style with the same name that is formatted differently in each document, the master document will use the formatting from the first subdocument that was added. This could cause your document not to look like you expect. Using the same template for all subdocuments saves time and frustration.&lt;br /&gt;
&lt;br /&gt;
It does not matter in what order you create the master and subdocuments, and you do not have to create all the subdocuments at the same time, when you are starting the project. You can add new subdocuments at any time, as you need them—as long as you always create them from the same template.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Create the master document&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Follow this process to create the master document. You can use other methods, but each method (including this one) has its drawbacks.&lt;br /&gt;
&lt;br /&gt;
# Open a new document from the template you created in Step 2, by clicking &amp;#039;&amp;#039;&amp;#039;New &amp;gt; Templates and Documents&amp;#039;&amp;#039;&amp;#039;, then selecting the template you created. Be sure the first page of this new document is set to the page style you want for the first page of the final document; if it is not, change it. In our example, the style for the first page is &amp;#039;&amp;#039;Title page&amp;#039;&amp;#039;.&lt;br /&gt;
# If any text or page breaks came into this document from the template, delete the text. (Fields in headers and footers can stay.) &lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Send &amp;gt; Create Master Document&amp;#039;&amp;#039;&amp;#039;. Save the master document in the folder for this project, not in the templates foldert. We will return to this master document later. For now, you can either leave it open or close it, as you prefer.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Create subdocuments&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A subdocument is no different from any other text document. It becomes a subdocument only when it is linked into a master document and opened from within the master document. Some settings in the master document will override the settings in a subdocument, but only when the document is being viewed, manipulated, or printed through the master document.&lt;br /&gt;
&lt;br /&gt;
Create a subdocument in the same way as you create any ordinary document:&lt;br /&gt;
&lt;br /&gt;
# Open a blank document based on the project template (very important) by clicking &amp;#039;&amp;#039;&amp;#039;New &amp;gt; Templates and Documents&amp;#039;&amp;#039;&amp;#039;, then selecting the template.&lt;br /&gt;
# Delete any unwanted text, and set the first page to the page style you specified for the first page of a chapter.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Save As&amp;#039;&amp;#039;&amp;#039;. Give the document a suitable name and save it in the folder for this project.&lt;br /&gt;
&lt;br /&gt;
If you already have some of the chapters written, the files are probably not based on the template you just created for this project. You will need to change the template attached to the existing files. The only way to do this is:&lt;br /&gt;
&lt;br /&gt;
# Open a blank document based on the project template.&lt;br /&gt;
# Copy the contents of the original document into this new document. Use &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Paste Special&amp;#039;&amp;#039;&amp;#039; to avoid copying the styles from the original documents to the new document.&lt;br /&gt;
# Apply the template styles throughout the document.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Save As&amp;#039;&amp;#039;&amp;#039; and save the new document in the project folder with a suitable name.&lt;br /&gt;
# Rename the original chapter file so you do not use it by mistake.&lt;br /&gt;
&lt;br /&gt;
====Step 4. Insert some information directly into the master document====&lt;br /&gt;
The instructions in steps 4 and 5 use the page numbering requirements given in Step 1. If your book has different requirements, change these instructions to suit. See [[#Problem solving|Problem solving]] for one example.&lt;br /&gt;
&lt;br /&gt;
These instructions are fairly tedious, but once you have the master document set up, you should not have to change it, and with a bit of practice setting it up goes quickly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the master document and do the following.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make sure paragraph marks are showing (you can set them in &amp;#039;&amp;#039;&amp;#039;Tools &amp;gt; Options &amp;gt; OpenOffice.org Writer &amp;gt; Formatting Aids&amp;#039;&amp;#039;&amp;#039;, or click the &amp;#039;&amp;#039;&amp;#039;Nonprinting characters &amp;#039;&amp;#039;&amp;#039;icon [[Image:ParagraphIcon.png]]).&lt;br /&gt;
* Show text boundaries, table boundaries, and section boundaries (&amp;#039;&amp;#039;&amp;#039;Tools &amp;gt; Options &amp;gt; OpenOffice.org &amp;gt; Appearance&amp;#039;&amp;#039;&amp;#039;). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Type the contents of the title page (or leave placeholders and fill in later). With the insertion point in the last blank paragraph on the page, click &amp;#039;&amp;#039;&amp;#039;Insert &amp;gt; Manual Break&amp;#039;&amp;#039;&amp;#039;. On the Insert Break dialog box, select &amp;#039;&amp;#039;&amp;#039;Page break&amp;#039;&amp;#039;&amp;#039; and the page style for the second page (&amp;#039;&amp;#039;Copyright page&amp;#039;&amp;#039; in our example), and leave the &amp;#039;&amp;#039;&amp;#039;Change page number &amp;#039;&amp;#039;&amp;#039;checkbox deselected. Click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-3.png|Page break between the title page and the copyright page]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a page break between the title page and the copyright page.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Type the contents of the copyright page (or leave placeholders). Insert another manual page break, this time setting the page style to &amp;#039;&amp;#039;Front matter first page&amp;#039;&amp;#039;. Select the &amp;#039;&amp;#039;&amp;#039;Change page number&amp;#039;&amp;#039;&amp;#039; checkbox and choose 1 in the box below that, as shown below. This number 1 will show in your document as i, because the page style is defined to use Roman numerals.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-4.png|Page break before the first page of the front matter]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a page break before the first page of the front matter.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Let’s assume the third page is for the Table of Contents. Leave a blank paragraph or two on this page and insert another page break, with the next page again set to the &amp;#039;&amp;#039;Front matter first page &amp;#039;&amp;#039;style, which we want to use for the first page of the Preface. Because we want the page numbering for the Preface to continue from the page numbers of the Table of Contents, do &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; select the &amp;#039;&amp;#039;&amp;#039;Change page number &amp;#039;&amp;#039;&amp;#039;checkbox this time. Notice that the Navigator shows one item, labeled &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Step 5. Insert the subdocuments into the master document====&lt;br /&gt;
&lt;br /&gt;
At last we are ready to add the subdocuments. [[Hmm, the 3.x Wiki, when it gets to Master Documents, goes HERE to the 2.x manual.  The icons in Navigator for 3.x are almost all different.  Who can update this page?]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; Subdocuments are inserted into a master document &amp;#039;&amp;#039;before&amp;#039;&amp;#039; whatever item is highlighted in the Navigator. If you insert the &amp;#039;&amp;#039;last&amp;#039;&amp;#039; subdocument first, and then insert the other subdocuments before the last one, they will end up in the correct sequence without the necessity of moving them up or down in the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Display the Navigator (click &amp;#039;&amp;#039;&amp;#039;Edit &amp;gt; Navigator&amp;#039;&amp;#039;&amp;#039;, or press &amp;#039;&amp;#039;F5&amp;#039;&amp;#039;, or click the &amp;#039;&amp;#039;&amp;#039;Navigator&amp;#039;&amp;#039;&amp;#039; icon [[Image:NavigatorIcon.png]].&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;On the Navigator, select &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;, then long-click on the &amp;#039;&amp;#039;&amp;#039;Insert &amp;#039;&amp;#039;&amp;#039;icon and click &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-5.png|Inserting a subdocument using the Navigator]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a subdocument into a master document using the Navigator.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A standard File Open dialog box appears. Select the required file (which you created in Step 3) and click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;. This example uses six chapters and a preface; we will load Chapter 6 first, as suggested in the Tip above.&lt;br /&gt;
&lt;br /&gt;
The inserted file is listed in the Navigator &amp;#039;&amp;#039;before&amp;#039;&amp;#039; the Text item, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-6.png|Navigator after inserting one subdocument]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Navigator after inserting one subdocument.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Because the &amp;#039;&amp;#039;Text&amp;#039;&amp;#039; section contains the title page and other material you have already inserted, highlight it and click the &amp;#039;&amp;#039;&amp;#039;Move Up&amp;#039;&amp;#039;&amp;#039; icon to move it to the top of the list.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Highlight the subdocument you just inserted (Chapter 6), then long-click on the &amp;#039;&amp;#039;&amp;#039;Insert &amp;#039;&amp;#039;&amp;#039;icon and click &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039; to insert the &amp;#039;&amp;#039;first&amp;#039;&amp;#039; subdocument; in this example, Preface. Chapter 6 remains highlighted. Repeat with Chapter 1, Chapter 2, and so on until all the subdocuments have been added to the list. The Navigator will now look something like the figure below.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-7.png|Navigator showing a series of files]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;The Navigator showing a series of files in a master document.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the master document again. Now highlight each chapter in turn and insert a Text section before it. When you are done, the Navigator should look like Figure 8.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-8.png|Navigator showing a series of files and text sections]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;The Navigator showing a series of files and text sections.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; You can define your &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; paragraph style to start on a new page, and thus avoid inserting manual page breaks between chapters, but this causes a page numbering problem if you want to restart page numbering at the beginning of Chapter 1.&lt;br /&gt;
&lt;br /&gt;
To restart page numbering, you must insert a manual page break; but because the Heading 1 style on the first page of Chapter 1 forces yet another page break, you end up with one or more unwanted blank pages before the first page of Chapter 1. The technique described in this chapter avoids this problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Check whether the first page of the master document has the correct page style. If not, change it to the correct style (&amp;#039;&amp;#039;Title page&amp;#039;&amp;#039; in this example).&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll to the place where the first subdocument begins. Check whether its page style is correct, and change it if necessary (&amp;#039;&amp;#039;Front matter first page&amp;#039;&amp;#039; in this example).&lt;br /&gt;
&lt;br /&gt;
The first subdocument has a blank paragraph at the top of the page; this was inserted as part of the manual page break. Set this paragraph to the PageBreak style you created in Step 2.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-9.png|Page break before subdocument]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Page break before subdocument, which is in a protected section.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Notice that the document is in a protected section. That means you cannot change any of the contents of this subdocument from within the master document. (If you remove the section, the contents become part of the master document itself; they are no longer in a subdocument. If you make changes in either the master document or the subdocument, those changes are not made in the other document. For more about sections, refer to the online help or to Chapter 4, Formatting Pages.)&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down until you find the beginning of Chapter 1. You will find that it is on the same page as the end of the Preface, and there is a blank paragraph in the text area between the two sections (the Preface and Chapter 1), as shown below.&lt;br /&gt;
&lt;br /&gt;
Click on this blank paragraph and insert a page break, specifying the &amp;#039;&amp;#039;First Page&amp;#039;&amp;#039; style and the page number to start at 1. Click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-10.png|A text area between two sections]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;A text area between two sections of a master document.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Scroll to the first page of Chapter 2. You’ll find that it is on the same page as the end of Chapter 1, and there is a blank paragraph in the text area between the two chapters.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click on this blank paragraph and insert a page break, specifying the &amp;#039;&amp;#039;First Page&amp;#039;&amp;#039; style, but do &amp;#039;&amp;#039;not&amp;#039;&amp;#039; select the &amp;#039;&amp;#039;&amp;#039;Change page number&amp;#039;&amp;#039;&amp;#039; checkbox.&lt;br /&gt;
&lt;br /&gt;
Repeat for all of the chapters, so that each chapter starts on a new first page.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the master document again.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Step 6. Add a table of contents, bibliography, or index====&lt;br /&gt;
You can generate a table of contents, bibliography, or index for the book, using the master document. You must insert these items into a text section in the master document. For more about these document elements, see Chapter 12 (Creating Tables of Contents, Indexes, and Bibliographies).&lt;br /&gt;
&lt;br /&gt;
Put the insertion point on the page in the first text section where the table of contents is to go and create the table of contents.&lt;br /&gt;
&lt;br /&gt;
If you do not have a Text section at the end of the master document, insert one before the last subdocument, then move it down so it is after the last subdocument. Now, if you have included bibliographic entries in your subdocuments, you can put the insertion point on the page in this last text section where the bibliography is to go and create the bibliography.&lt;br /&gt;
&lt;br /&gt;
If you have included index entries in your subdocuments, put the insertion point on the page in the last text section where the index is to go and create the index.&lt;br /&gt;
&lt;br /&gt;
{{Manual}}&lt;/div&gt;</summary>
		<author><name>BruceDickson</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating_a_master_document&amp;diff=186152</id>
		<title>Documentation/OOoAuthors User Manual/Writer Guide/Creating a master document</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating_a_master_document&amp;diff=186152"/>
		<updated>2010-10-05T04:13:03Z</updated>

		<summary type="html">&lt;p&gt;BruceDickson: /* Step 5. Insert the subdocuments into the master document */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Creating a master document}}&lt;br /&gt;
{{WriterMasterDocTOC|PrevNext=block&lt;br /&gt;
|PrevPage=Documentation/OOoAuthors User Manual/Writer Guide/Using the Navigator&lt;br /&gt;
|NextPage=Documentation/OOoAuthors_User_Manual/Writer Guide/Editing a master document}}__notoc__&lt;br /&gt;
The three most common scenarios for creating a master document depend on the current state of your document:&lt;br /&gt;
&lt;br /&gt;
* You have one existing document (a book) that you want to split into several subdocuments (chapters) that will be controlled by the master document.&lt;br /&gt;
* You have several existing documents (chapters) by one or more authors that you want to combine into one book, controlled by the master document.&lt;br /&gt;
* You have no existing documents but intend to write a long book containing several chapters, possibly by multiple authors.&lt;br /&gt;
&lt;br /&gt;
We will look at each of these scenarios in turn.&lt;br /&gt;
&lt;br /&gt;
== Splitting one document into a master document and subdocuments ==&lt;br /&gt;
When you have one existing document that you want to split into several subdocuments that will be controlled by the master document, you can split the document automatically.&lt;br /&gt;
&lt;br /&gt;
Use this method if the original document uses only the &amp;#039;&amp;#039;Default&amp;#039;&amp;#039; page style, is numbered sequentially from the first page, and uses the &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; style to identify the start of each chapter. In these conditions, this method will work well.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Advantages:&amp;#039;&amp;#039;&amp;#039; This method is quick and easy, and any existing cross-references between chapters are preserved. Although cleanup work may be necessary, once you have done the cleanup, the document will behave itself.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Disadvantages:&amp;#039;&amp;#039;&amp;#039; If the original document was complex, you may have major cleanup work to do because some formatting will be lost—for example, page styles, page breaks, restarted page numbering.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;How to do it:&amp;#039;&amp;#039;&amp;#039; Open the document and click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Send &amp;gt; Create Master Document&amp;#039;&amp;#039;&amp;#039; to split the document. You will find that each of the subdocuments begins with a &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; and the file names are all &amp;#039;&amp;#039;maindocnameX.odt&amp;#039;&amp;#039;, where X is 1, 2, 3, and so on. If you have a Preface or other “chapter” starting with a Heading 1 before Chapter 1, the file names will not directly correspond to the chapter numbers.&lt;br /&gt;
&lt;br /&gt;
== Combining several documents into a master document ==&lt;br /&gt;
This method works best when all of the documents were created from the same template, but you can also use it when the documents were created from different templates.&lt;br /&gt;
&lt;br /&gt;
Use one of the techniques described in [[#Starting with no existing documents|Starting with no existing documents]] to create a blank master document and insert the other documents as subdocuments of the master document.&lt;br /&gt;
&lt;br /&gt;
This method is especially useful if the subdocuments are created or maintained by multiple writers. All writers on the project can work on their subdocuments without fear of version control issues that can occur when multiple people work on the same document.&lt;br /&gt;
&lt;br /&gt;
== Starting with no existing documents ==&lt;br /&gt;
The ideal situation is to start with no existing documents, because you can do everything the way you want from the beginning. Writer provides three ways to create a master document:&lt;br /&gt;
&lt;br /&gt;
[[#Method 1. Quick and easy, but not recommended|Method 1. Quick and easy, but not recommended]]&lt;br /&gt;
&lt;br /&gt;
[[#Method 2. Not too complicated, but with restrictions|Method 2. Not too complicated, but with restrictions]]&lt;br /&gt;
&lt;br /&gt;
[[#Method 3. Complete control|Method 3. Complete control]]&lt;br /&gt;
&lt;br /&gt;
In each case, you need to have a disciplined approach to make sure the master document works correctly and reliably. Each method below describes the steps to take. Be sure to do the steps in the order given.&lt;br /&gt;
&lt;br /&gt;
===Method 1. Quick and easy, but not recommended===&lt;br /&gt;
Writer provides a quick and easy way to create a master document, but the master document is not associated with a template, so changes to styles and formatting are more difficult to apply reliably.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; If the subdocuments were all created with the same template and the styles were not modified in the documents, then the styles are imported into the master document with the subdocuments, and styles and formatting should be correct in the master document. This method works best when these conditions are met.&lt;br /&gt;
&lt;br /&gt;
How to do it: &lt;br /&gt;
&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; New &amp;gt; Master Document&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# Use the Navigator to insert new documents or existing files into the master document, as described in [[#Step 5. Insert the subdocuments into the master document|Step 5. Insert the subdocuments into the master document]].&lt;br /&gt;
&lt;br /&gt;
===Method 2. Not too complicated, but with restrictions===&lt;br /&gt;
This technique works well if you want to use sequential page numbering throughout the final document (not restarting at 1 at any point), and each chapter starts with a &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; on a new page. If you want to restart page numbering anywhere in the document, use Method 3.&lt;br /&gt;
&lt;br /&gt;
How to do it: Follow the instructions in the next section ([[#Method 3. Complete control|Method 3. Complete control]]), but do not put in the text sections between the subdocuments or try to change the page numbering.&lt;br /&gt;
&lt;br /&gt;
===Method 3. Complete control===&lt;br /&gt;
This method gives you complete control over complex documents with several page styles or restarted page numbering. It is a bit more work to set up, but works reliably. However, the method does not work in some situations. See [[#Problem solving|Problem solving]] for details.&lt;br /&gt;
&lt;br /&gt;
How to do it: Follow these steps, in the order given. Each step is explained in detail in the following subsections.&lt;br /&gt;
&lt;br /&gt;
[[#Step 1. Plan the project|Step 1. Plan the project]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 2. Create a template containing the required styles, fields, and other elements|Step 2. Create a template containing the required styles, fields, and other elements]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 3. Create the master document and subdocuments from the same template|Step 3. Create the master document and subdocuments from the same template]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 4. Insert some information directly into the master document|Step 4. Insert some information directly into the master document]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 5. Insert the subdocuments into the master document|Step 5. Insert the subdocuments into the master document]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 6. Add a table of contents, bibliography, or index|Step 6. Add a table of contents, bibliography, or index]]&lt;br /&gt;
&lt;br /&gt;
====Step 1. Plan the project====&lt;br /&gt;
&lt;br /&gt;
Although you can make changes at most steps in this process, the more you can plan before you start, the less work you will have to do to correct any problems later. Here are some things you need to plan:&lt;br /&gt;
&lt;br /&gt;
* Parts of book or report required, and the page numbering to be used in different parts of the book. Consider as an example a book with these parts:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Part&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Length&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Page numbering&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title (cover) page&lt;br /&gt;
| 1 page&lt;br /&gt;
| no page number&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| 1 page (back of title page)&lt;br /&gt;
| no page number&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Table of Contents&lt;br /&gt;
| unknown length&lt;br /&gt;
| start with i&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Preface (Foreword)&lt;br /&gt;
| 2 pages&lt;br /&gt;
| continue from ToC&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Chapters 1 to 8&lt;br /&gt;
| unknown length&lt;br /&gt;
| start with 1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Appendixes A, B&lt;br /&gt;
| unknown length&lt;br /&gt;
| continue from Chapter 8&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Index&lt;br /&gt;
| unknown length&lt;br /&gt;
| continue from Appendix B&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* What pages will be in the master document and what will be in the subdocuments. The ToC and index must be in the master document. A typical arrangement would be:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Part&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Location&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title (cover) page&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Table of Contents&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Preface (Foreword)&lt;br /&gt;
| Subdocument&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Chapters 1 to 8&lt;br /&gt;
| Subdocuments&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Appendixes A, B&lt;br /&gt;
| Subdocuments&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Index&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Page, paragraph, character, frame, and numbering styles. See Chapter 6 (Introduction to Styles) and Chapter 7 (Working with Styles) for instructions on how to create or modify styles. Some styles for the example book are:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Page styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Next page style&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title page&lt;br /&gt;
| No header, footer or page numbers; layout different from other pages&lt;br /&gt;
| Copyright page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| No header, footer or page numbers; layout different from other pages&lt;br /&gt;
| Front matter first page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter first page&lt;br /&gt;
| No header; page number in footer, Roman numbers (i, ii, iii); layout different from following pages&lt;br /&gt;
| Front matter left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter left page&lt;br /&gt;
| Header and footer, one containing the page number (Roman)&lt;br /&gt;
| Front matter right page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter right page&lt;br /&gt;
| Margins mirrored from Front matter left page; Roman page number&lt;br /&gt;
| Front matter left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| First page&lt;br /&gt;
| No header; page number in footer, Arabic numbers (1, 2, 3); layout same as Front matter first page&lt;br /&gt;
| Left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Left page&lt;br /&gt;
| Layout as for Front matter left page, but Arabic page numbers&lt;br /&gt;
| Right page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Right page&lt;br /&gt;
| Layout as for Front matter right page, but Arabic page numbers&lt;br /&gt;
| Left page&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Paragraph styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Next paragraph style&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Heading 1&lt;br /&gt;
| 18 pt, bold, 0.30” above, 0.15” after, page break before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Heading 2&lt;br /&gt;
| 14 pt, bold, 0.30 “ above, 0.15” below&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Body text&lt;br /&gt;
| 12 pt, double space, 0.25” indent before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Page break&lt;br /&gt;
| 6 pt, no space before or after, page break before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Character styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Emphasis&lt;br /&gt;
| 12 pt, italic&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Body text&lt;br /&gt;
| 12 pt&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Insert fields and AutoText entries as required. See other chapters in this book for ideas.&lt;br /&gt;
&lt;br /&gt;
====Step 2. Create a template containing the required styles, fields, and other elements====&lt;br /&gt;
You can create your template from an existing document or template that contains some or all of the styles you want for this document, or you can create the template from a blank document. For more about templates, see Chapter 10 (Working with Templates).&lt;br /&gt;
&lt;br /&gt;
If you use an existing document or template, delete all the text from it except for fields in headers and footers before saving it as the template for this project. It will still have all the styles you defined, even if the text is not there. You can change the styles in the template as your project develops.&lt;br /&gt;
&lt;br /&gt;
Be sure to use &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Templates &amp;gt; Save &amp;#039;&amp;#039;&amp;#039;when creating the template.&lt;br /&gt;
&lt;br /&gt;
====Step 3. Create the master document and subdocuments from the same template====&lt;br /&gt;
If you are starting a new project, create the master document and all the subdocuments from the same template. Not using the same template could create style inconsistencies that require time and effort to correct. For example, if two subdocuments have a style with the same name that is formatted differently in each document, the master document will use the formatting from the first subdocument that was added. This could cause your document not to look like you expect. Using the same template for all subdocuments saves time and frustration.&lt;br /&gt;
&lt;br /&gt;
It does not matter in what order you create the master and subdocuments, and you do not have to create all the subdocuments at the same time, when you are starting the project. You can add new subdocuments at any time, as you need them—as long as you always create them from the same template.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Create the master document&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Follow this process to create the master document. You can use other methods, but each method (including this one) has its drawbacks.&lt;br /&gt;
&lt;br /&gt;
# Open a new document from the template you created in Step 2, by clicking &amp;#039;&amp;#039;&amp;#039;New &amp;gt; Templates and Documents&amp;#039;&amp;#039;&amp;#039;, then selecting the template you created. Be sure the first page of this new document is set to the page style you want for the first page of the final document; if it is not, change it. In our example, the style for the first page is &amp;#039;&amp;#039;Title page&amp;#039;&amp;#039;.&lt;br /&gt;
# If any text or page breaks came into this document from the template, delete the text. (Fields in headers and footers can stay.) &lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Send &amp;gt; Create Master Document&amp;#039;&amp;#039;&amp;#039;. Save the master document in the folder for this project, not in the templates foldert. We will return to this master document later. For now, you can either leave it open or close it, as you prefer.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Create subdocuments&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A subdocument is no different from any other text document. It becomes a subdocument only when it is linked into a master document and opened from within the master document. Some settings in the master document will override the settings in a subdocument, but only when the document is being viewed, manipulated, or printed through the master document.&lt;br /&gt;
&lt;br /&gt;
Create a subdocument in the same way as you create any ordinary document:&lt;br /&gt;
&lt;br /&gt;
# Open a blank document based on the project template (very important) by clicking &amp;#039;&amp;#039;&amp;#039;New &amp;gt; Templates and Documents&amp;#039;&amp;#039;&amp;#039;, then selecting the template.&lt;br /&gt;
# Delete any unwanted text, and set the first page to the page style you specified for the first page of a chapter.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Save As&amp;#039;&amp;#039;&amp;#039;. Give the document a suitable name and save it in the folder for this project.&lt;br /&gt;
&lt;br /&gt;
If you already have some of the chapters written, the files are probably not based on the template you just created for this project. You will need to change the template attached to the existing files. The only way to do this is:&lt;br /&gt;
&lt;br /&gt;
# Open a blank document based on the project template.&lt;br /&gt;
# Copy the contents of the original document into this new document. Use &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Paste Special&amp;#039;&amp;#039;&amp;#039; to avoid copying the styles from the original documents to the new document.&lt;br /&gt;
# Apply the template styles throughout the document.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Save As&amp;#039;&amp;#039;&amp;#039; and save the new document in the project folder with a suitable name.&lt;br /&gt;
# Rename the original chapter file so you do not use it by mistake.&lt;br /&gt;
&lt;br /&gt;
====Step 4. Insert some information directly into the master document====&lt;br /&gt;
The instructions in steps 4 and 5 use the page numbering requirements given in Step 1. If your book has different requirements, change these instructions to suit. See [[#Problem solving|Problem solving]] for one example.&lt;br /&gt;
&lt;br /&gt;
These instructions are fairly tedious, but once you have the master document set up, you should not have to change it, and with a bit of practice setting it up goes quickly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the master document and do the following.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make sure paragraph marks are showing (you can set them in &amp;#039;&amp;#039;&amp;#039;Tools &amp;gt; Options &amp;gt; OpenOffice.org Writer &amp;gt; Formatting Aids&amp;#039;&amp;#039;&amp;#039;, or click the &amp;#039;&amp;#039;&amp;#039;Nonprinting characters &amp;#039;&amp;#039;&amp;#039;icon [[Image:ParagraphIcon.png]]).&lt;br /&gt;
* Show text boundaries, table boundaries, and section boundaries (&amp;#039;&amp;#039;&amp;#039;Tools &amp;gt; Options &amp;gt; OpenOffice.org &amp;gt; Appearance&amp;#039;&amp;#039;&amp;#039;). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Type the contents of the title page (or leave placeholders and fill in later). With the insertion point in the last blank paragraph on the page, click &amp;#039;&amp;#039;&amp;#039;Insert &amp;gt; Manual Break&amp;#039;&amp;#039;&amp;#039;. On the Insert Break dialog box, select &amp;#039;&amp;#039;&amp;#039;Page break&amp;#039;&amp;#039;&amp;#039; and the page style for the second page (&amp;#039;&amp;#039;Copyright page&amp;#039;&amp;#039; in our example), and leave the &amp;#039;&amp;#039;&amp;#039;Change page number &amp;#039;&amp;#039;&amp;#039;checkbox deselected. Click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-3.png|Page break between the title page and the copyright page]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a page break between the title page and the copyright page.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Type the contents of the copyright page (or leave placeholders). Insert another manual page break, this time setting the page style to &amp;#039;&amp;#039;Front matter first page&amp;#039;&amp;#039;. Select the &amp;#039;&amp;#039;&amp;#039;Change page number&amp;#039;&amp;#039;&amp;#039; checkbox and choose 1 in the box below that, as shown below. This number 1 will show in your document as i, because the page style is defined to use Roman numerals.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-4.png|Page break before the first page of the front matter]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a page break before the first page of the front matter.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Let’s assume the third page is for the Table of Contents. Leave a blank paragraph or two on this page and insert another page break, with the next page again set to the &amp;#039;&amp;#039;Front matter first page &amp;#039;&amp;#039;style, which we want to use for the first page of the Preface. Because we want the page numbering for the Preface to continue from the page numbers of the Table of Contents, do &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; select the &amp;#039;&amp;#039;&amp;#039;Change page number &amp;#039;&amp;#039;&amp;#039;checkbox this time. Notice that the Navigator shows one item, labeled &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Step 5. Insert the subdocuments into the master document====&lt;br /&gt;
&lt;br /&gt;
At last we are ready to add the subdocuments. [[Hey people, the icons in Navigator 3.2 are way different. This creates a LOT more posts to teh forum as I must do now.  Who can update this page?]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; Subdocuments are inserted into a master document &amp;#039;&amp;#039;before&amp;#039;&amp;#039; whatever item is highlighted in the Navigator. If you insert the &amp;#039;&amp;#039;last&amp;#039;&amp;#039; subdocument first, and then insert the other subdocuments before the last one, they will end up in the correct sequence without the necessity of moving them up or down in the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Display the Navigator (click &amp;#039;&amp;#039;&amp;#039;Edit &amp;gt; Navigator&amp;#039;&amp;#039;&amp;#039;, or press &amp;#039;&amp;#039;F5&amp;#039;&amp;#039;, or click the &amp;#039;&amp;#039;&amp;#039;Navigator&amp;#039;&amp;#039;&amp;#039; icon [[Image:NavigatorIcon.png]].&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;On the Navigator, select &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;, then long-click on the &amp;#039;&amp;#039;&amp;#039;Insert &amp;#039;&amp;#039;&amp;#039;icon and click &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-5.png|Inserting a subdocument using the Navigator]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a subdocument into a master document using the Navigator.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A standard File Open dialog box appears. Select the required file (which you created in Step 3) and click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;. This example uses six chapters and a preface; we will load Chapter 6 first, as suggested in the Tip above.&lt;br /&gt;
&lt;br /&gt;
The inserted file is listed in the Navigator &amp;#039;&amp;#039;before&amp;#039;&amp;#039; the Text item, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-6.png|Navigator after inserting one subdocument]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Navigator after inserting one subdocument.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Because the &amp;#039;&amp;#039;Text&amp;#039;&amp;#039; section contains the title page and other material you have already inserted, highlight it and click the &amp;#039;&amp;#039;&amp;#039;Move Up&amp;#039;&amp;#039;&amp;#039; icon to move it to the top of the list.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Highlight the subdocument you just inserted (Chapter 6), then long-click on the &amp;#039;&amp;#039;&amp;#039;Insert &amp;#039;&amp;#039;&amp;#039;icon and click &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039; to insert the &amp;#039;&amp;#039;first&amp;#039;&amp;#039; subdocument; in this example, Preface. Chapter 6 remains highlighted. Repeat with Chapter 1, Chapter 2, and so on until all the subdocuments have been added to the list. The Navigator will now look something like the figure below.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-7.png|Navigator showing a series of files]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;The Navigator showing a series of files in a master document.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the master document again. Now highlight each chapter in turn and insert a Text section before it. When you are done, the Navigator should look like Figure 8.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-8.png|Navigator showing a series of files and text sections]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;The Navigator showing a series of files and text sections.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; You can define your &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; paragraph style to start on a new page, and thus avoid inserting manual page breaks between chapters, but this causes a page numbering problem if you want to restart page numbering at the beginning of Chapter 1.&lt;br /&gt;
&lt;br /&gt;
To restart page numbering, you must insert a manual page break; but because the Heading 1 style on the first page of Chapter 1 forces yet another page break, you end up with one or more unwanted blank pages before the first page of Chapter 1. The technique described in this chapter avoids this problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Check whether the first page of the master document has the correct page style. If not, change it to the correct style (&amp;#039;&amp;#039;Title page&amp;#039;&amp;#039; in this example).&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll to the place where the first subdocument begins. Check whether its page style is correct, and change it if necessary (&amp;#039;&amp;#039;Front matter first page&amp;#039;&amp;#039; in this example).&lt;br /&gt;
&lt;br /&gt;
The first subdocument has a blank paragraph at the top of the page; this was inserted as part of the manual page break. Set this paragraph to the PageBreak style you created in Step 2.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-9.png|Page break before subdocument]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Page break before subdocument, which is in a protected section.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Notice that the document is in a protected section. That means you cannot change any of the contents of this subdocument from within the master document. (If you remove the section, the contents become part of the master document itself; they are no longer in a subdocument. If you make changes in either the master document or the subdocument, those changes are not made in the other document. For more about sections, refer to the online help or to Chapter 4, Formatting Pages.)&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down until you find the beginning of Chapter 1. You will find that it is on the same page as the end of the Preface, and there is a blank paragraph in the text area between the two sections (the Preface and Chapter 1), as shown below.&lt;br /&gt;
&lt;br /&gt;
Click on this blank paragraph and insert a page break, specifying the &amp;#039;&amp;#039;First Page&amp;#039;&amp;#039; style and the page number to start at 1. Click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-10.png|A text area between two sections]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;A text area between two sections of a master document.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Scroll to the first page of Chapter 2. You’ll find that it is on the same page as the end of Chapter 1, and there is a blank paragraph in the text area between the two chapters.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click on this blank paragraph and insert a page break, specifying the &amp;#039;&amp;#039;First Page&amp;#039;&amp;#039; style, but do &amp;#039;&amp;#039;not&amp;#039;&amp;#039; select the &amp;#039;&amp;#039;&amp;#039;Change page number&amp;#039;&amp;#039;&amp;#039; checkbox.&lt;br /&gt;
&lt;br /&gt;
Repeat for all of the chapters, so that each chapter starts on a new first page.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the master document again.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Step 6. Add a table of contents, bibliography, or index====&lt;br /&gt;
You can generate a table of contents, bibliography, or index for the book, using the master document. You must insert these items into a text section in the master document. For more about these document elements, see Chapter 12 (Creating Tables of Contents, Indexes, and Bibliographies).&lt;br /&gt;
&lt;br /&gt;
Put the insertion point on the page in the first text section where the table of contents is to go and create the table of contents.&lt;br /&gt;
&lt;br /&gt;
If you do not have a Text section at the end of the master document, insert one before the last subdocument, then move it down so it is after the last subdocument. Now, if you have included bibliographic entries in your subdocuments, you can put the insertion point on the page in this last text section where the bibliography is to go and create the bibliography.&lt;br /&gt;
&lt;br /&gt;
If you have included index entries in your subdocuments, put the insertion point on the page in the last text section where the index is to go and create the index.&lt;br /&gt;
&lt;br /&gt;
{{Manual}}&lt;/div&gt;</summary>
		<author><name>BruceDickson</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating_a_master_document&amp;diff=186151</id>
		<title>Documentation/OOoAuthors User Manual/Writer Guide/Creating a master document</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating_a_master_document&amp;diff=186151"/>
		<updated>2010-10-05T03:34:11Z</updated>

		<summary type="html">&lt;p&gt;BruceDickson: /* Step 5. Insert the subdocuments into the master document */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Creating a master document}}&lt;br /&gt;
{{WriterMasterDocTOC|PrevNext=block&lt;br /&gt;
|PrevPage=Documentation/OOoAuthors User Manual/Writer Guide/Using the Navigator&lt;br /&gt;
|NextPage=Documentation/OOoAuthors_User_Manual/Writer Guide/Editing a master document}}__notoc__&lt;br /&gt;
The three most common scenarios for creating a master document depend on the current state of your document:&lt;br /&gt;
&lt;br /&gt;
* You have one existing document (a book) that you want to split into several subdocuments (chapters) that will be controlled by the master document.&lt;br /&gt;
* You have several existing documents (chapters) by one or more authors that you want to combine into one book, controlled by the master document.&lt;br /&gt;
* You have no existing documents but intend to write a long book containing several chapters, possibly by multiple authors.&lt;br /&gt;
&lt;br /&gt;
We will look at each of these scenarios in turn.&lt;br /&gt;
&lt;br /&gt;
== Splitting one document into a master document and subdocuments ==&lt;br /&gt;
When you have one existing document that you want to split into several subdocuments that will be controlled by the master document, you can split the document automatically.&lt;br /&gt;
&lt;br /&gt;
Use this method if the original document uses only the &amp;#039;&amp;#039;Default&amp;#039;&amp;#039; page style, is numbered sequentially from the first page, and uses the &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; style to identify the start of each chapter. In these conditions, this method will work well.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Advantages:&amp;#039;&amp;#039;&amp;#039; This method is quick and easy, and any existing cross-references between chapters are preserved. Although cleanup work may be necessary, once you have done the cleanup, the document will behave itself.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Disadvantages:&amp;#039;&amp;#039;&amp;#039; If the original document was complex, you may have major cleanup work to do because some formatting will be lost—for example, page styles, page breaks, restarted page numbering.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;How to do it:&amp;#039;&amp;#039;&amp;#039; Open the document and click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Send &amp;gt; Create Master Document&amp;#039;&amp;#039;&amp;#039; to split the document. You will find that each of the subdocuments begins with a &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; and the file names are all &amp;#039;&amp;#039;maindocnameX.odt&amp;#039;&amp;#039;, where X is 1, 2, 3, and so on. If you have a Preface or other “chapter” starting with a Heading 1 before Chapter 1, the file names will not directly correspond to the chapter numbers.&lt;br /&gt;
&lt;br /&gt;
== Combining several documents into a master document ==&lt;br /&gt;
This method works best when all of the documents were created from the same template, but you can also use it when the documents were created from different templates.&lt;br /&gt;
&lt;br /&gt;
Use one of the techniques described in [[#Starting with no existing documents|Starting with no existing documents]] to create a blank master document and insert the other documents as subdocuments of the master document.&lt;br /&gt;
&lt;br /&gt;
This method is especially useful if the subdocuments are created or maintained by multiple writers. All writers on the project can work on their subdocuments without fear of version control issues that can occur when multiple people work on the same document.&lt;br /&gt;
&lt;br /&gt;
== Starting with no existing documents ==&lt;br /&gt;
The ideal situation is to start with no existing documents, because you can do everything the way you want from the beginning. Writer provides three ways to create a master document:&lt;br /&gt;
&lt;br /&gt;
[[#Method 1. Quick and easy, but not recommended|Method 1. Quick and easy, but not recommended]]&lt;br /&gt;
&lt;br /&gt;
[[#Method 2. Not too complicated, but with restrictions|Method 2. Not too complicated, but with restrictions]]&lt;br /&gt;
&lt;br /&gt;
[[#Method 3. Complete control|Method 3. Complete control]]&lt;br /&gt;
&lt;br /&gt;
In each case, you need to have a disciplined approach to make sure the master document works correctly and reliably. Each method below describes the steps to take. Be sure to do the steps in the order given.&lt;br /&gt;
&lt;br /&gt;
===Method 1. Quick and easy, but not recommended===&lt;br /&gt;
Writer provides a quick and easy way to create a master document, but the master document is not associated with a template, so changes to styles and formatting are more difficult to apply reliably.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; If the subdocuments were all created with the same template and the styles were not modified in the documents, then the styles are imported into the master document with the subdocuments, and styles and formatting should be correct in the master document. This method works best when these conditions are met.&lt;br /&gt;
&lt;br /&gt;
How to do it: &lt;br /&gt;
&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; New &amp;gt; Master Document&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# Use the Navigator to insert new documents or existing files into the master document, as described in [[#Step 5. Insert the subdocuments into the master document|Step 5. Insert the subdocuments into the master document]].&lt;br /&gt;
&lt;br /&gt;
===Method 2. Not too complicated, but with restrictions===&lt;br /&gt;
This technique works well if you want to use sequential page numbering throughout the final document (not restarting at 1 at any point), and each chapter starts with a &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; on a new page. If you want to restart page numbering anywhere in the document, use Method 3.&lt;br /&gt;
&lt;br /&gt;
How to do it: Follow the instructions in the next section ([[#Method 3. Complete control|Method 3. Complete control]]), but do not put in the text sections between the subdocuments or try to change the page numbering.&lt;br /&gt;
&lt;br /&gt;
===Method 3. Complete control===&lt;br /&gt;
This method gives you complete control over complex documents with several page styles or restarted page numbering. It is a bit more work to set up, but works reliably. However, the method does not work in some situations. See [[#Problem solving|Problem solving]] for details.&lt;br /&gt;
&lt;br /&gt;
How to do it: Follow these steps, in the order given. Each step is explained in detail in the following subsections.&lt;br /&gt;
&lt;br /&gt;
[[#Step 1. Plan the project|Step 1. Plan the project]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 2. Create a template containing the required styles, fields, and other elements|Step 2. Create a template containing the required styles, fields, and other elements]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 3. Create the master document and subdocuments from the same template|Step 3. Create the master document and subdocuments from the same template]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 4. Insert some information directly into the master document|Step 4. Insert some information directly into the master document]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 5. Insert the subdocuments into the master document|Step 5. Insert the subdocuments into the master document]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 6. Add a table of contents, bibliography, or index|Step 6. Add a table of contents, bibliography, or index]]&lt;br /&gt;
&lt;br /&gt;
====Step 1. Plan the project====&lt;br /&gt;
&lt;br /&gt;
Although you can make changes at most steps in this process, the more you can plan before you start, the less work you will have to do to correct any problems later. Here are some things you need to plan:&lt;br /&gt;
&lt;br /&gt;
* Parts of book or report required, and the page numbering to be used in different parts of the book. Consider as an example a book with these parts:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Part&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Length&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Page numbering&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title (cover) page&lt;br /&gt;
| 1 page&lt;br /&gt;
| no page number&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| 1 page (back of title page)&lt;br /&gt;
| no page number&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Table of Contents&lt;br /&gt;
| unknown length&lt;br /&gt;
| start with i&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Preface (Foreword)&lt;br /&gt;
| 2 pages&lt;br /&gt;
| continue from ToC&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Chapters 1 to 8&lt;br /&gt;
| unknown length&lt;br /&gt;
| start with 1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Appendixes A, B&lt;br /&gt;
| unknown length&lt;br /&gt;
| continue from Chapter 8&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Index&lt;br /&gt;
| unknown length&lt;br /&gt;
| continue from Appendix B&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* What pages will be in the master document and what will be in the subdocuments. The ToC and index must be in the master document. A typical arrangement would be:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Part&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Location&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title (cover) page&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Table of Contents&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Preface (Foreword)&lt;br /&gt;
| Subdocument&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Chapters 1 to 8&lt;br /&gt;
| Subdocuments&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Appendixes A, B&lt;br /&gt;
| Subdocuments&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Index&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Page, paragraph, character, frame, and numbering styles. See Chapter 6 (Introduction to Styles) and Chapter 7 (Working with Styles) for instructions on how to create or modify styles. Some styles for the example book are:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Page styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Next page style&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title page&lt;br /&gt;
| No header, footer or page numbers; layout different from other pages&lt;br /&gt;
| Copyright page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| No header, footer or page numbers; layout different from other pages&lt;br /&gt;
| Front matter first page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter first page&lt;br /&gt;
| No header; page number in footer, Roman numbers (i, ii, iii); layout different from following pages&lt;br /&gt;
| Front matter left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter left page&lt;br /&gt;
| Header and footer, one containing the page number (Roman)&lt;br /&gt;
| Front matter right page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter right page&lt;br /&gt;
| Margins mirrored from Front matter left page; Roman page number&lt;br /&gt;
| Front matter left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| First page&lt;br /&gt;
| No header; page number in footer, Arabic numbers (1, 2, 3); layout same as Front matter first page&lt;br /&gt;
| Left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Left page&lt;br /&gt;
| Layout as for Front matter left page, but Arabic page numbers&lt;br /&gt;
| Right page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Right page&lt;br /&gt;
| Layout as for Front matter right page, but Arabic page numbers&lt;br /&gt;
| Left page&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Paragraph styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Next paragraph style&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Heading 1&lt;br /&gt;
| 18 pt, bold, 0.30” above, 0.15” after, page break before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Heading 2&lt;br /&gt;
| 14 pt, bold, 0.30 “ above, 0.15” below&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Body text&lt;br /&gt;
| 12 pt, double space, 0.25” indent before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Page break&lt;br /&gt;
| 6 pt, no space before or after, page break before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Character styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Emphasis&lt;br /&gt;
| 12 pt, italic&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Body text&lt;br /&gt;
| 12 pt&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Insert fields and AutoText entries as required. See other chapters in this book for ideas.&lt;br /&gt;
&lt;br /&gt;
====Step 2. Create a template containing the required styles, fields, and other elements====&lt;br /&gt;
You can create your template from an existing document or template that contains some or all of the styles you want for this document, or you can create the template from a blank document. For more about templates, see Chapter 10 (Working with Templates).&lt;br /&gt;
&lt;br /&gt;
If you use an existing document or template, delete all the text from it except for fields in headers and footers before saving it as the template for this project. It will still have all the styles you defined, even if the text is not there. You can change the styles in the template as your project develops.&lt;br /&gt;
&lt;br /&gt;
Be sure to use &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Templates &amp;gt; Save &amp;#039;&amp;#039;&amp;#039;when creating the template.&lt;br /&gt;
&lt;br /&gt;
====Step 3. Create the master document and subdocuments from the same template====&lt;br /&gt;
If you are starting a new project, create the master document and all the subdocuments from the same template. Not using the same template could create style inconsistencies that require time and effort to correct. For example, if two subdocuments have a style with the same name that is formatted differently in each document, the master document will use the formatting from the first subdocument that was added. This could cause your document not to look like you expect. Using the same template for all subdocuments saves time and frustration.&lt;br /&gt;
&lt;br /&gt;
It does not matter in what order you create the master and subdocuments, and you do not have to create all the subdocuments at the same time, when you are starting the project. You can add new subdocuments at any time, as you need them—as long as you always create them from the same template.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Create the master document&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Follow this process to create the master document. You can use other methods, but each method (including this one) has its drawbacks.&lt;br /&gt;
&lt;br /&gt;
# Open a new document from the template you created in Step 2, by clicking &amp;#039;&amp;#039;&amp;#039;New &amp;gt; Templates and Documents&amp;#039;&amp;#039;&amp;#039;, then selecting the template you created. Be sure the first page of this new document is set to the page style you want for the first page of the final document; if it is not, change it. In our example, the style for the first page is &amp;#039;&amp;#039;Title page&amp;#039;&amp;#039;.&lt;br /&gt;
# If any text or page breaks came into this document from the template, delete the text. (Fields in headers and footers can stay.) &lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Send &amp;gt; Create Master Document&amp;#039;&amp;#039;&amp;#039;. Save the master document in the folder for this project, not in the templates foldert. We will return to this master document later. For now, you can either leave it open or close it, as you prefer.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Create subdocuments&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A subdocument is no different from any other text document. It becomes a subdocument only when it is linked into a master document and opened from within the master document. Some settings in the master document will override the settings in a subdocument, but only when the document is being viewed, manipulated, or printed through the master document.&lt;br /&gt;
&lt;br /&gt;
Create a subdocument in the same way as you create any ordinary document:&lt;br /&gt;
&lt;br /&gt;
# Open a blank document based on the project template (very important) by clicking &amp;#039;&amp;#039;&amp;#039;New &amp;gt; Templates and Documents&amp;#039;&amp;#039;&amp;#039;, then selecting the template.&lt;br /&gt;
# Delete any unwanted text, and set the first page to the page style you specified for the first page of a chapter.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Save As&amp;#039;&amp;#039;&amp;#039;. Give the document a suitable name and save it in the folder for this project.&lt;br /&gt;
&lt;br /&gt;
If you already have some of the chapters written, the files are probably not based on the template you just created for this project. You will need to change the template attached to the existing files. The only way to do this is:&lt;br /&gt;
&lt;br /&gt;
# Open a blank document based on the project template.&lt;br /&gt;
# Copy the contents of the original document into this new document. Use &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Paste Special&amp;#039;&amp;#039;&amp;#039; to avoid copying the styles from the original documents to the new document.&lt;br /&gt;
# Apply the template styles throughout the document.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Save As&amp;#039;&amp;#039;&amp;#039; and save the new document in the project folder with a suitable name.&lt;br /&gt;
# Rename the original chapter file so you do not use it by mistake.&lt;br /&gt;
&lt;br /&gt;
====Step 4. Insert some information directly into the master document====&lt;br /&gt;
The instructions in steps 4 and 5 use the page numbering requirements given in Step 1. If your book has different requirements, change these instructions to suit. See [[#Problem solving|Problem solving]] for one example.&lt;br /&gt;
&lt;br /&gt;
These instructions are fairly tedious, but once you have the master document set up, you should not have to change it, and with a bit of practice setting it up goes quickly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the master document and do the following.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make sure paragraph marks are showing (you can set them in &amp;#039;&amp;#039;&amp;#039;Tools &amp;gt; Options &amp;gt; OpenOffice.org Writer &amp;gt; Formatting Aids&amp;#039;&amp;#039;&amp;#039;, or click the &amp;#039;&amp;#039;&amp;#039;Nonprinting characters &amp;#039;&amp;#039;&amp;#039;icon [[Image:ParagraphIcon.png]]).&lt;br /&gt;
* Show text boundaries, table boundaries, and section boundaries (&amp;#039;&amp;#039;&amp;#039;Tools &amp;gt; Options &amp;gt; OpenOffice.org &amp;gt; Appearance&amp;#039;&amp;#039;&amp;#039;). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Type the contents of the title page (or leave placeholders and fill in later). With the insertion point in the last blank paragraph on the page, click &amp;#039;&amp;#039;&amp;#039;Insert &amp;gt; Manual Break&amp;#039;&amp;#039;&amp;#039;. On the Insert Break dialog box, select &amp;#039;&amp;#039;&amp;#039;Page break&amp;#039;&amp;#039;&amp;#039; and the page style for the second page (&amp;#039;&amp;#039;Copyright page&amp;#039;&amp;#039; in our example), and leave the &amp;#039;&amp;#039;&amp;#039;Change page number &amp;#039;&amp;#039;&amp;#039;checkbox deselected. Click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-3.png|Page break between the title page and the copyright page]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a page break between the title page and the copyright page.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Type the contents of the copyright page (or leave placeholders). Insert another manual page break, this time setting the page style to &amp;#039;&amp;#039;Front matter first page&amp;#039;&amp;#039;. Select the &amp;#039;&amp;#039;&amp;#039;Change page number&amp;#039;&amp;#039;&amp;#039; checkbox and choose 1 in the box below that, as shown below. This number 1 will show in your document as i, because the page style is defined to use Roman numerals.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-4.png|Page break before the first page of the front matter]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a page break before the first page of the front matter.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Let’s assume the third page is for the Table of Contents. Leave a blank paragraph or two on this page and insert another page break, with the next page again set to the &amp;#039;&amp;#039;Front matter first page &amp;#039;&amp;#039;style, which we want to use for the first page of the Preface. Because we want the page numbering for the Preface to continue from the page numbers of the Table of Contents, do &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; select the &amp;#039;&amp;#039;&amp;#039;Change page number &amp;#039;&amp;#039;&amp;#039;checkbox this time. Notice that the Navigator shows one item, labeled &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Step 5. Insert the subdocuments into the master document====&lt;br /&gt;
&lt;br /&gt;
At last we are ready to add the subdocuments.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; Subdocuments are inserted into a master document &amp;#039;&amp;#039;before&amp;#039;&amp;#039; whatever item is highlighted in the Navigator. If you insert the &amp;#039;&amp;#039;last&amp;#039;&amp;#039; subdocument first, and then insert the other subdocuments before the last one, they will end up in the correct sequence without the necessity of moving them up or down in the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Display the Navigator (click &amp;#039;&amp;#039;&amp;#039;Edit &amp;gt; Navigator&amp;#039;&amp;#039;&amp;#039;, or press &amp;#039;&amp;#039;F5&amp;#039;&amp;#039;, or click the &amp;#039;&amp;#039;&amp;#039;Navigator&amp;#039;&amp;#039;&amp;#039; icon [[Image:NavigatorIcon.png]].&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;On the Navigator, select &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;, then long-click on the &amp;#039;&amp;#039;&amp;#039;Insert &amp;#039;&amp;#039;&amp;#039;icon and click &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-5.png|Inserting a subdocument using the Navigator]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a subdocument into a master document using the Navigator.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A standard File Open dialog box appears. Select the required file (which you created in Step 3) and click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;. This example uses six chapters and a preface; we will load Chapter 6 first, as suggested in the Tip above.&lt;br /&gt;
&lt;br /&gt;
The inserted file is listed in the Navigator &amp;#039;&amp;#039;before&amp;#039;&amp;#039; the Text item, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-6.png|Navigator after inserting one subdocument]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Navigator after inserting one subdocument.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Because the &amp;#039;&amp;#039;Text&amp;#039;&amp;#039; section contains the title page and other material you have already inserted, highlight it and click the &amp;#039;&amp;#039;&amp;#039;Move Up&amp;#039;&amp;#039;&amp;#039; icon to move it to the top of the list.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Highlight the subdocument you just inserted (Chapter 6), then long-click on the &amp;#039;&amp;#039;&amp;#039;Insert &amp;#039;&amp;#039;&amp;#039;icon and click &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039; to insert the &amp;#039;&amp;#039;first&amp;#039;&amp;#039; subdocument; in this example, Preface. Chapter 6 remains highlighted. Repeat with Chapter 1, Chapter 2, and so on until all the subdocuments have been added to the list. The Navigator will now look something like the figure below.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-7.png|Navigator showing a series of files]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;The Navigator showing a series of files in a master document.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the master document again. Now highlight each chapter in turn and insert a Text section before it. When you are done, the Navigator should look like Figure 8.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-8.png|Navigator showing a series of files and text sections]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;The Navigator showing a series of files and text sections.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; You can define your &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; paragraph style to start on a new page, and thus avoid inserting manual page breaks between chapters, but this causes a page numbering problem if you want to restart page numbering at the beginning of Chapter 1.&lt;br /&gt;
&lt;br /&gt;
To restart page numbering, you must insert a manual page break; but because the Heading 1 style on the first page of Chapter 1 forces yet another page break, you end up with one or more unwanted blank pages before the first page of Chapter 1. The technique described in this chapter avoids this problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Check whether the first page of the master document has the correct page style. If not, change it to the correct style (&amp;#039;&amp;#039;Title page&amp;#039;&amp;#039; in this example).&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll to the place where the first subdocument begins. Check whether its page style is correct, and change it if necessary (&amp;#039;&amp;#039;Front matter first page&amp;#039;&amp;#039; in this example).&lt;br /&gt;
&lt;br /&gt;
The first subdocument has a blank paragraph at the top of the page; this was inserted as part of the manual page break. Set this paragraph to the PageBreak style you created in Step 2.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-9.png|Page break before subdocument]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Page break before subdocument, which is in a protected section.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Notice that the document is in a protected section. That means you cannot change any of the contents of this subdocument from within the master document. (If you remove the section, the contents become part of the master document itself; they are no longer in a subdocument. If you make changes in either the master document or the subdocument, those changes are not made in the other document. For more about sections, refer to the online help or to Chapter 4, Formatting Pages.)&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down until you find the beginning of Chapter 1. You will find that it is on the same page as the end of the Preface, and there is a blank paragraph in the text area between the two sections (the Preface and Chapter 1), as shown below.&lt;br /&gt;
&lt;br /&gt;
Click on this blank paragraph and insert a page break, specifying the &amp;#039;&amp;#039;First Page&amp;#039;&amp;#039; style and the page number to start at 1. Click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-10.png|A text area between two sections]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;A text area between two sections of a master document.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Scroll to the first page of Chapter 2. You’ll find that it is on the same page as the end of Chapter 1, and there is a blank paragraph in the text area between the two chapters.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click on this blank paragraph and insert a page break, specifying the &amp;#039;&amp;#039;First Page&amp;#039;&amp;#039; style, but do &amp;#039;&amp;#039;not&amp;#039;&amp;#039; select the &amp;#039;&amp;#039;&amp;#039;Change page number&amp;#039;&amp;#039;&amp;#039; checkbox.&lt;br /&gt;
&lt;br /&gt;
Repeat for all of the chapters, so that each chapter starts on a new first page.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the master document again.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Step 6. Add a table of contents, bibliography, or index====&lt;br /&gt;
You can generate a table of contents, bibliography, or index for the book, using the master document. You must insert these items into a text section in the master document. For more about these document elements, see Chapter 12 (Creating Tables of Contents, Indexes, and Bibliographies).&lt;br /&gt;
&lt;br /&gt;
Put the insertion point on the page in the first text section where the table of contents is to go and create the table of contents.&lt;br /&gt;
&lt;br /&gt;
If you do not have a Text section at the end of the master document, insert one before the last subdocument, then move it down so it is after the last subdocument. Now, if you have included bibliographic entries in your subdocuments, you can put the insertion point on the page in this last text section where the bibliography is to go and create the bibliography.&lt;br /&gt;
&lt;br /&gt;
If you have included index entries in your subdocuments, put the insertion point on the page in the last text section where the index is to go and create the index.&lt;br /&gt;
&lt;br /&gt;
{{Manual}}&lt;/div&gt;</summary>
		<author><name>BruceDickson</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating_a_master_document&amp;diff=186150</id>
		<title>Documentation/OOoAuthors User Manual/Writer Guide/Creating a master document</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating_a_master_document&amp;diff=186150"/>
		<updated>2010-10-05T03:30:56Z</updated>

		<summary type="html">&lt;p&gt;BruceDickson: /* Step 5. Insert the subdocuments into the master document */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Creating a master document}}&lt;br /&gt;
{{WriterMasterDocTOC|PrevNext=block&lt;br /&gt;
|PrevPage=Documentation/OOoAuthors User Manual/Writer Guide/Using the Navigator&lt;br /&gt;
|NextPage=Documentation/OOoAuthors_User_Manual/Writer Guide/Editing a master document}}__notoc__&lt;br /&gt;
The three most common scenarios for creating a master document depend on the current state of your document:&lt;br /&gt;
&lt;br /&gt;
* You have one existing document (a book) that you want to split into several subdocuments (chapters) that will be controlled by the master document.&lt;br /&gt;
* You have several existing documents (chapters) by one or more authors that you want to combine into one book, controlled by the master document.&lt;br /&gt;
* You have no existing documents but intend to write a long book containing several chapters, possibly by multiple authors.&lt;br /&gt;
&lt;br /&gt;
We will look at each of these scenarios in turn.&lt;br /&gt;
&lt;br /&gt;
== Splitting one document into a master document and subdocuments ==&lt;br /&gt;
When you have one existing document that you want to split into several subdocuments that will be controlled by the master document, you can split the document automatically.&lt;br /&gt;
&lt;br /&gt;
Use this method if the original document uses only the &amp;#039;&amp;#039;Default&amp;#039;&amp;#039; page style, is numbered sequentially from the first page, and uses the &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; style to identify the start of each chapter. In these conditions, this method will work well.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Advantages:&amp;#039;&amp;#039;&amp;#039; This method is quick and easy, and any existing cross-references between chapters are preserved. Although cleanup work may be necessary, once you have done the cleanup, the document will behave itself.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Disadvantages:&amp;#039;&amp;#039;&amp;#039; If the original document was complex, you may have major cleanup work to do because some formatting will be lost—for example, page styles, page breaks, restarted page numbering.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;How to do it:&amp;#039;&amp;#039;&amp;#039; Open the document and click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Send &amp;gt; Create Master Document&amp;#039;&amp;#039;&amp;#039; to split the document. You will find that each of the subdocuments begins with a &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; and the file names are all &amp;#039;&amp;#039;maindocnameX.odt&amp;#039;&amp;#039;, where X is 1, 2, 3, and so on. If you have a Preface or other “chapter” starting with a Heading 1 before Chapter 1, the file names will not directly correspond to the chapter numbers.&lt;br /&gt;
&lt;br /&gt;
== Combining several documents into a master document ==&lt;br /&gt;
This method works best when all of the documents were created from the same template, but you can also use it when the documents were created from different templates.&lt;br /&gt;
&lt;br /&gt;
Use one of the techniques described in [[#Starting with no existing documents|Starting with no existing documents]] to create a blank master document and insert the other documents as subdocuments of the master document.&lt;br /&gt;
&lt;br /&gt;
This method is especially useful if the subdocuments are created or maintained by multiple writers. All writers on the project can work on their subdocuments without fear of version control issues that can occur when multiple people work on the same document.&lt;br /&gt;
&lt;br /&gt;
== Starting with no existing documents ==&lt;br /&gt;
The ideal situation is to start with no existing documents, because you can do everything the way you want from the beginning. Writer provides three ways to create a master document:&lt;br /&gt;
&lt;br /&gt;
[[#Method 1. Quick and easy, but not recommended|Method 1. Quick and easy, but not recommended]]&lt;br /&gt;
&lt;br /&gt;
[[#Method 2. Not too complicated, but with restrictions|Method 2. Not too complicated, but with restrictions]]&lt;br /&gt;
&lt;br /&gt;
[[#Method 3. Complete control|Method 3. Complete control]]&lt;br /&gt;
&lt;br /&gt;
In each case, you need to have a disciplined approach to make sure the master document works correctly and reliably. Each method below describes the steps to take. Be sure to do the steps in the order given.&lt;br /&gt;
&lt;br /&gt;
===Method 1. Quick and easy, but not recommended===&lt;br /&gt;
Writer provides a quick and easy way to create a master document, but the master document is not associated with a template, so changes to styles and formatting are more difficult to apply reliably.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; If the subdocuments were all created with the same template and the styles were not modified in the documents, then the styles are imported into the master document with the subdocuments, and styles and formatting should be correct in the master document. This method works best when these conditions are met.&lt;br /&gt;
&lt;br /&gt;
How to do it: &lt;br /&gt;
&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; New &amp;gt; Master Document&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# Use the Navigator to insert new documents or existing files into the master document, as described in [[#Step 5. Insert the subdocuments into the master document|Step 5. Insert the subdocuments into the master document]].&lt;br /&gt;
&lt;br /&gt;
===Method 2. Not too complicated, but with restrictions===&lt;br /&gt;
This technique works well if you want to use sequential page numbering throughout the final document (not restarting at 1 at any point), and each chapter starts with a &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; on a new page. If you want to restart page numbering anywhere in the document, use Method 3.&lt;br /&gt;
&lt;br /&gt;
How to do it: Follow the instructions in the next section ([[#Method 3. Complete control|Method 3. Complete control]]), but do not put in the text sections between the subdocuments or try to change the page numbering.&lt;br /&gt;
&lt;br /&gt;
===Method 3. Complete control===&lt;br /&gt;
This method gives you complete control over complex documents with several page styles or restarted page numbering. It is a bit more work to set up, but works reliably. However, the method does not work in some situations. See [[#Problem solving|Problem solving]] for details.&lt;br /&gt;
&lt;br /&gt;
How to do it: Follow these steps, in the order given. Each step is explained in detail in the following subsections.&lt;br /&gt;
&lt;br /&gt;
[[#Step 1. Plan the project|Step 1. Plan the project]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 2. Create a template containing the required styles, fields, and other elements|Step 2. Create a template containing the required styles, fields, and other elements]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 3. Create the master document and subdocuments from the same template|Step 3. Create the master document and subdocuments from the same template]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 4. Insert some information directly into the master document|Step 4. Insert some information directly into the master document]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 5. Insert the subdocuments into the master document|Step 5. Insert the subdocuments into the master document]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 6. Add a table of contents, bibliography, or index|Step 6. Add a table of contents, bibliography, or index]]&lt;br /&gt;
&lt;br /&gt;
====Step 1. Plan the project====&lt;br /&gt;
&lt;br /&gt;
Although you can make changes at most steps in this process, the more you can plan before you start, the less work you will have to do to correct any problems later. Here are some things you need to plan:&lt;br /&gt;
&lt;br /&gt;
* Parts of book or report required, and the page numbering to be used in different parts of the book. Consider as an example a book with these parts:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Part&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Length&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Page numbering&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title (cover) page&lt;br /&gt;
| 1 page&lt;br /&gt;
| no page number&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| 1 page (back of title page)&lt;br /&gt;
| no page number&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Table of Contents&lt;br /&gt;
| unknown length&lt;br /&gt;
| start with i&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Preface (Foreword)&lt;br /&gt;
| 2 pages&lt;br /&gt;
| continue from ToC&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Chapters 1 to 8&lt;br /&gt;
| unknown length&lt;br /&gt;
| start with 1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Appendixes A, B&lt;br /&gt;
| unknown length&lt;br /&gt;
| continue from Chapter 8&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Index&lt;br /&gt;
| unknown length&lt;br /&gt;
| continue from Appendix B&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* What pages will be in the master document and what will be in the subdocuments. The ToC and index must be in the master document. A typical arrangement would be:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Part&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Location&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title (cover) page&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Table of Contents&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Preface (Foreword)&lt;br /&gt;
| Subdocument&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Chapters 1 to 8&lt;br /&gt;
| Subdocuments&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Appendixes A, B&lt;br /&gt;
| Subdocuments&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Index&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Page, paragraph, character, frame, and numbering styles. See Chapter 6 (Introduction to Styles) and Chapter 7 (Working with Styles) for instructions on how to create or modify styles. Some styles for the example book are:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Page styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Next page style&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title page&lt;br /&gt;
| No header, footer or page numbers; layout different from other pages&lt;br /&gt;
| Copyright page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| No header, footer or page numbers; layout different from other pages&lt;br /&gt;
| Front matter first page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter first page&lt;br /&gt;
| No header; page number in footer, Roman numbers (i, ii, iii); layout different from following pages&lt;br /&gt;
| Front matter left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter left page&lt;br /&gt;
| Header and footer, one containing the page number (Roman)&lt;br /&gt;
| Front matter right page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter right page&lt;br /&gt;
| Margins mirrored from Front matter left page; Roman page number&lt;br /&gt;
| Front matter left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| First page&lt;br /&gt;
| No header; page number in footer, Arabic numbers (1, 2, 3); layout same as Front matter first page&lt;br /&gt;
| Left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Left page&lt;br /&gt;
| Layout as for Front matter left page, but Arabic page numbers&lt;br /&gt;
| Right page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Right page&lt;br /&gt;
| Layout as for Front matter right page, but Arabic page numbers&lt;br /&gt;
| Left page&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Paragraph styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Next paragraph style&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Heading 1&lt;br /&gt;
| 18 pt, bold, 0.30” above, 0.15” after, page break before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Heading 2&lt;br /&gt;
| 14 pt, bold, 0.30 “ above, 0.15” below&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Body text&lt;br /&gt;
| 12 pt, double space, 0.25” indent before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Page break&lt;br /&gt;
| 6 pt, no space before or after, page break before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Character styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Emphasis&lt;br /&gt;
| 12 pt, italic&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Body text&lt;br /&gt;
| 12 pt&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Insert fields and AutoText entries as required. See other chapters in this book for ideas.&lt;br /&gt;
&lt;br /&gt;
====Step 2. Create a template containing the required styles, fields, and other elements====&lt;br /&gt;
You can create your template from an existing document or template that contains some or all of the styles you want for this document, or you can create the template from a blank document. For more about templates, see Chapter 10 (Working with Templates).&lt;br /&gt;
&lt;br /&gt;
If you use an existing document or template, delete all the text from it except for fields in headers and footers before saving it as the template for this project. It will still have all the styles you defined, even if the text is not there. You can change the styles in the template as your project develops.&lt;br /&gt;
&lt;br /&gt;
Be sure to use &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Templates &amp;gt; Save &amp;#039;&amp;#039;&amp;#039;when creating the template.&lt;br /&gt;
&lt;br /&gt;
====Step 3. Create the master document and subdocuments from the same template====&lt;br /&gt;
If you are starting a new project, create the master document and all the subdocuments from the same template. Not using the same template could create style inconsistencies that require time and effort to correct. For example, if two subdocuments have a style with the same name that is formatted differently in each document, the master document will use the formatting from the first subdocument that was added. This could cause your document not to look like you expect. Using the same template for all subdocuments saves time and frustration.&lt;br /&gt;
&lt;br /&gt;
It does not matter in what order you create the master and subdocuments, and you do not have to create all the subdocuments at the same time, when you are starting the project. You can add new subdocuments at any time, as you need them—as long as you always create them from the same template.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Create the master document&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Follow this process to create the master document. You can use other methods, but each method (including this one) has its drawbacks.&lt;br /&gt;
&lt;br /&gt;
# Open a new document from the template you created in Step 2, by clicking &amp;#039;&amp;#039;&amp;#039;New &amp;gt; Templates and Documents&amp;#039;&amp;#039;&amp;#039;, then selecting the template you created. Be sure the first page of this new document is set to the page style you want for the first page of the final document; if it is not, change it. In our example, the style for the first page is &amp;#039;&amp;#039;Title page&amp;#039;&amp;#039;.&lt;br /&gt;
# If any text or page breaks came into this document from the template, delete the text. (Fields in headers and footers can stay.) &lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Send &amp;gt; Create Master Document&amp;#039;&amp;#039;&amp;#039;. Save the master document in the folder for this project, not in the templates foldert. We will return to this master document later. For now, you can either leave it open or close it, as you prefer.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Create subdocuments&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A subdocument is no different from any other text document. It becomes a subdocument only when it is linked into a master document and opened from within the master document. Some settings in the master document will override the settings in a subdocument, but only when the document is being viewed, manipulated, or printed through the master document.&lt;br /&gt;
&lt;br /&gt;
Create a subdocument in the same way as you create any ordinary document:&lt;br /&gt;
&lt;br /&gt;
# Open a blank document based on the project template (very important) by clicking &amp;#039;&amp;#039;&amp;#039;New &amp;gt; Templates and Documents&amp;#039;&amp;#039;&amp;#039;, then selecting the template.&lt;br /&gt;
# Delete any unwanted text, and set the first page to the page style you specified for the first page of a chapter.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Save As&amp;#039;&amp;#039;&amp;#039;. Give the document a suitable name and save it in the folder for this project.&lt;br /&gt;
&lt;br /&gt;
If you already have some of the chapters written, the files are probably not based on the template you just created for this project. You will need to change the template attached to the existing files. The only way to do this is:&lt;br /&gt;
&lt;br /&gt;
# Open a blank document based on the project template.&lt;br /&gt;
# Copy the contents of the original document into this new document. Use &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Paste Special&amp;#039;&amp;#039;&amp;#039; to avoid copying the styles from the original documents to the new document.&lt;br /&gt;
# Apply the template styles throughout the document.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Save As&amp;#039;&amp;#039;&amp;#039; and save the new document in the project folder with a suitable name.&lt;br /&gt;
# Rename the original chapter file so you do not use it by mistake.&lt;br /&gt;
&lt;br /&gt;
====Step 4. Insert some information directly into the master document====&lt;br /&gt;
The instructions in steps 4 and 5 use the page numbering requirements given in Step 1. If your book has different requirements, change these instructions to suit. See [[#Problem solving|Problem solving]] for one example.&lt;br /&gt;
&lt;br /&gt;
These instructions are fairly tedious, but once you have the master document set up, you should not have to change it, and with a bit of practice setting it up goes quickly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the master document and do the following.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make sure paragraph marks are showing (you can set them in &amp;#039;&amp;#039;&amp;#039;Tools &amp;gt; Options &amp;gt; OpenOffice.org Writer &amp;gt; Formatting Aids&amp;#039;&amp;#039;&amp;#039;, or click the &amp;#039;&amp;#039;&amp;#039;Nonprinting characters &amp;#039;&amp;#039;&amp;#039;icon [[Image:ParagraphIcon.png]]).&lt;br /&gt;
* Show text boundaries, table boundaries, and section boundaries (&amp;#039;&amp;#039;&amp;#039;Tools &amp;gt; Options &amp;gt; OpenOffice.org &amp;gt; Appearance&amp;#039;&amp;#039;&amp;#039;). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Type the contents of the title page (or leave placeholders and fill in later). With the insertion point in the last blank paragraph on the page, click &amp;#039;&amp;#039;&amp;#039;Insert &amp;gt; Manual Break&amp;#039;&amp;#039;&amp;#039;. On the Insert Break dialog box, select &amp;#039;&amp;#039;&amp;#039;Page break&amp;#039;&amp;#039;&amp;#039; and the page style for the second page (&amp;#039;&amp;#039;Copyright page&amp;#039;&amp;#039; in our example), and leave the &amp;#039;&amp;#039;&amp;#039;Change page number &amp;#039;&amp;#039;&amp;#039;checkbox deselected. Click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-3.png|Page break between the title page and the copyright page]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a page break between the title page and the copyright page.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Type the contents of the copyright page (or leave placeholders). Insert another manual page break, this time setting the page style to &amp;#039;&amp;#039;Front matter first page&amp;#039;&amp;#039;. Select the &amp;#039;&amp;#039;&amp;#039;Change page number&amp;#039;&amp;#039;&amp;#039; checkbox and choose 1 in the box below that, as shown below. This number 1 will show in your document as i, because the page style is defined to use Roman numerals.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-4.png|Page break before the first page of the front matter]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a page break before the first page of the front matter.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Let’s assume the third page is for the Table of Contents. Leave a blank paragraph or two on this page and insert another page break, with the next page again set to the &amp;#039;&amp;#039;Front matter first page &amp;#039;&amp;#039;style, which we want to use for the first page of the Preface. Because we want the page numbering for the Preface to continue from the page numbers of the Table of Contents, do &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; select the &amp;#039;&amp;#039;&amp;#039;Change page number &amp;#039;&amp;#039;&amp;#039;checkbox this time. Notice that the Navigator shows one item, labeled &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Step 5. Insert the subdocuments into the master document====&lt;br /&gt;
&lt;br /&gt;
At last we are ready to add the subdocuments.&lt;br /&gt;
&lt;br /&gt;
[[Not clear enuf what each icon means.  My copy of 3.2 has no Insert icon whatsoever I can find, suposed to be a white square with red cross and green plus sign.  Unclear what it was renamed or moved to.  Suggest adding LABELED hand-drawn circles; for instance circle the icon for insert; label it Insert and list the newer permutated labels.  This from someone who has used OO for ten years, a teacher with 8 books done in OO, and never understood Navigator well.  One goal here in the Wiki is to reduce newbie forum posts.  So ABUNDANT  clarity, not just &amp;quot;engineer to engineer&amp;quot; clarity is always good.]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; Subdocuments are inserted into a master document &amp;#039;&amp;#039;before&amp;#039;&amp;#039; whatever item is highlighted in the Navigator. If you insert the &amp;#039;&amp;#039;last&amp;#039;&amp;#039; subdocument first, and then insert the other subdocuments before the last one, they will end up in the correct sequence without the necessity of moving them up or down in the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Display the Navigator (click &amp;#039;&amp;#039;&amp;#039;Edit &amp;gt; Navigator&amp;#039;&amp;#039;&amp;#039;, or press &amp;#039;&amp;#039;F5&amp;#039;&amp;#039;, or click the &amp;#039;&amp;#039;&amp;#039;Navigator&amp;#039;&amp;#039;&amp;#039; icon [[Image:NavigatorIcon.png]].&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;On the Navigator, select &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;, then long-click on the &amp;#039;&amp;#039;&amp;#039;Insert &amp;#039;&amp;#039;&amp;#039;icon and click &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-5.png|Inserting a subdocument using the Navigator]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a subdocument into a master document using the Navigator.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A standard File Open dialog box appears. Select the required file (which you created in Step 3) and click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;. This example uses six chapters and a preface; we will load Chapter 6 first, as suggested in the Tip above.&lt;br /&gt;
&lt;br /&gt;
The inserted file is listed in the Navigator &amp;#039;&amp;#039;before&amp;#039;&amp;#039; the Text item, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-6.png|Navigator after inserting one subdocument]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Navigator after inserting one subdocument.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Because the &amp;#039;&amp;#039;Text&amp;#039;&amp;#039; section contains the title page and other material you have already inserted, highlight it and click the &amp;#039;&amp;#039;&amp;#039;Move Up&amp;#039;&amp;#039;&amp;#039; icon to move it to the top of the list.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Highlight the subdocument you just inserted (Chapter 6), then long-click on the &amp;#039;&amp;#039;&amp;#039;Insert &amp;#039;&amp;#039;&amp;#039;icon and click &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039; to insert the &amp;#039;&amp;#039;first&amp;#039;&amp;#039; subdocument; in this example, Preface. Chapter 6 remains highlighted. Repeat with Chapter 1, Chapter 2, and so on until all the subdocuments have been added to the list. The Navigator will now look something like the figure below.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-7.png|Navigator showing a series of files]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;The Navigator showing a series of files in a master document.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the master document again. Now highlight each chapter in turn and insert a Text section before it. When you are done, the Navigator should look like Figure 8.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-8.png|Navigator showing a series of files and text sections]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;The Navigator showing a series of files and text sections.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; You can define your &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; paragraph style to start on a new page, and thus avoid inserting manual page breaks between chapters, but this causes a page numbering problem if you want to restart page numbering at the beginning of Chapter 1.&lt;br /&gt;
&lt;br /&gt;
To restart page numbering, you must insert a manual page break; but because the Heading 1 style on the first page of Chapter 1 forces yet another page break, you end up with one or more unwanted blank pages before the first page of Chapter 1. The technique described in this chapter avoids this problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Check whether the first page of the master document has the correct page style. If not, change it to the correct style (&amp;#039;&amp;#039;Title page&amp;#039;&amp;#039; in this example).&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll to the place where the first subdocument begins. Check whether its page style is correct, and change it if necessary (&amp;#039;&amp;#039;Front matter first page&amp;#039;&amp;#039; in this example).&lt;br /&gt;
&lt;br /&gt;
The first subdocument has a blank paragraph at the top of the page; this was inserted as part of the manual page break. Set this paragraph to the PageBreak style you created in Step 2.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-9.png|Page break before subdocument]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Page break before subdocument, which is in a protected section.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Notice that the document is in a protected section. That means you cannot change any of the contents of this subdocument from within the master document. (If you remove the section, the contents become part of the master document itself; they are no longer in a subdocument. If you make changes in either the master document or the subdocument, those changes are not made in the other document. For more about sections, refer to the online help or to Chapter 4, Formatting Pages.)&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down until you find the beginning of Chapter 1. You will find that it is on the same page as the end of the Preface, and there is a blank paragraph in the text area between the two sections (the Preface and Chapter 1), as shown below.&lt;br /&gt;
&lt;br /&gt;
Click on this blank paragraph and insert a page break, specifying the &amp;#039;&amp;#039;First Page&amp;#039;&amp;#039; style and the page number to start at 1. Click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-10.png|A text area between two sections]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;A text area between two sections of a master document.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Scroll to the first page of Chapter 2. You’ll find that it is on the same page as the end of Chapter 1, and there is a blank paragraph in the text area between the two chapters.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click on this blank paragraph and insert a page break, specifying the &amp;#039;&amp;#039;First Page&amp;#039;&amp;#039; style, but do &amp;#039;&amp;#039;not&amp;#039;&amp;#039; select the &amp;#039;&amp;#039;&amp;#039;Change page number&amp;#039;&amp;#039;&amp;#039; checkbox.&lt;br /&gt;
&lt;br /&gt;
Repeat for all of the chapters, so that each chapter starts on a new first page.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the master document again.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Step 6. Add a table of contents, bibliography, or index====&lt;br /&gt;
You can generate a table of contents, bibliography, or index for the book, using the master document. You must insert these items into a text section in the master document. For more about these document elements, see Chapter 12 (Creating Tables of Contents, Indexes, and Bibliographies).&lt;br /&gt;
&lt;br /&gt;
Put the insertion point on the page in the first text section where the table of contents is to go and create the table of contents.&lt;br /&gt;
&lt;br /&gt;
If you do not have a Text section at the end of the master document, insert one before the last subdocument, then move it down so it is after the last subdocument. Now, if you have included bibliographic entries in your subdocuments, you can put the insertion point on the page in this last text section where the bibliography is to go and create the bibliography.&lt;br /&gt;
&lt;br /&gt;
If you have included index entries in your subdocuments, put the insertion point on the page in the last text section where the index is to go and create the index.&lt;br /&gt;
&lt;br /&gt;
{{Manual}}&lt;/div&gt;</summary>
		<author><name>BruceDickson</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating_a_master_document&amp;diff=186149</id>
		<title>Documentation/OOoAuthors User Manual/Writer Guide/Creating a master document</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating_a_master_document&amp;diff=186149"/>
		<updated>2010-10-05T03:18:06Z</updated>

		<summary type="html">&lt;p&gt;BruceDickson: /* Step 5. Insert the subdocuments into the master document */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Creating a master document}}&lt;br /&gt;
{{WriterMasterDocTOC|PrevNext=block&lt;br /&gt;
|PrevPage=Documentation/OOoAuthors User Manual/Writer Guide/Using the Navigator&lt;br /&gt;
|NextPage=Documentation/OOoAuthors_User_Manual/Writer Guide/Editing a master document}}__notoc__&lt;br /&gt;
The three most common scenarios for creating a master document depend on the current state of your document:&lt;br /&gt;
&lt;br /&gt;
* You have one existing document (a book) that you want to split into several subdocuments (chapters) that will be controlled by the master document.&lt;br /&gt;
* You have several existing documents (chapters) by one or more authors that you want to combine into one book, controlled by the master document.&lt;br /&gt;
* You have no existing documents but intend to write a long book containing several chapters, possibly by multiple authors.&lt;br /&gt;
&lt;br /&gt;
We will look at each of these scenarios in turn.&lt;br /&gt;
&lt;br /&gt;
== Splitting one document into a master document and subdocuments ==&lt;br /&gt;
When you have one existing document that you want to split into several subdocuments that will be controlled by the master document, you can split the document automatically.&lt;br /&gt;
&lt;br /&gt;
Use this method if the original document uses only the &amp;#039;&amp;#039;Default&amp;#039;&amp;#039; page style, is numbered sequentially from the first page, and uses the &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; style to identify the start of each chapter. In these conditions, this method will work well.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Advantages:&amp;#039;&amp;#039;&amp;#039; This method is quick and easy, and any existing cross-references between chapters are preserved. Although cleanup work may be necessary, once you have done the cleanup, the document will behave itself.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Disadvantages:&amp;#039;&amp;#039;&amp;#039; If the original document was complex, you may have major cleanup work to do because some formatting will be lost—for example, page styles, page breaks, restarted page numbering.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;How to do it:&amp;#039;&amp;#039;&amp;#039; Open the document and click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Send &amp;gt; Create Master Document&amp;#039;&amp;#039;&amp;#039; to split the document. You will find that each of the subdocuments begins with a &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; and the file names are all &amp;#039;&amp;#039;maindocnameX.odt&amp;#039;&amp;#039;, where X is 1, 2, 3, and so on. If you have a Preface or other “chapter” starting with a Heading 1 before Chapter 1, the file names will not directly correspond to the chapter numbers.&lt;br /&gt;
&lt;br /&gt;
== Combining several documents into a master document ==&lt;br /&gt;
This method works best when all of the documents were created from the same template, but you can also use it when the documents were created from different templates.&lt;br /&gt;
&lt;br /&gt;
Use one of the techniques described in [[#Starting with no existing documents|Starting with no existing documents]] to create a blank master document and insert the other documents as subdocuments of the master document.&lt;br /&gt;
&lt;br /&gt;
This method is especially useful if the subdocuments are created or maintained by multiple writers. All writers on the project can work on their subdocuments without fear of version control issues that can occur when multiple people work on the same document.&lt;br /&gt;
&lt;br /&gt;
== Starting with no existing documents ==&lt;br /&gt;
The ideal situation is to start with no existing documents, because you can do everything the way you want from the beginning. Writer provides three ways to create a master document:&lt;br /&gt;
&lt;br /&gt;
[[#Method 1. Quick and easy, but not recommended|Method 1. Quick and easy, but not recommended]]&lt;br /&gt;
&lt;br /&gt;
[[#Method 2. Not too complicated, but with restrictions|Method 2. Not too complicated, but with restrictions]]&lt;br /&gt;
&lt;br /&gt;
[[#Method 3. Complete control|Method 3. Complete control]]&lt;br /&gt;
&lt;br /&gt;
In each case, you need to have a disciplined approach to make sure the master document works correctly and reliably. Each method below describes the steps to take. Be sure to do the steps in the order given.&lt;br /&gt;
&lt;br /&gt;
===Method 1. Quick and easy, but not recommended===&lt;br /&gt;
Writer provides a quick and easy way to create a master document, but the master document is not associated with a template, so changes to styles and formatting are more difficult to apply reliably.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; If the subdocuments were all created with the same template and the styles were not modified in the documents, then the styles are imported into the master document with the subdocuments, and styles and formatting should be correct in the master document. This method works best when these conditions are met.&lt;br /&gt;
&lt;br /&gt;
How to do it: &lt;br /&gt;
&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; New &amp;gt; Master Document&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# Use the Navigator to insert new documents or existing files into the master document, as described in [[#Step 5. Insert the subdocuments into the master document|Step 5. Insert the subdocuments into the master document]].&lt;br /&gt;
&lt;br /&gt;
===Method 2. Not too complicated, but with restrictions===&lt;br /&gt;
This technique works well if you want to use sequential page numbering throughout the final document (not restarting at 1 at any point), and each chapter starts with a &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; on a new page. If you want to restart page numbering anywhere in the document, use Method 3.&lt;br /&gt;
&lt;br /&gt;
How to do it: Follow the instructions in the next section ([[#Method 3. Complete control|Method 3. Complete control]]), but do not put in the text sections between the subdocuments or try to change the page numbering.&lt;br /&gt;
&lt;br /&gt;
===Method 3. Complete control===&lt;br /&gt;
This method gives you complete control over complex documents with several page styles or restarted page numbering. It is a bit more work to set up, but works reliably. However, the method does not work in some situations. See [[#Problem solving|Problem solving]] for details.&lt;br /&gt;
&lt;br /&gt;
How to do it: Follow these steps, in the order given. Each step is explained in detail in the following subsections.&lt;br /&gt;
&lt;br /&gt;
[[#Step 1. Plan the project|Step 1. Plan the project]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 2. Create a template containing the required styles, fields, and other elements|Step 2. Create a template containing the required styles, fields, and other elements]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 3. Create the master document and subdocuments from the same template|Step 3. Create the master document and subdocuments from the same template]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 4. Insert some information directly into the master document|Step 4. Insert some information directly into the master document]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 5. Insert the subdocuments into the master document|Step 5. Insert the subdocuments into the master document]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 6. Add a table of contents, bibliography, or index|Step 6. Add a table of contents, bibliography, or index]]&lt;br /&gt;
&lt;br /&gt;
====Step 1. Plan the project====&lt;br /&gt;
&lt;br /&gt;
Although you can make changes at most steps in this process, the more you can plan before you start, the less work you will have to do to correct any problems later. Here are some things you need to plan:&lt;br /&gt;
&lt;br /&gt;
* Parts of book or report required, and the page numbering to be used in different parts of the book. Consider as an example a book with these parts:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Part&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Length&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Page numbering&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title (cover) page&lt;br /&gt;
| 1 page&lt;br /&gt;
| no page number&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| 1 page (back of title page)&lt;br /&gt;
| no page number&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Table of Contents&lt;br /&gt;
| unknown length&lt;br /&gt;
| start with i&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Preface (Foreword)&lt;br /&gt;
| 2 pages&lt;br /&gt;
| continue from ToC&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Chapters 1 to 8&lt;br /&gt;
| unknown length&lt;br /&gt;
| start with 1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Appendixes A, B&lt;br /&gt;
| unknown length&lt;br /&gt;
| continue from Chapter 8&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Index&lt;br /&gt;
| unknown length&lt;br /&gt;
| continue from Appendix B&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* What pages will be in the master document and what will be in the subdocuments. The ToC and index must be in the master document. A typical arrangement would be:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Part&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Location&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title (cover) page&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Table of Contents&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Preface (Foreword)&lt;br /&gt;
| Subdocument&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Chapters 1 to 8&lt;br /&gt;
| Subdocuments&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Appendixes A, B&lt;br /&gt;
| Subdocuments&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Index&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Page, paragraph, character, frame, and numbering styles. See Chapter 6 (Introduction to Styles) and Chapter 7 (Working with Styles) for instructions on how to create or modify styles. Some styles for the example book are:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Page styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Next page style&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title page&lt;br /&gt;
| No header, footer or page numbers; layout different from other pages&lt;br /&gt;
| Copyright page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| No header, footer or page numbers; layout different from other pages&lt;br /&gt;
| Front matter first page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter first page&lt;br /&gt;
| No header; page number in footer, Roman numbers (i, ii, iii); layout different from following pages&lt;br /&gt;
| Front matter left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter left page&lt;br /&gt;
| Header and footer, one containing the page number (Roman)&lt;br /&gt;
| Front matter right page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter right page&lt;br /&gt;
| Margins mirrored from Front matter left page; Roman page number&lt;br /&gt;
| Front matter left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| First page&lt;br /&gt;
| No header; page number in footer, Arabic numbers (1, 2, 3); layout same as Front matter first page&lt;br /&gt;
| Left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Left page&lt;br /&gt;
| Layout as for Front matter left page, but Arabic page numbers&lt;br /&gt;
| Right page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Right page&lt;br /&gt;
| Layout as for Front matter right page, but Arabic page numbers&lt;br /&gt;
| Left page&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Paragraph styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Next paragraph style&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Heading 1&lt;br /&gt;
| 18 pt, bold, 0.30” above, 0.15” after, page break before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Heading 2&lt;br /&gt;
| 14 pt, bold, 0.30 “ above, 0.15” below&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Body text&lt;br /&gt;
| 12 pt, double space, 0.25” indent before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Page break&lt;br /&gt;
| 6 pt, no space before or after, page break before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Character styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Emphasis&lt;br /&gt;
| 12 pt, italic&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Body text&lt;br /&gt;
| 12 pt&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Insert fields and AutoText entries as required. See other chapters in this book for ideas.&lt;br /&gt;
&lt;br /&gt;
====Step 2. Create a template containing the required styles, fields, and other elements====&lt;br /&gt;
You can create your template from an existing document or template that contains some or all of the styles you want for this document, or you can create the template from a blank document. For more about templates, see Chapter 10 (Working with Templates).&lt;br /&gt;
&lt;br /&gt;
If you use an existing document or template, delete all the text from it except for fields in headers and footers before saving it as the template for this project. It will still have all the styles you defined, even if the text is not there. You can change the styles in the template as your project develops.&lt;br /&gt;
&lt;br /&gt;
Be sure to use &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Templates &amp;gt; Save &amp;#039;&amp;#039;&amp;#039;when creating the template.&lt;br /&gt;
&lt;br /&gt;
====Step 3. Create the master document and subdocuments from the same template====&lt;br /&gt;
If you are starting a new project, create the master document and all the subdocuments from the same template. Not using the same template could create style inconsistencies that require time and effort to correct. For example, if two subdocuments have a style with the same name that is formatted differently in each document, the master document will use the formatting from the first subdocument that was added. This could cause your document not to look like you expect. Using the same template for all subdocuments saves time and frustration.&lt;br /&gt;
&lt;br /&gt;
It does not matter in what order you create the master and subdocuments, and you do not have to create all the subdocuments at the same time, when you are starting the project. You can add new subdocuments at any time, as you need them—as long as you always create them from the same template.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Create the master document&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Follow this process to create the master document. You can use other methods, but each method (including this one) has its drawbacks.&lt;br /&gt;
&lt;br /&gt;
# Open a new document from the template you created in Step 2, by clicking &amp;#039;&amp;#039;&amp;#039;New &amp;gt; Templates and Documents&amp;#039;&amp;#039;&amp;#039;, then selecting the template you created. Be sure the first page of this new document is set to the page style you want for the first page of the final document; if it is not, change it. In our example, the style for the first page is &amp;#039;&amp;#039;Title page&amp;#039;&amp;#039;.&lt;br /&gt;
# If any text or page breaks came into this document from the template, delete the text. (Fields in headers and footers can stay.) &lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Send &amp;gt; Create Master Document&amp;#039;&amp;#039;&amp;#039;. Save the master document in the folder for this project, not in the templates foldert. We will return to this master document later. For now, you can either leave it open or close it, as you prefer.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Create subdocuments&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A subdocument is no different from any other text document. It becomes a subdocument only when it is linked into a master document and opened from within the master document. Some settings in the master document will override the settings in a subdocument, but only when the document is being viewed, manipulated, or printed through the master document.&lt;br /&gt;
&lt;br /&gt;
Create a subdocument in the same way as you create any ordinary document:&lt;br /&gt;
&lt;br /&gt;
# Open a blank document based on the project template (very important) by clicking &amp;#039;&amp;#039;&amp;#039;New &amp;gt; Templates and Documents&amp;#039;&amp;#039;&amp;#039;, then selecting the template.&lt;br /&gt;
# Delete any unwanted text, and set the first page to the page style you specified for the first page of a chapter.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Save As&amp;#039;&amp;#039;&amp;#039;. Give the document a suitable name and save it in the folder for this project.&lt;br /&gt;
&lt;br /&gt;
If you already have some of the chapters written, the files are probably not based on the template you just created for this project. You will need to change the template attached to the existing files. The only way to do this is:&lt;br /&gt;
&lt;br /&gt;
# Open a blank document based on the project template.&lt;br /&gt;
# Copy the contents of the original document into this new document. Use &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Paste Special&amp;#039;&amp;#039;&amp;#039; to avoid copying the styles from the original documents to the new document.&lt;br /&gt;
# Apply the template styles throughout the document.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Save As&amp;#039;&amp;#039;&amp;#039; and save the new document in the project folder with a suitable name.&lt;br /&gt;
# Rename the original chapter file so you do not use it by mistake.&lt;br /&gt;
&lt;br /&gt;
====Step 4. Insert some information directly into the master document====&lt;br /&gt;
The instructions in steps 4 and 5 use the page numbering requirements given in Step 1. If your book has different requirements, change these instructions to suit. See [[#Problem solving|Problem solving]] for one example.&lt;br /&gt;
&lt;br /&gt;
These instructions are fairly tedious, but once you have the master document set up, you should not have to change it, and with a bit of practice setting it up goes quickly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the master document and do the following.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make sure paragraph marks are showing (you can set them in &amp;#039;&amp;#039;&amp;#039;Tools &amp;gt; Options &amp;gt; OpenOffice.org Writer &amp;gt; Formatting Aids&amp;#039;&amp;#039;&amp;#039;, or click the &amp;#039;&amp;#039;&amp;#039;Nonprinting characters &amp;#039;&amp;#039;&amp;#039;icon [[Image:ParagraphIcon.png]]).&lt;br /&gt;
* Show text boundaries, table boundaries, and section boundaries (&amp;#039;&amp;#039;&amp;#039;Tools &amp;gt; Options &amp;gt; OpenOffice.org &amp;gt; Appearance&amp;#039;&amp;#039;&amp;#039;). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Type the contents of the title page (or leave placeholders and fill in later). With the insertion point in the last blank paragraph on the page, click &amp;#039;&amp;#039;&amp;#039;Insert &amp;gt; Manual Break&amp;#039;&amp;#039;&amp;#039;. On the Insert Break dialog box, select &amp;#039;&amp;#039;&amp;#039;Page break&amp;#039;&amp;#039;&amp;#039; and the page style for the second page (&amp;#039;&amp;#039;Copyright page&amp;#039;&amp;#039; in our example), and leave the &amp;#039;&amp;#039;&amp;#039;Change page number &amp;#039;&amp;#039;&amp;#039;checkbox deselected. Click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-3.png|Page break between the title page and the copyright page]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a page break between the title page and the copyright page.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Type the contents of the copyright page (or leave placeholders). Insert another manual page break, this time setting the page style to &amp;#039;&amp;#039;Front matter first page&amp;#039;&amp;#039;. Select the &amp;#039;&amp;#039;&amp;#039;Change page number&amp;#039;&amp;#039;&amp;#039; checkbox and choose 1 in the box below that, as shown below. This number 1 will show in your document as i, because the page style is defined to use Roman numerals.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-4.png|Page break before the first page of the front matter]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a page break before the first page of the front matter.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Let’s assume the third page is for the Table of Contents. Leave a blank paragraph or two on this page and insert another page break, with the next page again set to the &amp;#039;&amp;#039;Front matter first page &amp;#039;&amp;#039;style, which we want to use for the first page of the Preface. Because we want the page numbering for the Preface to continue from the page numbers of the Table of Contents, do &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; select the &amp;#039;&amp;#039;&amp;#039;Change page number &amp;#039;&amp;#039;&amp;#039;checkbox this time. Notice that the Navigator shows one item, labeled &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Step 5. Insert the subdocuments into the master document====&lt;br /&gt;
&lt;br /&gt;
At last we are ready to add the subdocuments.&lt;br /&gt;
&lt;br /&gt;
[[Not clear enuf what each icon means.  My copy of 3.2 has no Insert icon whatsoever.  Unclear what it was renamed.  Suggest adding LABELED hand-drawn circles; for instance circle the icon for insert; label it Insert and list the newer permutated labels.  This from someone who has used OO for ten years, a teacher with 8 books done in OO, and never understood Navigator well.  One goal here in the Wiki is to reduce newbie forum posts.  So ABUNDANT  clarity, not just &amp;quot;engineer to engineer&amp;quot; clarity is always good.]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; Subdocuments are inserted into a master document &amp;#039;&amp;#039;before&amp;#039;&amp;#039; whatever item is highlighted in the Navigator. If you insert the &amp;#039;&amp;#039;last&amp;#039;&amp;#039; subdocument first, and then insert the other subdocuments before the last one, they will end up in the correct sequence without the necessity of moving them up or down in the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Display the Navigator (click &amp;#039;&amp;#039;&amp;#039;Edit &amp;gt; Navigator&amp;#039;&amp;#039;&amp;#039;, or press &amp;#039;&amp;#039;F5&amp;#039;&amp;#039;, or click the &amp;#039;&amp;#039;&amp;#039;Navigator&amp;#039;&amp;#039;&amp;#039; icon [[Image:NavigatorIcon.png]].&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;On the Navigator, select &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;, then long-click on the &amp;#039;&amp;#039;&amp;#039;Insert &amp;#039;&amp;#039;&amp;#039;icon and click &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-5.png|Inserting a subdocument using the Navigator]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a subdocument into a master document using the Navigator.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A standard File Open dialog box appears. Select the required file (which you created in Step 3) and click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;. This example uses six chapters and a preface; we will load Chapter 6 first, as suggested in the Tip above.&lt;br /&gt;
&lt;br /&gt;
The inserted file is listed in the Navigator &amp;#039;&amp;#039;before&amp;#039;&amp;#039; the Text item, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-6.png|Navigator after inserting one subdocument]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Navigator after inserting one subdocument.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Because the &amp;#039;&amp;#039;Text&amp;#039;&amp;#039; section contains the title page and other material you have already inserted, highlight it and click the &amp;#039;&amp;#039;&amp;#039;Move Up&amp;#039;&amp;#039;&amp;#039; icon to move it to the top of the list.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Highlight the subdocument you just inserted (Chapter 6), then long-click on the &amp;#039;&amp;#039;&amp;#039;Insert &amp;#039;&amp;#039;&amp;#039;icon and click &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039; to insert the &amp;#039;&amp;#039;first&amp;#039;&amp;#039; subdocument; in this example, Preface. Chapter 6 remains highlighted. Repeat with Chapter 1, Chapter 2, and so on until all the subdocuments have been added to the list. The Navigator will now look something like the figure below.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-7.png|Navigator showing a series of files]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;The Navigator showing a series of files in a master document.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the master document again. Now highlight each chapter in turn and insert a Text section before it. When you are done, the Navigator should look like Figure 8.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-8.png|Navigator showing a series of files and text sections]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;The Navigator showing a series of files and text sections.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; You can define your &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; paragraph style to start on a new page, and thus avoid inserting manual page breaks between chapters, but this causes a page numbering problem if you want to restart page numbering at the beginning of Chapter 1.&lt;br /&gt;
&lt;br /&gt;
To restart page numbering, you must insert a manual page break; but because the Heading 1 style on the first page of Chapter 1 forces yet another page break, you end up with one or more unwanted blank pages before the first page of Chapter 1. The technique described in this chapter avoids this problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Check whether the first page of the master document has the correct page style. If not, change it to the correct style (&amp;#039;&amp;#039;Title page&amp;#039;&amp;#039; in this example).&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll to the place where the first subdocument begins. Check whether its page style is correct, and change it if necessary (&amp;#039;&amp;#039;Front matter first page&amp;#039;&amp;#039; in this example).&lt;br /&gt;
&lt;br /&gt;
The first subdocument has a blank paragraph at the top of the page; this was inserted as part of the manual page break. Set this paragraph to the PageBreak style you created in Step 2.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-9.png|Page break before subdocument]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Page break before subdocument, which is in a protected section.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Notice that the document is in a protected section. That means you cannot change any of the contents of this subdocument from within the master document. (If you remove the section, the contents become part of the master document itself; they are no longer in a subdocument. If you make changes in either the master document or the subdocument, those changes are not made in the other document. For more about sections, refer to the online help or to Chapter 4, Formatting Pages.)&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down until you find the beginning of Chapter 1. You will find that it is on the same page as the end of the Preface, and there is a blank paragraph in the text area between the two sections (the Preface and Chapter 1), as shown below.&lt;br /&gt;
&lt;br /&gt;
Click on this blank paragraph and insert a page break, specifying the &amp;#039;&amp;#039;First Page&amp;#039;&amp;#039; style and the page number to start at 1. Click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-10.png|A text area between two sections]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;A text area between two sections of a master document.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Scroll to the first page of Chapter 2. You’ll find that it is on the same page as the end of Chapter 1, and there is a blank paragraph in the text area between the two chapters.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click on this blank paragraph and insert a page break, specifying the &amp;#039;&amp;#039;First Page&amp;#039;&amp;#039; style, but do &amp;#039;&amp;#039;not&amp;#039;&amp;#039; select the &amp;#039;&amp;#039;&amp;#039;Change page number&amp;#039;&amp;#039;&amp;#039; checkbox.&lt;br /&gt;
&lt;br /&gt;
Repeat for all of the chapters, so that each chapter starts on a new first page.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the master document again.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Step 6. Add a table of contents, bibliography, or index====&lt;br /&gt;
You can generate a table of contents, bibliography, or index for the book, using the master document. You must insert these items into a text section in the master document. For more about these document elements, see Chapter 12 (Creating Tables of Contents, Indexes, and Bibliographies).&lt;br /&gt;
&lt;br /&gt;
Put the insertion point on the page in the first text section where the table of contents is to go and create the table of contents.&lt;br /&gt;
&lt;br /&gt;
If you do not have a Text section at the end of the master document, insert one before the last subdocument, then move it down so it is after the last subdocument. Now, if you have included bibliographic entries in your subdocuments, you can put the insertion point on the page in this last text section where the bibliography is to go and create the bibliography.&lt;br /&gt;
&lt;br /&gt;
If you have included index entries in your subdocuments, put the insertion point on the page in the last text section where the index is to go and create the index.&lt;br /&gt;
&lt;br /&gt;
{{Manual}}&lt;/div&gt;</summary>
		<author><name>BruceDickson</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating_a_master_document&amp;diff=186148</id>
		<title>Documentation/OOoAuthors User Manual/Writer Guide/Creating a master document</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating_a_master_document&amp;diff=186148"/>
		<updated>2010-10-05T03:15:37Z</updated>

		<summary type="html">&lt;p&gt;BruceDickson: /* Step 5. Insert the subdocuments into the master document */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Creating a master document}}&lt;br /&gt;
{{WriterMasterDocTOC|PrevNext=block&lt;br /&gt;
|PrevPage=Documentation/OOoAuthors User Manual/Writer Guide/Using the Navigator&lt;br /&gt;
|NextPage=Documentation/OOoAuthors_User_Manual/Writer Guide/Editing a master document}}__notoc__&lt;br /&gt;
The three most common scenarios for creating a master document depend on the current state of your document:&lt;br /&gt;
&lt;br /&gt;
* You have one existing document (a book) that you want to split into several subdocuments (chapters) that will be controlled by the master document.&lt;br /&gt;
* You have several existing documents (chapters) by one or more authors that you want to combine into one book, controlled by the master document.&lt;br /&gt;
* You have no existing documents but intend to write a long book containing several chapters, possibly by multiple authors.&lt;br /&gt;
&lt;br /&gt;
We will look at each of these scenarios in turn.&lt;br /&gt;
&lt;br /&gt;
== Splitting one document into a master document and subdocuments ==&lt;br /&gt;
When you have one existing document that you want to split into several subdocuments that will be controlled by the master document, you can split the document automatically.&lt;br /&gt;
&lt;br /&gt;
Use this method if the original document uses only the &amp;#039;&amp;#039;Default&amp;#039;&amp;#039; page style, is numbered sequentially from the first page, and uses the &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; style to identify the start of each chapter. In these conditions, this method will work well.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Advantages:&amp;#039;&amp;#039;&amp;#039; This method is quick and easy, and any existing cross-references between chapters are preserved. Although cleanup work may be necessary, once you have done the cleanup, the document will behave itself.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Disadvantages:&amp;#039;&amp;#039;&amp;#039; If the original document was complex, you may have major cleanup work to do because some formatting will be lost—for example, page styles, page breaks, restarted page numbering.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;How to do it:&amp;#039;&amp;#039;&amp;#039; Open the document and click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Send &amp;gt; Create Master Document&amp;#039;&amp;#039;&amp;#039; to split the document. You will find that each of the subdocuments begins with a &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; and the file names are all &amp;#039;&amp;#039;maindocnameX.odt&amp;#039;&amp;#039;, where X is 1, 2, 3, and so on. If you have a Preface or other “chapter” starting with a Heading 1 before Chapter 1, the file names will not directly correspond to the chapter numbers.&lt;br /&gt;
&lt;br /&gt;
== Combining several documents into a master document ==&lt;br /&gt;
This method works best when all of the documents were created from the same template, but you can also use it when the documents were created from different templates.&lt;br /&gt;
&lt;br /&gt;
Use one of the techniques described in [[#Starting with no existing documents|Starting with no existing documents]] to create a blank master document and insert the other documents as subdocuments of the master document.&lt;br /&gt;
&lt;br /&gt;
This method is especially useful if the subdocuments are created or maintained by multiple writers. All writers on the project can work on their subdocuments without fear of version control issues that can occur when multiple people work on the same document.&lt;br /&gt;
&lt;br /&gt;
== Starting with no existing documents ==&lt;br /&gt;
The ideal situation is to start with no existing documents, because you can do everything the way you want from the beginning. Writer provides three ways to create a master document:&lt;br /&gt;
&lt;br /&gt;
[[#Method 1. Quick and easy, but not recommended|Method 1. Quick and easy, but not recommended]]&lt;br /&gt;
&lt;br /&gt;
[[#Method 2. Not too complicated, but with restrictions|Method 2. Not too complicated, but with restrictions]]&lt;br /&gt;
&lt;br /&gt;
[[#Method 3. Complete control|Method 3. Complete control]]&lt;br /&gt;
&lt;br /&gt;
In each case, you need to have a disciplined approach to make sure the master document works correctly and reliably. Each method below describes the steps to take. Be sure to do the steps in the order given.&lt;br /&gt;
&lt;br /&gt;
===Method 1. Quick and easy, but not recommended===&lt;br /&gt;
Writer provides a quick and easy way to create a master document, but the master document is not associated with a template, so changes to styles and formatting are more difficult to apply reliably.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; If the subdocuments were all created with the same template and the styles were not modified in the documents, then the styles are imported into the master document with the subdocuments, and styles and formatting should be correct in the master document. This method works best when these conditions are met.&lt;br /&gt;
&lt;br /&gt;
How to do it: &lt;br /&gt;
&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; New &amp;gt; Master Document&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# Use the Navigator to insert new documents or existing files into the master document, as described in [[#Step 5. Insert the subdocuments into the master document|Step 5. Insert the subdocuments into the master document]].&lt;br /&gt;
&lt;br /&gt;
===Method 2. Not too complicated, but with restrictions===&lt;br /&gt;
This technique works well if you want to use sequential page numbering throughout the final document (not restarting at 1 at any point), and each chapter starts with a &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; on a new page. If you want to restart page numbering anywhere in the document, use Method 3.&lt;br /&gt;
&lt;br /&gt;
How to do it: Follow the instructions in the next section ([[#Method 3. Complete control|Method 3. Complete control]]), but do not put in the text sections between the subdocuments or try to change the page numbering.&lt;br /&gt;
&lt;br /&gt;
===Method 3. Complete control===&lt;br /&gt;
This method gives you complete control over complex documents with several page styles or restarted page numbering. It is a bit more work to set up, but works reliably. However, the method does not work in some situations. See [[#Problem solving|Problem solving]] for details.&lt;br /&gt;
&lt;br /&gt;
How to do it: Follow these steps, in the order given. Each step is explained in detail in the following subsections.&lt;br /&gt;
&lt;br /&gt;
[[#Step 1. Plan the project|Step 1. Plan the project]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 2. Create a template containing the required styles, fields, and other elements|Step 2. Create a template containing the required styles, fields, and other elements]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 3. Create the master document and subdocuments from the same template|Step 3. Create the master document and subdocuments from the same template]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 4. Insert some information directly into the master document|Step 4. Insert some information directly into the master document]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 5. Insert the subdocuments into the master document|Step 5. Insert the subdocuments into the master document]]&lt;br /&gt;
&lt;br /&gt;
[[#Step 6. Add a table of contents, bibliography, or index|Step 6. Add a table of contents, bibliography, or index]]&lt;br /&gt;
&lt;br /&gt;
====Step 1. Plan the project====&lt;br /&gt;
&lt;br /&gt;
Although you can make changes at most steps in this process, the more you can plan before you start, the less work you will have to do to correct any problems later. Here are some things you need to plan:&lt;br /&gt;
&lt;br /&gt;
* Parts of book or report required, and the page numbering to be used in different parts of the book. Consider as an example a book with these parts:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Part&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Length&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Page numbering&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title (cover) page&lt;br /&gt;
| 1 page&lt;br /&gt;
| no page number&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| 1 page (back of title page)&lt;br /&gt;
| no page number&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Table of Contents&lt;br /&gt;
| unknown length&lt;br /&gt;
| start with i&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Preface (Foreword)&lt;br /&gt;
| 2 pages&lt;br /&gt;
| continue from ToC&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Chapters 1 to 8&lt;br /&gt;
| unknown length&lt;br /&gt;
| start with 1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Appendixes A, B&lt;br /&gt;
| unknown length&lt;br /&gt;
| continue from Chapter 8&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Index&lt;br /&gt;
| unknown length&lt;br /&gt;
| continue from Appendix B&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* What pages will be in the master document and what will be in the subdocuments. The ToC and index must be in the master document. A typical arrangement would be:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Part&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Location&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title (cover) page&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Table of Contents&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Preface (Foreword)&lt;br /&gt;
| Subdocument&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Chapters 1 to 8&lt;br /&gt;
| Subdocuments&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Appendixes A, B&lt;br /&gt;
| Subdocuments&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Index&lt;br /&gt;
| In master document&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Page, paragraph, character, frame, and numbering styles. See Chapter 6 (Introduction to Styles) and Chapter 7 (Working with Styles) for instructions on how to create or modify styles. Some styles for the example book are:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Page styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Next page style&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Title page&lt;br /&gt;
| No header, footer or page numbers; layout different from other pages&lt;br /&gt;
| Copyright page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Copyright page&lt;br /&gt;
| No header, footer or page numbers; layout different from other pages&lt;br /&gt;
| Front matter first page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter first page&lt;br /&gt;
| No header; page number in footer, Roman numbers (i, ii, iii); layout different from following pages&lt;br /&gt;
| Front matter left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter left page&lt;br /&gt;
| Header and footer, one containing the page number (Roman)&lt;br /&gt;
| Front matter right page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Front matter right page&lt;br /&gt;
| Margins mirrored from Front matter left page; Roman page number&lt;br /&gt;
| Front matter left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| First page&lt;br /&gt;
| No header; page number in footer, Arabic numbers (1, 2, 3); layout same as Front matter first page&lt;br /&gt;
| Left page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Left page&lt;br /&gt;
| Layout as for Front matter left page, but Arabic page numbers&lt;br /&gt;
| Right page&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Right page&lt;br /&gt;
| Layout as for Front matter right page, but Arabic page numbers&lt;br /&gt;
| Left page&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Paragraph styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Next paragraph style&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Heading 1&lt;br /&gt;
| 18 pt, bold, 0.30” above, 0.15” after, page break before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Heading 2&lt;br /&gt;
| 14 pt, bold, 0.30 “ above, 0.15” below&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Body text&lt;br /&gt;
| 12 pt, double space, 0.25” indent before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Page break&lt;br /&gt;
| 6 pt, no space before or after, page break before&lt;br /&gt;
| Body text&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Character styles&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name&lt;br /&gt;
! Characteristics&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Emphasis&lt;br /&gt;
| 12 pt, italic&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Body text&lt;br /&gt;
| 12 pt&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Insert fields and AutoText entries as required. See other chapters in this book for ideas.&lt;br /&gt;
&lt;br /&gt;
====Step 2. Create a template containing the required styles, fields, and other elements====&lt;br /&gt;
You can create your template from an existing document or template that contains some or all of the styles you want for this document, or you can create the template from a blank document. For more about templates, see Chapter 10 (Working with Templates).&lt;br /&gt;
&lt;br /&gt;
If you use an existing document or template, delete all the text from it except for fields in headers and footers before saving it as the template for this project. It will still have all the styles you defined, even if the text is not there. You can change the styles in the template as your project develops.&lt;br /&gt;
&lt;br /&gt;
Be sure to use &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Templates &amp;gt; Save &amp;#039;&amp;#039;&amp;#039;when creating the template.&lt;br /&gt;
&lt;br /&gt;
====Step 3. Create the master document and subdocuments from the same template====&lt;br /&gt;
If you are starting a new project, create the master document and all the subdocuments from the same template. Not using the same template could create style inconsistencies that require time and effort to correct. For example, if two subdocuments have a style with the same name that is formatted differently in each document, the master document will use the formatting from the first subdocument that was added. This could cause your document not to look like you expect. Using the same template for all subdocuments saves time and frustration.&lt;br /&gt;
&lt;br /&gt;
It does not matter in what order you create the master and subdocuments, and you do not have to create all the subdocuments at the same time, when you are starting the project. You can add new subdocuments at any time, as you need them—as long as you always create them from the same template.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Create the master document&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Follow this process to create the master document. You can use other methods, but each method (including this one) has its drawbacks.&lt;br /&gt;
&lt;br /&gt;
# Open a new document from the template you created in Step 2, by clicking &amp;#039;&amp;#039;&amp;#039;New &amp;gt; Templates and Documents&amp;#039;&amp;#039;&amp;#039;, then selecting the template you created. Be sure the first page of this new document is set to the page style you want for the first page of the final document; if it is not, change it. In our example, the style for the first page is &amp;#039;&amp;#039;Title page&amp;#039;&amp;#039;.&lt;br /&gt;
# If any text or page breaks came into this document from the template, delete the text. (Fields in headers and footers can stay.) &lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Send &amp;gt; Create Master Document&amp;#039;&amp;#039;&amp;#039;. Save the master document in the folder for this project, not in the templates foldert. We will return to this master document later. For now, you can either leave it open or close it, as you prefer.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Create subdocuments&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A subdocument is no different from any other text document. It becomes a subdocument only when it is linked into a master document and opened from within the master document. Some settings in the master document will override the settings in a subdocument, but only when the document is being viewed, manipulated, or printed through the master document.&lt;br /&gt;
&lt;br /&gt;
Create a subdocument in the same way as you create any ordinary document:&lt;br /&gt;
&lt;br /&gt;
# Open a blank document based on the project template (very important) by clicking &amp;#039;&amp;#039;&amp;#039;New &amp;gt; Templates and Documents&amp;#039;&amp;#039;&amp;#039;, then selecting the template.&lt;br /&gt;
# Delete any unwanted text, and set the first page to the page style you specified for the first page of a chapter.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Save As&amp;#039;&amp;#039;&amp;#039;. Give the document a suitable name and save it in the folder for this project.&lt;br /&gt;
&lt;br /&gt;
If you already have some of the chapters written, the files are probably not based on the template you just created for this project. You will need to change the template attached to the existing files. The only way to do this is:&lt;br /&gt;
&lt;br /&gt;
# Open a blank document based on the project template.&lt;br /&gt;
# Copy the contents of the original document into this new document. Use &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Paste Special&amp;#039;&amp;#039;&amp;#039; to avoid copying the styles from the original documents to the new document.&lt;br /&gt;
# Apply the template styles throughout the document.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;File &amp;gt; Save As&amp;#039;&amp;#039;&amp;#039; and save the new document in the project folder with a suitable name.&lt;br /&gt;
# Rename the original chapter file so you do not use it by mistake.&lt;br /&gt;
&lt;br /&gt;
====Step 4. Insert some information directly into the master document====&lt;br /&gt;
The instructions in steps 4 and 5 use the page numbering requirements given in Step 1. If your book has different requirements, change these instructions to suit. See [[#Problem solving|Problem solving]] for one example.&lt;br /&gt;
&lt;br /&gt;
These instructions are fairly tedious, but once you have the master document set up, you should not have to change it, and with a bit of practice setting it up goes quickly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the master document and do the following.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make sure paragraph marks are showing (you can set them in &amp;#039;&amp;#039;&amp;#039;Tools &amp;gt; Options &amp;gt; OpenOffice.org Writer &amp;gt; Formatting Aids&amp;#039;&amp;#039;&amp;#039;, or click the &amp;#039;&amp;#039;&amp;#039;Nonprinting characters &amp;#039;&amp;#039;&amp;#039;icon [[Image:ParagraphIcon.png]]).&lt;br /&gt;
* Show text boundaries, table boundaries, and section boundaries (&amp;#039;&amp;#039;&amp;#039;Tools &amp;gt; Options &amp;gt; OpenOffice.org &amp;gt; Appearance&amp;#039;&amp;#039;&amp;#039;). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Type the contents of the title page (or leave placeholders and fill in later). With the insertion point in the last blank paragraph on the page, click &amp;#039;&amp;#039;&amp;#039;Insert &amp;gt; Manual Break&amp;#039;&amp;#039;&amp;#039;. On the Insert Break dialog box, select &amp;#039;&amp;#039;&amp;#039;Page break&amp;#039;&amp;#039;&amp;#039; and the page style for the second page (&amp;#039;&amp;#039;Copyright page&amp;#039;&amp;#039; in our example), and leave the &amp;#039;&amp;#039;&amp;#039;Change page number &amp;#039;&amp;#039;&amp;#039;checkbox deselected. Click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-3.png|Page break between the title page and the copyright page]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a page break between the title page and the copyright page.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Type the contents of the copyright page (or leave placeholders). Insert another manual page break, this time setting the page style to &amp;#039;&amp;#039;Front matter first page&amp;#039;&amp;#039;. Select the &amp;#039;&amp;#039;&amp;#039;Change page number&amp;#039;&amp;#039;&amp;#039; checkbox and choose 1 in the box below that, as shown below. This number 1 will show in your document as i, because the page style is defined to use Roman numerals.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-4.png|Page break before the first page of the front matter]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a page break before the first page of the front matter.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Let’s assume the third page is for the Table of Contents. Leave a blank paragraph or two on this page and insert another page break, with the next page again set to the &amp;#039;&amp;#039;Front matter first page &amp;#039;&amp;#039;style, which we want to use for the first page of the Preface. Because we want the page numbering for the Preface to continue from the page numbers of the Table of Contents, do &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; select the &amp;#039;&amp;#039;&amp;#039;Change page number &amp;#039;&amp;#039;&amp;#039;checkbox this time. Notice that the Navigator shows one item, labeled &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Step 5. Insert the subdocuments into the master document====&lt;br /&gt;
&lt;br /&gt;
At last we are ready to add the subdocuments.&lt;br /&gt;
&lt;br /&gt;
[[Not clear enuf what each icon means.  Suggest adding LABELED hand-drawn circles; for instance circle the icon for insert; label it insert.  This from someone who has used OO for ten years, a teacher with 8 books done in OO, and never understood Navigator well.  One goal here in the Wiki is to reduce newbie forum posts.  So ABUNDANT  clarity, not just &amp;quot;engineer to engineer&amp;quot; clarity is always good.]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; Subdocuments are inserted into a master document &amp;#039;&amp;#039;before&amp;#039;&amp;#039; whatever item is highlighted in the Navigator. If you insert the &amp;#039;&amp;#039;last&amp;#039;&amp;#039; subdocument first, and then insert the other subdocuments before the last one, they will end up in the correct sequence without the necessity of moving them up or down in the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Display the Navigator (click &amp;#039;&amp;#039;&amp;#039;Edit &amp;gt; Navigator&amp;#039;&amp;#039;&amp;#039;, or press &amp;#039;&amp;#039;F5&amp;#039;&amp;#039;, or click the &amp;#039;&amp;#039;&amp;#039;Navigator&amp;#039;&amp;#039;&amp;#039; icon [[Image:NavigatorIcon.png]].&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;On the Navigator, select &amp;#039;&amp;#039;&amp;#039;Text&amp;#039;&amp;#039;&amp;#039;, then long-click on the &amp;#039;&amp;#039;&amp;#039;Insert &amp;#039;&amp;#039;&amp;#039;icon and click &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-5.png|Inserting a subdocument using the Navigator]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Inserting a subdocument into a master document using the Navigator.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A standard File Open dialog box appears. Select the required file (which you created in Step 3) and click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;. This example uses six chapters and a preface; we will load Chapter 6 first, as suggested in the Tip above.&lt;br /&gt;
&lt;br /&gt;
The inserted file is listed in the Navigator &amp;#039;&amp;#039;before&amp;#039;&amp;#039; the Text item, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-6.png|Navigator after inserting one subdocument]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Navigator after inserting one subdocument.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Because the &amp;#039;&amp;#039;Text&amp;#039;&amp;#039; section contains the title page and other material you have already inserted, highlight it and click the &amp;#039;&amp;#039;&amp;#039;Move Up&amp;#039;&amp;#039;&amp;#039; icon to move it to the top of the list.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Highlight the subdocument you just inserted (Chapter 6), then long-click on the &amp;#039;&amp;#039;&amp;#039;Insert &amp;#039;&amp;#039;&amp;#039;icon and click &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039; to insert the &amp;#039;&amp;#039;first&amp;#039;&amp;#039; subdocument; in this example, Preface. Chapter 6 remains highlighted. Repeat with Chapter 1, Chapter 2, and so on until all the subdocuments have been added to the list. The Navigator will now look something like the figure below.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-7.png|Navigator showing a series of files]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;The Navigator showing a series of files in a master document.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the master document again. Now highlight each chapter in turn and insert a Text section before it. When you are done, the Navigator should look like Figure 8.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-8.png|Navigator showing a series of files and text sections]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;The Navigator showing a series of files and text sections.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; You can define your &amp;#039;&amp;#039;Heading 1&amp;#039;&amp;#039; paragraph style to start on a new page, and thus avoid inserting manual page breaks between chapters, but this causes a page numbering problem if you want to restart page numbering at the beginning of Chapter 1.&lt;br /&gt;
&lt;br /&gt;
To restart page numbering, you must insert a manual page break; but because the Heading 1 style on the first page of Chapter 1 forces yet another page break, you end up with one or more unwanted blank pages before the first page of Chapter 1. The technique described in this chapter avoids this problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Check whether the first page of the master document has the correct page style. If not, change it to the correct style (&amp;#039;&amp;#039;Title page&amp;#039;&amp;#039; in this example).&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll to the place where the first subdocument begins. Check whether its page style is correct, and change it if necessary (&amp;#039;&amp;#039;Front matter first page&amp;#039;&amp;#039; in this example).&lt;br /&gt;
&lt;br /&gt;
The first subdocument has a blank paragraph at the top of the page; this was inserted as part of the manual page break. Set this paragraph to the PageBreak style you created in Step 2.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-9.png|Page break before subdocument]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;Page break before subdocument, which is in a protected section.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Notice that the document is in a protected section. That means you cannot change any of the contents of this subdocument from within the master document. (If you remove the section, the contents become part of the master document itself; they are no longer in a subdocument. If you make changes in either the master document or the subdocument, those changes are not made in the other document. For more about sections, refer to the online help or to Chapter 4, Formatting Pages.)&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down until you find the beginning of Chapter 1. You will find that it is on the same page as the end of the Preface, and there is a blank paragraph in the text area between the two sections (the Preface and Chapter 1), as shown below.&lt;br /&gt;
&lt;br /&gt;
Click on this blank paragraph and insert a page break, specifying the &amp;#039;&amp;#039;First Page&amp;#039;&amp;#039; style and the page number to start at 1. Click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
[[Image:WG13-10.png|A text area between two sections]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;A text area between two sections of a master document.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Scroll to the first page of Chapter 2. You’ll find that it is on the same page as the end of Chapter 1, and there is a blank paragraph in the text area between the two chapters.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click on this blank paragraph and insert a page break, specifying the &amp;#039;&amp;#039;First Page&amp;#039;&amp;#039; style, but do &amp;#039;&amp;#039;not&amp;#039;&amp;#039; select the &amp;#039;&amp;#039;&amp;#039;Change page number&amp;#039;&amp;#039;&amp;#039; checkbox.&lt;br /&gt;
&lt;br /&gt;
Repeat for all of the chapters, so that each chapter starts on a new first page.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Save the master document again.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Step 6. Add a table of contents, bibliography, or index====&lt;br /&gt;
You can generate a table of contents, bibliography, or index for the book, using the master document. You must insert these items into a text section in the master document. For more about these document elements, see Chapter 12 (Creating Tables of Contents, Indexes, and Bibliographies).&lt;br /&gt;
&lt;br /&gt;
Put the insertion point on the page in the first text section where the table of contents is to go and create the table of contents.&lt;br /&gt;
&lt;br /&gt;
If you do not have a Text section at the end of the master document, insert one before the last subdocument, then move it down so it is after the last subdocument. Now, if you have included bibliographic entries in your subdocuments, you can put the insertion point on the page in this last text section where the bibliography is to go and create the bibliography.&lt;br /&gt;
&lt;br /&gt;
If you have included index entries in your subdocuments, put the insertion point on the page in the last text section where the index is to go and create the index.&lt;br /&gt;
&lt;br /&gt;
{{Manual}}&lt;/div&gt;</summary>
		<author><name>BruceDickson</name></author>
	</entry>
</feed>