Difference between revisions of "Documentation/OOo3 User Guides/Writer Guide/Creating one file from a master document"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
{{DISPLAYTITLE:Creating one file from a master document and its subdocuments - DRAFT}}
+
{{DISPLAYTITLE:Creating one file from a master document and its subdocuments}}
 
{{Documentation/WG3MasterDocsTOC
 
{{Documentation/WG3MasterDocsTOC
 
|ShowPrevNext=block
 
|ShowPrevNext=block

Revision as of 01:55, 14 January 2009


Master documents are .odm files containing linked subdocuments, which are in .odt format. Although linked files are very useful when writing and editing a large document such as a book, sometimes you might need to have a copy of the entire book in one file.

To export a master document to a .odt file (without affecting the original .odm file), do this:

  1. Open the master document. Choose File > Export from the menu bar.
  2. On the Export dialog, type a name for the exported .odt file and choose OpenDocument Text (.odt) from the File format list. Click Export. This step changes the .odm file into a .odt file, with each subdocument in a separate section.
  3. Exporting a master document to an OpenDocument Text (.odt) file
  4. Close the master document and open the new .odt file, updating all links.
  5. Choose Edit > Links from the menu bar.
  6. Template:Documentation/Tip

  7. The Edit Links dialog shows all the linked files. Select all the files in the Source file list and click Break Link. This step embeds (includes) the contents of all the subdocuments into one single file (but with each subdocument remaining in a separate section) and removes the write protection on the sections.
  8. Breaking links to include files in one document
  9. After breaking the links, you may wish to also remove some or all of the sections. To do that, go to Format > Sections, select the sections you wish to remove, and click Remove. The contents of those sections remain in the document; only the section markers are removed.

Template:Documentation/Tip


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