Warning/error when saving as .doc

writer version.

When I try to save a file as a word .doc I get the following message :-

This document may contain formatting or content that cannot be saved in the currently selected file format “Microsoft >Word 97/2000/XP/2003”.

What am I supposed to do to fix this?

If it knows there’s a problem section why doesn’t it tell me what it is?

Also what does it mean by “may contain”? isn’t it sure?

First save as ODF, then as every M$ Office format and give the files, ODF included, to LO bug hunters so they can improve the support even further.

This is the kind of dialog that you are talking about, yes?

image description

LO/OO is not a clone of M$ Office. There are some LO things that will not transfer to M$-Office. You are strongly urged to save in native LO format (eg ODT) & only save to M$-Office format immediately before transfer to use in that program.

LO does it’s best to be compatible during save to M$-Office formats, but you most surely know that M$ are notorious for their history of deliberate, criminal acts of deception and/or obfuscation. You will need to keep checking that your document will open successfully in M$O. That will undoubtedly vary according to the precise M$ file-format chosen.

The following may help:-

Feature Comparison between LO-5.0.1 & MS-Office-2013
(EN; the link shows only differences)
Feature Comparison between LO-4.0 & MS-Office-2013
(EN (supposed to be SL); the link shows only differences)

Do not use any LO features that do not appear within M$O & that should help ensure that LO pages look the same under M$O.

“What am I supposed to do to fix this?”:

Save in the native LO format (eg ODT) & the problem will go away. Otherwise, refer to the earlier section.

If you want a universal format, try Rich Text Format (RTF). RTF can be opened by every word-processor ever invented on every OS that exists, and should look exactly the same on all of them.

“If it knows there’s a problem section why doesn’t it tell me what it is?”:

That’s a damn good question. Why not put in a Feature Request?

Be prepared for disappointment. Coding takes a terrifyingly long time. My first experience of coding was Basic via punched cards on a Big Metal machine in 1973. It took 7 days to get the results (“Parse error”). Things are quicker now than then, but still slow.

“what does it mean by ‘may contain’? isn’t it sure?”:

I suspect that the answer is “No” (though I haven’t examined the code). That line in the dialog looks to me exactly like boiler-plate, rather than something triggered by code.

If this helps then please tick the answer (:heavy_check_mark:)

…and/or show you like it with an uptick ()

I read Alex’s clear explanation with interest.
I think the wording “may contain” is a polite and legal way of saying “almost certainly does contain”.

Open Document Format (ODF) is a documented open standard and documents are directly interchangeable with any programs, not just LibreOffice that support these standards. .doc comprise a set (about 6 "Word 97/2000/XP/2003” etc.) of slightly different proprietary standards publicly undocumented and themselves not completely interchangeable. Nor are .doc files actually designed to be interchangeable between systems. I believe LibO uses Word 97 as the most usable across the range. I have a user with two different versions of Word on two systems and can interchange documents only one way using .doc but luckily both ways with LibO and .odt.

Documents I create need .odt format and cannot be saved in any .doc format without losing the majority of formatting. My users either have LibO installed if they need to modify a document, or I use .pdf which is a standard designed for interchange of formatted documents.

Rich Text Format (.RTF) files can be interchanged but only support a subset of function used in Writer. If in doubt you can save the file in .rtf format and then read the file back into Writer to check the formatting… Peter

I think the wording “may contain” is a polite and legal way of saying “almost certainly does contain”.

That is wrong. Writer programmers do not have the time to keep monitoring .doc and .docx files to see what changes Microsoft keeps on making, so Writer literally does not know.

If the document is very simple - eg just text - then all will be saved in the .doc file.

If the file has more complex elements, some of these will not be saved.

Read the Tutorial for full information.

See [Tutorial] Differences between MS Word (eg .doc and .docx) and LO files (eg .odt) for a full explanation.

You will notice that Microsoft continuously changes the .doc format (the last change was in 2015) and that Microsoft continuously makes “not-part-of-the-OOXML-standard” additions to .docx files making it very difficult for any other program to maintain compatibility.

For example, Textboxes in .docx files and (partially?) supported by LO, are not part of the OOXML standard.

If this helps then please tick the answer (:heavy_check_mark:) and/or show you like it with an uptick (∧)

Just a warning of incomplete support for the format, it’s all hardcoded (haven’t checked code).