Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

OpenOffice Writer 3.x Guide
Previous Page Home Next Page

Step 5. Insert the subdocuments into the master document

At last we are ready to add the subdocuments.

Image:Tip.png Subdocuments are inserted into a master document before whatever item is highlighted in the Navigator. If you insert the last 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.
  1. Display the Navigator (click Edit > Navigator, or press F5, or click the Navigator icon Image:NavigatorIcon.png.
  2. On the Navigator, select Text, then long-click on the Insert icon and click File.
  3. Inserting a subdocument into a master document using the Navigator.

    A standard File Open dialog box appears. Select the required file (which you created in Step 3) and click OK. This example uses six chapters and a preface; we will load Chapter 6 first, as suggested in the Tip above.

    The inserted file is listed in the Navigator before the Text item, as shown below.

    Navigator after inserting one subdocument.
  4. Because the Text section contains the title page and other material you have already inserted, highlight it and click the Move Up icon to move it to the top of the list.
  5. Highlight the subdocument you just inserted (Chapter 6), then long-click on the Insert icon and click File to insert the first 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.
  6. The Navigator showing a series of files in a master document.
  7. 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.
  8. The Navigator showing a series of files and text sections.
    Image:Tip.png You can define your Heading 1 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.

    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.

  9. Check whether the first page of the master document has the correct page style. If not, change it to the correct style (Title page in this example).
  10. Scroll to the place where the first subdocument begins. Check whether its page style is correct, and change it if necessary (Front matter first page in this example).

    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.

    Page break before subdocument, which is in a protected section.
  11. 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.)
  12. 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.

    Click on this blank paragraph and insert a page break, specifying the First Page style and the page number to start at 1. Click OK.

    A text area between two sections of a master document.
  13. 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.
  14. Click on this blank paragraph and insert a page break, specifying the First Page style, but do not select the Change page number checkbox.

    Repeat for all of the chapters, so that each chapter starts on a new first page.

  15. Save the master document again.

OpenOffice Writer 3.x Guide
Previous Page Home Next Page

 
 
  Published under the terms of the Creative Commons License Design by Interspire