Description: "File - Send - Create Master Document" and "File - Send - Create HTML Document" do not work. I tested in the following languages: Chinese Simplified, Chinese Tranditional, Japanese, French. When I choose these two menu items, Writer always show the error "Can not create document" (translated). Steps to reproduce: 1. Switch to a non-English UI; 2. New Writer docoument, type some text (i.e., "test html"); 3. Go to menu "File - Send - Create Master Document" or "File - Send - Create HTML Document". Current Behaviour: Writer shows error message that the document can not be created. When is in English UI, no error message is shown, and the master document or HTML document can be created with no problem. Expected: Master document and HTML document can be created in non-English UI, no error message is shown. OS: Windows XP SP3 Version: 4.2.5.1, Build ID: 881bb88abfe2992c6cede97c23e64a9885de87de 4.3.0.0.beta2, Build ID: a06aa316117a6ff0f05c697c82831c227812d810
(In reply to comment #0) > 3. Go to menu "File - Send - Create Master Document" or "File - Send - > Create HTML Document". You have to type the filename in the file-save dialog, and click "Save".
I talked with sophi in #libreoffice-qa IRC channel, and she thinks this one is not a bug, because to generate Master document and HTML document, one has to apply (title) styles. And if no styles were applied, those two menus should be grayed-out (which is another bug). But I do not agree with sophi, because in English UI, I can generate Master Document / HTML Document even I do not apply styles (using the "Default Style"). But in non-English UI, I can not do so. So I put NeedDevEval in whiteboard.
Confirmed on Windows 7 with 4.1.6 and 4.2.4 in Arabic and English UI. Testing in Linux Mint on 4.2.4, in English UI the file gets created, but in Arabic UI it fails.
Migrating Whiteboard tags to Keywords: (needsDevEval) [NinjaEdit]
(In reply to Kevin Suo from comment #2) > I talked with sophi in #libreoffice-qa IRC channel, and she thinks this one > is not a bug, because to generate Master document and HTML document, one has > to apply (title) styles. And if no styles were applied, those two menus > should be grayed-out (which is another bug). > > But I do not agree with sophi, because in English UI, I can generate Master > Document / HTML Document even I do not apply styles (using the "Default > Style"). But in non-English UI, I can not do so. > > So I put NeedDevEval in whiteboard. I do not agree as well. And I think this is bug report is duplicate of bug 67260 that I've reported back in 2013. If it's available in English, it better be in any other language also ;)
Hi, I've set both UI and locale to en-US, but it also failed to create HTML document or master document. But if I set first paragraph to heading1 with ctrl+1, I can send to both as HTML and master document both in English or Chinese(zh_TW) UI. Can you confirm again that this is (still) an issue? Version: 5.2.1.2 Build ID: 31dd62db80d4e60af04904455ec9c9219178d620 CPU Threads: 8; OS Version: Windows 6.2; UI Render: default; Locale: en-US (zh_TW); Calc: single
I'm using LibreOffice 5.1.6 and can't test on newer version but you're right: I can send to master document in hr locale if there is at least one Heading 1 in a document. But I can also send to master document completely blank document when using en_US locale. Version: 5.1.6.2 Build ID: 07ac168c60a517dba0f0d7bc7540f5afa45f0909 CPU Threads: 2; OS Version: Linux 3.16; UI Render: default; Locale: hr-HR (hr_HR.UTF-8); Calc: group
*** Bug 111898 has been marked as a duplicate of this bug. ***
The feature "Send" generates a master document and several sub-documents from an already existing document. The division depends on the outline level of the headings. It should not work, if you try it from a document, which has no outline. And for me it does not work in Version: 6.0.0.0.alpha0+ Build ID: f1a896c71c495bdef5861eb664581507b6b9b5bb CPU threads: 4; OS: Windows 6.1; UI render: default; TinderBox: Win-x86@42, Branch:master, Time: 2017-08-13_07:38:19 Locale: en-US (de_DE); Calc: group
(In reply to Mark Hung from comment #6) > Can you confirm again that this is (still) an issue? Master document and html both get created with a blank document. Version: 6.0.0.0.alpha0+ Build ID: a19dc104ec008f0bb44676d63d4764c6d7442a0d CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; Locale: en-US (en_US.UTF-8); Calc: group
This function happens here: https://opengrok.libreoffice.org/xref/core/sw/source/uibase/app/docsh2.cxx#857 where it implements FN_NEW_GLOBAL_DOC Especially this part: if ( sPrefix == "Style" ) ... else if ( sPrefix == "Outline" ) stinks as something that *might* break in a different language.
Marking this as duplicate, as bug#113876 already has a patch committed. *** This bug has been marked as a duplicate of bug 113876 ***