Bug 52444 - : No one-step export of Master Document as self-sufficient word processing file
Summary: : No one-step export of Master Document as self-sufficient word processing file
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.5.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium enhancement
Assignee: Not Assigned
Whiteboard: BSA
: 86484 (view as bug list)
Depends on:
Blocks: Writer-Master-Doc
  Show dependency treegraph
Reported: 2012-07-24 14:48 UTC by garethsljones
Modified: 2021-03-16 08:48 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

This is the file save dialogue box used to export the Master Document as a normal word processing file (304.65 KB, image/png)
2012-07-24 14:48 UTC, garethsljones
The dialogue seen when opening the exported word processing file (301.17 KB, image/png)
2012-07-24 14:59 UTC, garethsljones

Note You need to log in before you can comment on or make changes to this bug.
Description garethsljones 2012-07-24 14:48:27 UTC
Created attachment 64617 [details]
This is the file save dialogue box used to export the Master Document as a normal word processing file

Problem description: A major use of master documents is to consolidate multiple word processing files so that they can be exported as a single, self-sufficient word-processing file that can then be distributed to others without the component files. The expectation is that the "export" function would work, in this respect, like the "Export PDF" function, which does produce a self-sufficient file. However, if one exports the Master Document as a word-processing file and attempts to open that, one finds that the resulting file still needs to load all the original component documents. It is not ready to distribute as a single file until every the link to every component document is manually broken: a step that is NOT included in the help file under "Master Documents," which says just

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

At the very least, the help function should include these additional instructions (source: http://www.linuxtopia.org/online_books/office_guides/openoffice_3_writer_user_guide/openoffice_writer_Creating_one_file_from_a_master_document.html):

3. Choose Edit > Links from the menu bar.
If the Links command is greyed-out, the cursor is probably in a write-protected part of the document (for example, in one of the linked documents). Move the cursor into a part of the document that is not write-protected; the Links command then becomes available.

4. 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.

Ideally, though, the option should exist to export the file as a single, self-sufficient document without steps 3 and 4, as this would be the most common purpose for the export.

Steps to reproduce:
1. Create a Master Document
2. Select File/Export...
3. In the file save dialogue box, select "ODF Text Document" as the file type
4. Click the "Save Button"
5. Close the file
6. Open the exported document 

Current behavior: Upon opening, a dialogue box asks "Would you like to ...update all links to get the most recent data."

Expected behavior: The dialogue box would not appear because the exported file would have no surviving links to other documents.

Platform (if different from the browser): 
Browser: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:14.0) Gecko/20100101 Firefox/14.0.1
Comment 1 garethsljones 2012-07-24 14:59:52 UTC
Created attachment 64618 [details]
The dialogue seen when opening the exported word processing file
Comment 2 David Burleigh 2012-12-09 11:22:44 UTC
This problem persists in version 4.0 Beta1
Comment 3 Florian Reisinger 2013-04-21 10:47:07 UTC
Hi :)

This is a valid enhancement. Enhancement --> Clicking No gives you access to the data
Comment 4 Art C 2018-10-22 14:19:30 UTC
Six years and numerous versions since first reported, this bug persists. I gather master document export is not an oft-used feature, but as long as it remains in the application either (a) the bug should be fixed or (b) the export feature should be deleted.

I thought the export of my 200+ page document would be a workaround for problems (bug? user error?) I was having in getting page numbers to be consecutive across all the sub-documents and getting chapter names to display properly in headers. But all I succeeded in doing was adding an additional frustration. (Also the exported document is write-protected.)

Forgive the rant but I am feeling GRRRRR this morning. ;-)
Comment 5 Xisco Faulí 2019-11-29 13:28:22 UTC
Changing priority back to 'medium' since the number of duplicates is lower than 5
Comment 6 Heiko Tietze 2021-03-16 08:48:36 UTC
*** Bug 86484 has been marked as a duplicate of this bug. ***