Working with Master Documents and Subdocuments

Põhidokument võimaldab hallata suuri dokumente, näiteks paljude peatükkidega raamatut. Põhidokumenti võib pidada üksikute LibreOffice Writeri failide kogumiks. Sellesse kuuluvaid faile nimetatakse alamdokumentideks.

To Create a Master Document

  1. Do one of the following:

  1. If you are creating a new master document, the first entry in the Navigator should be a Text entry. Type an introduction or enter some text. This ensures that after having edited an existing style in the master document, you see the changed style when viewing the subdocuments.

  2. In the Navigator for master documents (should open automatically, else press F5 to open), click and hold the Insert icon, and do one of the following:

  1. Choose File - Save.

To Edit a Master Document

Use the Navigator for rearranging and editing the subdocuments in a master document.


To update an index in a master document, select the index in the Navigator, and then click the Update icon.

Märkuse ikoon

When you insert an object like a frame or a picture into a master document, do not anchor the object "to page". Instead, set the anchor "to paragraph" on the Format - (Object type) - Type tab page, and then set the object's position relative to "Entire Page" in the Horizontal and Vertical list boxes.

To Start Each Subdocument on a New Page

  1. Ensure that each subdocument starts with a heading that uses the same paragraph style, for example "Heading 1".

  2. In the master document, choose View - Styles, and click the Paragraph Styles icon.

  3. Right-click "Heading 1" and choose Modify.

  4. Click the Text Flow tab.

  5. In the Breaks area, select Insert, and then select “Page”in the Type box.

  6. If you want each subdocument to start on an odd page, select With Page Style, and select "Right page" in the box.

  7. Click OK.

To Export a Master Document as a LibreOffice Text Document

  1. Choose File - Export.

  2. In the File format list, select a text document file format and click Export.

Märkuse ikoon

Alamdokumendid eksporditakse sektsioonidena. Kui eelistad tavatekstiga dokumente sektsioonidele, vali sektsioonide kaitse eemaldamiseks ja nende kustutamiseks Vormindus - Sektsioonid.