Master documents in Writer
This page is in Work!
The video "Arbeiten mit Globaldokumenten" links to this page here, which contains further information.
This description refers to the version LibreOffice 5.3.
Link to the Video
Link to the Video (in German [DE]):
What do I need a master document for?
Master documents are usually used to create long documents such as a book or documentation.
A master document is an ODM file and is a container for several text documents (ODT files).
The master document also includes formatting, tables of contents, bibliographies, indexes, and other enumerations.
Note: In short: A master document unites several text documents.
In order to Principle of a master document to explain here, we use the scenario here:
Several existing text documents (Chapters_01 - 05) are to be combined into one master document.
Styles in global- and sub-documents
An independent document (ODT) becomes a subdocument when it is integrated into a master document (ODM).
A subdocument can be included in different master documents.
Each master document (ODM) can have different definitions for style sheets, such as font, size, color, page size, margins, and so on.
These have an influence on the design of the final master document.
The individual documents (ODT) retain their own settings.
Relationships of the style templates
The following relationships exist between the style templates in a master document and its subdocuments:
- Common style templates that are used in subdocuments, such as paragraph formatting, are copied to master documents.
- If more than one subdocument uses the same styles with the same names (for example: My Basic Text), only the style of the first subdocument is copied to the master document.
- If a style template with the same name exists in the master document and in the sub-documents (for example, Default), then the settings defined in the master document are applied.
- The style templates of the sub-documents are only changed in the master document. If you change a sub-document for editing, the formatting there is not affected.
Create Master document
For a master document, it is best to use "Chapter_01" as a template and change it.
We open the text document "Chapter_01".
Select the text it contains and replace it with an introductory text, for example:
"This master document combines the text documents Chapter_01 to _05".
We click on▸ ▸ .
We save the master document under the name, for example "Global".
If the Navigator is not visible, we open it with▸ .
In the top left corner of the Navigator you will find the "Switch Master View" icon.
We check whether the Master view is displayed, otherwise we click on the "Switch Master View" icon.
We repeat this until "Chapter_05".
The Navigator has the property that inserted documents are always inserted above the last selected file or "Text" (Introduction text in the master document).
We sort the file or "Text" (Introduction text in the master document) by clicking on it and moving it up or down using the arrow keys in the Navigator.
The sequence should look like this at the end:
- Text (Introduction text in the master document)
Save the master document.
Switch between portrait and landscape format in one document
If there is a desire to change the page format in a document from portrait to landscape or vice versa, the following should be taken into account.
If a document has been started with the page template "Standard", normally all text in the document is given this page template.
The division from portrait to landscape format, for example, is usually made after a manual page break.
However, if the "Standard" template is used, the page break does not contain any entry about which page template should be used.
In this case, the previous page template will continue to be used.
If the document is then inserted after a portrait page, it will still be portrait, if it is inserted after a landscape page, it will still be landscape.
However, if you use a self-defined page template (for example, one for portrait and one for landscape), this information is actually included in the page break and is therefore available in the master document without any changes.
With▸ ▸ you insert a page break.
In addition, under the item "Style templates|Page templates" in the menu, you can select for Example landscape format for the page that comes after the page break.
In the same way, you can set the text back to portrait format.
Documentation / Manuals
Here you will find the Documentation / Manuals:
For questions on this topic go to:
Join us today and help us to make it even better!
LibreOffice is Free Software and is made available free of charge.
Your donation, which is purely optional, supports our worldwide community.
If you like the software, please consider a Donation.
Field reports (in German [DE]
From Andreas Haumer [andreas(at)xss.co.at]: https://listarchives.libreoffice.org/de/users/msg22170.html
From Oliver Brinzing [Oliver.Brinzing(at)gmx.de]: https://listarchives.libreoffice.org/de/users/msg22171.html