Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index

I use 4.1.4 on Ubuntu
I only had View / Print Layout, Web Layout when viewing an HTML file.

Then I played around with the LO Writer and Writer/Web options, plus the Internet options. After I added the "browser plug-in optional check-box, the page now had View/HTML_Source. I did not save the HTML file, since I did not want any changes to the web page. Now that HTML file opens and always shows the View HTML_source, but then opening a second HTML file along with the first one, afer I unchecked everything I thought I changed, it opens without the HTML_Source option. Two files opened at the same time and one has the View HTML_Source and the other does not.

SO, why is one now showing that HTML source option and the other does not. The HTML_Source one did not originally have that option till I did some check-box adding. So something changed to see the HTML source code in Writer for the original and not for the next one.

YES, it is weird.

Well, now I just opened the first file and it is no longer showing the HTML_Source view option. Weirder yet.

It might have something to do with the "Field Code" check-box in Writer/Web, and the Internet / Browser Plug-in / Display documents in browser check-box. Right now, I have the field code check-box checked in Writer, but not in Writer/Web.

So do you have the Field Code check-boxes checked in one or both Writer/Web view and Writer view options, and the browser plug-in checked?

Why you see the view source option for one file and then not for another is a mystery. Was there some "script" tagged with the original file for a bit so it would show the HTML source view but not tagged with the other file. Then get "untagged" with the first one after playing around again with the check-boxes during the viewing of the file, so the LO shut down and then opening the first page again after restarting LO.

SO, this source viewing and non source viewing of the HTML files/pages is in Ubuntu's 4.1.4 [64-bit] version and not just in

ALSO, it seems to open differently with how the page is opened. Close all your LO documents. This will display the option showing Text Document, Spreadsheet, Presentation, etc.. Also it shows the "Open" option. I just found out that if I press the "Text Document" option to open the HTML file, it does not show the HTML Source viewing option. Yet, if I open the same file using the "Open" option, instead of the "Text Document" option, I get to see the HTML Source viewing option.

So how are you opening your files? Open Text Documents? Or, just the "Open" option? It does seem to make a difference in It may have the same affect in

[hopefully you are not confused by my descriptions, since it is about 3:30 in the morning here. Got up to see the snow storm that hit here a few hours ago and now predicted to be in full force.]

On 02/04/2014 10:33 PM, null wrote:
On 2/4/2014 10:06 PM, Keith Bates wrote:

No, I made sure that the "HTML source" item was not selected. I've tried a few different files generated by different sources. Generally they behave as I described, although I did find one that opened correctly.
What kind of files did you try that were generated by different programs? Which ones worked? Do all the files have the .html extension, or are some .xhtml, etc? Do you know if there is a certain pattern in the source code of each file that causes LibreOffice to display the source? When I tried loading an HTML file into LibreOffice 4.2, it worked correctly. If the files do not contain any sensitive, personal, or otherwise information that you do not want to publish, you can send the list and I the HTML files you tried. However, *E-Mail attachments are not accepted by the LibreOffice mailing list server*. If you use the mailing list via Nabble, I think you can upload a file to the server. If you use an E-Mail client to use the mailing list, you can use something like Sendspace (

I have no idea what the difference is between those that work and those that don't.

Opening them from a blank html document makes no difference. In fact the title bar just says LO Writer not Writer/Web.
That isn't right! Maybe another thing you can try is a clean install of LibreOffice (with all of the settings reset). If you urgently need a temporary solution, and nothing works, you can download LibreOffice 4.1.4 from: Just select the type you want (I don't know if you prefer the RPM or the Debian package).

If I start with a blank html document and use Insert-File it shows up as the source.

I'm using the linux version of LO. Are you using Windows or Linux?
I am using Windows Vista, and sometimes Windows 8 (mostly Vista). If you are able to send the HTML files (at least one that works and one that doesn't) to the list and I (that doesn't contain any personal data), I might be able to examine the file's source and find the route of the bug. Then, I can file an official bug that explains the issue. I don't know if the issue is operating system-specific or not.
I hope this helps!


On 05/02/14 12:39, null wrote:
In LibreOffice 4.2, there is an option under the View menu in LibreOffice Writer/Web labeled "HTML Source." Be sure that that item is unchecked. Also, if that doesn't fix the problem, try going into LibreOffice, selecting File>New>HTML Document, and once in Writer/Web, go to File>Open and select the HTML file. For me, HTML files load in LibreOffice correctly. Did this fix the issue?


On 2/4/2014 7:28 PM, Keith Bates wrote:
Has anyone experienced this new problem (or is it a feature?) in 4.2?

In previous versions of LO, opening an html file would give you the file as would be seen on a web browser.

In 4.2 it is the actual html code that is displayed. This behaviour happens when opening any html document or inserting an html file into an open LO document.

Does anyone know of a way around this?

I use moneydance to track finances, and it allows reports to be saved in html. Producing printed reports used to be a matter of simply opening the Income and Expenses report in LO, inserting the Account Balances at the end of the report, then edit titles, styles etc at will.

I have discovered that I can open the html files in Firefox, then copy and paste into LO, but that does seem unnecessarily complicated, when it used to just work in a single step.

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.